From 4f80c042233f7e4e6478d3f51294df12992bd64b Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 10 Sep 2025 13:38:07 +0000 Subject: [PATCH 1/8] codegen metadata --- .stats.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.stats.yml b/.stats.yml index 46bb67dd..722120a8 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 801 openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/telnyx%2Ftelnyx-9b2e42d595d8704628cb792563adef970f306e60f81b682f41747f0e44321d2a.yml openapi_spec_hash: c78b6c372d7b9a5d8735956b67e724ce -config_hash: 8edc14bfa964b5eeacf9529eec7991f1 +config_hash: 8941a27e1e632ed2ed49c55b7c234935 From 51fc89e88b8694601f0234124c0ebff91e17de79 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 10 Sep 2025 14:43:05 +0000 Subject: [PATCH 2/8] codegen metadata --- .stats.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.stats.yml b/.stats.yml index 722120a8..33dfdf6b 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 801 openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/telnyx%2Ftelnyx-9b2e42d595d8704628cb792563adef970f306e60f81b682f41747f0e44321d2a.yml openapi_spec_hash: c78b6c372d7b9a5d8735956b67e724ce -config_hash: 8941a27e1e632ed2ed49c55b7c234935 +config_hash: b4ce13bcd06e13fa36dc20be41c0998d From 0eb047bc54d338569aa15df91c1ebf7f741f3ec8 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 10 Sep 2025 19:36:11 +0000 Subject: [PATCH 3/8] feat(api): manual updates --- .stats.yml | 2 +- tests/api_resources/actions/test_purchase.py | 8 - tests/api_resources/actions/test_register.py | 8 - tests/api_resources/addresses/test_actions.py | 18 - .../ai/assistants/test_canary_deploys.py | 32 -- .../ai/assistants/test_scheduled_events.py | 36 -- .../api_resources/ai/assistants/test_tests.py | 42 --- .../api_resources/ai/assistants/test_tools.py | 10 - .../ai/assistants/test_versions.py | 44 --- .../ai/assistants/tests/test_runs.py | 28 -- .../assistants/tests/test_suites/test_runs.py | 20 - .../ai/assistants/tests/test_test_suites.py | 6 - .../insight_groups/test_insights.py | 16 - .../ai/conversations/test_insight_groups.py | 42 --- .../ai/conversations/test_insights.py | 42 --- .../ai/conversations/test_messages.py | 18 - .../ai/embeddings/test_buckets.py | 22 -- .../api_resources/ai/fine_tuning/test_jobs.py | 30 -- tests/api_resources/ai/test_assistants.py | 74 ---- tests/api_resources/ai/test_audio.py | 8 - tests/api_resources/ai/test_chat.py | 8 - tests/api_resources/ai/test_clusters.py | 44 --- tests/api_resources/ai/test_conversations.py | 50 --- tests/api_resources/ai/test_embeddings.py | 38 -- .../brand/test_external_vetting.py | 26 -- .../bundle_pricing/test_billing_bundles.py | 18 - .../bundle_pricing/test_user_bundles.py | 54 --- tests/api_resources/calls/test_actions.py | 356 ------------------ tests/api_resources/campaign/test_osr.py | 8 - tests/api_resources/campaign/test_usecase.py | 6 - .../campaign_builder/test_brand.py | 8 - .../api_resources/conferences/test_actions.py | 138 ------- .../credential_connections/test_actions.py | 8 - .../test_civic_addresses.py | 18 - .../external_connections/test_log_messages.py | 24 -- .../test_phone_numbers.py | 28 -- .../external_connections/test_releases.py | 18 - .../external_connections/test_uploads.py | 52 --- tests/api_resources/faxes/test_actions.py | 16 - .../managed_accounts/test_actions.py | 18 - tests/api_resources/messages/test_rcs.py | 10 - .../messaging/rcs/test_agents.py | 26 -- tests/api_resources/messaging/test_rcs.py | 22 -- .../test_actions.py | 10 - .../test_autoresp_configs.py | 46 --- .../verification/test_requests.py | 42 --- .../networks/test_default_gateway.py | 26 -- .../number_reservations/test_actions.py | 8 - .../operator_connect/test_actions.py | 6 - .../payment/test_auto_recharge_prefs.py | 14 - .../phone_number_blocks/test_jobs.py | 22 -- .../phone_numbers/test_actions.py | 22 -- .../phone_numbers/test_csv_downloads.py | 24 -- .../api_resources/phone_numbers/test_jobs.py | 38 -- .../phone_numbers/test_messaging.py | 26 -- .../api_resources/phone_numbers/test_voice.py | 26 -- .../phone_numbers/test_voicemail.py | 28 -- tests/api_resources/porting/test_events.py | 24 -- .../porting/test_loa_configurations.py | 42 --- tests/api_resources/porting/test_reports.py | 22 -- .../test_action_requirements.py | 18 - .../porting_orders/test_actions.py | 34 -- .../porting_orders/test_activation_jobs.py | 28 -- .../test_additional_documents.py | 28 -- .../test_associated_phone_numbers.py | 28 -- .../porting_orders/test_comments.py | 20 - .../test_phone_number_blocks.py | 26 -- .../test_phone_number_configurations.py | 16 - .../test_phone_number_extensions.py | 26 -- .../porting_orders/test_verification_codes.py | 30 -- tests/api_resources/portouts/test_comments.py | 18 - tests/api_resources/portouts/test_events.py | 24 -- tests/api_resources/portouts/test_reports.py | 22 -- .../portouts/test_supporting_documents.py | 18 - tests/api_resources/queues/test_calls.py | 18 - .../api_resources/recordings/test_actions.py | 6 - .../reports/test_cdr_usage_reports.py | 8 - .../reports/test_mdr_usage_reports.py | 40 -- .../rooms/sessions/test_actions.py | 38 -- tests/api_resources/rooms/test_actions.py | 20 - tests/api_resources/rooms/test_sessions.py | 38 -- .../sim_card_groups/test_actions.py | 48 --- tests/api_resources/sim_cards/test_actions.py | 72 ---- .../storage/buckets/test_ssl_certificate.py | 26 -- .../storage/buckets/test_usage.py | 16 - .../storage/migrations/test_actions.py | 8 - tests/api_resources/storage/test_buckets.py | 10 - .../storage/test_migration_sources.py | 30 -- .../api_resources/storage/test_migrations.py | 22 -- tests/api_resources/test_access_ip_address.py | 32 -- tests/api_resources/test_access_ip_ranges.py | 24 -- tests/api_resources/test_addresses.py | 32 -- tests/api_resources/test_advanced_orders.py | 32 -- tests/api_resources/test_ai.py | 14 - tests/api_resources/test_audit_events.py | 8 - .../test_authentication_providers.py | 42 --- .../test_available_phone_number_blocks.py | 8 - .../test_available_phone_numbers.py | 8 - tests/api_resources/test_balance.py | 6 - tests/api_resources/test_billing_groups.py | 42 --- tests/api_resources/test_brand.py | 66 ---- .../test_bulk_sim_card_actions.py | 16 - .../test_call_control_applications.py | 42 --- tests/api_resources/test_call_events.py | 8 - tests/api_resources/test_calls.py | 16 - tests/api_resources/test_campaign.py | 74 ---- tests/api_resources/test_campaign_builder.py | 8 - tests/api_resources/test_channel_zones.py | 16 - tests/api_resources/test_charges_breakdown.py | 8 - tests/api_resources/test_charges_summary.py | 6 - tests/api_resources/test_client.py | 60 --- tests/api_resources/test_comments.py | 32 -- tests/api_resources/test_conferences.py | 34 -- tests/api_resources/test_connections.py | 26 -- tests/api_resources/test_country_coverage.py | 14 - .../test_credential_connections.py | 42 --- .../test_custom_storage_credentials.py | 36 -- .../test_customer_service_records.py | 30 -- tests/api_resources/test_detail_records.py | 8 - .../test_dialogflow_connections.py | 36 -- tests/api_resources/test_document_links.py | 8 - tests/api_resources/test_documents.py | 58 --- .../test_dynamic_emergency_addresses.py | 32 -- .../test_dynamic_emergency_endpoints.py | 30 -- tests/api_resources/test_enum.py | 6 - .../test_external_connections.py | 50 --- tests/api_resources/test_fax_applications.py | 42 --- tests/api_resources/test_faxes.py | 32 -- tests/api_resources/test_fqdn_connections.py | 42 --- tests/api_resources/test_fqdns.py | 42 --- .../test_global_ip_allowed_ports.py | 6 - .../test_global_ip_assignment_health.py | 8 - .../test_global_ip_assignments.py | 42 --- .../test_global_ip_assignments_usage.py | 8 - .../test_global_ip_health_check_types.py | 6 - .../test_global_ip_health_checks.py | 32 -- tests/api_resources/test_global_ip_latency.py | 8 - .../api_resources/test_global_ip_protocols.py | 6 - tests/api_resources/test_global_ip_usage.py | 8 - tests/api_resources/test_global_ips.py | 32 -- tests/api_resources/test_inbound_channels.py | 12 - .../api_resources/test_integration_secrets.py | 24 -- .../api_resources/test_inventory_coverage.py | 8 - tests/api_resources/test_invoices.py | 18 - tests/api_resources/test_ip_connections.py | 42 --- tests/api_resources/test_ips.py | 42 --- .../test_ledger_billing_group_reports.py | 16 - tests/api_resources/test_list.py | 14 - tests/api_resources/test_managed_accounts.py | 50 --- tests/api_resources/test_media.py | 42 --- tests/api_resources/test_messages.py | 64 ---- .../test_messaging_hosted_number_orders.py | 54 --- .../test_messaging_hosted_numbers.py | 8 - .../test_messaging_numbers_bulk_updates.py | 14 - tests/api_resources/test_messaging_optouts.py | 8 - .../api_resources/test_messaging_profiles.py | 62 --- .../test_messaging_url_domains.py | 8 - tests/api_resources/test_messsages.py | 8 - .../test_mobile_network_operators.py | 8 - .../test_mobile_push_credentials.py | 36 -- tests/api_resources/test_network_coverage.py | 8 - tests/api_resources/test_networks.py | 48 --- .../test_notification_channels.py | 42 --- .../test_notification_event_conditions.py | 8 - .../api_resources/test_notification_events.py | 8 - .../test_notification_profiles.py | 42 --- .../test_notification_settings.py | 32 -- .../api_resources/test_number_block_orders.py | 24 -- tests/api_resources/test_number_lookup.py | 10 - .../test_number_order_phone_numbers.py | 34 -- tests/api_resources/test_number_orders.py | 34 -- .../api_resources/test_number_reservations.py | 24 -- tests/api_resources/test_numbers_features.py | 6 - tests/api_resources/test_ota_updates.py | 16 - .../test_outbound_voice_profiles.py | 42 --- tests/api_resources/test_partner_campaigns.py | 42 --- ...test_phone_number_assignment_by_profile.py | 26 -- .../test_phone_number_campaigns.py | 38 -- tests/api_resources/test_phone_numbers.py | 42 --- ...t_phone_numbers_regulatory_requirements.py | 8 - .../api_resources/test_portability_checks.py | 8 - tests/api_resources/test_porting.py | 6 - tests/api_resources/test_porting_orders.py | 76 ---- .../test_porting_phone_numbers.py | 8 - tests/api_resources/test_portouts.py | 36 -- .../test_private_wireless_gateways.py | 32 -- .../test_public_internet_gateways.py | 32 -- tests/api_resources/test_queues.py | 8 - .../test_recording_transcriptions.py | 22 -- tests/api_resources/test_recordings.py | 24 -- tests/api_resources/test_regions.py | 6 - .../test_regulatory_requirements.py | 8 - tests/api_resources/test_reports.py | 16 - .../api_resources/test_requirement_groups.py | 50 --- tests/api_resources/test_requirement_types.py | 16 - tests/api_resources/test_requirements.py | 16 - tests/api_resources/test_room_compositions.py | 32 -- tests/api_resources/test_room_participants.py | 16 - tests/api_resources/test_room_recordings.py | 32 -- tests/api_resources/test_rooms.py | 44 --- tests/api_resources/test_seti.py | 8 - tests/api_resources/test_short_codes.py | 24 -- .../test_sim_card_data_usage_notifications.py | 42 --- tests/api_resources/test_sim_card_groups.py | 44 --- .../test_sim_card_order_preview.py | 6 - tests/api_resources/test_sim_card_orders.py | 22 -- tests/api_resources/test_sim_cards.py | 72 ---- tests/api_resources/test_siprec_connectors.py | 34 -- tests/api_resources/test_storage.py | 6 - tests/api_resources/test_sub_number_orders.py | 44 --- .../test_sub_number_orders_report.py | 24 -- .../test_telephony_credentials.py | 50 --- tests/api_resources/test_texml.py | 6 - .../api_resources/test_texml_applications.py | 42 --- tests/api_resources/test_text_to_speech.py | 8 - tests/api_resources/test_usage_reports.py | 16 - tests/api_resources/test_user_addresses.py | 24 -- tests/api_resources/test_user_tags.py | 8 - tests/api_resources/test_verifications.py | 32 -- tests/api_resources/test_verified_numbers.py | 30 -- tests/api_resources/test_verify_profiles.py | 48 --- .../test_virtual_cross_connects.py | 42 --- .../test_virtual_cross_connects_coverage.py | 8 - .../api_resources/test_webhook_deliveries.py | 16 - .../test_wireguard_interfaces.py | 32 -- tests/api_resources/test_wireguard_peers.py | 50 --- tests/api_resources/test_wireless.py | 6 - .../test_wireless_blocklist_values.py | 6 - .../api_resources/test_wireless_blocklists.py | 38 -- .../texml/accounts/calls/test_recordings.py | 10 - .../accounts/calls/test_recordings_json.py | 18 - .../texml/accounts/calls/test_siprec.py | 10 - .../texml/accounts/calls/test_streams.py | 10 - .../accounts/conferences/test_participants.py | 44 --- .../texml/accounts/recordings/test_json.py | 16 - .../texml/accounts/test_calls.py | 58 --- .../texml/accounts/test_conferences.py | 44 --- .../accounts/transcriptions/test_json.py | 16 - tests/api_resources/texml/test_accounts.py | 20 - tests/api_resources/texml/test_calls.py | 20 - .../by_phone_number/test_actions.py | 8 - .../verifications/test_actions.py | 10 - .../verifications/test_by_phone_number.py | 8 - .../verified_numbers/test_actions.py | 8 - .../wireless/test_detail_records_reports.py | 32 -- 245 files changed, 1 insertion(+), 6665 deletions(-) diff --git a/.stats.yml b/.stats.yml index 33dfdf6b..ed138819 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 801 openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/telnyx%2Ftelnyx-9b2e42d595d8704628cb792563adef970f306e60f81b682f41747f0e44321d2a.yml openapi_spec_hash: c78b6c372d7b9a5d8735956b67e724ce -config_hash: b4ce13bcd06e13fa36dc20be41c0998d +config_hash: 1cde7894e4affe83d3c1c390633e42a8 diff --git a/tests/api_resources/actions/test_purchase.py b/tests/api_resources/actions/test_purchase.py index 61f30a0b..dc80ce9e 100644 --- a/tests/api_resources/actions/test_purchase.py +++ b/tests/api_resources/actions/test_purchase.py @@ -17,7 +17,6 @@ class TestPurchase: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: purchase = client.actions.purchase.create( @@ -25,7 +24,6 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(PurchaseCreateResponse, purchase, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: purchase = client.actions.purchase.create( @@ -38,7 +36,6 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(PurchaseCreateResponse, purchase, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.actions.purchase.with_raw_response.create( @@ -50,7 +47,6 @@ def test_raw_response_create(self, client: Telnyx) -> None: purchase = response.parse() assert_matches_type(PurchaseCreateResponse, purchase, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.actions.purchase.with_streaming_response.create( @@ -70,7 +66,6 @@ class TestAsyncPurchase: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: purchase = await async_client.actions.purchase.create( @@ -78,7 +73,6 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(PurchaseCreateResponse, purchase, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: purchase = await async_client.actions.purchase.create( @@ -91,7 +85,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(PurchaseCreateResponse, purchase, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.actions.purchase.with_raw_response.create( @@ -103,7 +96,6 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: purchase = await response.parse() assert_matches_type(PurchaseCreateResponse, purchase, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.actions.purchase.with_streaming_response.create( diff --git a/tests/api_resources/actions/test_register.py b/tests/api_resources/actions/test_register.py index f6efcc5d..eb3f1ab4 100644 --- a/tests/api_resources/actions/test_register.py +++ b/tests/api_resources/actions/test_register.py @@ -17,7 +17,6 @@ class TestRegister: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: register = client.actions.register.create( @@ -25,7 +24,6 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(RegisterCreateResponse, register, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: register = client.actions.register.create( @@ -36,7 +34,6 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(RegisterCreateResponse, register, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.actions.register.with_raw_response.create( @@ -48,7 +45,6 @@ def test_raw_response_create(self, client: Telnyx) -> None: register = response.parse() assert_matches_type(RegisterCreateResponse, register, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.actions.register.with_streaming_response.create( @@ -68,7 +64,6 @@ class TestAsyncRegister: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: register = await async_client.actions.register.create( @@ -76,7 +71,6 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(RegisterCreateResponse, register, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: register = await async_client.actions.register.create( @@ -87,7 +81,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(RegisterCreateResponse, register, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.actions.register.with_raw_response.create( @@ -99,7 +92,6 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: register = await response.parse() assert_matches_type(RegisterCreateResponse, register, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.actions.register.with_streaming_response.create( diff --git a/tests/api_resources/addresses/test_actions.py b/tests/api_resources/addresses/test_actions.py index aae15f8d..3794f690 100644 --- a/tests/api_resources/addresses/test_actions.py +++ b/tests/api_resources/addresses/test_actions.py @@ -20,7 +20,6 @@ class TestActions: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_accept_suggestions(self, client: Telnyx) -> None: action = client.addresses.actions.accept_suggestions( @@ -28,7 +27,6 @@ def test_method_accept_suggestions(self, client: Telnyx) -> None: ) assert_matches_type(ActionAcceptSuggestionsResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_accept_suggestions_with_all_params(self, client: Telnyx) -> None: action = client.addresses.actions.accept_suggestions( @@ -37,7 +35,6 @@ def test_method_accept_suggestions_with_all_params(self, client: Telnyx) -> None ) assert_matches_type(ActionAcceptSuggestionsResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_accept_suggestions(self, client: Telnyx) -> None: response = client.addresses.actions.with_raw_response.accept_suggestions( @@ -49,7 +46,6 @@ def test_raw_response_accept_suggestions(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionAcceptSuggestionsResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_accept_suggestions(self, client: Telnyx) -> None: with client.addresses.actions.with_streaming_response.accept_suggestions( @@ -63,7 +59,6 @@ def test_streaming_response_accept_suggestions(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_accept_suggestions(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `path_id` but received ''"): @@ -71,7 +66,6 @@ def test_path_params_accept_suggestions(self, client: Telnyx) -> None: path_id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_validate(self, client: Telnyx) -> None: action = client.addresses.actions.validate( @@ -81,7 +75,6 @@ def test_method_validate(self, client: Telnyx) -> None: ) assert_matches_type(ActionValidateResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_validate_with_all_params(self, client: Telnyx) -> None: action = client.addresses.actions.validate( @@ -94,7 +87,6 @@ def test_method_validate_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ActionValidateResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_validate(self, client: Telnyx) -> None: response = client.addresses.actions.with_raw_response.validate( @@ -108,7 +100,6 @@ def test_raw_response_validate(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionValidateResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_validate(self, client: Telnyx) -> None: with client.addresses.actions.with_streaming_response.validate( @@ -130,7 +121,6 @@ class TestAsyncActions: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_accept_suggestions(self, async_client: AsyncTelnyx) -> None: action = await async_client.addresses.actions.accept_suggestions( @@ -138,7 +128,6 @@ async def test_method_accept_suggestions(self, async_client: AsyncTelnyx) -> Non ) assert_matches_type(ActionAcceptSuggestionsResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_accept_suggestions_with_all_params(self, async_client: AsyncTelnyx) -> None: action = await async_client.addresses.actions.accept_suggestions( @@ -147,7 +136,6 @@ async def test_method_accept_suggestions_with_all_params(self, async_client: Asy ) assert_matches_type(ActionAcceptSuggestionsResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_accept_suggestions(self, async_client: AsyncTelnyx) -> None: response = await async_client.addresses.actions.with_raw_response.accept_suggestions( @@ -159,7 +147,6 @@ async def test_raw_response_accept_suggestions(self, async_client: AsyncTelnyx) action = await response.parse() assert_matches_type(ActionAcceptSuggestionsResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_accept_suggestions(self, async_client: AsyncTelnyx) -> None: async with async_client.addresses.actions.with_streaming_response.accept_suggestions( @@ -173,7 +160,6 @@ async def test_streaming_response_accept_suggestions(self, async_client: AsyncTe assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_accept_suggestions(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `path_id` but received ''"): @@ -181,7 +167,6 @@ async def test_path_params_accept_suggestions(self, async_client: AsyncTelnyx) - path_id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_validate(self, async_client: AsyncTelnyx) -> None: action = await async_client.addresses.actions.validate( @@ -191,7 +176,6 @@ async def test_method_validate(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ActionValidateResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_validate_with_all_params(self, async_client: AsyncTelnyx) -> None: action = await async_client.addresses.actions.validate( @@ -204,7 +188,6 @@ async def test_method_validate_with_all_params(self, async_client: AsyncTelnyx) ) assert_matches_type(ActionValidateResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_validate(self, async_client: AsyncTelnyx) -> None: response = await async_client.addresses.actions.with_raw_response.validate( @@ -218,7 +201,6 @@ async def test_raw_response_validate(self, async_client: AsyncTelnyx) -> None: action = await response.parse() assert_matches_type(ActionValidateResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_validate(self, async_client: AsyncTelnyx) -> None: async with async_client.addresses.actions.with_streaming_response.validate( diff --git a/tests/api_resources/ai/assistants/test_canary_deploys.py b/tests/api_resources/ai/assistants/test_canary_deploys.py index 58b8bb56..4aa77611 100644 --- a/tests/api_resources/ai/assistants/test_canary_deploys.py +++ b/tests/api_resources/ai/assistants/test_canary_deploys.py @@ -17,7 +17,6 @@ class TestCanaryDeploys: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: canary_deploy = client.ai.assistants.canary_deploys.create( @@ -31,7 +30,6 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(CanaryDeployResponse, canary_deploy, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.ai.assistants.canary_deploys.with_raw_response.create( @@ -49,7 +47,6 @@ def test_raw_response_create(self, client: Telnyx) -> None: canary_deploy = response.parse() assert_matches_type(CanaryDeployResponse, canary_deploy, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.ai.assistants.canary_deploys.with_streaming_response.create( @@ -69,7 +66,6 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_create(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `assistant_id` but received ''"): @@ -83,7 +79,6 @@ def test_path_params_create(self, client: Telnyx) -> None: ], ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: canary_deploy = client.ai.assistants.canary_deploys.retrieve( @@ -91,7 +86,6 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(CanaryDeployResponse, canary_deploy, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.ai.assistants.canary_deploys.with_raw_response.retrieve( @@ -103,7 +97,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: canary_deploy = response.parse() assert_matches_type(CanaryDeployResponse, canary_deploy, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.ai.assistants.canary_deploys.with_streaming_response.retrieve( @@ -117,7 +110,6 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `assistant_id` but received ''"): @@ -125,7 +117,6 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update(self, client: Telnyx) -> None: canary_deploy = client.ai.assistants.canary_deploys.update( @@ -139,7 +130,6 @@ def test_method_update(self, client: Telnyx) -> None: ) assert_matches_type(CanaryDeployResponse, canary_deploy, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update(self, client: Telnyx) -> None: response = client.ai.assistants.canary_deploys.with_raw_response.update( @@ -157,7 +147,6 @@ def test_raw_response_update(self, client: Telnyx) -> None: canary_deploy = response.parse() assert_matches_type(CanaryDeployResponse, canary_deploy, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update(self, client: Telnyx) -> None: with client.ai.assistants.canary_deploys.with_streaming_response.update( @@ -177,7 +166,6 @@ def test_streaming_response_update(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `assistant_id` but received ''"): @@ -191,7 +179,6 @@ def test_path_params_update(self, client: Telnyx) -> None: ], ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: canary_deploy = client.ai.assistants.canary_deploys.delete( @@ -199,7 +186,6 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert canary_deploy is None - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.ai.assistants.canary_deploys.with_raw_response.delete( @@ -211,7 +197,6 @@ def test_raw_response_delete(self, client: Telnyx) -> None: canary_deploy = response.parse() assert canary_deploy is None - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.ai.assistants.canary_deploys.with_streaming_response.delete( @@ -225,7 +210,6 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `assistant_id` but received ''"): @@ -239,7 +223,6 @@ class TestAsyncCanaryDeploys: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: canary_deploy = await async_client.ai.assistants.canary_deploys.create( @@ -253,7 +236,6 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(CanaryDeployResponse, canary_deploy, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.assistants.canary_deploys.with_raw_response.create( @@ -271,7 +253,6 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: canary_deploy = await response.parse() assert_matches_type(CanaryDeployResponse, canary_deploy, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.assistants.canary_deploys.with_streaming_response.create( @@ -291,7 +272,6 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_create(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `assistant_id` but received ''"): @@ -305,7 +285,6 @@ async def test_path_params_create(self, async_client: AsyncTelnyx) -> None: ], ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: canary_deploy = await async_client.ai.assistants.canary_deploys.retrieve( @@ -313,7 +292,6 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(CanaryDeployResponse, canary_deploy, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.assistants.canary_deploys.with_raw_response.retrieve( @@ -325,7 +303,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: canary_deploy = await response.parse() assert_matches_type(CanaryDeployResponse, canary_deploy, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.assistants.canary_deploys.with_streaming_response.retrieve( @@ -339,7 +316,6 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `assistant_id` but received ''"): @@ -347,7 +323,6 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update(self, async_client: AsyncTelnyx) -> None: canary_deploy = await async_client.ai.assistants.canary_deploys.update( @@ -361,7 +336,6 @@ async def test_method_update(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(CanaryDeployResponse, canary_deploy, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.assistants.canary_deploys.with_raw_response.update( @@ -379,7 +353,6 @@ async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: canary_deploy = await response.parse() assert_matches_type(CanaryDeployResponse, canary_deploy, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.assistants.canary_deploys.with_streaming_response.update( @@ -399,7 +372,6 @@ async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `assistant_id` but received ''"): @@ -413,7 +385,6 @@ async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: ], ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: canary_deploy = await async_client.ai.assistants.canary_deploys.delete( @@ -421,7 +392,6 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert canary_deploy is None - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.assistants.canary_deploys.with_raw_response.delete( @@ -433,7 +403,6 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: canary_deploy = await response.parse() assert canary_deploy is None - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.assistants.canary_deploys.with_streaming_response.delete( @@ -447,7 +416,6 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `assistant_id` but received ''"): diff --git a/tests/api_resources/ai/assistants/test_scheduled_events.py b/tests/api_resources/ai/assistants/test_scheduled_events.py index 3faefac4..61be9da0 100644 --- a/tests/api_resources/ai/assistants/test_scheduled_events.py +++ b/tests/api_resources/ai/assistants/test_scheduled_events.py @@ -21,7 +21,6 @@ class TestScheduledEvents: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: scheduled_event = client.ai.assistants.scheduled_events.create( @@ -33,7 +32,6 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(ScheduledEventResponse, scheduled_event, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: scheduled_event = client.ai.assistants.scheduled_events.create( @@ -47,7 +45,6 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ScheduledEventResponse, scheduled_event, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.ai.assistants.scheduled_events.with_raw_response.create( @@ -63,7 +60,6 @@ def test_raw_response_create(self, client: Telnyx) -> None: scheduled_event = response.parse() assert_matches_type(ScheduledEventResponse, scheduled_event, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.ai.assistants.scheduled_events.with_streaming_response.create( @@ -81,7 +77,6 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_create(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `assistant_id` but received ''"): @@ -93,7 +88,6 @@ def test_path_params_create(self, client: Telnyx) -> None: telnyx_end_user_target="telnyx_end_user_target", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: scheduled_event = client.ai.assistants.scheduled_events.retrieve( @@ -102,7 +96,6 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(ScheduledEventResponse, scheduled_event, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.ai.assistants.scheduled_events.with_raw_response.retrieve( @@ -115,7 +108,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: scheduled_event = response.parse() assert_matches_type(ScheduledEventResponse, scheduled_event, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.ai.assistants.scheduled_events.with_streaming_response.retrieve( @@ -130,7 +122,6 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `assistant_id` but received ''"): @@ -145,7 +136,6 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: assistant_id="assistant_id", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: scheduled_event = client.ai.assistants.scheduled_events.list( @@ -153,7 +143,6 @@ def test_method_list(self, client: Telnyx) -> None: ) assert_matches_type(ScheduledEventListResponse, scheduled_event, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: scheduled_event = client.ai.assistants.scheduled_events.list( @@ -168,7 +157,6 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ScheduledEventListResponse, scheduled_event, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.ai.assistants.scheduled_events.with_raw_response.list( @@ -180,7 +168,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: scheduled_event = response.parse() assert_matches_type(ScheduledEventListResponse, scheduled_event, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.ai.assistants.scheduled_events.with_streaming_response.list( @@ -194,7 +181,6 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_list(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `assistant_id` but received ''"): @@ -202,7 +188,6 @@ def test_path_params_list(self, client: Telnyx) -> None: assistant_id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: scheduled_event = client.ai.assistants.scheduled_events.delete( @@ -211,7 +196,6 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert_matches_type(object, scheduled_event, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.ai.assistants.scheduled_events.with_raw_response.delete( @@ -224,7 +208,6 @@ def test_raw_response_delete(self, client: Telnyx) -> None: scheduled_event = response.parse() assert_matches_type(object, scheduled_event, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.ai.assistants.scheduled_events.with_streaming_response.delete( @@ -239,7 +222,6 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `assistant_id` but received ''"): @@ -260,7 +242,6 @@ class TestAsyncScheduledEvents: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: scheduled_event = await async_client.ai.assistants.scheduled_events.create( @@ -272,7 +253,6 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ScheduledEventResponse, scheduled_event, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: scheduled_event = await async_client.ai.assistants.scheduled_events.create( @@ -286,7 +266,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(ScheduledEventResponse, scheduled_event, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.assistants.scheduled_events.with_raw_response.create( @@ -302,7 +281,6 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: scheduled_event = await response.parse() assert_matches_type(ScheduledEventResponse, scheduled_event, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.assistants.scheduled_events.with_streaming_response.create( @@ -320,7 +298,6 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_create(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `assistant_id` but received ''"): @@ -332,7 +309,6 @@ async def test_path_params_create(self, async_client: AsyncTelnyx) -> None: telnyx_end_user_target="telnyx_end_user_target", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: scheduled_event = await async_client.ai.assistants.scheduled_events.retrieve( @@ -341,7 +317,6 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ScheduledEventResponse, scheduled_event, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.assistants.scheduled_events.with_raw_response.retrieve( @@ -354,7 +329,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: scheduled_event = await response.parse() assert_matches_type(ScheduledEventResponse, scheduled_event, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.assistants.scheduled_events.with_streaming_response.retrieve( @@ -369,7 +343,6 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `assistant_id` but received ''"): @@ -384,7 +357,6 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: assistant_id="assistant_id", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: scheduled_event = await async_client.ai.assistants.scheduled_events.list( @@ -392,7 +364,6 @@ async def test_method_list(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ScheduledEventListResponse, scheduled_event, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: scheduled_event = await async_client.ai.assistants.scheduled_events.list( @@ -407,7 +378,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(ScheduledEventListResponse, scheduled_event, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.assistants.scheduled_events.with_raw_response.list( @@ -419,7 +389,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: scheduled_event = await response.parse() assert_matches_type(ScheduledEventListResponse, scheduled_event, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.assistants.scheduled_events.with_streaming_response.list( @@ -433,7 +402,6 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_list(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `assistant_id` but received ''"): @@ -441,7 +409,6 @@ async def test_path_params_list(self, async_client: AsyncTelnyx) -> None: assistant_id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: scheduled_event = await async_client.ai.assistants.scheduled_events.delete( @@ -450,7 +417,6 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(object, scheduled_event, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.assistants.scheduled_events.with_raw_response.delete( @@ -463,7 +429,6 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: scheduled_event = await response.parse() assert_matches_type(object, scheduled_event, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.assistants.scheduled_events.with_streaming_response.delete( @@ -478,7 +443,6 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `assistant_id` but received ''"): diff --git a/tests/api_resources/ai/assistants/test_tests.py b/tests/api_resources/ai/assistants/test_tests.py index efe820c7..adec68e3 100644 --- a/tests/api_resources/ai/assistants/test_tests.py +++ b/tests/api_resources/ai/assistants/test_tests.py @@ -20,7 +20,6 @@ class TestTests: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: test = client.ai.assistants.tests.create( @@ -36,7 +35,6 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(AssistantTest, test, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: test = client.ai.assistants.tests.create( @@ -56,7 +54,6 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(AssistantTest, test, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.ai.assistants.tests.with_raw_response.create( @@ -76,7 +73,6 @@ def test_raw_response_create(self, client: Telnyx) -> None: test = response.parse() assert_matches_type(AssistantTest, test, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.ai.assistants.tests.with_streaming_response.create( @@ -98,7 +94,6 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: test = client.ai.assistants.tests.retrieve( @@ -106,7 +101,6 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(AssistantTest, test, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.ai.assistants.tests.with_raw_response.retrieve( @@ -118,7 +112,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: test = response.parse() assert_matches_type(AssistantTest, test, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.ai.assistants.tests.with_streaming_response.retrieve( @@ -132,7 +125,6 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `test_id` but received ''"): @@ -140,7 +132,6 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update(self, client: Telnyx) -> None: test = client.ai.assistants.tests.update( @@ -148,7 +139,6 @@ def test_method_update(self, client: Telnyx) -> None: ) assert_matches_type(AssistantTest, test, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_with_all_params(self, client: Telnyx) -> None: test = client.ai.assistants.tests.update( @@ -169,7 +159,6 @@ def test_method_update_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(AssistantTest, test, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update(self, client: Telnyx) -> None: response = client.ai.assistants.tests.with_raw_response.update( @@ -181,7 +170,6 @@ def test_raw_response_update(self, client: Telnyx) -> None: test = response.parse() assert_matches_type(AssistantTest, test, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update(self, client: Telnyx) -> None: with client.ai.assistants.tests.with_streaming_response.update( @@ -195,7 +183,6 @@ def test_streaming_response_update(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `test_id` but received ''"): @@ -203,13 +190,11 @@ def test_path_params_update(self, client: Telnyx) -> None: test_id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: test = client.ai.assistants.tests.list() assert_matches_type(TestListResponse, test, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: test = client.ai.assistants.tests.list( @@ -223,7 +208,6 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(TestListResponse, test, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.ai.assistants.tests.with_raw_response.list() @@ -233,7 +217,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: test = response.parse() assert_matches_type(TestListResponse, test, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.ai.assistants.tests.with_streaming_response.list() as response: @@ -245,7 +228,6 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: test = client.ai.assistants.tests.delete( @@ -253,7 +235,6 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert_matches_type(object, test, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.ai.assistants.tests.with_raw_response.delete( @@ -265,7 +246,6 @@ def test_raw_response_delete(self, client: Telnyx) -> None: test = response.parse() assert_matches_type(object, test, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.ai.assistants.tests.with_streaming_response.delete( @@ -279,7 +259,6 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `test_id` but received ''"): @@ -293,7 +272,6 @@ class TestAsyncTests: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: test = await async_client.ai.assistants.tests.create( @@ -309,7 +287,6 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(AssistantTest, test, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: test = await async_client.ai.assistants.tests.create( @@ -329,7 +306,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(AssistantTest, test, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.assistants.tests.with_raw_response.create( @@ -349,7 +325,6 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: test = await response.parse() assert_matches_type(AssistantTest, test, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.assistants.tests.with_streaming_response.create( @@ -371,7 +346,6 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: test = await async_client.ai.assistants.tests.retrieve( @@ -379,7 +353,6 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(AssistantTest, test, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.assistants.tests.with_raw_response.retrieve( @@ -391,7 +364,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: test = await response.parse() assert_matches_type(AssistantTest, test, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.assistants.tests.with_streaming_response.retrieve( @@ -405,7 +377,6 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `test_id` but received ''"): @@ -413,7 +384,6 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update(self, async_client: AsyncTelnyx) -> None: test = await async_client.ai.assistants.tests.update( @@ -421,7 +391,6 @@ async def test_method_update(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(AssistantTest, test, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> None: test = await async_client.ai.assistants.tests.update( @@ -442,7 +411,6 @@ async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(AssistantTest, test, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.assistants.tests.with_raw_response.update( @@ -454,7 +422,6 @@ async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: test = await response.parse() assert_matches_type(AssistantTest, test, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.assistants.tests.with_streaming_response.update( @@ -468,7 +435,6 @@ async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `test_id` but received ''"): @@ -476,13 +442,11 @@ async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: test_id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: test = await async_client.ai.assistants.tests.list() assert_matches_type(TestListResponse, test, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: test = await async_client.ai.assistants.tests.list( @@ -496,7 +460,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(TestListResponse, test, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.assistants.tests.with_raw_response.list() @@ -506,7 +469,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: test = await response.parse() assert_matches_type(TestListResponse, test, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.assistants.tests.with_streaming_response.list() as response: @@ -518,7 +480,6 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: test = await async_client.ai.assistants.tests.delete( @@ -526,7 +487,6 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(object, test, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.assistants.tests.with_raw_response.delete( @@ -538,7 +498,6 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: test = await response.parse() assert_matches_type(object, test, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.assistants.tests.with_streaming_response.delete( @@ -552,7 +511,6 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `test_id` but received ''"): diff --git a/tests/api_resources/ai/assistants/test_tools.py b/tests/api_resources/ai/assistants/test_tools.py index e29ac75a..32cab1d7 100644 --- a/tests/api_resources/ai/assistants/test_tools.py +++ b/tests/api_resources/ai/assistants/test_tools.py @@ -17,7 +17,6 @@ class TestTools: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_test(self, client: Telnyx) -> None: tool = client.ai.assistants.tools.test( @@ -26,7 +25,6 @@ def test_method_test(self, client: Telnyx) -> None: ) assert_matches_type(ToolTestResponse, tool, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_test_with_all_params(self, client: Telnyx) -> None: tool = client.ai.assistants.tools.test( @@ -37,7 +35,6 @@ def test_method_test_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ToolTestResponse, tool, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_test(self, client: Telnyx) -> None: response = client.ai.assistants.tools.with_raw_response.test( @@ -50,7 +47,6 @@ def test_raw_response_test(self, client: Telnyx) -> None: tool = response.parse() assert_matches_type(ToolTestResponse, tool, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_test(self, client: Telnyx) -> None: with client.ai.assistants.tools.with_streaming_response.test( @@ -65,7 +61,6 @@ def test_streaming_response_test(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_test(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `assistant_id` but received ''"): @@ -86,7 +81,6 @@ class TestAsyncTools: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_test(self, async_client: AsyncTelnyx) -> None: tool = await async_client.ai.assistants.tools.test( @@ -95,7 +89,6 @@ async def test_method_test(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ToolTestResponse, tool, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_test_with_all_params(self, async_client: AsyncTelnyx) -> None: tool = await async_client.ai.assistants.tools.test( @@ -106,7 +99,6 @@ async def test_method_test_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(ToolTestResponse, tool, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_test(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.assistants.tools.with_raw_response.test( @@ -119,7 +111,6 @@ async def test_raw_response_test(self, async_client: AsyncTelnyx) -> None: tool = await response.parse() assert_matches_type(ToolTestResponse, tool, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_test(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.assistants.tools.with_streaming_response.test( @@ -134,7 +125,6 @@ async def test_streaming_response_test(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_test(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `assistant_id` but received ''"): diff --git a/tests/api_resources/ai/assistants/test_versions.py b/tests/api_resources/ai/assistants/test_versions.py index d33b8667..cb41128f 100644 --- a/tests/api_resources/ai/assistants/test_versions.py +++ b/tests/api_resources/ai/assistants/test_versions.py @@ -24,7 +24,6 @@ class TestVersions: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: version = client.ai.assistants.versions.retrieve( @@ -33,7 +32,6 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(VersionRetrieveResponse, version, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve_with_all_params(self, client: Telnyx) -> None: version = client.ai.assistants.versions.retrieve( @@ -43,7 +41,6 @@ def test_method_retrieve_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(VersionRetrieveResponse, version, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.ai.assistants.versions.with_raw_response.retrieve( @@ -56,7 +53,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: version = response.parse() assert_matches_type(VersionRetrieveResponse, version, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.ai.assistants.versions.with_streaming_response.retrieve( @@ -71,7 +67,6 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `assistant_id` but received ''"): @@ -86,7 +81,6 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: assistant_id="assistant_id", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update(self, client: Telnyx) -> None: version = client.ai.assistants.versions.update( @@ -95,7 +89,6 @@ def test_method_update(self, client: Telnyx) -> None: ) assert_matches_type(VersionUpdateResponse, version, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_with_all_params(self, client: Telnyx) -> None: version = client.ai.assistants.versions.update( @@ -167,7 +160,6 @@ def test_method_update_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(VersionUpdateResponse, version, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update(self, client: Telnyx) -> None: response = client.ai.assistants.versions.with_raw_response.update( @@ -180,7 +172,6 @@ def test_raw_response_update(self, client: Telnyx) -> None: version = response.parse() assert_matches_type(VersionUpdateResponse, version, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update(self, client: Telnyx) -> None: with client.ai.assistants.versions.with_streaming_response.update( @@ -195,7 +186,6 @@ def test_streaming_response_update(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `assistant_id` but received ''"): @@ -210,7 +200,6 @@ def test_path_params_update(self, client: Telnyx) -> None: assistant_id="assistant_id", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: version = client.ai.assistants.versions.list( @@ -218,7 +207,6 @@ def test_method_list(self, client: Telnyx) -> None: ) assert_matches_type(AssistantsList, version, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.ai.assistants.versions.with_raw_response.list( @@ -230,7 +218,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: version = response.parse() assert_matches_type(AssistantsList, version, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.ai.assistants.versions.with_streaming_response.list( @@ -244,7 +231,6 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_list(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `assistant_id` but received ''"): @@ -252,7 +238,6 @@ def test_path_params_list(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: version = client.ai.assistants.versions.delete( @@ -261,7 +246,6 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert version is None - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.ai.assistants.versions.with_raw_response.delete( @@ -274,7 +258,6 @@ def test_raw_response_delete(self, client: Telnyx) -> None: version = response.parse() assert version is None - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.ai.assistants.versions.with_streaming_response.delete( @@ -289,7 +272,6 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `assistant_id` but received ''"): @@ -304,7 +286,6 @@ def test_path_params_delete(self, client: Telnyx) -> None: assistant_id="assistant_id", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_promote(self, client: Telnyx) -> None: version = client.ai.assistants.versions.promote( @@ -313,7 +294,6 @@ def test_method_promote(self, client: Telnyx) -> None: ) assert_matches_type(VersionPromoteResponse, version, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_promote(self, client: Telnyx) -> None: response = client.ai.assistants.versions.with_raw_response.promote( @@ -326,7 +306,6 @@ def test_raw_response_promote(self, client: Telnyx) -> None: version = response.parse() assert_matches_type(VersionPromoteResponse, version, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_promote(self, client: Telnyx) -> None: with client.ai.assistants.versions.with_streaming_response.promote( @@ -341,7 +320,6 @@ def test_streaming_response_promote(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_promote(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `assistant_id` but received ''"): @@ -362,7 +340,6 @@ class TestAsyncVersions: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: version = await async_client.ai.assistants.versions.retrieve( @@ -371,7 +348,6 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(VersionRetrieveResponse, version, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve_with_all_params(self, async_client: AsyncTelnyx) -> None: version = await async_client.ai.assistants.versions.retrieve( @@ -381,7 +357,6 @@ async def test_method_retrieve_with_all_params(self, async_client: AsyncTelnyx) ) assert_matches_type(VersionRetrieveResponse, version, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.assistants.versions.with_raw_response.retrieve( @@ -394,7 +369,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: version = await response.parse() assert_matches_type(VersionRetrieveResponse, version, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.assistants.versions.with_streaming_response.retrieve( @@ -409,7 +383,6 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `assistant_id` but received ''"): @@ -424,7 +397,6 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: assistant_id="assistant_id", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update(self, async_client: AsyncTelnyx) -> None: version = await async_client.ai.assistants.versions.update( @@ -433,7 +405,6 @@ async def test_method_update(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(VersionUpdateResponse, version, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> None: version = await async_client.ai.assistants.versions.update( @@ -505,7 +476,6 @@ async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(VersionUpdateResponse, version, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.assistants.versions.with_raw_response.update( @@ -518,7 +488,6 @@ async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: version = await response.parse() assert_matches_type(VersionUpdateResponse, version, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.assistants.versions.with_streaming_response.update( @@ -533,7 +502,6 @@ async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `assistant_id` but received ''"): @@ -548,7 +516,6 @@ async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: assistant_id="assistant_id", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: version = await async_client.ai.assistants.versions.list( @@ -556,7 +523,6 @@ async def test_method_list(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(AssistantsList, version, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.assistants.versions.with_raw_response.list( @@ -568,7 +534,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: version = await response.parse() assert_matches_type(AssistantsList, version, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.assistants.versions.with_streaming_response.list( @@ -582,7 +547,6 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_list(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `assistant_id` but received ''"): @@ -590,7 +554,6 @@ async def test_path_params_list(self, async_client: AsyncTelnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: version = await async_client.ai.assistants.versions.delete( @@ -599,7 +562,6 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert version is None - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.assistants.versions.with_raw_response.delete( @@ -612,7 +574,6 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: version = await response.parse() assert version is None - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.assistants.versions.with_streaming_response.delete( @@ -627,7 +588,6 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `assistant_id` but received ''"): @@ -642,7 +602,6 @@ async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: assistant_id="assistant_id", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_promote(self, async_client: AsyncTelnyx) -> None: version = await async_client.ai.assistants.versions.promote( @@ -651,7 +610,6 @@ async def test_method_promote(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(VersionPromoteResponse, version, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_promote(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.assistants.versions.with_raw_response.promote( @@ -664,7 +622,6 @@ async def test_raw_response_promote(self, async_client: AsyncTelnyx) -> None: version = await response.parse() assert_matches_type(VersionPromoteResponse, version, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_promote(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.assistants.versions.with_streaming_response.promote( @@ -679,7 +636,6 @@ async def test_streaming_response_promote(self, async_client: AsyncTelnyx) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_promote(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `assistant_id` but received ''"): diff --git a/tests/api_resources/ai/assistants/tests/test_runs.py b/tests/api_resources/ai/assistants/tests/test_runs.py index 8acd5539..9ef1fec8 100644 --- a/tests/api_resources/ai/assistants/tests/test_runs.py +++ b/tests/api_resources/ai/assistants/tests/test_runs.py @@ -18,7 +18,6 @@ class TestRuns: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: run = client.ai.assistants.tests.runs.retrieve( @@ -27,7 +26,6 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(TestRunResponse, run, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.ai.assistants.tests.runs.with_raw_response.retrieve( @@ -40,7 +38,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: run = response.parse() assert_matches_type(TestRunResponse, run, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.ai.assistants.tests.runs.with_streaming_response.retrieve( @@ -55,7 +52,6 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `test_id` but received ''"): @@ -70,7 +66,6 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: test_id="test_id", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: run = client.ai.assistants.tests.runs.list( @@ -78,7 +73,6 @@ def test_method_list(self, client: Telnyx) -> None: ) assert_matches_type(PaginatedTestRunList, run, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: run = client.ai.assistants.tests.runs.list( @@ -91,7 +85,6 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(PaginatedTestRunList, run, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.ai.assistants.tests.runs.with_raw_response.list( @@ -103,7 +96,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: run = response.parse() assert_matches_type(PaginatedTestRunList, run, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.ai.assistants.tests.runs.with_streaming_response.list( @@ -117,7 +109,6 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_list(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `test_id` but received ''"): @@ -125,7 +116,6 @@ def test_path_params_list(self, client: Telnyx) -> None: test_id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_trigger(self, client: Telnyx) -> None: run = client.ai.assistants.tests.runs.trigger( @@ -133,7 +123,6 @@ def test_method_trigger(self, client: Telnyx) -> None: ) assert_matches_type(TestRunResponse, run, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_trigger_with_all_params(self, client: Telnyx) -> None: run = client.ai.assistants.tests.runs.trigger( @@ -142,7 +131,6 @@ def test_method_trigger_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(TestRunResponse, run, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_trigger(self, client: Telnyx) -> None: response = client.ai.assistants.tests.runs.with_raw_response.trigger( @@ -154,7 +142,6 @@ def test_raw_response_trigger(self, client: Telnyx) -> None: run = response.parse() assert_matches_type(TestRunResponse, run, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_trigger(self, client: Telnyx) -> None: with client.ai.assistants.tests.runs.with_streaming_response.trigger( @@ -168,7 +155,6 @@ def test_streaming_response_trigger(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_trigger(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `test_id` but received ''"): @@ -182,7 +168,6 @@ class TestAsyncRuns: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: run = await async_client.ai.assistants.tests.runs.retrieve( @@ -191,7 +176,6 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(TestRunResponse, run, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.assistants.tests.runs.with_raw_response.retrieve( @@ -204,7 +188,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: run = await response.parse() assert_matches_type(TestRunResponse, run, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.assistants.tests.runs.with_streaming_response.retrieve( @@ -219,7 +202,6 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `test_id` but received ''"): @@ -234,7 +216,6 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: test_id="test_id", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: run = await async_client.ai.assistants.tests.runs.list( @@ -242,7 +223,6 @@ async def test_method_list(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(PaginatedTestRunList, run, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: run = await async_client.ai.assistants.tests.runs.list( @@ -255,7 +235,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(PaginatedTestRunList, run, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.assistants.tests.runs.with_raw_response.list( @@ -267,7 +246,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: run = await response.parse() assert_matches_type(PaginatedTestRunList, run, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.assistants.tests.runs.with_streaming_response.list( @@ -281,7 +259,6 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_list(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `test_id` but received ''"): @@ -289,7 +266,6 @@ async def test_path_params_list(self, async_client: AsyncTelnyx) -> None: test_id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_trigger(self, async_client: AsyncTelnyx) -> None: run = await async_client.ai.assistants.tests.runs.trigger( @@ -297,7 +273,6 @@ async def test_method_trigger(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(TestRunResponse, run, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_trigger_with_all_params(self, async_client: AsyncTelnyx) -> None: run = await async_client.ai.assistants.tests.runs.trigger( @@ -306,7 +281,6 @@ async def test_method_trigger_with_all_params(self, async_client: AsyncTelnyx) - ) assert_matches_type(TestRunResponse, run, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_trigger(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.assistants.tests.runs.with_raw_response.trigger( @@ -318,7 +292,6 @@ async def test_raw_response_trigger(self, async_client: AsyncTelnyx) -> None: run = await response.parse() assert_matches_type(TestRunResponse, run, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_trigger(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.assistants.tests.runs.with_streaming_response.trigger( @@ -332,7 +305,6 @@ async def test_streaming_response_trigger(self, async_client: AsyncTelnyx) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_trigger(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `test_id` but received ''"): diff --git a/tests/api_resources/ai/assistants/tests/test_suites/test_runs.py b/tests/api_resources/ai/assistants/tests/test_suites/test_runs.py index c74e4e3e..03ed6341 100644 --- a/tests/api_resources/ai/assistants/tests/test_suites/test_runs.py +++ b/tests/api_resources/ai/assistants/tests/test_suites/test_runs.py @@ -20,7 +20,6 @@ class TestRuns: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: run = client.ai.assistants.tests.test_suites.runs.list( @@ -28,7 +27,6 @@ def test_method_list(self, client: Telnyx) -> None: ) assert_matches_type(PaginatedTestRunList, run, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: run = client.ai.assistants.tests.test_suites.runs.list( @@ -42,7 +40,6 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(PaginatedTestRunList, run, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.ai.assistants.tests.test_suites.runs.with_raw_response.list( @@ -54,7 +51,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: run = response.parse() assert_matches_type(PaginatedTestRunList, run, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.ai.assistants.tests.test_suites.runs.with_streaming_response.list( @@ -68,7 +64,6 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_list(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `suite_name` but received ''"): @@ -76,7 +71,6 @@ def test_path_params_list(self, client: Telnyx) -> None: suite_name="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_trigger(self, client: Telnyx) -> None: run = client.ai.assistants.tests.test_suites.runs.trigger( @@ -84,7 +78,6 @@ def test_method_trigger(self, client: Telnyx) -> None: ) assert_matches_type(RunTriggerResponse, run, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_trigger_with_all_params(self, client: Telnyx) -> None: run = client.ai.assistants.tests.test_suites.runs.trigger( @@ -93,7 +86,6 @@ def test_method_trigger_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(RunTriggerResponse, run, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_trigger(self, client: Telnyx) -> None: response = client.ai.assistants.tests.test_suites.runs.with_raw_response.trigger( @@ -105,7 +97,6 @@ def test_raw_response_trigger(self, client: Telnyx) -> None: run = response.parse() assert_matches_type(RunTriggerResponse, run, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_trigger(self, client: Telnyx) -> None: with client.ai.assistants.tests.test_suites.runs.with_streaming_response.trigger( @@ -119,7 +110,6 @@ def test_streaming_response_trigger(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_trigger(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `suite_name` but received ''"): @@ -133,7 +123,6 @@ class TestAsyncRuns: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: run = await async_client.ai.assistants.tests.test_suites.runs.list( @@ -141,7 +130,6 @@ async def test_method_list(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(PaginatedTestRunList, run, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: run = await async_client.ai.assistants.tests.test_suites.runs.list( @@ -155,7 +143,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(PaginatedTestRunList, run, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.assistants.tests.test_suites.runs.with_raw_response.list( @@ -167,7 +154,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: run = await response.parse() assert_matches_type(PaginatedTestRunList, run, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.assistants.tests.test_suites.runs.with_streaming_response.list( @@ -181,7 +167,6 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_list(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `suite_name` but received ''"): @@ -189,7 +174,6 @@ async def test_path_params_list(self, async_client: AsyncTelnyx) -> None: suite_name="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_trigger(self, async_client: AsyncTelnyx) -> None: run = await async_client.ai.assistants.tests.test_suites.runs.trigger( @@ -197,7 +181,6 @@ async def test_method_trigger(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(RunTriggerResponse, run, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_trigger_with_all_params(self, async_client: AsyncTelnyx) -> None: run = await async_client.ai.assistants.tests.test_suites.runs.trigger( @@ -206,7 +189,6 @@ async def test_method_trigger_with_all_params(self, async_client: AsyncTelnyx) - ) assert_matches_type(RunTriggerResponse, run, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_trigger(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.assistants.tests.test_suites.runs.with_raw_response.trigger( @@ -218,7 +200,6 @@ async def test_raw_response_trigger(self, async_client: AsyncTelnyx) -> None: run = await response.parse() assert_matches_type(RunTriggerResponse, run, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_trigger(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.assistants.tests.test_suites.runs.with_streaming_response.trigger( @@ -232,7 +213,6 @@ async def test_streaming_response_trigger(self, async_client: AsyncTelnyx) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_trigger(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `suite_name` but received ''"): diff --git a/tests/api_resources/ai/assistants/tests/test_test_suites.py b/tests/api_resources/ai/assistants/tests/test_test_suites.py index c1812999..cae16c6b 100644 --- a/tests/api_resources/ai/assistants/tests/test_test_suites.py +++ b/tests/api_resources/ai/assistants/tests/test_test_suites.py @@ -17,13 +17,11 @@ class TestTestSuites: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: test_suite = client.ai.assistants.tests.test_suites.list() assert_matches_type(TestSuiteListResponse, test_suite, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.ai.assistants.tests.test_suites.with_raw_response.list() @@ -33,7 +31,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: test_suite = response.parse() assert_matches_type(TestSuiteListResponse, test_suite, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.ai.assistants.tests.test_suites.with_streaming_response.list() as response: @@ -51,13 +48,11 @@ class TestAsyncTestSuites: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: test_suite = await async_client.ai.assistants.tests.test_suites.list() assert_matches_type(TestSuiteListResponse, test_suite, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.assistants.tests.test_suites.with_raw_response.list() @@ -67,7 +62,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: test_suite = await response.parse() assert_matches_type(TestSuiteListResponse, test_suite, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.assistants.tests.test_suites.with_streaming_response.list() as response: diff --git a/tests/api_resources/ai/conversations/insight_groups/test_insights.py b/tests/api_resources/ai/conversations/insight_groups/test_insights.py index 1ee8180b..c97c9840 100644 --- a/tests/api_resources/ai/conversations/insight_groups/test_insights.py +++ b/tests/api_resources/ai/conversations/insight_groups/test_insights.py @@ -16,7 +16,6 @@ class TestInsights: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_assign(self, client: Telnyx) -> None: insight = client.ai.conversations.insight_groups.insights.assign( @@ -25,7 +24,6 @@ def test_method_assign(self, client: Telnyx) -> None: ) assert_matches_type(object, insight, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_assign(self, client: Telnyx) -> None: response = client.ai.conversations.insight_groups.insights.with_raw_response.assign( @@ -38,7 +36,6 @@ def test_raw_response_assign(self, client: Telnyx) -> None: insight = response.parse() assert_matches_type(object, insight, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_assign(self, client: Telnyx) -> None: with client.ai.conversations.insight_groups.insights.with_streaming_response.assign( @@ -53,7 +50,6 @@ def test_streaming_response_assign(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_assign(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `group_id` but received ''"): @@ -68,7 +64,6 @@ def test_path_params_assign(self, client: Telnyx) -> None: group_id="182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete_unassign(self, client: Telnyx) -> None: insight = client.ai.conversations.insight_groups.insights.delete_unassign( @@ -77,7 +72,6 @@ def test_method_delete_unassign(self, client: Telnyx) -> None: ) assert_matches_type(object, insight, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete_unassign(self, client: Telnyx) -> None: response = client.ai.conversations.insight_groups.insights.with_raw_response.delete_unassign( @@ -90,7 +84,6 @@ def test_raw_response_delete_unassign(self, client: Telnyx) -> None: insight = response.parse() assert_matches_type(object, insight, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete_unassign(self, client: Telnyx) -> None: with client.ai.conversations.insight_groups.insights.with_streaming_response.delete_unassign( @@ -105,7 +98,6 @@ def test_streaming_response_delete_unassign(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete_unassign(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `group_id` but received ''"): @@ -126,7 +118,6 @@ class TestAsyncInsights: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_assign(self, async_client: AsyncTelnyx) -> None: insight = await async_client.ai.conversations.insight_groups.insights.assign( @@ -135,7 +126,6 @@ async def test_method_assign(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(object, insight, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_assign(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.conversations.insight_groups.insights.with_raw_response.assign( @@ -148,7 +138,6 @@ async def test_raw_response_assign(self, async_client: AsyncTelnyx) -> None: insight = await response.parse() assert_matches_type(object, insight, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_assign(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.conversations.insight_groups.insights.with_streaming_response.assign( @@ -163,7 +152,6 @@ async def test_streaming_response_assign(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_assign(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `group_id` but received ''"): @@ -178,7 +166,6 @@ async def test_path_params_assign(self, async_client: AsyncTelnyx) -> None: group_id="182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete_unassign(self, async_client: AsyncTelnyx) -> None: insight = await async_client.ai.conversations.insight_groups.insights.delete_unassign( @@ -187,7 +174,6 @@ async def test_method_delete_unassign(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(object, insight, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete_unassign(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.conversations.insight_groups.insights.with_raw_response.delete_unassign( @@ -200,7 +186,6 @@ async def test_raw_response_delete_unassign(self, async_client: AsyncTelnyx) -> insight = await response.parse() assert_matches_type(object, insight, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete_unassign(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.conversations.insight_groups.insights.with_streaming_response.delete_unassign( @@ -215,7 +200,6 @@ async def test_streaming_response_delete_unassign(self, async_client: AsyncTelny assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete_unassign(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `group_id` but received ''"): diff --git a/tests/api_resources/ai/conversations/test_insight_groups.py b/tests/api_resources/ai/conversations/test_insight_groups.py index c96c754e..c1c39cac 100644 --- a/tests/api_resources/ai/conversations/test_insight_groups.py +++ b/tests/api_resources/ai/conversations/test_insight_groups.py @@ -20,7 +20,6 @@ class TestInsightGroups: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: insight_group = client.ai.conversations.insight_groups.retrieve( @@ -28,7 +27,6 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(InsightTemplateGroupDetail, insight_group, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.ai.conversations.insight_groups.with_raw_response.retrieve( @@ -40,7 +38,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: insight_group = response.parse() assert_matches_type(InsightTemplateGroupDetail, insight_group, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.ai.conversations.insight_groups.with_streaming_response.retrieve( @@ -54,7 +51,6 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `group_id` but received ''"): @@ -62,7 +58,6 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update(self, client: Telnyx) -> None: insight_group = client.ai.conversations.insight_groups.update( @@ -70,7 +65,6 @@ def test_method_update(self, client: Telnyx) -> None: ) assert_matches_type(InsightTemplateGroupDetail, insight_group, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_with_all_params(self, client: Telnyx) -> None: insight_group = client.ai.conversations.insight_groups.update( @@ -81,7 +75,6 @@ def test_method_update_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(InsightTemplateGroupDetail, insight_group, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update(self, client: Telnyx) -> None: response = client.ai.conversations.insight_groups.with_raw_response.update( @@ -93,7 +86,6 @@ def test_raw_response_update(self, client: Telnyx) -> None: insight_group = response.parse() assert_matches_type(InsightTemplateGroupDetail, insight_group, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update(self, client: Telnyx) -> None: with client.ai.conversations.insight_groups.with_streaming_response.update( @@ -107,7 +99,6 @@ def test_streaming_response_update(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `group_id` but received ''"): @@ -115,7 +106,6 @@ def test_path_params_update(self, client: Telnyx) -> None: group_id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: insight_group = client.ai.conversations.insight_groups.delete( @@ -123,7 +113,6 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert_matches_type(object, insight_group, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.ai.conversations.insight_groups.with_raw_response.delete( @@ -135,7 +124,6 @@ def test_raw_response_delete(self, client: Telnyx) -> None: insight_group = response.parse() assert_matches_type(object, insight_group, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.ai.conversations.insight_groups.with_streaming_response.delete( @@ -149,7 +137,6 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `group_id` but received ''"): @@ -157,7 +144,6 @@ def test_path_params_delete(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_insight_groups(self, client: Telnyx) -> None: insight_group = client.ai.conversations.insight_groups.insight_groups( @@ -165,7 +151,6 @@ def test_method_insight_groups(self, client: Telnyx) -> None: ) assert_matches_type(InsightTemplateGroupDetail, insight_group, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_insight_groups_with_all_params(self, client: Telnyx) -> None: insight_group = client.ai.conversations.insight_groups.insight_groups( @@ -175,7 +160,6 @@ def test_method_insight_groups_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(InsightTemplateGroupDetail, insight_group, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_insight_groups(self, client: Telnyx) -> None: response = client.ai.conversations.insight_groups.with_raw_response.insight_groups( @@ -187,7 +171,6 @@ def test_raw_response_insight_groups(self, client: Telnyx) -> None: insight_group = response.parse() assert_matches_type(InsightTemplateGroupDetail, insight_group, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_insight_groups(self, client: Telnyx) -> None: with client.ai.conversations.insight_groups.with_streaming_response.insight_groups( @@ -201,13 +184,11 @@ def test_streaming_response_insight_groups(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve_insight_groups(self, client: Telnyx) -> None: insight_group = client.ai.conversations.insight_groups.retrieve_insight_groups() assert_matches_type(InsightGroupRetrieveInsightGroupsResponse, insight_group, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve_insight_groups_with_all_params(self, client: Telnyx) -> None: insight_group = client.ai.conversations.insight_groups.retrieve_insight_groups( @@ -218,7 +199,6 @@ def test_method_retrieve_insight_groups_with_all_params(self, client: Telnyx) -> ) assert_matches_type(InsightGroupRetrieveInsightGroupsResponse, insight_group, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve_insight_groups(self, client: Telnyx) -> None: response = client.ai.conversations.insight_groups.with_raw_response.retrieve_insight_groups() @@ -228,7 +208,6 @@ def test_raw_response_retrieve_insight_groups(self, client: Telnyx) -> None: insight_group = response.parse() assert_matches_type(InsightGroupRetrieveInsightGroupsResponse, insight_group, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve_insight_groups(self, client: Telnyx) -> None: with client.ai.conversations.insight_groups.with_streaming_response.retrieve_insight_groups() as response: @@ -246,7 +225,6 @@ class TestAsyncInsightGroups: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: insight_group = await async_client.ai.conversations.insight_groups.retrieve( @@ -254,7 +232,6 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(InsightTemplateGroupDetail, insight_group, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.conversations.insight_groups.with_raw_response.retrieve( @@ -266,7 +243,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: insight_group = await response.parse() assert_matches_type(InsightTemplateGroupDetail, insight_group, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.conversations.insight_groups.with_streaming_response.retrieve( @@ -280,7 +256,6 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `group_id` but received ''"): @@ -288,7 +263,6 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update(self, async_client: AsyncTelnyx) -> None: insight_group = await async_client.ai.conversations.insight_groups.update( @@ -296,7 +270,6 @@ async def test_method_update(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(InsightTemplateGroupDetail, insight_group, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> None: insight_group = await async_client.ai.conversations.insight_groups.update( @@ -307,7 +280,6 @@ async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(InsightTemplateGroupDetail, insight_group, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.conversations.insight_groups.with_raw_response.update( @@ -319,7 +291,6 @@ async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: insight_group = await response.parse() assert_matches_type(InsightTemplateGroupDetail, insight_group, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.conversations.insight_groups.with_streaming_response.update( @@ -333,7 +304,6 @@ async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `group_id` but received ''"): @@ -341,7 +311,6 @@ async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: group_id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: insight_group = await async_client.ai.conversations.insight_groups.delete( @@ -349,7 +318,6 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(object, insight_group, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.conversations.insight_groups.with_raw_response.delete( @@ -361,7 +329,6 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: insight_group = await response.parse() assert_matches_type(object, insight_group, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.conversations.insight_groups.with_streaming_response.delete( @@ -375,7 +342,6 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `group_id` but received ''"): @@ -383,7 +349,6 @@ async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_insight_groups(self, async_client: AsyncTelnyx) -> None: insight_group = await async_client.ai.conversations.insight_groups.insight_groups( @@ -391,7 +356,6 @@ async def test_method_insight_groups(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(InsightTemplateGroupDetail, insight_group, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_insight_groups_with_all_params(self, async_client: AsyncTelnyx) -> None: insight_group = await async_client.ai.conversations.insight_groups.insight_groups( @@ -401,7 +365,6 @@ async def test_method_insight_groups_with_all_params(self, async_client: AsyncTe ) assert_matches_type(InsightTemplateGroupDetail, insight_group, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_insight_groups(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.conversations.insight_groups.with_raw_response.insight_groups( @@ -413,7 +376,6 @@ async def test_raw_response_insight_groups(self, async_client: AsyncTelnyx) -> N insight_group = await response.parse() assert_matches_type(InsightTemplateGroupDetail, insight_group, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_insight_groups(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.conversations.insight_groups.with_streaming_response.insight_groups( @@ -427,13 +389,11 @@ async def test_streaming_response_insight_groups(self, async_client: AsyncTelnyx assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve_insight_groups(self, async_client: AsyncTelnyx) -> None: insight_group = await async_client.ai.conversations.insight_groups.retrieve_insight_groups() assert_matches_type(InsightGroupRetrieveInsightGroupsResponse, insight_group, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve_insight_groups_with_all_params(self, async_client: AsyncTelnyx) -> None: insight_group = await async_client.ai.conversations.insight_groups.retrieve_insight_groups( @@ -444,7 +404,6 @@ async def test_method_retrieve_insight_groups_with_all_params(self, async_client ) assert_matches_type(InsightGroupRetrieveInsightGroupsResponse, insight_group, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve_insight_groups(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.conversations.insight_groups.with_raw_response.retrieve_insight_groups() @@ -454,7 +413,6 @@ async def test_raw_response_retrieve_insight_groups(self, async_client: AsyncTel insight_group = await response.parse() assert_matches_type(InsightGroupRetrieveInsightGroupsResponse, insight_group, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve_insight_groups(self, async_client: AsyncTelnyx) -> None: async with ( diff --git a/tests/api_resources/ai/conversations/test_insights.py b/tests/api_resources/ai/conversations/test_insights.py index 5569ff44..516f113b 100644 --- a/tests/api_resources/ai/conversations/test_insights.py +++ b/tests/api_resources/ai/conversations/test_insights.py @@ -20,7 +20,6 @@ class TestInsights: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: insight = client.ai.conversations.insights.create( @@ -29,7 +28,6 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(InsightTemplateDetail, insight, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: insight = client.ai.conversations.insights.create( @@ -40,7 +38,6 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(InsightTemplateDetail, insight, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.ai.conversations.insights.with_raw_response.create( @@ -53,7 +50,6 @@ def test_raw_response_create(self, client: Telnyx) -> None: insight = response.parse() assert_matches_type(InsightTemplateDetail, insight, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.ai.conversations.insights.with_streaming_response.create( @@ -68,7 +64,6 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: insight = client.ai.conversations.insights.retrieve( @@ -76,7 +71,6 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(InsightTemplateDetail, insight, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.ai.conversations.insights.with_raw_response.retrieve( @@ -88,7 +82,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: insight = response.parse() assert_matches_type(InsightTemplateDetail, insight, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.ai.conversations.insights.with_streaming_response.retrieve( @@ -102,7 +95,6 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `insight_id` but received ''"): @@ -110,7 +102,6 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update(self, client: Telnyx) -> None: insight = client.ai.conversations.insights.update( @@ -118,7 +109,6 @@ def test_method_update(self, client: Telnyx) -> None: ) assert_matches_type(InsightTemplateDetail, insight, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_with_all_params(self, client: Telnyx) -> None: insight = client.ai.conversations.insights.update( @@ -130,7 +120,6 @@ def test_method_update_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(InsightTemplateDetail, insight, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update(self, client: Telnyx) -> None: response = client.ai.conversations.insights.with_raw_response.update( @@ -142,7 +131,6 @@ def test_raw_response_update(self, client: Telnyx) -> None: insight = response.parse() assert_matches_type(InsightTemplateDetail, insight, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update(self, client: Telnyx) -> None: with client.ai.conversations.insights.with_streaming_response.update( @@ -156,7 +144,6 @@ def test_streaming_response_update(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `insight_id` but received ''"): @@ -164,13 +151,11 @@ def test_path_params_update(self, client: Telnyx) -> None: insight_id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: insight = client.ai.conversations.insights.list() assert_matches_type(InsightListResponse, insight, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: insight = client.ai.conversations.insights.list( @@ -181,7 +166,6 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(InsightListResponse, insight, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.ai.conversations.insights.with_raw_response.list() @@ -191,7 +175,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: insight = response.parse() assert_matches_type(InsightListResponse, insight, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.ai.conversations.insights.with_streaming_response.list() as response: @@ -203,7 +186,6 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: insight = client.ai.conversations.insights.delete( @@ -211,7 +193,6 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert_matches_type(object, insight, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.ai.conversations.insights.with_raw_response.delete( @@ -223,7 +204,6 @@ def test_raw_response_delete(self, client: Telnyx) -> None: insight = response.parse() assert_matches_type(object, insight, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.ai.conversations.insights.with_streaming_response.delete( @@ -237,7 +217,6 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `insight_id` but received ''"): @@ -251,7 +230,6 @@ class TestAsyncInsights: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: insight = await async_client.ai.conversations.insights.create( @@ -260,7 +238,6 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(InsightTemplateDetail, insight, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: insight = await async_client.ai.conversations.insights.create( @@ -271,7 +248,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(InsightTemplateDetail, insight, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.conversations.insights.with_raw_response.create( @@ -284,7 +260,6 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: insight = await response.parse() assert_matches_type(InsightTemplateDetail, insight, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.conversations.insights.with_streaming_response.create( @@ -299,7 +274,6 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: insight = await async_client.ai.conversations.insights.retrieve( @@ -307,7 +281,6 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(InsightTemplateDetail, insight, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.conversations.insights.with_raw_response.retrieve( @@ -319,7 +292,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: insight = await response.parse() assert_matches_type(InsightTemplateDetail, insight, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.conversations.insights.with_streaming_response.retrieve( @@ -333,7 +305,6 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `insight_id` but received ''"): @@ -341,7 +312,6 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update(self, async_client: AsyncTelnyx) -> None: insight = await async_client.ai.conversations.insights.update( @@ -349,7 +319,6 @@ async def test_method_update(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(InsightTemplateDetail, insight, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> None: insight = await async_client.ai.conversations.insights.update( @@ -361,7 +330,6 @@ async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(InsightTemplateDetail, insight, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.conversations.insights.with_raw_response.update( @@ -373,7 +341,6 @@ async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: insight = await response.parse() assert_matches_type(InsightTemplateDetail, insight, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.conversations.insights.with_streaming_response.update( @@ -387,7 +354,6 @@ async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `insight_id` but received ''"): @@ -395,13 +361,11 @@ async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: insight_id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: insight = await async_client.ai.conversations.insights.list() assert_matches_type(InsightListResponse, insight, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: insight = await async_client.ai.conversations.insights.list( @@ -412,7 +376,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(InsightListResponse, insight, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.conversations.insights.with_raw_response.list() @@ -422,7 +385,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: insight = await response.parse() assert_matches_type(InsightListResponse, insight, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.conversations.insights.with_streaming_response.list() as response: @@ -434,7 +396,6 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: insight = await async_client.ai.conversations.insights.delete( @@ -442,7 +403,6 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(object, insight, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.conversations.insights.with_raw_response.delete( @@ -454,7 +414,6 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: insight = await response.parse() assert_matches_type(object, insight, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.conversations.insights.with_streaming_response.delete( @@ -468,7 +427,6 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `insight_id` but received ''"): diff --git a/tests/api_resources/ai/conversations/test_messages.py b/tests/api_resources/ai/conversations/test_messages.py index 36d8b6ec..6206fc32 100644 --- a/tests/api_resources/ai/conversations/test_messages.py +++ b/tests/api_resources/ai/conversations/test_messages.py @@ -18,7 +18,6 @@ class TestMessages: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: message = client.ai.conversations.messages.create( @@ -27,7 +26,6 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(object, message, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: message = client.ai.conversations.messages.create( @@ -43,7 +41,6 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(object, message, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.ai.conversations.messages.with_raw_response.create( @@ -56,7 +53,6 @@ def test_raw_response_create(self, client: Telnyx) -> None: message = response.parse() assert_matches_type(object, message, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.ai.conversations.messages.with_streaming_response.create( @@ -71,7 +67,6 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_create(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `conversation_id` but received ''"): @@ -80,7 +75,6 @@ def test_path_params_create(self, client: Telnyx) -> None: role="role", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: message = client.ai.conversations.messages.list( @@ -88,7 +82,6 @@ def test_method_list(self, client: Telnyx) -> None: ) assert_matches_type(MessageListResponse, message, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.ai.conversations.messages.with_raw_response.list( @@ -100,7 +93,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: message = response.parse() assert_matches_type(MessageListResponse, message, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.ai.conversations.messages.with_streaming_response.list( @@ -114,7 +106,6 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_list(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `conversation_id` but received ''"): @@ -128,7 +119,6 @@ class TestAsyncMessages: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: message = await async_client.ai.conversations.messages.create( @@ -137,7 +127,6 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(object, message, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: message = await async_client.ai.conversations.messages.create( @@ -153,7 +142,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(object, message, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.conversations.messages.with_raw_response.create( @@ -166,7 +154,6 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: message = await response.parse() assert_matches_type(object, message, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.conversations.messages.with_streaming_response.create( @@ -181,7 +168,6 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_create(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `conversation_id` but received ''"): @@ -190,7 +176,6 @@ async def test_path_params_create(self, async_client: AsyncTelnyx) -> None: role="role", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: message = await async_client.ai.conversations.messages.list( @@ -198,7 +183,6 @@ async def test_method_list(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(MessageListResponse, message, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.conversations.messages.with_raw_response.list( @@ -210,7 +194,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: message = await response.parse() assert_matches_type(MessageListResponse, message, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.conversations.messages.with_streaming_response.list( @@ -224,7 +207,6 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_list(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `conversation_id` but received ''"): diff --git a/tests/api_resources/ai/embeddings/test_buckets.py b/tests/api_resources/ai/embeddings/test_buckets.py index ca2936c2..a0e96edf 100644 --- a/tests/api_resources/ai/embeddings/test_buckets.py +++ b/tests/api_resources/ai/embeddings/test_buckets.py @@ -17,7 +17,6 @@ class TestBuckets: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: bucket = client.ai.embeddings.buckets.retrieve( @@ -25,7 +24,6 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(BucketRetrieveResponse, bucket, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.ai.embeddings.buckets.with_raw_response.retrieve( @@ -37,7 +35,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: bucket = response.parse() assert_matches_type(BucketRetrieveResponse, bucket, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.ai.embeddings.buckets.with_streaming_response.retrieve( @@ -51,7 +48,6 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `bucket_name` but received ''"): @@ -59,13 +55,11 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: bucket = client.ai.embeddings.buckets.list() assert_matches_type(BucketListResponse, bucket, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.ai.embeddings.buckets.with_raw_response.list() @@ -75,7 +69,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: bucket = response.parse() assert_matches_type(BucketListResponse, bucket, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.ai.embeddings.buckets.with_streaming_response.list() as response: @@ -87,7 +80,6 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: bucket = client.ai.embeddings.buckets.delete( @@ -95,7 +87,6 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert bucket is None - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.ai.embeddings.buckets.with_raw_response.delete( @@ -107,7 +98,6 @@ def test_raw_response_delete(self, client: Telnyx) -> None: bucket = response.parse() assert bucket is None - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.ai.embeddings.buckets.with_streaming_response.delete( @@ -121,7 +111,6 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `bucket_name` but received ''"): @@ -135,7 +124,6 @@ class TestAsyncBuckets: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: bucket = await async_client.ai.embeddings.buckets.retrieve( @@ -143,7 +131,6 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(BucketRetrieveResponse, bucket, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.embeddings.buckets.with_raw_response.retrieve( @@ -155,7 +142,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: bucket = await response.parse() assert_matches_type(BucketRetrieveResponse, bucket, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.embeddings.buckets.with_streaming_response.retrieve( @@ -169,7 +155,6 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `bucket_name` but received ''"): @@ -177,13 +162,11 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: bucket = await async_client.ai.embeddings.buckets.list() assert_matches_type(BucketListResponse, bucket, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.embeddings.buckets.with_raw_response.list() @@ -193,7 +176,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: bucket = await response.parse() assert_matches_type(BucketListResponse, bucket, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.embeddings.buckets.with_streaming_response.list() as response: @@ -205,7 +187,6 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: bucket = await async_client.ai.embeddings.buckets.delete( @@ -213,7 +194,6 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert bucket is None - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.embeddings.buckets.with_raw_response.delete( @@ -225,7 +205,6 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: bucket = await response.parse() assert bucket is None - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.embeddings.buckets.with_streaming_response.delete( @@ -239,7 +218,6 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `bucket_name` but received ''"): diff --git a/tests/api_resources/ai/fine_tuning/test_jobs.py b/tests/api_resources/ai/fine_tuning/test_jobs.py index 2b7762b8..e146b6c3 100644 --- a/tests/api_resources/ai/fine_tuning/test_jobs.py +++ b/tests/api_resources/ai/fine_tuning/test_jobs.py @@ -17,7 +17,6 @@ class TestJobs: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: job = client.ai.fine_tuning.jobs.create( @@ -26,7 +25,6 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(FineTuningJob, job, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: job = client.ai.fine_tuning.jobs.create( @@ -37,7 +35,6 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(FineTuningJob, job, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.ai.fine_tuning.jobs.with_raw_response.create( @@ -50,7 +47,6 @@ def test_raw_response_create(self, client: Telnyx) -> None: job = response.parse() assert_matches_type(FineTuningJob, job, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.ai.fine_tuning.jobs.with_streaming_response.create( @@ -65,7 +61,6 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: job = client.ai.fine_tuning.jobs.retrieve( @@ -73,7 +68,6 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(FineTuningJob, job, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.ai.fine_tuning.jobs.with_raw_response.retrieve( @@ -85,7 +79,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: job = response.parse() assert_matches_type(FineTuningJob, job, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.ai.fine_tuning.jobs.with_streaming_response.retrieve( @@ -99,7 +92,6 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `job_id` but received ''"): @@ -107,13 +99,11 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: job = client.ai.fine_tuning.jobs.list() assert_matches_type(JobListResponse, job, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.ai.fine_tuning.jobs.with_raw_response.list() @@ -123,7 +113,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: job = response.parse() assert_matches_type(JobListResponse, job, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.ai.fine_tuning.jobs.with_streaming_response.list() as response: @@ -135,7 +124,6 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_cancel(self, client: Telnyx) -> None: job = client.ai.fine_tuning.jobs.cancel( @@ -143,7 +131,6 @@ def test_method_cancel(self, client: Telnyx) -> None: ) assert_matches_type(FineTuningJob, job, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_cancel(self, client: Telnyx) -> None: response = client.ai.fine_tuning.jobs.with_raw_response.cancel( @@ -155,7 +142,6 @@ def test_raw_response_cancel(self, client: Telnyx) -> None: job = response.parse() assert_matches_type(FineTuningJob, job, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_cancel(self, client: Telnyx) -> None: with client.ai.fine_tuning.jobs.with_streaming_response.cancel( @@ -169,7 +155,6 @@ def test_streaming_response_cancel(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_cancel(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `job_id` but received ''"): @@ -183,7 +168,6 @@ class TestAsyncJobs: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: job = await async_client.ai.fine_tuning.jobs.create( @@ -192,7 +176,6 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(FineTuningJob, job, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: job = await async_client.ai.fine_tuning.jobs.create( @@ -203,7 +186,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(FineTuningJob, job, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.fine_tuning.jobs.with_raw_response.create( @@ -216,7 +198,6 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: job = await response.parse() assert_matches_type(FineTuningJob, job, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.fine_tuning.jobs.with_streaming_response.create( @@ -231,7 +212,6 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: job = await async_client.ai.fine_tuning.jobs.retrieve( @@ -239,7 +219,6 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(FineTuningJob, job, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.fine_tuning.jobs.with_raw_response.retrieve( @@ -251,7 +230,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: job = await response.parse() assert_matches_type(FineTuningJob, job, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.fine_tuning.jobs.with_streaming_response.retrieve( @@ -265,7 +243,6 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `job_id` but received ''"): @@ -273,13 +250,11 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: job = await async_client.ai.fine_tuning.jobs.list() assert_matches_type(JobListResponse, job, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.fine_tuning.jobs.with_raw_response.list() @@ -289,7 +264,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: job = await response.parse() assert_matches_type(JobListResponse, job, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.fine_tuning.jobs.with_streaming_response.list() as response: @@ -301,7 +275,6 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_cancel(self, async_client: AsyncTelnyx) -> None: job = await async_client.ai.fine_tuning.jobs.cancel( @@ -309,7 +282,6 @@ async def test_method_cancel(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(FineTuningJob, job, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_cancel(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.fine_tuning.jobs.with_raw_response.cancel( @@ -321,7 +293,6 @@ async def test_raw_response_cancel(self, async_client: AsyncTelnyx) -> None: job = await response.parse() assert_matches_type(FineTuningJob, job, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_cancel(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.fine_tuning.jobs.with_streaming_response.cancel( @@ -335,7 +306,6 @@ async def test_streaming_response_cancel(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_cancel(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `job_id` but received ''"): diff --git a/tests/api_resources/ai/test_assistants.py b/tests/api_resources/ai/test_assistants.py index b0427106..2af0cec1 100644 --- a/tests/api_resources/ai/test_assistants.py +++ b/tests/api_resources/ai/test_assistants.py @@ -24,7 +24,6 @@ class TestAssistants: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: assistant = client.ai.assistants.create( @@ -34,7 +33,6 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(AssistantCreateResponse, assistant, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: assistant = client.ai.assistants.create( @@ -104,7 +102,6 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(AssistantCreateResponse, assistant, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.ai.assistants.with_raw_response.create( @@ -118,7 +115,6 @@ def test_raw_response_create(self, client: Telnyx) -> None: assistant = response.parse() assert_matches_type(AssistantCreateResponse, assistant, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.ai.assistants.with_streaming_response.create( @@ -134,7 +130,6 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: assistant = client.ai.assistants.retrieve( @@ -142,7 +137,6 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(AssistantRetrieveResponse, assistant, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve_with_all_params(self, client: Telnyx) -> None: assistant = client.ai.assistants.retrieve( @@ -154,7 +148,6 @@ def test_method_retrieve_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(AssistantRetrieveResponse, assistant, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.ai.assistants.with_raw_response.retrieve( @@ -166,7 +159,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: assistant = response.parse() assert_matches_type(AssistantRetrieveResponse, assistant, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.ai.assistants.with_streaming_response.retrieve( @@ -180,7 +172,6 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `assistant_id` but received ''"): @@ -188,7 +179,6 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: assistant_id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update(self, client: Telnyx) -> None: assistant = client.ai.assistants.update( @@ -196,7 +186,6 @@ def test_method_update(self, client: Telnyx) -> None: ) assert_matches_type(object, assistant, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_with_all_params(self, client: Telnyx) -> None: assistant = client.ai.assistants.update( @@ -268,7 +257,6 @@ def test_method_update_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(object, assistant, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update(self, client: Telnyx) -> None: response = client.ai.assistants.with_raw_response.update( @@ -280,7 +268,6 @@ def test_raw_response_update(self, client: Telnyx) -> None: assistant = response.parse() assert_matches_type(object, assistant, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update(self, client: Telnyx) -> None: with client.ai.assistants.with_streaming_response.update( @@ -294,7 +281,6 @@ def test_streaming_response_update(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `assistant_id` but received ''"): @@ -302,13 +288,11 @@ def test_path_params_update(self, client: Telnyx) -> None: assistant_id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: assistant = client.ai.assistants.list() assert_matches_type(AssistantsList, assistant, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.ai.assistants.with_raw_response.list() @@ -318,7 +302,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: assistant = response.parse() assert_matches_type(AssistantsList, assistant, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.ai.assistants.with_streaming_response.list() as response: @@ -330,7 +313,6 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: assistant = client.ai.assistants.delete( @@ -338,7 +320,6 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert_matches_type(AssistantDeleteResponse, assistant, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.ai.assistants.with_raw_response.delete( @@ -350,7 +331,6 @@ def test_raw_response_delete(self, client: Telnyx) -> None: assistant = response.parse() assert_matches_type(AssistantDeleteResponse, assistant, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.ai.assistants.with_streaming_response.delete( @@ -364,7 +344,6 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `assistant_id` but received ''"): @@ -372,7 +351,6 @@ def test_path_params_delete(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_chat(self, client: Telnyx) -> None: assistant = client.ai.assistants.chat( @@ -382,7 +360,6 @@ def test_method_chat(self, client: Telnyx) -> None: ) assert_matches_type(AssistantChatResponse, assistant, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_chat_with_all_params(self, client: Telnyx) -> None: assistant = client.ai.assistants.chat( @@ -393,7 +370,6 @@ def test_method_chat_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(AssistantChatResponse, assistant, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_chat(self, client: Telnyx) -> None: response = client.ai.assistants.with_raw_response.chat( @@ -407,7 +383,6 @@ def test_raw_response_chat(self, client: Telnyx) -> None: assistant = response.parse() assert_matches_type(AssistantChatResponse, assistant, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_chat(self, client: Telnyx) -> None: with client.ai.assistants.with_streaming_response.chat( @@ -423,7 +398,6 @@ def test_streaming_response_chat(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_chat(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `assistant_id` but received ''"): @@ -433,7 +407,6 @@ def test_path_params_chat(self, client: Telnyx) -> None: conversation_id="42b20469-1215-4a9a-8964-c36f66b406f4", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_clone(self, client: Telnyx) -> None: assistant = client.ai.assistants.clone( @@ -441,7 +414,6 @@ def test_method_clone(self, client: Telnyx) -> None: ) assert_matches_type(AssistantCloneResponse, assistant, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_clone(self, client: Telnyx) -> None: response = client.ai.assistants.with_raw_response.clone( @@ -453,7 +425,6 @@ def test_raw_response_clone(self, client: Telnyx) -> None: assistant = response.parse() assert_matches_type(AssistantCloneResponse, assistant, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_clone(self, client: Telnyx) -> None: with client.ai.assistants.with_streaming_response.clone( @@ -467,7 +438,6 @@ def test_streaming_response_clone(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_clone(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `assistant_id` but received ''"): @@ -475,7 +445,6 @@ def test_path_params_clone(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_get_texml(self, client: Telnyx) -> None: assistant = client.ai.assistants.get_texml( @@ -483,7 +452,6 @@ def test_method_get_texml(self, client: Telnyx) -> None: ) assert_matches_type(str, assistant, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_get_texml(self, client: Telnyx) -> None: response = client.ai.assistants.with_raw_response.get_texml( @@ -495,7 +463,6 @@ def test_raw_response_get_texml(self, client: Telnyx) -> None: assistant = response.parse() assert_matches_type(str, assistant, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_get_texml(self, client: Telnyx) -> None: with client.ai.assistants.with_streaming_response.get_texml( @@ -509,7 +476,6 @@ def test_streaming_response_get_texml(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_get_texml(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `assistant_id` but received ''"): @@ -517,7 +483,6 @@ def test_path_params_get_texml(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_import(self, client: Telnyx) -> None: assistant = client.ai.assistants.import_( @@ -526,7 +491,6 @@ def test_method_import(self, client: Telnyx) -> None: ) assert_matches_type(AssistantsList, assistant, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_import(self, client: Telnyx) -> None: response = client.ai.assistants.with_raw_response.import_( @@ -539,7 +503,6 @@ def test_raw_response_import(self, client: Telnyx) -> None: assistant = response.parse() assert_matches_type(AssistantsList, assistant, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_import(self, client: Telnyx) -> None: with client.ai.assistants.with_streaming_response.import_( @@ -560,7 +523,6 @@ class TestAsyncAssistants: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: assistant = await async_client.ai.assistants.create( @@ -570,7 +532,6 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(AssistantCreateResponse, assistant, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: assistant = await async_client.ai.assistants.create( @@ -640,7 +601,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(AssistantCreateResponse, assistant, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.assistants.with_raw_response.create( @@ -654,7 +614,6 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: assistant = await response.parse() assert_matches_type(AssistantCreateResponse, assistant, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.assistants.with_streaming_response.create( @@ -670,7 +629,6 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: assistant = await async_client.ai.assistants.retrieve( @@ -678,7 +636,6 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(AssistantRetrieveResponse, assistant, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve_with_all_params(self, async_client: AsyncTelnyx) -> None: assistant = await async_client.ai.assistants.retrieve( @@ -690,7 +647,6 @@ async def test_method_retrieve_with_all_params(self, async_client: AsyncTelnyx) ) assert_matches_type(AssistantRetrieveResponse, assistant, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.assistants.with_raw_response.retrieve( @@ -702,7 +658,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: assistant = await response.parse() assert_matches_type(AssistantRetrieveResponse, assistant, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.assistants.with_streaming_response.retrieve( @@ -716,7 +671,6 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `assistant_id` but received ''"): @@ -724,7 +678,6 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: assistant_id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update(self, async_client: AsyncTelnyx) -> None: assistant = await async_client.ai.assistants.update( @@ -732,7 +685,6 @@ async def test_method_update(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(object, assistant, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> None: assistant = await async_client.ai.assistants.update( @@ -804,7 +756,6 @@ async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(object, assistant, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.assistants.with_raw_response.update( @@ -816,7 +767,6 @@ async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: assistant = await response.parse() assert_matches_type(object, assistant, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.assistants.with_streaming_response.update( @@ -830,7 +780,6 @@ async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `assistant_id` but received ''"): @@ -838,13 +787,11 @@ async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: assistant_id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: assistant = await async_client.ai.assistants.list() assert_matches_type(AssistantsList, assistant, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.assistants.with_raw_response.list() @@ -854,7 +801,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: assistant = await response.parse() assert_matches_type(AssistantsList, assistant, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.assistants.with_streaming_response.list() as response: @@ -866,7 +812,6 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: assistant = await async_client.ai.assistants.delete( @@ -874,7 +819,6 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(AssistantDeleteResponse, assistant, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.assistants.with_raw_response.delete( @@ -886,7 +830,6 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: assistant = await response.parse() assert_matches_type(AssistantDeleteResponse, assistant, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.assistants.with_streaming_response.delete( @@ -900,7 +843,6 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `assistant_id` but received ''"): @@ -908,7 +850,6 @@ async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_chat(self, async_client: AsyncTelnyx) -> None: assistant = await async_client.ai.assistants.chat( @@ -918,7 +859,6 @@ async def test_method_chat(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(AssistantChatResponse, assistant, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_chat_with_all_params(self, async_client: AsyncTelnyx) -> None: assistant = await async_client.ai.assistants.chat( @@ -929,7 +869,6 @@ async def test_method_chat_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(AssistantChatResponse, assistant, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_chat(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.assistants.with_raw_response.chat( @@ -943,7 +882,6 @@ async def test_raw_response_chat(self, async_client: AsyncTelnyx) -> None: assistant = await response.parse() assert_matches_type(AssistantChatResponse, assistant, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_chat(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.assistants.with_streaming_response.chat( @@ -959,7 +897,6 @@ async def test_streaming_response_chat(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_chat(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `assistant_id` but received ''"): @@ -969,7 +906,6 @@ async def test_path_params_chat(self, async_client: AsyncTelnyx) -> None: conversation_id="42b20469-1215-4a9a-8964-c36f66b406f4", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_clone(self, async_client: AsyncTelnyx) -> None: assistant = await async_client.ai.assistants.clone( @@ -977,7 +913,6 @@ async def test_method_clone(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(AssistantCloneResponse, assistant, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_clone(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.assistants.with_raw_response.clone( @@ -989,7 +924,6 @@ async def test_raw_response_clone(self, async_client: AsyncTelnyx) -> None: assistant = await response.parse() assert_matches_type(AssistantCloneResponse, assistant, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_clone(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.assistants.with_streaming_response.clone( @@ -1003,7 +937,6 @@ async def test_streaming_response_clone(self, async_client: AsyncTelnyx) -> None assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_clone(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `assistant_id` but received ''"): @@ -1011,7 +944,6 @@ async def test_path_params_clone(self, async_client: AsyncTelnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_get_texml(self, async_client: AsyncTelnyx) -> None: assistant = await async_client.ai.assistants.get_texml( @@ -1019,7 +951,6 @@ async def test_method_get_texml(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(str, assistant, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_get_texml(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.assistants.with_raw_response.get_texml( @@ -1031,7 +962,6 @@ async def test_raw_response_get_texml(self, async_client: AsyncTelnyx) -> None: assistant = await response.parse() assert_matches_type(str, assistant, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_get_texml(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.assistants.with_streaming_response.get_texml( @@ -1045,7 +975,6 @@ async def test_streaming_response_get_texml(self, async_client: AsyncTelnyx) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_get_texml(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `assistant_id` but received ''"): @@ -1053,7 +982,6 @@ async def test_path_params_get_texml(self, async_client: AsyncTelnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_import(self, async_client: AsyncTelnyx) -> None: assistant = await async_client.ai.assistants.import_( @@ -1062,7 +990,6 @@ async def test_method_import(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(AssistantsList, assistant, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_import(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.assistants.with_raw_response.import_( @@ -1075,7 +1002,6 @@ async def test_raw_response_import(self, async_client: AsyncTelnyx) -> None: assistant = await response.parse() assert_matches_type(AssistantsList, assistant, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_import(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.assistants.with_streaming_response.import_( diff --git a/tests/api_resources/ai/test_audio.py b/tests/api_resources/ai/test_audio.py index 60ef5e03..bfdc31e5 100644 --- a/tests/api_resources/ai/test_audio.py +++ b/tests/api_resources/ai/test_audio.py @@ -17,7 +17,6 @@ class TestAudio: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_transcribe(self, client: Telnyx) -> None: audio = client.ai.audio.transcribe( @@ -25,7 +24,6 @@ def test_method_transcribe(self, client: Telnyx) -> None: ) assert_matches_type(AudioTranscribeResponse, audio, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_transcribe_with_all_params(self, client: Telnyx) -> None: audio = client.ai.audio.transcribe( @@ -37,7 +35,6 @@ def test_method_transcribe_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(AudioTranscribeResponse, audio, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_transcribe(self, client: Telnyx) -> None: response = client.ai.audio.with_raw_response.transcribe( @@ -49,7 +46,6 @@ def test_raw_response_transcribe(self, client: Telnyx) -> None: audio = response.parse() assert_matches_type(AudioTranscribeResponse, audio, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_transcribe(self, client: Telnyx) -> None: with client.ai.audio.with_streaming_response.transcribe( @@ -69,7 +65,6 @@ class TestAsyncAudio: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_transcribe(self, async_client: AsyncTelnyx) -> None: audio = await async_client.ai.audio.transcribe( @@ -77,7 +72,6 @@ async def test_method_transcribe(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(AudioTranscribeResponse, audio, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_transcribe_with_all_params(self, async_client: AsyncTelnyx) -> None: audio = await async_client.ai.audio.transcribe( @@ -89,7 +83,6 @@ async def test_method_transcribe_with_all_params(self, async_client: AsyncTelnyx ) assert_matches_type(AudioTranscribeResponse, audio, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_transcribe(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.audio.with_raw_response.transcribe( @@ -101,7 +94,6 @@ async def test_raw_response_transcribe(self, async_client: AsyncTelnyx) -> None: audio = await response.parse() assert_matches_type(AudioTranscribeResponse, audio, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_transcribe(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.audio.with_streaming_response.transcribe( diff --git a/tests/api_resources/ai/test_chat.py b/tests/api_resources/ai/test_chat.py index d1f1299e..7786dbef 100644 --- a/tests/api_resources/ai/test_chat.py +++ b/tests/api_resources/ai/test_chat.py @@ -16,7 +16,6 @@ class TestChat: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_completion(self, client: Telnyx) -> None: chat = client.ai.chat.create_completion( @@ -33,7 +32,6 @@ def test_method_create_completion(self, client: Telnyx) -> None: ) assert_matches_type(object, chat, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_completion_with_all_params(self, client: Telnyx) -> None: chat = client.ai.chat.create_completion( @@ -81,7 +79,6 @@ def test_method_create_completion_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(object, chat, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create_completion(self, client: Telnyx) -> None: response = client.ai.chat.with_raw_response.create_completion( @@ -102,7 +99,6 @@ def test_raw_response_create_completion(self, client: Telnyx) -> None: chat = response.parse() assert_matches_type(object, chat, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create_completion(self, client: Telnyx) -> None: with client.ai.chat.with_streaming_response.create_completion( @@ -131,7 +127,6 @@ class TestAsyncChat: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_completion(self, async_client: AsyncTelnyx) -> None: chat = await async_client.ai.chat.create_completion( @@ -148,7 +143,6 @@ async def test_method_create_completion(self, async_client: AsyncTelnyx) -> None ) assert_matches_type(object, chat, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_completion_with_all_params(self, async_client: AsyncTelnyx) -> None: chat = await async_client.ai.chat.create_completion( @@ -196,7 +190,6 @@ async def test_method_create_completion_with_all_params(self, async_client: Asyn ) assert_matches_type(object, chat, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create_completion(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.chat.with_raw_response.create_completion( @@ -217,7 +210,6 @@ async def test_raw_response_create_completion(self, async_client: AsyncTelnyx) - chat = await response.parse() assert_matches_type(object, chat, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create_completion(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.chat.with_streaming_response.create_completion( diff --git a/tests/api_resources/ai/test_clusters.py b/tests/api_resources/ai/test_clusters.py index 0702c699..43608e24 100644 --- a/tests/api_resources/ai/test_clusters.py +++ b/tests/api_resources/ai/test_clusters.py @@ -21,7 +21,6 @@ class TestClusters: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: cluster = client.ai.clusters.retrieve( @@ -29,7 +28,6 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(ClusterRetrieveResponse, cluster, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve_with_all_params(self, client: Telnyx) -> None: cluster = client.ai.clusters.retrieve( @@ -39,7 +37,6 @@ def test_method_retrieve_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ClusterRetrieveResponse, cluster, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.ai.clusters.with_raw_response.retrieve( @@ -51,7 +48,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: cluster = response.parse() assert_matches_type(ClusterRetrieveResponse, cluster, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.ai.clusters.with_streaming_response.retrieve( @@ -65,7 +61,6 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `task_id` but received ''"): @@ -73,13 +68,11 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: task_id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: cluster = client.ai.clusters.list() assert_matches_type(ClusterListResponse, cluster, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: cluster = client.ai.clusters.list( @@ -90,7 +83,6 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ClusterListResponse, cluster, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.ai.clusters.with_raw_response.list() @@ -100,7 +92,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: cluster = response.parse() assert_matches_type(ClusterListResponse, cluster, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.ai.clusters.with_streaming_response.list() as response: @@ -112,7 +103,6 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: cluster = client.ai.clusters.delete( @@ -120,7 +110,6 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert cluster is None - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.ai.clusters.with_raw_response.delete( @@ -132,7 +121,6 @@ def test_raw_response_delete(self, client: Telnyx) -> None: cluster = response.parse() assert cluster is None - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.ai.clusters.with_streaming_response.delete( @@ -146,7 +134,6 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `task_id` but received ''"): @@ -154,7 +141,6 @@ def test_path_params_delete(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_compute(self, client: Telnyx) -> None: cluster = client.ai.clusters.compute( @@ -162,7 +148,6 @@ def test_method_compute(self, client: Telnyx) -> None: ) assert_matches_type(ClusterComputeResponse, cluster, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_compute_with_all_params(self, client: Telnyx) -> None: cluster = client.ai.clusters.compute( @@ -174,7 +159,6 @@ def test_method_compute_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ClusterComputeResponse, cluster, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_compute(self, client: Telnyx) -> None: response = client.ai.clusters.with_raw_response.compute( @@ -186,7 +170,6 @@ def test_raw_response_compute(self, client: Telnyx) -> None: cluster = response.parse() assert_matches_type(ClusterComputeResponse, cluster, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_compute(self, client: Telnyx) -> None: with client.ai.clusters.with_streaming_response.compute( @@ -200,7 +183,6 @@ def test_streaming_response_compute(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_fetch_graph(self, client: Telnyx) -> None: cluster = client.ai.clusters.fetch_graph( @@ -208,7 +190,6 @@ def test_method_fetch_graph(self, client: Telnyx) -> None: ) assert_matches_type(object, cluster, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_fetch_graph_with_all_params(self, client: Telnyx) -> None: cluster = client.ai.clusters.fetch_graph( @@ -217,7 +198,6 @@ def test_method_fetch_graph_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(object, cluster, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_fetch_graph(self, client: Telnyx) -> None: response = client.ai.clusters.with_raw_response.fetch_graph( @@ -229,7 +209,6 @@ def test_raw_response_fetch_graph(self, client: Telnyx) -> None: cluster = response.parse() assert_matches_type(object, cluster, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_fetch_graph(self, client: Telnyx) -> None: with client.ai.clusters.with_streaming_response.fetch_graph( @@ -243,7 +222,6 @@ def test_streaming_response_fetch_graph(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_fetch_graph(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `task_id` but received ''"): @@ -257,7 +235,6 @@ class TestAsyncClusters: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: cluster = await async_client.ai.clusters.retrieve( @@ -265,7 +242,6 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ClusterRetrieveResponse, cluster, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve_with_all_params(self, async_client: AsyncTelnyx) -> None: cluster = await async_client.ai.clusters.retrieve( @@ -275,7 +251,6 @@ async def test_method_retrieve_with_all_params(self, async_client: AsyncTelnyx) ) assert_matches_type(ClusterRetrieveResponse, cluster, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.clusters.with_raw_response.retrieve( @@ -287,7 +262,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: cluster = await response.parse() assert_matches_type(ClusterRetrieveResponse, cluster, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.clusters.with_streaming_response.retrieve( @@ -301,7 +275,6 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `task_id` but received ''"): @@ -309,13 +282,11 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: task_id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: cluster = await async_client.ai.clusters.list() assert_matches_type(ClusterListResponse, cluster, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: cluster = await async_client.ai.clusters.list( @@ -326,7 +297,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(ClusterListResponse, cluster, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.clusters.with_raw_response.list() @@ -336,7 +306,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: cluster = await response.parse() assert_matches_type(ClusterListResponse, cluster, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.clusters.with_streaming_response.list() as response: @@ -348,7 +317,6 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: cluster = await async_client.ai.clusters.delete( @@ -356,7 +324,6 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert cluster is None - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.clusters.with_raw_response.delete( @@ -368,7 +335,6 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: cluster = await response.parse() assert cluster is None - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.clusters.with_streaming_response.delete( @@ -382,7 +348,6 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `task_id` but received ''"): @@ -390,7 +355,6 @@ async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_compute(self, async_client: AsyncTelnyx) -> None: cluster = await async_client.ai.clusters.compute( @@ -398,7 +362,6 @@ async def test_method_compute(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ClusterComputeResponse, cluster, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_compute_with_all_params(self, async_client: AsyncTelnyx) -> None: cluster = await async_client.ai.clusters.compute( @@ -410,7 +373,6 @@ async def test_method_compute_with_all_params(self, async_client: AsyncTelnyx) - ) assert_matches_type(ClusterComputeResponse, cluster, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_compute(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.clusters.with_raw_response.compute( @@ -422,7 +384,6 @@ async def test_raw_response_compute(self, async_client: AsyncTelnyx) -> None: cluster = await response.parse() assert_matches_type(ClusterComputeResponse, cluster, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_compute(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.clusters.with_streaming_response.compute( @@ -436,7 +397,6 @@ async def test_streaming_response_compute(self, async_client: AsyncTelnyx) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_fetch_graph(self, async_client: AsyncTelnyx) -> None: cluster = await async_client.ai.clusters.fetch_graph( @@ -444,7 +404,6 @@ async def test_method_fetch_graph(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(object, cluster, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_fetch_graph_with_all_params(self, async_client: AsyncTelnyx) -> None: cluster = await async_client.ai.clusters.fetch_graph( @@ -453,7 +412,6 @@ async def test_method_fetch_graph_with_all_params(self, async_client: AsyncTelny ) assert_matches_type(object, cluster, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_fetch_graph(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.clusters.with_raw_response.fetch_graph( @@ -465,7 +423,6 @@ async def test_raw_response_fetch_graph(self, async_client: AsyncTelnyx) -> None cluster = await response.parse() assert_matches_type(object, cluster, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_fetch_graph(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.clusters.with_streaming_response.fetch_graph( @@ -479,7 +436,6 @@ async def test_streaming_response_fetch_graph(self, async_client: AsyncTelnyx) - assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_fetch_graph(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `task_id` but received ''"): diff --git a/tests/api_resources/ai/test_conversations.py b/tests/api_resources/ai/test_conversations.py index f7b975ee..68d2a880 100644 --- a/tests/api_resources/ai/test_conversations.py +++ b/tests/api_resources/ai/test_conversations.py @@ -23,13 +23,11 @@ class TestConversations: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: conversation = client.ai.conversations.create() assert_matches_type(Conversation, conversation, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: conversation = client.ai.conversations.create( @@ -38,7 +36,6 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(Conversation, conversation, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.ai.conversations.with_raw_response.create() @@ -48,7 +45,6 @@ def test_raw_response_create(self, client: Telnyx) -> None: conversation = response.parse() assert_matches_type(Conversation, conversation, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.ai.conversations.with_streaming_response.create() as response: @@ -60,7 +56,6 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: conversation = client.ai.conversations.retrieve( @@ -68,7 +63,6 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(ConversationRetrieveResponse, conversation, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.ai.conversations.with_raw_response.retrieve( @@ -80,7 +74,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: conversation = response.parse() assert_matches_type(ConversationRetrieveResponse, conversation, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.ai.conversations.with_streaming_response.retrieve( @@ -94,7 +87,6 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `conversation_id` but received ''"): @@ -102,7 +94,6 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update(self, client: Telnyx) -> None: conversation = client.ai.conversations.update( @@ -110,7 +101,6 @@ def test_method_update(self, client: Telnyx) -> None: ) assert_matches_type(ConversationUpdateResponse, conversation, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_with_all_params(self, client: Telnyx) -> None: conversation = client.ai.conversations.update( @@ -119,7 +109,6 @@ def test_method_update_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ConversationUpdateResponse, conversation, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update(self, client: Telnyx) -> None: response = client.ai.conversations.with_raw_response.update( @@ -131,7 +120,6 @@ def test_raw_response_update(self, client: Telnyx) -> None: conversation = response.parse() assert_matches_type(ConversationUpdateResponse, conversation, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update(self, client: Telnyx) -> None: with client.ai.conversations.with_streaming_response.update( @@ -145,7 +133,6 @@ def test_streaming_response_update(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `conversation_id` but received ''"): @@ -153,13 +140,11 @@ def test_path_params_update(self, client: Telnyx) -> None: conversation_id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: conversation = client.ai.conversations.list() assert_matches_type(ConversationListResponse, conversation, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: conversation = client.ai.conversations.list( @@ -178,7 +163,6 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ConversationListResponse, conversation, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.ai.conversations.with_raw_response.list() @@ -188,7 +172,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: conversation = response.parse() assert_matches_type(ConversationListResponse, conversation, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.ai.conversations.with_streaming_response.list() as response: @@ -200,7 +183,6 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: conversation = client.ai.conversations.delete( @@ -208,7 +190,6 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert conversation is None - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.ai.conversations.with_raw_response.delete( @@ -220,7 +201,6 @@ def test_raw_response_delete(self, client: Telnyx) -> None: conversation = response.parse() assert conversation is None - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.ai.conversations.with_streaming_response.delete( @@ -234,7 +214,6 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `conversation_id` but received ''"): @@ -242,7 +221,6 @@ def test_path_params_delete(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve_conversations_insights(self, client: Telnyx) -> None: conversation = client.ai.conversations.retrieve_conversations_insights( @@ -250,7 +228,6 @@ def test_method_retrieve_conversations_insights(self, client: Telnyx) -> None: ) assert_matches_type(ConversationRetrieveConversationsInsightsResponse, conversation, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve_conversations_insights(self, client: Telnyx) -> None: response = client.ai.conversations.with_raw_response.retrieve_conversations_insights( @@ -262,7 +239,6 @@ def test_raw_response_retrieve_conversations_insights(self, client: Telnyx) -> N conversation = response.parse() assert_matches_type(ConversationRetrieveConversationsInsightsResponse, conversation, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve_conversations_insights(self, client: Telnyx) -> None: with client.ai.conversations.with_streaming_response.retrieve_conversations_insights( @@ -276,7 +252,6 @@ def test_streaming_response_retrieve_conversations_insights(self, client: Telnyx assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve_conversations_insights(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `conversation_id` but received ''"): @@ -290,13 +265,11 @@ class TestAsyncConversations: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: conversation = await async_client.ai.conversations.create() assert_matches_type(Conversation, conversation, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: conversation = await async_client.ai.conversations.create( @@ -305,7 +278,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(Conversation, conversation, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.conversations.with_raw_response.create() @@ -315,7 +287,6 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: conversation = await response.parse() assert_matches_type(Conversation, conversation, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.conversations.with_streaming_response.create() as response: @@ -327,7 +298,6 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: conversation = await async_client.ai.conversations.retrieve( @@ -335,7 +305,6 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ConversationRetrieveResponse, conversation, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.conversations.with_raw_response.retrieve( @@ -347,7 +316,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: conversation = await response.parse() assert_matches_type(ConversationRetrieveResponse, conversation, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.conversations.with_streaming_response.retrieve( @@ -361,7 +329,6 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `conversation_id` but received ''"): @@ -369,7 +336,6 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update(self, async_client: AsyncTelnyx) -> None: conversation = await async_client.ai.conversations.update( @@ -377,7 +343,6 @@ async def test_method_update(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ConversationUpdateResponse, conversation, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> None: conversation = await async_client.ai.conversations.update( @@ -386,7 +351,6 @@ async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(ConversationUpdateResponse, conversation, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.conversations.with_raw_response.update( @@ -398,7 +362,6 @@ async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: conversation = await response.parse() assert_matches_type(ConversationUpdateResponse, conversation, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.conversations.with_streaming_response.update( @@ -412,7 +375,6 @@ async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `conversation_id` but received ''"): @@ -420,13 +382,11 @@ async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: conversation_id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: conversation = await async_client.ai.conversations.list() assert_matches_type(ConversationListResponse, conversation, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: conversation = await async_client.ai.conversations.list( @@ -445,7 +405,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(ConversationListResponse, conversation, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.conversations.with_raw_response.list() @@ -455,7 +414,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: conversation = await response.parse() assert_matches_type(ConversationListResponse, conversation, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.conversations.with_streaming_response.list() as response: @@ -467,7 +425,6 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: conversation = await async_client.ai.conversations.delete( @@ -475,7 +432,6 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert conversation is None - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.conversations.with_raw_response.delete( @@ -487,7 +443,6 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: conversation = await response.parse() assert conversation is None - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.conversations.with_streaming_response.delete( @@ -501,7 +456,6 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `conversation_id` but received ''"): @@ -509,7 +463,6 @@ async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve_conversations_insights(self, async_client: AsyncTelnyx) -> None: conversation = await async_client.ai.conversations.retrieve_conversations_insights( @@ -517,7 +470,6 @@ async def test_method_retrieve_conversations_insights(self, async_client: AsyncT ) assert_matches_type(ConversationRetrieveConversationsInsightsResponse, conversation, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve_conversations_insights(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.conversations.with_raw_response.retrieve_conversations_insights( @@ -529,7 +481,6 @@ async def test_raw_response_retrieve_conversations_insights(self, async_client: conversation = await response.parse() assert_matches_type(ConversationRetrieveConversationsInsightsResponse, conversation, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve_conversations_insights(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.conversations.with_streaming_response.retrieve_conversations_insights( @@ -543,7 +494,6 @@ async def test_streaming_response_retrieve_conversations_insights(self, async_cl assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve_conversations_insights(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `conversation_id` but received ''"): diff --git a/tests/api_resources/ai/test_embeddings.py b/tests/api_resources/ai/test_embeddings.py index c9fb23bb..1a7b3433 100644 --- a/tests/api_resources/ai/test_embeddings.py +++ b/tests/api_resources/ai/test_embeddings.py @@ -22,7 +22,6 @@ class TestEmbeddings: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: embedding = client.ai.embeddings.create( @@ -30,7 +29,6 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(EmbeddingResponse, embedding, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: embedding = client.ai.embeddings.create( @@ -42,7 +40,6 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(EmbeddingResponse, embedding, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.ai.embeddings.with_raw_response.create( @@ -54,7 +51,6 @@ def test_raw_response_create(self, client: Telnyx) -> None: embedding = response.parse() assert_matches_type(EmbeddingResponse, embedding, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.ai.embeddings.with_streaming_response.create( @@ -68,7 +64,6 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: embedding = client.ai.embeddings.retrieve( @@ -76,7 +71,6 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(EmbeddingRetrieveResponse, embedding, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.ai.embeddings.with_raw_response.retrieve( @@ -88,7 +82,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: embedding = response.parse() assert_matches_type(EmbeddingRetrieveResponse, embedding, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.ai.embeddings.with_streaming_response.retrieve( @@ -102,7 +95,6 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `task_id` but received ''"): @@ -110,13 +102,11 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: embedding = client.ai.embeddings.list() assert_matches_type(EmbeddingListResponse, embedding, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: embedding = client.ai.embeddings.list( @@ -124,7 +114,6 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(EmbeddingListResponse, embedding, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.ai.embeddings.with_raw_response.list() @@ -134,7 +123,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: embedding = response.parse() assert_matches_type(EmbeddingListResponse, embedding, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.ai.embeddings.with_streaming_response.list() as response: @@ -146,7 +134,6 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_similarity_search(self, client: Telnyx) -> None: embedding = client.ai.embeddings.similarity_search( @@ -155,7 +142,6 @@ def test_method_similarity_search(self, client: Telnyx) -> None: ) assert_matches_type(EmbeddingSimilaritySearchResponse, embedding, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_similarity_search_with_all_params(self, client: Telnyx) -> None: embedding = client.ai.embeddings.similarity_search( @@ -165,7 +151,6 @@ def test_method_similarity_search_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(EmbeddingSimilaritySearchResponse, embedding, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_similarity_search(self, client: Telnyx) -> None: response = client.ai.embeddings.with_raw_response.similarity_search( @@ -178,7 +163,6 @@ def test_raw_response_similarity_search(self, client: Telnyx) -> None: embedding = response.parse() assert_matches_type(EmbeddingSimilaritySearchResponse, embedding, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_similarity_search(self, client: Telnyx) -> None: with client.ai.embeddings.with_streaming_response.similarity_search( @@ -193,7 +177,6 @@ def test_streaming_response_similarity_search(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_url(self, client: Telnyx) -> None: embedding = client.ai.embeddings.url( @@ -202,7 +185,6 @@ def test_method_url(self, client: Telnyx) -> None: ) assert_matches_type(EmbeddingResponse, embedding, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_url(self, client: Telnyx) -> None: response = client.ai.embeddings.with_raw_response.url( @@ -215,7 +197,6 @@ def test_raw_response_url(self, client: Telnyx) -> None: embedding = response.parse() assert_matches_type(EmbeddingResponse, embedding, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_url(self, client: Telnyx) -> None: with client.ai.embeddings.with_streaming_response.url( @@ -236,7 +217,6 @@ class TestAsyncEmbeddings: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: embedding = await async_client.ai.embeddings.create( @@ -244,7 +224,6 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(EmbeddingResponse, embedding, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: embedding = await async_client.ai.embeddings.create( @@ -256,7 +235,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(EmbeddingResponse, embedding, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.embeddings.with_raw_response.create( @@ -268,7 +246,6 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: embedding = await response.parse() assert_matches_type(EmbeddingResponse, embedding, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.embeddings.with_streaming_response.create( @@ -282,7 +259,6 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: embedding = await async_client.ai.embeddings.retrieve( @@ -290,7 +266,6 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(EmbeddingRetrieveResponse, embedding, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.embeddings.with_raw_response.retrieve( @@ -302,7 +277,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: embedding = await response.parse() assert_matches_type(EmbeddingRetrieveResponse, embedding, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.embeddings.with_streaming_response.retrieve( @@ -316,7 +290,6 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `task_id` but received ''"): @@ -324,13 +297,11 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: embedding = await async_client.ai.embeddings.list() assert_matches_type(EmbeddingListResponse, embedding, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: embedding = await async_client.ai.embeddings.list( @@ -338,7 +309,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(EmbeddingListResponse, embedding, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.embeddings.with_raw_response.list() @@ -348,7 +318,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: embedding = await response.parse() assert_matches_type(EmbeddingListResponse, embedding, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.embeddings.with_streaming_response.list() as response: @@ -360,7 +329,6 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_similarity_search(self, async_client: AsyncTelnyx) -> None: embedding = await async_client.ai.embeddings.similarity_search( @@ -369,7 +337,6 @@ async def test_method_similarity_search(self, async_client: AsyncTelnyx) -> None ) assert_matches_type(EmbeddingSimilaritySearchResponse, embedding, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_similarity_search_with_all_params(self, async_client: AsyncTelnyx) -> None: embedding = await async_client.ai.embeddings.similarity_search( @@ -379,7 +346,6 @@ async def test_method_similarity_search_with_all_params(self, async_client: Asyn ) assert_matches_type(EmbeddingSimilaritySearchResponse, embedding, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_similarity_search(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.embeddings.with_raw_response.similarity_search( @@ -392,7 +358,6 @@ async def test_raw_response_similarity_search(self, async_client: AsyncTelnyx) - embedding = await response.parse() assert_matches_type(EmbeddingSimilaritySearchResponse, embedding, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_similarity_search(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.embeddings.with_streaming_response.similarity_search( @@ -407,7 +372,6 @@ async def test_streaming_response_similarity_search(self, async_client: AsyncTel assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_url(self, async_client: AsyncTelnyx) -> None: embedding = await async_client.ai.embeddings.url( @@ -416,7 +380,6 @@ async def test_method_url(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(EmbeddingResponse, embedding, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_url(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.embeddings.with_raw_response.url( @@ -429,7 +392,6 @@ async def test_raw_response_url(self, async_client: AsyncTelnyx) -> None: embedding = await response.parse() assert_matches_type(EmbeddingResponse, embedding, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_url(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.embeddings.with_streaming_response.url( diff --git a/tests/api_resources/brand/test_external_vetting.py b/tests/api_resources/brand/test_external_vetting.py index 6b71c2f0..623df861 100644 --- a/tests/api_resources/brand/test_external_vetting.py +++ b/tests/api_resources/brand/test_external_vetting.py @@ -19,7 +19,6 @@ class TestExternalVetting: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: external_vetting = client.brand.external_vetting.list( @@ -27,7 +26,6 @@ def test_method_list(self, client: Telnyx) -> None: ) assert_matches_type(object, external_vetting, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.brand.external_vetting.with_raw_response.list( @@ -39,7 +37,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: external_vetting = response.parse() assert_matches_type(object, external_vetting, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.brand.external_vetting.with_streaming_response.list( @@ -53,7 +50,6 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_list(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `brand_id` but received ''"): @@ -61,7 +57,6 @@ def test_path_params_list(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_import(self, client: Telnyx) -> None: external_vetting = client.brand.external_vetting.import_( @@ -71,7 +66,6 @@ def test_method_import(self, client: Telnyx) -> None: ) assert_matches_type(ExternalVettingImportResponse, external_vetting, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_import_with_all_params(self, client: Telnyx) -> None: external_vetting = client.brand.external_vetting.import_( @@ -82,7 +76,6 @@ def test_method_import_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ExternalVettingImportResponse, external_vetting, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_import(self, client: Telnyx) -> None: response = client.brand.external_vetting.with_raw_response.import_( @@ -96,7 +89,6 @@ def test_raw_response_import(self, client: Telnyx) -> None: external_vetting = response.parse() assert_matches_type(ExternalVettingImportResponse, external_vetting, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_import(self, client: Telnyx) -> None: with client.brand.external_vetting.with_streaming_response.import_( @@ -112,7 +104,6 @@ def test_streaming_response_import(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_import(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `brand_id` but received ''"): @@ -122,7 +113,6 @@ def test_path_params_import(self, client: Telnyx) -> None: vetting_id="vettingId", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_order(self, client: Telnyx) -> None: external_vetting = client.brand.external_vetting.order( @@ -132,7 +122,6 @@ def test_method_order(self, client: Telnyx) -> None: ) assert_matches_type(object, external_vetting, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_order(self, client: Telnyx) -> None: response = client.brand.external_vetting.with_raw_response.order( @@ -146,7 +135,6 @@ def test_raw_response_order(self, client: Telnyx) -> None: external_vetting = response.parse() assert_matches_type(object, external_vetting, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_order(self, client: Telnyx) -> None: with client.brand.external_vetting.with_streaming_response.order( @@ -162,7 +150,6 @@ def test_streaming_response_order(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_order(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `brand_id` but received ''"): @@ -178,7 +165,6 @@ class TestAsyncExternalVetting: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: external_vetting = await async_client.brand.external_vetting.list( @@ -186,7 +172,6 @@ async def test_method_list(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(object, external_vetting, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.brand.external_vetting.with_raw_response.list( @@ -198,7 +183,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: external_vetting = await response.parse() assert_matches_type(object, external_vetting, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.brand.external_vetting.with_streaming_response.list( @@ -212,7 +196,6 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_list(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `brand_id` but received ''"): @@ -220,7 +203,6 @@ async def test_path_params_list(self, async_client: AsyncTelnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_import(self, async_client: AsyncTelnyx) -> None: external_vetting = await async_client.brand.external_vetting.import_( @@ -230,7 +212,6 @@ async def test_method_import(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ExternalVettingImportResponse, external_vetting, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_import_with_all_params(self, async_client: AsyncTelnyx) -> None: external_vetting = await async_client.brand.external_vetting.import_( @@ -241,7 +222,6 @@ async def test_method_import_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(ExternalVettingImportResponse, external_vetting, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_import(self, async_client: AsyncTelnyx) -> None: response = await async_client.brand.external_vetting.with_raw_response.import_( @@ -255,7 +235,6 @@ async def test_raw_response_import(self, async_client: AsyncTelnyx) -> None: external_vetting = await response.parse() assert_matches_type(ExternalVettingImportResponse, external_vetting, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_import(self, async_client: AsyncTelnyx) -> None: async with async_client.brand.external_vetting.with_streaming_response.import_( @@ -271,7 +250,6 @@ async def test_streaming_response_import(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_import(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `brand_id` but received ''"): @@ -281,7 +259,6 @@ async def test_path_params_import(self, async_client: AsyncTelnyx) -> None: vetting_id="vettingId", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_order(self, async_client: AsyncTelnyx) -> None: external_vetting = await async_client.brand.external_vetting.order( @@ -291,7 +268,6 @@ async def test_method_order(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(object, external_vetting, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_order(self, async_client: AsyncTelnyx) -> None: response = await async_client.brand.external_vetting.with_raw_response.order( @@ -305,7 +281,6 @@ async def test_raw_response_order(self, async_client: AsyncTelnyx) -> None: external_vetting = await response.parse() assert_matches_type(object, external_vetting, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_order(self, async_client: AsyncTelnyx) -> None: async with async_client.brand.external_vetting.with_streaming_response.order( @@ -321,7 +296,6 @@ async def test_streaming_response_order(self, async_client: AsyncTelnyx) -> None assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_order(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `brand_id` but received ''"): diff --git a/tests/api_resources/bundle_pricing/test_billing_bundles.py b/tests/api_resources/bundle_pricing/test_billing_bundles.py index 289ae4f5..765ae53a 100644 --- a/tests/api_resources/bundle_pricing/test_billing_bundles.py +++ b/tests/api_resources/bundle_pricing/test_billing_bundles.py @@ -20,7 +20,6 @@ class TestBillingBundles: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: billing_bundle = client.bundle_pricing.billing_bundles.retrieve( @@ -28,7 +27,6 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(BillingBundleRetrieveResponse, billing_bundle, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve_with_all_params(self, client: Telnyx) -> None: billing_bundle = client.bundle_pricing.billing_bundles.retrieve( @@ -37,7 +35,6 @@ def test_method_retrieve_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(BillingBundleRetrieveResponse, billing_bundle, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.bundle_pricing.billing_bundles.with_raw_response.retrieve( @@ -49,7 +46,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: billing_bundle = response.parse() assert_matches_type(BillingBundleRetrieveResponse, billing_bundle, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.bundle_pricing.billing_bundles.with_streaming_response.retrieve( @@ -63,7 +59,6 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `bundle_id` but received ''"): @@ -71,13 +66,11 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: bundle_id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: billing_bundle = client.bundle_pricing.billing_bundles.list() assert_matches_type(BillingBundleListResponse, billing_bundle, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: billing_bundle = client.bundle_pricing.billing_bundles.list( @@ -93,7 +86,6 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(BillingBundleListResponse, billing_bundle, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.bundle_pricing.billing_bundles.with_raw_response.list() @@ -103,7 +95,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: billing_bundle = response.parse() assert_matches_type(BillingBundleListResponse, billing_bundle, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.bundle_pricing.billing_bundles.with_streaming_response.list() as response: @@ -121,7 +112,6 @@ class TestAsyncBillingBundles: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: billing_bundle = await async_client.bundle_pricing.billing_bundles.retrieve( @@ -129,7 +119,6 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(BillingBundleRetrieveResponse, billing_bundle, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve_with_all_params(self, async_client: AsyncTelnyx) -> None: billing_bundle = await async_client.bundle_pricing.billing_bundles.retrieve( @@ -138,7 +127,6 @@ async def test_method_retrieve_with_all_params(self, async_client: AsyncTelnyx) ) assert_matches_type(BillingBundleRetrieveResponse, billing_bundle, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.bundle_pricing.billing_bundles.with_raw_response.retrieve( @@ -150,7 +138,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: billing_bundle = await response.parse() assert_matches_type(BillingBundleRetrieveResponse, billing_bundle, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.bundle_pricing.billing_bundles.with_streaming_response.retrieve( @@ -164,7 +151,6 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `bundle_id` but received ''"): @@ -172,13 +158,11 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: bundle_id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: billing_bundle = await async_client.bundle_pricing.billing_bundles.list() assert_matches_type(BillingBundleListResponse, billing_bundle, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: billing_bundle = await async_client.bundle_pricing.billing_bundles.list( @@ -194,7 +178,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(BillingBundleListResponse, billing_bundle, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.bundle_pricing.billing_bundles.with_raw_response.list() @@ -204,7 +187,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: billing_bundle = await response.parse() assert_matches_type(BillingBundleListResponse, billing_bundle, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.bundle_pricing.billing_bundles.with_streaming_response.list() as response: diff --git a/tests/api_resources/bundle_pricing/test_user_bundles.py b/tests/api_resources/bundle_pricing/test_user_bundles.py index fd3594fd..17e03f5f 100644 --- a/tests/api_resources/bundle_pricing/test_user_bundles.py +++ b/tests/api_resources/bundle_pricing/test_user_bundles.py @@ -24,13 +24,11 @@ class TestUserBundles: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: user_bundle = client.bundle_pricing.user_bundles.create() assert_matches_type(UserBundleCreateResponse, user_bundle, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: user_bundle = client.bundle_pricing.user_bundles.create( @@ -45,7 +43,6 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(UserBundleCreateResponse, user_bundle, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.bundle_pricing.user_bundles.with_raw_response.create() @@ -55,7 +52,6 @@ def test_raw_response_create(self, client: Telnyx) -> None: user_bundle = response.parse() assert_matches_type(UserBundleCreateResponse, user_bundle, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.bundle_pricing.user_bundles.with_streaming_response.create() as response: @@ -67,7 +63,6 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: user_bundle = client.bundle_pricing.user_bundles.retrieve( @@ -75,7 +70,6 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(UserBundleRetrieveResponse, user_bundle, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve_with_all_params(self, client: Telnyx) -> None: user_bundle = client.bundle_pricing.user_bundles.retrieve( @@ -84,7 +78,6 @@ def test_method_retrieve_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(UserBundleRetrieveResponse, user_bundle, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.bundle_pricing.user_bundles.with_raw_response.retrieve( @@ -96,7 +89,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: user_bundle = response.parse() assert_matches_type(UserBundleRetrieveResponse, user_bundle, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.bundle_pricing.user_bundles.with_streaming_response.retrieve( @@ -110,7 +102,6 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `user_bundle_id` but received ''"): @@ -118,13 +109,11 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: user_bundle_id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: user_bundle = client.bundle_pricing.user_bundles.list() assert_matches_type(UserBundleListResponse, user_bundle, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: user_bundle = client.bundle_pricing.user_bundles.list( @@ -140,7 +129,6 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(UserBundleListResponse, user_bundle, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.bundle_pricing.user_bundles.with_raw_response.list() @@ -150,7 +138,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: user_bundle = response.parse() assert_matches_type(UserBundleListResponse, user_bundle, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.bundle_pricing.user_bundles.with_streaming_response.list() as response: @@ -162,7 +149,6 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_deactivate(self, client: Telnyx) -> None: user_bundle = client.bundle_pricing.user_bundles.deactivate( @@ -170,7 +156,6 @@ def test_method_deactivate(self, client: Telnyx) -> None: ) assert_matches_type(UserBundleDeactivateResponse, user_bundle, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_deactivate_with_all_params(self, client: Telnyx) -> None: user_bundle = client.bundle_pricing.user_bundles.deactivate( @@ -179,7 +164,6 @@ def test_method_deactivate_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(UserBundleDeactivateResponse, user_bundle, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_deactivate(self, client: Telnyx) -> None: response = client.bundle_pricing.user_bundles.with_raw_response.deactivate( @@ -191,7 +175,6 @@ def test_raw_response_deactivate(self, client: Telnyx) -> None: user_bundle = response.parse() assert_matches_type(UserBundleDeactivateResponse, user_bundle, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_deactivate(self, client: Telnyx) -> None: with client.bundle_pricing.user_bundles.with_streaming_response.deactivate( @@ -205,7 +188,6 @@ def test_streaming_response_deactivate(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_deactivate(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `user_bundle_id` but received ''"): @@ -213,7 +195,6 @@ def test_path_params_deactivate(self, client: Telnyx) -> None: user_bundle_id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_resources(self, client: Telnyx) -> None: user_bundle = client.bundle_pricing.user_bundles.list_resources( @@ -221,7 +202,6 @@ def test_method_list_resources(self, client: Telnyx) -> None: ) assert_matches_type(UserBundleListResourcesResponse, user_bundle, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_resources_with_all_params(self, client: Telnyx) -> None: user_bundle = client.bundle_pricing.user_bundles.list_resources( @@ -230,7 +210,6 @@ def test_method_list_resources_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(UserBundleListResourcesResponse, user_bundle, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list_resources(self, client: Telnyx) -> None: response = client.bundle_pricing.user_bundles.with_raw_response.list_resources( @@ -242,7 +221,6 @@ def test_raw_response_list_resources(self, client: Telnyx) -> None: user_bundle = response.parse() assert_matches_type(UserBundleListResourcesResponse, user_bundle, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list_resources(self, client: Telnyx) -> None: with client.bundle_pricing.user_bundles.with_streaming_response.list_resources( @@ -256,7 +234,6 @@ def test_streaming_response_list_resources(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_list_resources(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `user_bundle_id` but received ''"): @@ -264,13 +241,11 @@ def test_path_params_list_resources(self, client: Telnyx) -> None: user_bundle_id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_unused(self, client: Telnyx) -> None: user_bundle = client.bundle_pricing.user_bundles.list_unused() assert_matches_type(UserBundleListUnusedResponse, user_bundle, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_unused_with_all_params(self, client: Telnyx) -> None: user_bundle = client.bundle_pricing.user_bundles.list_unused( @@ -282,7 +257,6 @@ def test_method_list_unused_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(UserBundleListUnusedResponse, user_bundle, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list_unused(self, client: Telnyx) -> None: response = client.bundle_pricing.user_bundles.with_raw_response.list_unused() @@ -292,7 +266,6 @@ def test_raw_response_list_unused(self, client: Telnyx) -> None: user_bundle = response.parse() assert_matches_type(UserBundleListUnusedResponse, user_bundle, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list_unused(self, client: Telnyx) -> None: with client.bundle_pricing.user_bundles.with_streaming_response.list_unused() as response: @@ -310,13 +283,11 @@ class TestAsyncUserBundles: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: user_bundle = await async_client.bundle_pricing.user_bundles.create() assert_matches_type(UserBundleCreateResponse, user_bundle, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: user_bundle = await async_client.bundle_pricing.user_bundles.create( @@ -331,7 +302,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(UserBundleCreateResponse, user_bundle, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.bundle_pricing.user_bundles.with_raw_response.create() @@ -341,7 +311,6 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: user_bundle = await response.parse() assert_matches_type(UserBundleCreateResponse, user_bundle, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.bundle_pricing.user_bundles.with_streaming_response.create() as response: @@ -353,7 +322,6 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: user_bundle = await async_client.bundle_pricing.user_bundles.retrieve( @@ -361,7 +329,6 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(UserBundleRetrieveResponse, user_bundle, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve_with_all_params(self, async_client: AsyncTelnyx) -> None: user_bundle = await async_client.bundle_pricing.user_bundles.retrieve( @@ -370,7 +337,6 @@ async def test_method_retrieve_with_all_params(self, async_client: AsyncTelnyx) ) assert_matches_type(UserBundleRetrieveResponse, user_bundle, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.bundle_pricing.user_bundles.with_raw_response.retrieve( @@ -382,7 +348,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: user_bundle = await response.parse() assert_matches_type(UserBundleRetrieveResponse, user_bundle, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.bundle_pricing.user_bundles.with_streaming_response.retrieve( @@ -396,7 +361,6 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `user_bundle_id` but received ''"): @@ -404,13 +368,11 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: user_bundle_id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: user_bundle = await async_client.bundle_pricing.user_bundles.list() assert_matches_type(UserBundleListResponse, user_bundle, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: user_bundle = await async_client.bundle_pricing.user_bundles.list( @@ -426,7 +388,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(UserBundleListResponse, user_bundle, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.bundle_pricing.user_bundles.with_raw_response.list() @@ -436,7 +397,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: user_bundle = await response.parse() assert_matches_type(UserBundleListResponse, user_bundle, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.bundle_pricing.user_bundles.with_streaming_response.list() as response: @@ -448,7 +408,6 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_deactivate(self, async_client: AsyncTelnyx) -> None: user_bundle = await async_client.bundle_pricing.user_bundles.deactivate( @@ -456,7 +415,6 @@ async def test_method_deactivate(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(UserBundleDeactivateResponse, user_bundle, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_deactivate_with_all_params(self, async_client: AsyncTelnyx) -> None: user_bundle = await async_client.bundle_pricing.user_bundles.deactivate( @@ -465,7 +423,6 @@ async def test_method_deactivate_with_all_params(self, async_client: AsyncTelnyx ) assert_matches_type(UserBundleDeactivateResponse, user_bundle, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_deactivate(self, async_client: AsyncTelnyx) -> None: response = await async_client.bundle_pricing.user_bundles.with_raw_response.deactivate( @@ -477,7 +434,6 @@ async def test_raw_response_deactivate(self, async_client: AsyncTelnyx) -> None: user_bundle = await response.parse() assert_matches_type(UserBundleDeactivateResponse, user_bundle, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_deactivate(self, async_client: AsyncTelnyx) -> None: async with async_client.bundle_pricing.user_bundles.with_streaming_response.deactivate( @@ -491,7 +447,6 @@ async def test_streaming_response_deactivate(self, async_client: AsyncTelnyx) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_deactivate(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `user_bundle_id` but received ''"): @@ -499,7 +454,6 @@ async def test_path_params_deactivate(self, async_client: AsyncTelnyx) -> None: user_bundle_id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_resources(self, async_client: AsyncTelnyx) -> None: user_bundle = await async_client.bundle_pricing.user_bundles.list_resources( @@ -507,7 +461,6 @@ async def test_method_list_resources(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(UserBundleListResourcesResponse, user_bundle, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_resources_with_all_params(self, async_client: AsyncTelnyx) -> None: user_bundle = await async_client.bundle_pricing.user_bundles.list_resources( @@ -516,7 +469,6 @@ async def test_method_list_resources_with_all_params(self, async_client: AsyncTe ) assert_matches_type(UserBundleListResourcesResponse, user_bundle, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list_resources(self, async_client: AsyncTelnyx) -> None: response = await async_client.bundle_pricing.user_bundles.with_raw_response.list_resources( @@ -528,7 +480,6 @@ async def test_raw_response_list_resources(self, async_client: AsyncTelnyx) -> N user_bundle = await response.parse() assert_matches_type(UserBundleListResourcesResponse, user_bundle, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list_resources(self, async_client: AsyncTelnyx) -> None: async with async_client.bundle_pricing.user_bundles.with_streaming_response.list_resources( @@ -542,7 +493,6 @@ async def test_streaming_response_list_resources(self, async_client: AsyncTelnyx assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_list_resources(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `user_bundle_id` but received ''"): @@ -550,13 +500,11 @@ async def test_path_params_list_resources(self, async_client: AsyncTelnyx) -> No user_bundle_id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_unused(self, async_client: AsyncTelnyx) -> None: user_bundle = await async_client.bundle_pricing.user_bundles.list_unused() assert_matches_type(UserBundleListUnusedResponse, user_bundle, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_unused_with_all_params(self, async_client: AsyncTelnyx) -> None: user_bundle = await async_client.bundle_pricing.user_bundles.list_unused( @@ -568,7 +516,6 @@ async def test_method_list_unused_with_all_params(self, async_client: AsyncTelny ) assert_matches_type(UserBundleListUnusedResponse, user_bundle, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list_unused(self, async_client: AsyncTelnyx) -> None: response = await async_client.bundle_pricing.user_bundles.with_raw_response.list_unused() @@ -578,7 +525,6 @@ async def test_raw_response_list_unused(self, async_client: AsyncTelnyx) -> None user_bundle = await response.parse() assert_matches_type(UserBundleListUnusedResponse, user_bundle, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list_unused(self, async_client: AsyncTelnyx) -> None: async with async_client.bundle_pricing.user_bundles.with_streaming_response.list_unused() as response: diff --git a/tests/api_resources/calls/test_actions.py b/tests/api_resources/calls/test_actions.py index 1926129d..f421eaf8 100644 --- a/tests/api_resources/calls/test_actions.py +++ b/tests/api_resources/calls/test_actions.py @@ -54,7 +54,6 @@ class TestActions: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_answer(self, client: Telnyx) -> None: action = client.calls.actions.answer( @@ -62,7 +61,6 @@ def test_method_answer(self, client: Telnyx) -> None: ) assert_matches_type(ActionAnswerResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_answer_with_all_params(self, client: Telnyx) -> None: action = client.calls.actions.answer( @@ -138,7 +136,6 @@ def test_method_answer_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ActionAnswerResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_answer(self, client: Telnyx) -> None: response = client.calls.actions.with_raw_response.answer( @@ -150,7 +147,6 @@ def test_raw_response_answer(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionAnswerResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_answer(self, client: Telnyx) -> None: with client.calls.actions.with_streaming_response.answer( @@ -164,7 +160,6 @@ def test_streaming_response_answer(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_answer(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_control_id` but received ''"): @@ -172,7 +167,6 @@ def test_path_params_answer(self, client: Telnyx) -> None: call_control_id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_bridge(self, client: Telnyx) -> None: action = client.calls.actions.bridge( @@ -181,7 +175,6 @@ def test_method_bridge(self, client: Telnyx) -> None: ) assert_matches_type(ActionBridgeResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_bridge_with_all_params(self, client: Telnyx) -> None: action = client.calls.actions.bridge( @@ -207,7 +200,6 @@ def test_method_bridge_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ActionBridgeResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_bridge(self, client: Telnyx) -> None: response = client.calls.actions.with_raw_response.bridge( @@ -220,7 +212,6 @@ def test_raw_response_bridge(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionBridgeResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_bridge(self, client: Telnyx) -> None: with client.calls.actions.with_streaming_response.bridge( @@ -235,7 +226,6 @@ def test_streaming_response_bridge(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_bridge(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `path_call_control_id` but received ''"): @@ -244,7 +234,6 @@ def test_path_params_bridge(self, client: Telnyx) -> None: body_call_control_id="v3:MdI91X4lWFEs7IgbBEOT9M4AigoY08M0WWZFISt1Yw2axZ_IiE4pqg", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_enqueue(self, client: Telnyx) -> None: action = client.calls.actions.enqueue( @@ -253,7 +242,6 @@ def test_method_enqueue(self, client: Telnyx) -> None: ) assert_matches_type(ActionEnqueueResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_enqueue_with_all_params(self, client: Telnyx) -> None: action = client.calls.actions.enqueue( @@ -266,7 +254,6 @@ def test_method_enqueue_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ActionEnqueueResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_enqueue(self, client: Telnyx) -> None: response = client.calls.actions.with_raw_response.enqueue( @@ -279,7 +266,6 @@ def test_raw_response_enqueue(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionEnqueueResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_enqueue(self, client: Telnyx) -> None: with client.calls.actions.with_streaming_response.enqueue( @@ -294,7 +280,6 @@ def test_streaming_response_enqueue(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_enqueue(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_control_id` but received ''"): @@ -303,7 +288,6 @@ def test_path_params_enqueue(self, client: Telnyx) -> None: queue_name="support", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_gather(self, client: Telnyx) -> None: action = client.calls.actions.gather( @@ -311,7 +295,6 @@ def test_method_gather(self, client: Telnyx) -> None: ) assert_matches_type(ActionGatherResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_gather_with_all_params(self, client: Telnyx) -> None: action = client.calls.actions.gather( @@ -329,7 +312,6 @@ def test_method_gather_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ActionGatherResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_gather(self, client: Telnyx) -> None: response = client.calls.actions.with_raw_response.gather( @@ -341,7 +323,6 @@ def test_raw_response_gather(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionGatherResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_gather(self, client: Telnyx) -> None: with client.calls.actions.with_streaming_response.gather( @@ -355,7 +336,6 @@ def test_streaming_response_gather(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_gather(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_control_id` but received ''"): @@ -363,7 +343,6 @@ def test_path_params_gather(self, client: Telnyx) -> None: call_control_id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_gather_using_ai(self, client: Telnyx) -> None: action = client.calls.actions.gather_using_ai( @@ -385,7 +364,6 @@ def test_method_gather_using_ai(self, client: Telnyx) -> None: ) assert_matches_type(ActionGatherUsingAIResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_gather_using_ai_with_all_params(self, client: Telnyx) -> None: action = client.calls.actions.gather_using_ai( @@ -444,7 +422,6 @@ def test_method_gather_using_ai_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ActionGatherUsingAIResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_gather_using_ai(self, client: Telnyx) -> None: response = client.calls.actions.with_raw_response.gather_using_ai( @@ -470,7 +447,6 @@ def test_raw_response_gather_using_ai(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionGatherUsingAIResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_gather_using_ai(self, client: Telnyx) -> None: with client.calls.actions.with_streaming_response.gather_using_ai( @@ -498,7 +474,6 @@ def test_streaming_response_gather_using_ai(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_gather_using_ai(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_control_id` but received ''"): @@ -520,7 +495,6 @@ def test_path_params_gather_using_ai(self, client: Telnyx) -> None: }, ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_gather_using_audio(self, client: Telnyx) -> None: action = client.calls.actions.gather_using_audio( @@ -528,7 +502,6 @@ def test_method_gather_using_audio(self, client: Telnyx) -> None: ) assert_matches_type(ActionGatherUsingAudioResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_gather_using_audio_with_all_params(self, client: Telnyx) -> None: action = client.calls.actions.gather_using_audio( @@ -549,7 +522,6 @@ def test_method_gather_using_audio_with_all_params(self, client: Telnyx) -> None ) assert_matches_type(ActionGatherUsingAudioResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_gather_using_audio(self, client: Telnyx) -> None: response = client.calls.actions.with_raw_response.gather_using_audio( @@ -561,7 +533,6 @@ def test_raw_response_gather_using_audio(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionGatherUsingAudioResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_gather_using_audio(self, client: Telnyx) -> None: with client.calls.actions.with_streaming_response.gather_using_audio( @@ -575,7 +546,6 @@ def test_streaming_response_gather_using_audio(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_gather_using_audio(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_control_id` but received ''"): @@ -583,7 +553,6 @@ def test_path_params_gather_using_audio(self, client: Telnyx) -> None: call_control_id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_gather_using_speak(self, client: Telnyx) -> None: action = client.calls.actions.gather_using_speak( @@ -593,7 +562,6 @@ def test_method_gather_using_speak(self, client: Telnyx) -> None: ) assert_matches_type(ActionGatherUsingSpeakResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_gather_using_speak_with_all_params(self, client: Telnyx) -> None: action = client.calls.actions.gather_using_speak( @@ -617,7 +585,6 @@ def test_method_gather_using_speak_with_all_params(self, client: Telnyx) -> None ) assert_matches_type(ActionGatherUsingSpeakResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_gather_using_speak(self, client: Telnyx) -> None: response = client.calls.actions.with_raw_response.gather_using_speak( @@ -631,7 +598,6 @@ def test_raw_response_gather_using_speak(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionGatherUsingSpeakResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_gather_using_speak(self, client: Telnyx) -> None: with client.calls.actions.with_streaming_response.gather_using_speak( @@ -647,7 +613,6 @@ def test_streaming_response_gather_using_speak(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_gather_using_speak(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_control_id` but received ''"): @@ -657,7 +622,6 @@ def test_path_params_gather_using_speak(self, client: Telnyx) -> None: voice="male", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_hangup(self, client: Telnyx) -> None: action = client.calls.actions.hangup( @@ -665,7 +629,6 @@ def test_method_hangup(self, client: Telnyx) -> None: ) assert_matches_type(ActionHangupResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_hangup_with_all_params(self, client: Telnyx) -> None: action = client.calls.actions.hangup( @@ -675,7 +638,6 @@ def test_method_hangup_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ActionHangupResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_hangup(self, client: Telnyx) -> None: response = client.calls.actions.with_raw_response.hangup( @@ -687,7 +649,6 @@ def test_raw_response_hangup(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionHangupResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_hangup(self, client: Telnyx) -> None: with client.calls.actions.with_streaming_response.hangup( @@ -701,7 +662,6 @@ def test_streaming_response_hangup(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_hangup(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_control_id` but received ''"): @@ -709,7 +669,6 @@ def test_path_params_hangup(self, client: Telnyx) -> None: call_control_id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_leave_queue(self, client: Telnyx) -> None: action = client.calls.actions.leave_queue( @@ -717,7 +676,6 @@ def test_method_leave_queue(self, client: Telnyx) -> None: ) assert_matches_type(ActionLeaveQueueResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_leave_queue_with_all_params(self, client: Telnyx) -> None: action = client.calls.actions.leave_queue( @@ -727,7 +685,6 @@ def test_method_leave_queue_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ActionLeaveQueueResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_leave_queue(self, client: Telnyx) -> None: response = client.calls.actions.with_raw_response.leave_queue( @@ -739,7 +696,6 @@ def test_raw_response_leave_queue(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionLeaveQueueResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_leave_queue(self, client: Telnyx) -> None: with client.calls.actions.with_streaming_response.leave_queue( @@ -753,7 +709,6 @@ def test_streaming_response_leave_queue(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_leave_queue(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_control_id` but received ''"): @@ -761,7 +716,6 @@ def test_path_params_leave_queue(self, client: Telnyx) -> None: call_control_id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_pause_recording(self, client: Telnyx) -> None: action = client.calls.actions.pause_recording( @@ -769,7 +723,6 @@ def test_method_pause_recording(self, client: Telnyx) -> None: ) assert_matches_type(ActionPauseRecordingResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_pause_recording_with_all_params(self, client: Telnyx) -> None: action = client.calls.actions.pause_recording( @@ -780,7 +733,6 @@ def test_method_pause_recording_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ActionPauseRecordingResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_pause_recording(self, client: Telnyx) -> None: response = client.calls.actions.with_raw_response.pause_recording( @@ -792,7 +744,6 @@ def test_raw_response_pause_recording(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionPauseRecordingResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_pause_recording(self, client: Telnyx) -> None: with client.calls.actions.with_streaming_response.pause_recording( @@ -806,7 +757,6 @@ def test_streaming_response_pause_recording(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_pause_recording(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_control_id` but received ''"): @@ -814,7 +764,6 @@ def test_path_params_pause_recording(self, client: Telnyx) -> None: call_control_id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_refer(self, client: Telnyx) -> None: action = client.calls.actions.refer( @@ -823,7 +772,6 @@ def test_method_refer(self, client: Telnyx) -> None: ) assert_matches_type(ActionReferResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_refer_with_all_params(self, client: Telnyx) -> None: action = client.calls.actions.refer( @@ -852,7 +800,6 @@ def test_method_refer_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ActionReferResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_refer(self, client: Telnyx) -> None: response = client.calls.actions.with_raw_response.refer( @@ -865,7 +812,6 @@ def test_raw_response_refer(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionReferResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_refer(self, client: Telnyx) -> None: with client.calls.actions.with_streaming_response.refer( @@ -880,7 +826,6 @@ def test_streaming_response_refer(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_refer(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_control_id` but received ''"): @@ -889,7 +834,6 @@ def test_path_params_refer(self, client: Telnyx) -> None: sip_address="sip:username@sip.non-telnyx-address.com", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_reject(self, client: Telnyx) -> None: action = client.calls.actions.reject( @@ -898,7 +842,6 @@ def test_method_reject(self, client: Telnyx) -> None: ) assert_matches_type(ActionRejectResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_reject_with_all_params(self, client: Telnyx) -> None: action = client.calls.actions.reject( @@ -909,7 +852,6 @@ def test_method_reject_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ActionRejectResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_reject(self, client: Telnyx) -> None: response = client.calls.actions.with_raw_response.reject( @@ -922,7 +864,6 @@ def test_raw_response_reject(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionRejectResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_reject(self, client: Telnyx) -> None: with client.calls.actions.with_streaming_response.reject( @@ -937,7 +878,6 @@ def test_streaming_response_reject(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_reject(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_control_id` but received ''"): @@ -946,7 +886,6 @@ def test_path_params_reject(self, client: Telnyx) -> None: cause="USER_BUSY", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_resume_recording(self, client: Telnyx) -> None: action = client.calls.actions.resume_recording( @@ -954,7 +893,6 @@ def test_method_resume_recording(self, client: Telnyx) -> None: ) assert_matches_type(ActionResumeRecordingResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_resume_recording_with_all_params(self, client: Telnyx) -> None: action = client.calls.actions.resume_recording( @@ -965,7 +903,6 @@ def test_method_resume_recording_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ActionResumeRecordingResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_resume_recording(self, client: Telnyx) -> None: response = client.calls.actions.with_raw_response.resume_recording( @@ -977,7 +914,6 @@ def test_raw_response_resume_recording(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionResumeRecordingResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_resume_recording(self, client: Telnyx) -> None: with client.calls.actions.with_streaming_response.resume_recording( @@ -991,7 +927,6 @@ def test_streaming_response_resume_recording(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_resume_recording(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_control_id` but received ''"): @@ -999,7 +934,6 @@ def test_path_params_resume_recording(self, client: Telnyx) -> None: call_control_id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_send_dtmf(self, client: Telnyx) -> None: action = client.calls.actions.send_dtmf( @@ -1008,7 +942,6 @@ def test_method_send_dtmf(self, client: Telnyx) -> None: ) assert_matches_type(ActionSendDtmfResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_send_dtmf_with_all_params(self, client: Telnyx) -> None: action = client.calls.actions.send_dtmf( @@ -1020,7 +953,6 @@ def test_method_send_dtmf_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ActionSendDtmfResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_send_dtmf(self, client: Telnyx) -> None: response = client.calls.actions.with_raw_response.send_dtmf( @@ -1033,7 +965,6 @@ def test_raw_response_send_dtmf(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionSendDtmfResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_send_dtmf(self, client: Telnyx) -> None: with client.calls.actions.with_streaming_response.send_dtmf( @@ -1048,7 +979,6 @@ def test_streaming_response_send_dtmf(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_send_dtmf(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_control_id` but received ''"): @@ -1057,7 +987,6 @@ def test_path_params_send_dtmf(self, client: Telnyx) -> None: digits="1www2WABCDw9", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_send_sip_info(self, client: Telnyx) -> None: action = client.calls.actions.send_sip_info( @@ -1067,7 +996,6 @@ def test_method_send_sip_info(self, client: Telnyx) -> None: ) assert_matches_type(ActionSendSipInfoResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_send_sip_info_with_all_params(self, client: Telnyx) -> None: action = client.calls.actions.send_sip_info( @@ -1079,7 +1007,6 @@ def test_method_send_sip_info_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ActionSendSipInfoResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_send_sip_info(self, client: Telnyx) -> None: response = client.calls.actions.with_raw_response.send_sip_info( @@ -1093,7 +1020,6 @@ def test_raw_response_send_sip_info(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionSendSipInfoResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_send_sip_info(self, client: Telnyx) -> None: with client.calls.actions.with_streaming_response.send_sip_info( @@ -1109,7 +1035,6 @@ def test_streaming_response_send_sip_info(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_send_sip_info(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_control_id` but received ''"): @@ -1119,7 +1044,6 @@ def test_path_params_send_sip_info(self, client: Telnyx) -> None: content_type="application/json", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_speak(self, client: Telnyx) -> None: action = client.calls.actions.speak( @@ -1129,7 +1053,6 @@ def test_method_speak(self, client: Telnyx) -> None: ) assert_matches_type(ActionSpeakResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_speak_with_all_params(self, client: Telnyx) -> None: action = client.calls.actions.speak( @@ -1146,7 +1069,6 @@ def test_method_speak_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ActionSpeakResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_speak(self, client: Telnyx) -> None: response = client.calls.actions.with_raw_response.speak( @@ -1160,7 +1082,6 @@ def test_raw_response_speak(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionSpeakResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_speak(self, client: Telnyx) -> None: with client.calls.actions.with_streaming_response.speak( @@ -1176,7 +1097,6 @@ def test_streaming_response_speak(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_speak(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_control_id` but received ''"): @@ -1186,7 +1106,6 @@ def test_path_params_speak(self, client: Telnyx) -> None: voice="female", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_start_ai_assistant(self, client: Telnyx) -> None: action = client.calls.actions.start_ai_assistant( @@ -1194,7 +1113,6 @@ def test_method_start_ai_assistant(self, client: Telnyx) -> None: ) assert_matches_type(ActionStartAIAssistantResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_start_ai_assistant_with_all_params(self, client: Telnyx) -> None: action = client.calls.actions.start_ai_assistant( @@ -1214,7 +1132,6 @@ def test_method_start_ai_assistant_with_all_params(self, client: Telnyx) -> None ) assert_matches_type(ActionStartAIAssistantResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_start_ai_assistant(self, client: Telnyx) -> None: response = client.calls.actions.with_raw_response.start_ai_assistant( @@ -1226,7 +1143,6 @@ def test_raw_response_start_ai_assistant(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionStartAIAssistantResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_start_ai_assistant(self, client: Telnyx) -> None: with client.calls.actions.with_streaming_response.start_ai_assistant( @@ -1240,7 +1156,6 @@ def test_streaming_response_start_ai_assistant(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_start_ai_assistant(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_control_id` but received ''"): @@ -1248,7 +1163,6 @@ def test_path_params_start_ai_assistant(self, client: Telnyx) -> None: call_control_id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_start_forking(self, client: Telnyx) -> None: action = client.calls.actions.start_forking( @@ -1256,7 +1170,6 @@ def test_method_start_forking(self, client: Telnyx) -> None: ) assert_matches_type(ActionStartForkingResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_start_forking_with_all_params(self, client: Telnyx) -> None: action = client.calls.actions.start_forking( @@ -1269,7 +1182,6 @@ def test_method_start_forking_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ActionStartForkingResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_start_forking(self, client: Telnyx) -> None: response = client.calls.actions.with_raw_response.start_forking( @@ -1281,7 +1193,6 @@ def test_raw_response_start_forking(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionStartForkingResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_start_forking(self, client: Telnyx) -> None: with client.calls.actions.with_streaming_response.start_forking( @@ -1295,7 +1206,6 @@ def test_streaming_response_start_forking(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_start_forking(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_control_id` but received ''"): @@ -1303,7 +1213,6 @@ def test_path_params_start_forking(self, client: Telnyx) -> None: call_control_id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_start_noise_suppression(self, client: Telnyx) -> None: action = client.calls.actions.start_noise_suppression( @@ -1311,7 +1220,6 @@ def test_method_start_noise_suppression(self, client: Telnyx) -> None: ) assert_matches_type(ActionStartNoiseSuppressionResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_start_noise_suppression_with_all_params(self, client: Telnyx) -> None: action = client.calls.actions.start_noise_suppression( @@ -1323,7 +1231,6 @@ def test_method_start_noise_suppression_with_all_params(self, client: Telnyx) -> ) assert_matches_type(ActionStartNoiseSuppressionResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_start_noise_suppression(self, client: Telnyx) -> None: response = client.calls.actions.with_raw_response.start_noise_suppression( @@ -1335,7 +1242,6 @@ def test_raw_response_start_noise_suppression(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionStartNoiseSuppressionResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_start_noise_suppression(self, client: Telnyx) -> None: with client.calls.actions.with_streaming_response.start_noise_suppression( @@ -1349,7 +1255,6 @@ def test_streaming_response_start_noise_suppression(self, client: Telnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_start_noise_suppression(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_control_id` but received ''"): @@ -1357,7 +1262,6 @@ def test_path_params_start_noise_suppression(self, client: Telnyx) -> None: call_control_id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_start_playback(self, client: Telnyx) -> None: action = client.calls.actions.start_playback( @@ -1365,7 +1269,6 @@ def test_method_start_playback(self, client: Telnyx) -> None: ) assert_matches_type(ActionStartPlaybackResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_start_playback_with_all_params(self, client: Telnyx) -> None: action = client.calls.actions.start_playback( @@ -1384,7 +1287,6 @@ def test_method_start_playback_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ActionStartPlaybackResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_start_playback(self, client: Telnyx) -> None: response = client.calls.actions.with_raw_response.start_playback( @@ -1396,7 +1298,6 @@ def test_raw_response_start_playback(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionStartPlaybackResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_start_playback(self, client: Telnyx) -> None: with client.calls.actions.with_streaming_response.start_playback( @@ -1410,7 +1311,6 @@ def test_streaming_response_start_playback(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_start_playback(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_control_id` but received ''"): @@ -1418,7 +1318,6 @@ def test_path_params_start_playback(self, client: Telnyx) -> None: call_control_id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_start_recording(self, client: Telnyx) -> None: action = client.calls.actions.start_recording( @@ -1428,7 +1327,6 @@ def test_method_start_recording(self, client: Telnyx) -> None: ) assert_matches_type(ActionStartRecordingResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_start_recording_with_all_params(self, client: Telnyx) -> None: action = client.calls.actions.start_recording( @@ -1453,7 +1351,6 @@ def test_method_start_recording_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ActionStartRecordingResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_start_recording(self, client: Telnyx) -> None: response = client.calls.actions.with_raw_response.start_recording( @@ -1467,7 +1364,6 @@ def test_raw_response_start_recording(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionStartRecordingResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_start_recording(self, client: Telnyx) -> None: with client.calls.actions.with_streaming_response.start_recording( @@ -1483,7 +1379,6 @@ def test_streaming_response_start_recording(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_start_recording(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_control_id` but received ''"): @@ -1493,7 +1388,6 @@ def test_path_params_start_recording(self, client: Telnyx) -> None: format="wav", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_start_siprec(self, client: Telnyx) -> None: action = client.calls.actions.start_siprec( @@ -1501,7 +1395,6 @@ def test_method_start_siprec(self, client: Telnyx) -> None: ) assert_matches_type(ActionStartSiprecResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_start_siprec_with_all_params(self, client: Telnyx) -> None: action = client.calls.actions.start_siprec( @@ -1516,7 +1409,6 @@ def test_method_start_siprec_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ActionStartSiprecResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_start_siprec(self, client: Telnyx) -> None: response = client.calls.actions.with_raw_response.start_siprec( @@ -1528,7 +1420,6 @@ def test_raw_response_start_siprec(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionStartSiprecResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_start_siprec(self, client: Telnyx) -> None: with client.calls.actions.with_streaming_response.start_siprec( @@ -1542,7 +1433,6 @@ def test_streaming_response_start_siprec(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_start_siprec(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_control_id` but received ''"): @@ -1550,7 +1440,6 @@ def test_path_params_start_siprec(self, client: Telnyx) -> None: call_control_id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_start_streaming(self, client: Telnyx) -> None: action = client.calls.actions.start_streaming( @@ -1558,7 +1447,6 @@ def test_method_start_streaming(self, client: Telnyx) -> None: ) assert_matches_type(ActionStartStreamingResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_start_streaming_with_all_params(self, client: Telnyx) -> None: action = client.calls.actions.start_streaming( @@ -1579,7 +1467,6 @@ def test_method_start_streaming_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ActionStartStreamingResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_start_streaming(self, client: Telnyx) -> None: response = client.calls.actions.with_raw_response.start_streaming( @@ -1591,7 +1478,6 @@ def test_raw_response_start_streaming(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionStartStreamingResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_start_streaming(self, client: Telnyx) -> None: with client.calls.actions.with_streaming_response.start_streaming( @@ -1605,7 +1491,6 @@ def test_streaming_response_start_streaming(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_start_streaming(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_control_id` but received ''"): @@ -1613,7 +1498,6 @@ def test_path_params_start_streaming(self, client: Telnyx) -> None: call_control_id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_start_transcription(self, client: Telnyx) -> None: action = client.calls.actions.start_transcription( @@ -1621,7 +1505,6 @@ def test_method_start_transcription(self, client: Telnyx) -> None: ) assert_matches_type(ActionStartTranscriptionResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_start_transcription_with_all_params(self, client: Telnyx) -> None: action = client.calls.actions.start_transcription( @@ -1651,7 +1534,6 @@ def test_method_start_transcription_with_all_params(self, client: Telnyx) -> Non ) assert_matches_type(ActionStartTranscriptionResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_start_transcription(self, client: Telnyx) -> None: response = client.calls.actions.with_raw_response.start_transcription( @@ -1663,7 +1545,6 @@ def test_raw_response_start_transcription(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionStartTranscriptionResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_start_transcription(self, client: Telnyx) -> None: with client.calls.actions.with_streaming_response.start_transcription( @@ -1677,7 +1558,6 @@ def test_streaming_response_start_transcription(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_start_transcription(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_control_id` but received ''"): @@ -1685,7 +1565,6 @@ def test_path_params_start_transcription(self, client: Telnyx) -> None: call_control_id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_stop_ai_assistant(self, client: Telnyx) -> None: action = client.calls.actions.stop_ai_assistant( @@ -1693,7 +1572,6 @@ def test_method_stop_ai_assistant(self, client: Telnyx) -> None: ) assert_matches_type(ActionStopAIAssistantResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_stop_ai_assistant_with_all_params(self, client: Telnyx) -> None: action = client.calls.actions.stop_ai_assistant( @@ -1703,7 +1581,6 @@ def test_method_stop_ai_assistant_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ActionStopAIAssistantResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_stop_ai_assistant(self, client: Telnyx) -> None: response = client.calls.actions.with_raw_response.stop_ai_assistant( @@ -1715,7 +1592,6 @@ def test_raw_response_stop_ai_assistant(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionStopAIAssistantResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_stop_ai_assistant(self, client: Telnyx) -> None: with client.calls.actions.with_streaming_response.stop_ai_assistant( @@ -1729,7 +1605,6 @@ def test_streaming_response_stop_ai_assistant(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_stop_ai_assistant(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_control_id` but received ''"): @@ -1737,7 +1612,6 @@ def test_path_params_stop_ai_assistant(self, client: Telnyx) -> None: call_control_id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_stop_forking(self, client: Telnyx) -> None: action = client.calls.actions.stop_forking( @@ -1745,7 +1619,6 @@ def test_method_stop_forking(self, client: Telnyx) -> None: ) assert_matches_type(ActionStopForkingResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_stop_forking_with_all_params(self, client: Telnyx) -> None: action = client.calls.actions.stop_forking( @@ -1756,7 +1629,6 @@ def test_method_stop_forking_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ActionStopForkingResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_stop_forking(self, client: Telnyx) -> None: response = client.calls.actions.with_raw_response.stop_forking( @@ -1768,7 +1640,6 @@ def test_raw_response_stop_forking(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionStopForkingResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_stop_forking(self, client: Telnyx) -> None: with client.calls.actions.with_streaming_response.stop_forking( @@ -1782,7 +1653,6 @@ def test_streaming_response_stop_forking(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_stop_forking(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_control_id` but received ''"): @@ -1790,7 +1660,6 @@ def test_path_params_stop_forking(self, client: Telnyx) -> None: call_control_id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_stop_gather(self, client: Telnyx) -> None: action = client.calls.actions.stop_gather( @@ -1798,7 +1667,6 @@ def test_method_stop_gather(self, client: Telnyx) -> None: ) assert_matches_type(ActionStopGatherResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_stop_gather_with_all_params(self, client: Telnyx) -> None: action = client.calls.actions.stop_gather( @@ -1808,7 +1676,6 @@ def test_method_stop_gather_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ActionStopGatherResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_stop_gather(self, client: Telnyx) -> None: response = client.calls.actions.with_raw_response.stop_gather( @@ -1820,7 +1687,6 @@ def test_raw_response_stop_gather(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionStopGatherResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_stop_gather(self, client: Telnyx) -> None: with client.calls.actions.with_streaming_response.stop_gather( @@ -1834,7 +1700,6 @@ def test_streaming_response_stop_gather(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_stop_gather(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_control_id` but received ''"): @@ -1842,7 +1707,6 @@ def test_path_params_stop_gather(self, client: Telnyx) -> None: call_control_id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_stop_noise_suppression(self, client: Telnyx) -> None: action = client.calls.actions.stop_noise_suppression( @@ -1850,7 +1714,6 @@ def test_method_stop_noise_suppression(self, client: Telnyx) -> None: ) assert_matches_type(ActionStopNoiseSuppressionResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_stop_noise_suppression_with_all_params(self, client: Telnyx) -> None: action = client.calls.actions.stop_noise_suppression( @@ -1860,7 +1723,6 @@ def test_method_stop_noise_suppression_with_all_params(self, client: Telnyx) -> ) assert_matches_type(ActionStopNoiseSuppressionResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_stop_noise_suppression(self, client: Telnyx) -> None: response = client.calls.actions.with_raw_response.stop_noise_suppression( @@ -1872,7 +1734,6 @@ def test_raw_response_stop_noise_suppression(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionStopNoiseSuppressionResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_stop_noise_suppression(self, client: Telnyx) -> None: with client.calls.actions.with_streaming_response.stop_noise_suppression( @@ -1886,7 +1747,6 @@ def test_streaming_response_stop_noise_suppression(self, client: Telnyx) -> None assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_stop_noise_suppression(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_control_id` but received ''"): @@ -1894,7 +1754,6 @@ def test_path_params_stop_noise_suppression(self, client: Telnyx) -> None: call_control_id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_stop_playback(self, client: Telnyx) -> None: action = client.calls.actions.stop_playback( @@ -1902,7 +1761,6 @@ def test_method_stop_playback(self, client: Telnyx) -> None: ) assert_matches_type(ActionStopPlaybackResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_stop_playback_with_all_params(self, client: Telnyx) -> None: action = client.calls.actions.stop_playback( @@ -1914,7 +1772,6 @@ def test_method_stop_playback_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ActionStopPlaybackResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_stop_playback(self, client: Telnyx) -> None: response = client.calls.actions.with_raw_response.stop_playback( @@ -1926,7 +1783,6 @@ def test_raw_response_stop_playback(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionStopPlaybackResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_stop_playback(self, client: Telnyx) -> None: with client.calls.actions.with_streaming_response.stop_playback( @@ -1940,7 +1796,6 @@ def test_streaming_response_stop_playback(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_stop_playback(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_control_id` but received ''"): @@ -1948,7 +1803,6 @@ def test_path_params_stop_playback(self, client: Telnyx) -> None: call_control_id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_stop_recording(self, client: Telnyx) -> None: action = client.calls.actions.stop_recording( @@ -1956,7 +1810,6 @@ def test_method_stop_recording(self, client: Telnyx) -> None: ) assert_matches_type(ActionStopRecordingResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_stop_recording_with_all_params(self, client: Telnyx) -> None: action = client.calls.actions.stop_recording( @@ -1967,7 +1820,6 @@ def test_method_stop_recording_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ActionStopRecordingResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_stop_recording(self, client: Telnyx) -> None: response = client.calls.actions.with_raw_response.stop_recording( @@ -1979,7 +1831,6 @@ def test_raw_response_stop_recording(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionStopRecordingResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_stop_recording(self, client: Telnyx) -> None: with client.calls.actions.with_streaming_response.stop_recording( @@ -1993,7 +1844,6 @@ def test_streaming_response_stop_recording(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_stop_recording(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_control_id` but received ''"): @@ -2001,7 +1851,6 @@ def test_path_params_stop_recording(self, client: Telnyx) -> None: call_control_id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_stop_siprec(self, client: Telnyx) -> None: action = client.calls.actions.stop_siprec( @@ -2009,7 +1858,6 @@ def test_method_stop_siprec(self, client: Telnyx) -> None: ) assert_matches_type(ActionStopSiprecResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_stop_siprec_with_all_params(self, client: Telnyx) -> None: action = client.calls.actions.stop_siprec( @@ -2019,7 +1867,6 @@ def test_method_stop_siprec_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ActionStopSiprecResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_stop_siprec(self, client: Telnyx) -> None: response = client.calls.actions.with_raw_response.stop_siprec( @@ -2031,7 +1878,6 @@ def test_raw_response_stop_siprec(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionStopSiprecResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_stop_siprec(self, client: Telnyx) -> None: with client.calls.actions.with_streaming_response.stop_siprec( @@ -2045,7 +1891,6 @@ def test_streaming_response_stop_siprec(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_stop_siprec(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_control_id` but received ''"): @@ -2053,7 +1898,6 @@ def test_path_params_stop_siprec(self, client: Telnyx) -> None: call_control_id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_stop_streaming(self, client: Telnyx) -> None: action = client.calls.actions.stop_streaming( @@ -2061,7 +1905,6 @@ def test_method_stop_streaming(self, client: Telnyx) -> None: ) assert_matches_type(ActionStopStreamingResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_stop_streaming_with_all_params(self, client: Telnyx) -> None: action = client.calls.actions.stop_streaming( @@ -2072,7 +1915,6 @@ def test_method_stop_streaming_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ActionStopStreamingResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_stop_streaming(self, client: Telnyx) -> None: response = client.calls.actions.with_raw_response.stop_streaming( @@ -2084,7 +1926,6 @@ def test_raw_response_stop_streaming(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionStopStreamingResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_stop_streaming(self, client: Telnyx) -> None: with client.calls.actions.with_streaming_response.stop_streaming( @@ -2098,7 +1939,6 @@ def test_streaming_response_stop_streaming(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_stop_streaming(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_control_id` but received ''"): @@ -2106,7 +1946,6 @@ def test_path_params_stop_streaming(self, client: Telnyx) -> None: call_control_id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_stop_transcription(self, client: Telnyx) -> None: action = client.calls.actions.stop_transcription( @@ -2114,7 +1953,6 @@ def test_method_stop_transcription(self, client: Telnyx) -> None: ) assert_matches_type(ActionStopTranscriptionResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_stop_transcription_with_all_params(self, client: Telnyx) -> None: action = client.calls.actions.stop_transcription( @@ -2124,7 +1962,6 @@ def test_method_stop_transcription_with_all_params(self, client: Telnyx) -> None ) assert_matches_type(ActionStopTranscriptionResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_stop_transcription(self, client: Telnyx) -> None: response = client.calls.actions.with_raw_response.stop_transcription( @@ -2136,7 +1973,6 @@ def test_raw_response_stop_transcription(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionStopTranscriptionResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_stop_transcription(self, client: Telnyx) -> None: with client.calls.actions.with_streaming_response.stop_transcription( @@ -2150,7 +1986,6 @@ def test_streaming_response_stop_transcription(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_stop_transcription(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_control_id` but received ''"): @@ -2158,7 +1993,6 @@ def test_path_params_stop_transcription(self, client: Telnyx) -> None: call_control_id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_switch_supervisor_role(self, client: Telnyx) -> None: action = client.calls.actions.switch_supervisor_role( @@ -2167,7 +2001,6 @@ def test_method_switch_supervisor_role(self, client: Telnyx) -> None: ) assert_matches_type(ActionSwitchSupervisorRoleResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_switch_supervisor_role(self, client: Telnyx) -> None: response = client.calls.actions.with_raw_response.switch_supervisor_role( @@ -2180,7 +2013,6 @@ def test_raw_response_switch_supervisor_role(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionSwitchSupervisorRoleResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_switch_supervisor_role(self, client: Telnyx) -> None: with client.calls.actions.with_streaming_response.switch_supervisor_role( @@ -2195,7 +2027,6 @@ def test_streaming_response_switch_supervisor_role(self, client: Telnyx) -> None assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_switch_supervisor_role(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_control_id` but received ''"): @@ -2204,7 +2035,6 @@ def test_path_params_switch_supervisor_role(self, client: Telnyx) -> None: role="barge", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_transfer(self, client: Telnyx) -> None: action = client.calls.actions.transfer( @@ -2213,7 +2043,6 @@ def test_method_transfer(self, client: Telnyx) -> None: ) assert_matches_type(ActionTransferResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_transfer_with_all_params(self, client: Telnyx) -> None: action = client.calls.actions.transfer( @@ -2275,7 +2104,6 @@ def test_method_transfer_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ActionTransferResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_transfer(self, client: Telnyx) -> None: response = client.calls.actions.with_raw_response.transfer( @@ -2288,7 +2116,6 @@ def test_raw_response_transfer(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionTransferResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_transfer(self, client: Telnyx) -> None: with client.calls.actions.with_streaming_response.transfer( @@ -2303,7 +2130,6 @@ def test_streaming_response_transfer(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_transfer(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_control_id` but received ''"): @@ -2312,7 +2138,6 @@ def test_path_params_transfer(self, client: Telnyx) -> None: to="+18005550100 or sip:username@sip.telnyx.com", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_client_state(self, client: Telnyx) -> None: action = client.calls.actions.update_client_state( @@ -2321,7 +2146,6 @@ def test_method_update_client_state(self, client: Telnyx) -> None: ) assert_matches_type(ActionUpdateClientStateResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update_client_state(self, client: Telnyx) -> None: response = client.calls.actions.with_raw_response.update_client_state( @@ -2334,7 +2158,6 @@ def test_raw_response_update_client_state(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionUpdateClientStateResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update_client_state(self, client: Telnyx) -> None: with client.calls.actions.with_streaming_response.update_client_state( @@ -2349,7 +2172,6 @@ def test_streaming_response_update_client_state(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update_client_state(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_control_id` but received ''"): @@ -2364,7 +2186,6 @@ class TestAsyncActions: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_answer(self, async_client: AsyncTelnyx) -> None: action = await async_client.calls.actions.answer( @@ -2372,7 +2193,6 @@ async def test_method_answer(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ActionAnswerResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_answer_with_all_params(self, async_client: AsyncTelnyx) -> None: action = await async_client.calls.actions.answer( @@ -2448,7 +2268,6 @@ async def test_method_answer_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(ActionAnswerResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_answer(self, async_client: AsyncTelnyx) -> None: response = await async_client.calls.actions.with_raw_response.answer( @@ -2460,7 +2279,6 @@ async def test_raw_response_answer(self, async_client: AsyncTelnyx) -> None: action = await response.parse() assert_matches_type(ActionAnswerResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_answer(self, async_client: AsyncTelnyx) -> None: async with async_client.calls.actions.with_streaming_response.answer( @@ -2474,7 +2292,6 @@ async def test_streaming_response_answer(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_answer(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_control_id` but received ''"): @@ -2482,7 +2299,6 @@ async def test_path_params_answer(self, async_client: AsyncTelnyx) -> None: call_control_id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_bridge(self, async_client: AsyncTelnyx) -> None: action = await async_client.calls.actions.bridge( @@ -2491,7 +2307,6 @@ async def test_method_bridge(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ActionBridgeResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_bridge_with_all_params(self, async_client: AsyncTelnyx) -> None: action = await async_client.calls.actions.bridge( @@ -2517,7 +2332,6 @@ async def test_method_bridge_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(ActionBridgeResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_bridge(self, async_client: AsyncTelnyx) -> None: response = await async_client.calls.actions.with_raw_response.bridge( @@ -2530,7 +2344,6 @@ async def test_raw_response_bridge(self, async_client: AsyncTelnyx) -> None: action = await response.parse() assert_matches_type(ActionBridgeResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_bridge(self, async_client: AsyncTelnyx) -> None: async with async_client.calls.actions.with_streaming_response.bridge( @@ -2545,7 +2358,6 @@ async def test_streaming_response_bridge(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_bridge(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `path_call_control_id` but received ''"): @@ -2554,7 +2366,6 @@ async def test_path_params_bridge(self, async_client: AsyncTelnyx) -> None: body_call_control_id="v3:MdI91X4lWFEs7IgbBEOT9M4AigoY08M0WWZFISt1Yw2axZ_IiE4pqg", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_enqueue(self, async_client: AsyncTelnyx) -> None: action = await async_client.calls.actions.enqueue( @@ -2563,7 +2374,6 @@ async def test_method_enqueue(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ActionEnqueueResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_enqueue_with_all_params(self, async_client: AsyncTelnyx) -> None: action = await async_client.calls.actions.enqueue( @@ -2576,7 +2386,6 @@ async def test_method_enqueue_with_all_params(self, async_client: AsyncTelnyx) - ) assert_matches_type(ActionEnqueueResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_enqueue(self, async_client: AsyncTelnyx) -> None: response = await async_client.calls.actions.with_raw_response.enqueue( @@ -2589,7 +2398,6 @@ async def test_raw_response_enqueue(self, async_client: AsyncTelnyx) -> None: action = await response.parse() assert_matches_type(ActionEnqueueResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_enqueue(self, async_client: AsyncTelnyx) -> None: async with async_client.calls.actions.with_streaming_response.enqueue( @@ -2604,7 +2412,6 @@ async def test_streaming_response_enqueue(self, async_client: AsyncTelnyx) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_enqueue(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_control_id` but received ''"): @@ -2613,7 +2420,6 @@ async def test_path_params_enqueue(self, async_client: AsyncTelnyx) -> None: queue_name="support", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_gather(self, async_client: AsyncTelnyx) -> None: action = await async_client.calls.actions.gather( @@ -2621,7 +2427,6 @@ async def test_method_gather(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ActionGatherResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_gather_with_all_params(self, async_client: AsyncTelnyx) -> None: action = await async_client.calls.actions.gather( @@ -2639,7 +2444,6 @@ async def test_method_gather_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(ActionGatherResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_gather(self, async_client: AsyncTelnyx) -> None: response = await async_client.calls.actions.with_raw_response.gather( @@ -2651,7 +2455,6 @@ async def test_raw_response_gather(self, async_client: AsyncTelnyx) -> None: action = await response.parse() assert_matches_type(ActionGatherResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_gather(self, async_client: AsyncTelnyx) -> None: async with async_client.calls.actions.with_streaming_response.gather( @@ -2665,7 +2468,6 @@ async def test_streaming_response_gather(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_gather(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_control_id` but received ''"): @@ -2673,7 +2475,6 @@ async def test_path_params_gather(self, async_client: AsyncTelnyx) -> None: call_control_id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_gather_using_ai(self, async_client: AsyncTelnyx) -> None: action = await async_client.calls.actions.gather_using_ai( @@ -2695,7 +2496,6 @@ async def test_method_gather_using_ai(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ActionGatherUsingAIResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_gather_using_ai_with_all_params(self, async_client: AsyncTelnyx) -> None: action = await async_client.calls.actions.gather_using_ai( @@ -2754,7 +2554,6 @@ async def test_method_gather_using_ai_with_all_params(self, async_client: AsyncT ) assert_matches_type(ActionGatherUsingAIResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_gather_using_ai(self, async_client: AsyncTelnyx) -> None: response = await async_client.calls.actions.with_raw_response.gather_using_ai( @@ -2780,7 +2579,6 @@ async def test_raw_response_gather_using_ai(self, async_client: AsyncTelnyx) -> action = await response.parse() assert_matches_type(ActionGatherUsingAIResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_gather_using_ai(self, async_client: AsyncTelnyx) -> None: async with async_client.calls.actions.with_streaming_response.gather_using_ai( @@ -2808,7 +2606,6 @@ async def test_streaming_response_gather_using_ai(self, async_client: AsyncTelny assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_gather_using_ai(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_control_id` but received ''"): @@ -2830,7 +2627,6 @@ async def test_path_params_gather_using_ai(self, async_client: AsyncTelnyx) -> N }, ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_gather_using_audio(self, async_client: AsyncTelnyx) -> None: action = await async_client.calls.actions.gather_using_audio( @@ -2838,7 +2634,6 @@ async def test_method_gather_using_audio(self, async_client: AsyncTelnyx) -> Non ) assert_matches_type(ActionGatherUsingAudioResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_gather_using_audio_with_all_params(self, async_client: AsyncTelnyx) -> None: action = await async_client.calls.actions.gather_using_audio( @@ -2859,7 +2654,6 @@ async def test_method_gather_using_audio_with_all_params(self, async_client: Asy ) assert_matches_type(ActionGatherUsingAudioResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_gather_using_audio(self, async_client: AsyncTelnyx) -> None: response = await async_client.calls.actions.with_raw_response.gather_using_audio( @@ -2871,7 +2665,6 @@ async def test_raw_response_gather_using_audio(self, async_client: AsyncTelnyx) action = await response.parse() assert_matches_type(ActionGatherUsingAudioResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_gather_using_audio(self, async_client: AsyncTelnyx) -> None: async with async_client.calls.actions.with_streaming_response.gather_using_audio( @@ -2885,7 +2678,6 @@ async def test_streaming_response_gather_using_audio(self, async_client: AsyncTe assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_gather_using_audio(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_control_id` but received ''"): @@ -2893,7 +2685,6 @@ async def test_path_params_gather_using_audio(self, async_client: AsyncTelnyx) - call_control_id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_gather_using_speak(self, async_client: AsyncTelnyx) -> None: action = await async_client.calls.actions.gather_using_speak( @@ -2903,7 +2694,6 @@ async def test_method_gather_using_speak(self, async_client: AsyncTelnyx) -> Non ) assert_matches_type(ActionGatherUsingSpeakResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_gather_using_speak_with_all_params(self, async_client: AsyncTelnyx) -> None: action = await async_client.calls.actions.gather_using_speak( @@ -2927,7 +2717,6 @@ async def test_method_gather_using_speak_with_all_params(self, async_client: Asy ) assert_matches_type(ActionGatherUsingSpeakResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_gather_using_speak(self, async_client: AsyncTelnyx) -> None: response = await async_client.calls.actions.with_raw_response.gather_using_speak( @@ -2941,7 +2730,6 @@ async def test_raw_response_gather_using_speak(self, async_client: AsyncTelnyx) action = await response.parse() assert_matches_type(ActionGatherUsingSpeakResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_gather_using_speak(self, async_client: AsyncTelnyx) -> None: async with async_client.calls.actions.with_streaming_response.gather_using_speak( @@ -2957,7 +2745,6 @@ async def test_streaming_response_gather_using_speak(self, async_client: AsyncTe assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_gather_using_speak(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_control_id` but received ''"): @@ -2967,7 +2754,6 @@ async def test_path_params_gather_using_speak(self, async_client: AsyncTelnyx) - voice="male", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_hangup(self, async_client: AsyncTelnyx) -> None: action = await async_client.calls.actions.hangup( @@ -2975,7 +2761,6 @@ async def test_method_hangup(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ActionHangupResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_hangup_with_all_params(self, async_client: AsyncTelnyx) -> None: action = await async_client.calls.actions.hangup( @@ -2985,7 +2770,6 @@ async def test_method_hangup_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(ActionHangupResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_hangup(self, async_client: AsyncTelnyx) -> None: response = await async_client.calls.actions.with_raw_response.hangup( @@ -2997,7 +2781,6 @@ async def test_raw_response_hangup(self, async_client: AsyncTelnyx) -> None: action = await response.parse() assert_matches_type(ActionHangupResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_hangup(self, async_client: AsyncTelnyx) -> None: async with async_client.calls.actions.with_streaming_response.hangup( @@ -3011,7 +2794,6 @@ async def test_streaming_response_hangup(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_hangup(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_control_id` but received ''"): @@ -3019,7 +2801,6 @@ async def test_path_params_hangup(self, async_client: AsyncTelnyx) -> None: call_control_id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_leave_queue(self, async_client: AsyncTelnyx) -> None: action = await async_client.calls.actions.leave_queue( @@ -3027,7 +2808,6 @@ async def test_method_leave_queue(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ActionLeaveQueueResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_leave_queue_with_all_params(self, async_client: AsyncTelnyx) -> None: action = await async_client.calls.actions.leave_queue( @@ -3037,7 +2817,6 @@ async def test_method_leave_queue_with_all_params(self, async_client: AsyncTelny ) assert_matches_type(ActionLeaveQueueResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_leave_queue(self, async_client: AsyncTelnyx) -> None: response = await async_client.calls.actions.with_raw_response.leave_queue( @@ -3049,7 +2828,6 @@ async def test_raw_response_leave_queue(self, async_client: AsyncTelnyx) -> None action = await response.parse() assert_matches_type(ActionLeaveQueueResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_leave_queue(self, async_client: AsyncTelnyx) -> None: async with async_client.calls.actions.with_streaming_response.leave_queue( @@ -3063,7 +2841,6 @@ async def test_streaming_response_leave_queue(self, async_client: AsyncTelnyx) - assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_leave_queue(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_control_id` but received ''"): @@ -3071,7 +2848,6 @@ async def test_path_params_leave_queue(self, async_client: AsyncTelnyx) -> None: call_control_id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_pause_recording(self, async_client: AsyncTelnyx) -> None: action = await async_client.calls.actions.pause_recording( @@ -3079,7 +2855,6 @@ async def test_method_pause_recording(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ActionPauseRecordingResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_pause_recording_with_all_params(self, async_client: AsyncTelnyx) -> None: action = await async_client.calls.actions.pause_recording( @@ -3090,7 +2865,6 @@ async def test_method_pause_recording_with_all_params(self, async_client: AsyncT ) assert_matches_type(ActionPauseRecordingResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_pause_recording(self, async_client: AsyncTelnyx) -> None: response = await async_client.calls.actions.with_raw_response.pause_recording( @@ -3102,7 +2876,6 @@ async def test_raw_response_pause_recording(self, async_client: AsyncTelnyx) -> action = await response.parse() assert_matches_type(ActionPauseRecordingResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_pause_recording(self, async_client: AsyncTelnyx) -> None: async with async_client.calls.actions.with_streaming_response.pause_recording( @@ -3116,7 +2889,6 @@ async def test_streaming_response_pause_recording(self, async_client: AsyncTelny assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_pause_recording(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_control_id` but received ''"): @@ -3124,7 +2896,6 @@ async def test_path_params_pause_recording(self, async_client: AsyncTelnyx) -> N call_control_id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_refer(self, async_client: AsyncTelnyx) -> None: action = await async_client.calls.actions.refer( @@ -3133,7 +2904,6 @@ async def test_method_refer(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ActionReferResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_refer_with_all_params(self, async_client: AsyncTelnyx) -> None: action = await async_client.calls.actions.refer( @@ -3162,7 +2932,6 @@ async def test_method_refer_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(ActionReferResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_refer(self, async_client: AsyncTelnyx) -> None: response = await async_client.calls.actions.with_raw_response.refer( @@ -3175,7 +2944,6 @@ async def test_raw_response_refer(self, async_client: AsyncTelnyx) -> None: action = await response.parse() assert_matches_type(ActionReferResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_refer(self, async_client: AsyncTelnyx) -> None: async with async_client.calls.actions.with_streaming_response.refer( @@ -3190,7 +2958,6 @@ async def test_streaming_response_refer(self, async_client: AsyncTelnyx) -> None assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_refer(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_control_id` but received ''"): @@ -3199,7 +2966,6 @@ async def test_path_params_refer(self, async_client: AsyncTelnyx) -> None: sip_address="sip:username@sip.non-telnyx-address.com", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_reject(self, async_client: AsyncTelnyx) -> None: action = await async_client.calls.actions.reject( @@ -3208,7 +2974,6 @@ async def test_method_reject(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ActionRejectResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_reject_with_all_params(self, async_client: AsyncTelnyx) -> None: action = await async_client.calls.actions.reject( @@ -3219,7 +2984,6 @@ async def test_method_reject_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(ActionRejectResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_reject(self, async_client: AsyncTelnyx) -> None: response = await async_client.calls.actions.with_raw_response.reject( @@ -3232,7 +2996,6 @@ async def test_raw_response_reject(self, async_client: AsyncTelnyx) -> None: action = await response.parse() assert_matches_type(ActionRejectResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_reject(self, async_client: AsyncTelnyx) -> None: async with async_client.calls.actions.with_streaming_response.reject( @@ -3247,7 +3010,6 @@ async def test_streaming_response_reject(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_reject(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_control_id` but received ''"): @@ -3256,7 +3018,6 @@ async def test_path_params_reject(self, async_client: AsyncTelnyx) -> None: cause="USER_BUSY", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_resume_recording(self, async_client: AsyncTelnyx) -> None: action = await async_client.calls.actions.resume_recording( @@ -3264,7 +3025,6 @@ async def test_method_resume_recording(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ActionResumeRecordingResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_resume_recording_with_all_params(self, async_client: AsyncTelnyx) -> None: action = await async_client.calls.actions.resume_recording( @@ -3275,7 +3035,6 @@ async def test_method_resume_recording_with_all_params(self, async_client: Async ) assert_matches_type(ActionResumeRecordingResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_resume_recording(self, async_client: AsyncTelnyx) -> None: response = await async_client.calls.actions.with_raw_response.resume_recording( @@ -3287,7 +3046,6 @@ async def test_raw_response_resume_recording(self, async_client: AsyncTelnyx) -> action = await response.parse() assert_matches_type(ActionResumeRecordingResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_resume_recording(self, async_client: AsyncTelnyx) -> None: async with async_client.calls.actions.with_streaming_response.resume_recording( @@ -3301,7 +3059,6 @@ async def test_streaming_response_resume_recording(self, async_client: AsyncTeln assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_resume_recording(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_control_id` but received ''"): @@ -3309,7 +3066,6 @@ async def test_path_params_resume_recording(self, async_client: AsyncTelnyx) -> call_control_id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_send_dtmf(self, async_client: AsyncTelnyx) -> None: action = await async_client.calls.actions.send_dtmf( @@ -3318,7 +3074,6 @@ async def test_method_send_dtmf(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ActionSendDtmfResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_send_dtmf_with_all_params(self, async_client: AsyncTelnyx) -> None: action = await async_client.calls.actions.send_dtmf( @@ -3330,7 +3085,6 @@ async def test_method_send_dtmf_with_all_params(self, async_client: AsyncTelnyx) ) assert_matches_type(ActionSendDtmfResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_send_dtmf(self, async_client: AsyncTelnyx) -> None: response = await async_client.calls.actions.with_raw_response.send_dtmf( @@ -3343,7 +3097,6 @@ async def test_raw_response_send_dtmf(self, async_client: AsyncTelnyx) -> None: action = await response.parse() assert_matches_type(ActionSendDtmfResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_send_dtmf(self, async_client: AsyncTelnyx) -> None: async with async_client.calls.actions.with_streaming_response.send_dtmf( @@ -3358,7 +3111,6 @@ async def test_streaming_response_send_dtmf(self, async_client: AsyncTelnyx) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_send_dtmf(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_control_id` but received ''"): @@ -3367,7 +3119,6 @@ async def test_path_params_send_dtmf(self, async_client: AsyncTelnyx) -> None: digits="1www2WABCDw9", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_send_sip_info(self, async_client: AsyncTelnyx) -> None: action = await async_client.calls.actions.send_sip_info( @@ -3377,7 +3128,6 @@ async def test_method_send_sip_info(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ActionSendSipInfoResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_send_sip_info_with_all_params(self, async_client: AsyncTelnyx) -> None: action = await async_client.calls.actions.send_sip_info( @@ -3389,7 +3139,6 @@ async def test_method_send_sip_info_with_all_params(self, async_client: AsyncTel ) assert_matches_type(ActionSendSipInfoResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_send_sip_info(self, async_client: AsyncTelnyx) -> None: response = await async_client.calls.actions.with_raw_response.send_sip_info( @@ -3403,7 +3152,6 @@ async def test_raw_response_send_sip_info(self, async_client: AsyncTelnyx) -> No action = await response.parse() assert_matches_type(ActionSendSipInfoResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_send_sip_info(self, async_client: AsyncTelnyx) -> None: async with async_client.calls.actions.with_streaming_response.send_sip_info( @@ -3419,7 +3167,6 @@ async def test_streaming_response_send_sip_info(self, async_client: AsyncTelnyx) assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_send_sip_info(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_control_id` but received ''"): @@ -3429,7 +3176,6 @@ async def test_path_params_send_sip_info(self, async_client: AsyncTelnyx) -> Non content_type="application/json", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_speak(self, async_client: AsyncTelnyx) -> None: action = await async_client.calls.actions.speak( @@ -3439,7 +3185,6 @@ async def test_method_speak(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ActionSpeakResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_speak_with_all_params(self, async_client: AsyncTelnyx) -> None: action = await async_client.calls.actions.speak( @@ -3456,7 +3201,6 @@ async def test_method_speak_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(ActionSpeakResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_speak(self, async_client: AsyncTelnyx) -> None: response = await async_client.calls.actions.with_raw_response.speak( @@ -3470,7 +3214,6 @@ async def test_raw_response_speak(self, async_client: AsyncTelnyx) -> None: action = await response.parse() assert_matches_type(ActionSpeakResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_speak(self, async_client: AsyncTelnyx) -> None: async with async_client.calls.actions.with_streaming_response.speak( @@ -3486,7 +3229,6 @@ async def test_streaming_response_speak(self, async_client: AsyncTelnyx) -> None assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_speak(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_control_id` but received ''"): @@ -3496,7 +3238,6 @@ async def test_path_params_speak(self, async_client: AsyncTelnyx) -> None: voice="female", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_start_ai_assistant(self, async_client: AsyncTelnyx) -> None: action = await async_client.calls.actions.start_ai_assistant( @@ -3504,7 +3245,6 @@ async def test_method_start_ai_assistant(self, async_client: AsyncTelnyx) -> Non ) assert_matches_type(ActionStartAIAssistantResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_start_ai_assistant_with_all_params(self, async_client: AsyncTelnyx) -> None: action = await async_client.calls.actions.start_ai_assistant( @@ -3524,7 +3264,6 @@ async def test_method_start_ai_assistant_with_all_params(self, async_client: Asy ) assert_matches_type(ActionStartAIAssistantResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_start_ai_assistant(self, async_client: AsyncTelnyx) -> None: response = await async_client.calls.actions.with_raw_response.start_ai_assistant( @@ -3536,7 +3275,6 @@ async def test_raw_response_start_ai_assistant(self, async_client: AsyncTelnyx) action = await response.parse() assert_matches_type(ActionStartAIAssistantResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_start_ai_assistant(self, async_client: AsyncTelnyx) -> None: async with async_client.calls.actions.with_streaming_response.start_ai_assistant( @@ -3550,7 +3288,6 @@ async def test_streaming_response_start_ai_assistant(self, async_client: AsyncTe assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_start_ai_assistant(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_control_id` but received ''"): @@ -3558,7 +3295,6 @@ async def test_path_params_start_ai_assistant(self, async_client: AsyncTelnyx) - call_control_id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_start_forking(self, async_client: AsyncTelnyx) -> None: action = await async_client.calls.actions.start_forking( @@ -3566,7 +3302,6 @@ async def test_method_start_forking(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ActionStartForkingResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_start_forking_with_all_params(self, async_client: AsyncTelnyx) -> None: action = await async_client.calls.actions.start_forking( @@ -3579,7 +3314,6 @@ async def test_method_start_forking_with_all_params(self, async_client: AsyncTel ) assert_matches_type(ActionStartForkingResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_start_forking(self, async_client: AsyncTelnyx) -> None: response = await async_client.calls.actions.with_raw_response.start_forking( @@ -3591,7 +3325,6 @@ async def test_raw_response_start_forking(self, async_client: AsyncTelnyx) -> No action = await response.parse() assert_matches_type(ActionStartForkingResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_start_forking(self, async_client: AsyncTelnyx) -> None: async with async_client.calls.actions.with_streaming_response.start_forking( @@ -3605,7 +3338,6 @@ async def test_streaming_response_start_forking(self, async_client: AsyncTelnyx) assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_start_forking(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_control_id` but received ''"): @@ -3613,7 +3345,6 @@ async def test_path_params_start_forking(self, async_client: AsyncTelnyx) -> Non call_control_id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_start_noise_suppression(self, async_client: AsyncTelnyx) -> None: action = await async_client.calls.actions.start_noise_suppression( @@ -3621,7 +3352,6 @@ async def test_method_start_noise_suppression(self, async_client: AsyncTelnyx) - ) assert_matches_type(ActionStartNoiseSuppressionResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_start_noise_suppression_with_all_params(self, async_client: AsyncTelnyx) -> None: action = await async_client.calls.actions.start_noise_suppression( @@ -3633,7 +3363,6 @@ async def test_method_start_noise_suppression_with_all_params(self, async_client ) assert_matches_type(ActionStartNoiseSuppressionResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_start_noise_suppression(self, async_client: AsyncTelnyx) -> None: response = await async_client.calls.actions.with_raw_response.start_noise_suppression( @@ -3645,7 +3374,6 @@ async def test_raw_response_start_noise_suppression(self, async_client: AsyncTel action = await response.parse() assert_matches_type(ActionStartNoiseSuppressionResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_start_noise_suppression(self, async_client: AsyncTelnyx) -> None: async with async_client.calls.actions.with_streaming_response.start_noise_suppression( @@ -3659,7 +3387,6 @@ async def test_streaming_response_start_noise_suppression(self, async_client: As assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_start_noise_suppression(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_control_id` but received ''"): @@ -3667,7 +3394,6 @@ async def test_path_params_start_noise_suppression(self, async_client: AsyncTeln call_control_id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_start_playback(self, async_client: AsyncTelnyx) -> None: action = await async_client.calls.actions.start_playback( @@ -3675,7 +3401,6 @@ async def test_method_start_playback(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ActionStartPlaybackResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_start_playback_with_all_params(self, async_client: AsyncTelnyx) -> None: action = await async_client.calls.actions.start_playback( @@ -3694,7 +3419,6 @@ async def test_method_start_playback_with_all_params(self, async_client: AsyncTe ) assert_matches_type(ActionStartPlaybackResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_start_playback(self, async_client: AsyncTelnyx) -> None: response = await async_client.calls.actions.with_raw_response.start_playback( @@ -3706,7 +3430,6 @@ async def test_raw_response_start_playback(self, async_client: AsyncTelnyx) -> N action = await response.parse() assert_matches_type(ActionStartPlaybackResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_start_playback(self, async_client: AsyncTelnyx) -> None: async with async_client.calls.actions.with_streaming_response.start_playback( @@ -3720,7 +3443,6 @@ async def test_streaming_response_start_playback(self, async_client: AsyncTelnyx assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_start_playback(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_control_id` but received ''"): @@ -3728,7 +3450,6 @@ async def test_path_params_start_playback(self, async_client: AsyncTelnyx) -> No call_control_id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_start_recording(self, async_client: AsyncTelnyx) -> None: action = await async_client.calls.actions.start_recording( @@ -3738,7 +3459,6 @@ async def test_method_start_recording(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ActionStartRecordingResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_start_recording_with_all_params(self, async_client: AsyncTelnyx) -> None: action = await async_client.calls.actions.start_recording( @@ -3763,7 +3483,6 @@ async def test_method_start_recording_with_all_params(self, async_client: AsyncT ) assert_matches_type(ActionStartRecordingResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_start_recording(self, async_client: AsyncTelnyx) -> None: response = await async_client.calls.actions.with_raw_response.start_recording( @@ -3777,7 +3496,6 @@ async def test_raw_response_start_recording(self, async_client: AsyncTelnyx) -> action = await response.parse() assert_matches_type(ActionStartRecordingResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_start_recording(self, async_client: AsyncTelnyx) -> None: async with async_client.calls.actions.with_streaming_response.start_recording( @@ -3793,7 +3511,6 @@ async def test_streaming_response_start_recording(self, async_client: AsyncTelny assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_start_recording(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_control_id` but received ''"): @@ -3803,7 +3520,6 @@ async def test_path_params_start_recording(self, async_client: AsyncTelnyx) -> N format="wav", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_start_siprec(self, async_client: AsyncTelnyx) -> None: action = await async_client.calls.actions.start_siprec( @@ -3811,7 +3527,6 @@ async def test_method_start_siprec(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ActionStartSiprecResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_start_siprec_with_all_params(self, async_client: AsyncTelnyx) -> None: action = await async_client.calls.actions.start_siprec( @@ -3826,7 +3541,6 @@ async def test_method_start_siprec_with_all_params(self, async_client: AsyncTeln ) assert_matches_type(ActionStartSiprecResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_start_siprec(self, async_client: AsyncTelnyx) -> None: response = await async_client.calls.actions.with_raw_response.start_siprec( @@ -3838,7 +3552,6 @@ async def test_raw_response_start_siprec(self, async_client: AsyncTelnyx) -> Non action = await response.parse() assert_matches_type(ActionStartSiprecResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_start_siprec(self, async_client: AsyncTelnyx) -> None: async with async_client.calls.actions.with_streaming_response.start_siprec( @@ -3852,7 +3565,6 @@ async def test_streaming_response_start_siprec(self, async_client: AsyncTelnyx) assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_start_siprec(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_control_id` but received ''"): @@ -3860,7 +3572,6 @@ async def test_path_params_start_siprec(self, async_client: AsyncTelnyx) -> None call_control_id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_start_streaming(self, async_client: AsyncTelnyx) -> None: action = await async_client.calls.actions.start_streaming( @@ -3868,7 +3579,6 @@ async def test_method_start_streaming(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ActionStartStreamingResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_start_streaming_with_all_params(self, async_client: AsyncTelnyx) -> None: action = await async_client.calls.actions.start_streaming( @@ -3889,7 +3599,6 @@ async def test_method_start_streaming_with_all_params(self, async_client: AsyncT ) assert_matches_type(ActionStartStreamingResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_start_streaming(self, async_client: AsyncTelnyx) -> None: response = await async_client.calls.actions.with_raw_response.start_streaming( @@ -3901,7 +3610,6 @@ async def test_raw_response_start_streaming(self, async_client: AsyncTelnyx) -> action = await response.parse() assert_matches_type(ActionStartStreamingResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_start_streaming(self, async_client: AsyncTelnyx) -> None: async with async_client.calls.actions.with_streaming_response.start_streaming( @@ -3915,7 +3623,6 @@ async def test_streaming_response_start_streaming(self, async_client: AsyncTelny assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_start_streaming(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_control_id` but received ''"): @@ -3923,7 +3630,6 @@ async def test_path_params_start_streaming(self, async_client: AsyncTelnyx) -> N call_control_id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_start_transcription(self, async_client: AsyncTelnyx) -> None: action = await async_client.calls.actions.start_transcription( @@ -3931,7 +3637,6 @@ async def test_method_start_transcription(self, async_client: AsyncTelnyx) -> No ) assert_matches_type(ActionStartTranscriptionResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_start_transcription_with_all_params(self, async_client: AsyncTelnyx) -> None: action = await async_client.calls.actions.start_transcription( @@ -3961,7 +3666,6 @@ async def test_method_start_transcription_with_all_params(self, async_client: As ) assert_matches_type(ActionStartTranscriptionResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_start_transcription(self, async_client: AsyncTelnyx) -> None: response = await async_client.calls.actions.with_raw_response.start_transcription( @@ -3973,7 +3677,6 @@ async def test_raw_response_start_transcription(self, async_client: AsyncTelnyx) action = await response.parse() assert_matches_type(ActionStartTranscriptionResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_start_transcription(self, async_client: AsyncTelnyx) -> None: async with async_client.calls.actions.with_streaming_response.start_transcription( @@ -3987,7 +3690,6 @@ async def test_streaming_response_start_transcription(self, async_client: AsyncT assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_start_transcription(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_control_id` but received ''"): @@ -3995,7 +3697,6 @@ async def test_path_params_start_transcription(self, async_client: AsyncTelnyx) call_control_id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_stop_ai_assistant(self, async_client: AsyncTelnyx) -> None: action = await async_client.calls.actions.stop_ai_assistant( @@ -4003,7 +3704,6 @@ async def test_method_stop_ai_assistant(self, async_client: AsyncTelnyx) -> None ) assert_matches_type(ActionStopAIAssistantResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_stop_ai_assistant_with_all_params(self, async_client: AsyncTelnyx) -> None: action = await async_client.calls.actions.stop_ai_assistant( @@ -4013,7 +3713,6 @@ async def test_method_stop_ai_assistant_with_all_params(self, async_client: Asyn ) assert_matches_type(ActionStopAIAssistantResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_stop_ai_assistant(self, async_client: AsyncTelnyx) -> None: response = await async_client.calls.actions.with_raw_response.stop_ai_assistant( @@ -4025,7 +3724,6 @@ async def test_raw_response_stop_ai_assistant(self, async_client: AsyncTelnyx) - action = await response.parse() assert_matches_type(ActionStopAIAssistantResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_stop_ai_assistant(self, async_client: AsyncTelnyx) -> None: async with async_client.calls.actions.with_streaming_response.stop_ai_assistant( @@ -4039,7 +3737,6 @@ async def test_streaming_response_stop_ai_assistant(self, async_client: AsyncTel assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_stop_ai_assistant(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_control_id` but received ''"): @@ -4047,7 +3744,6 @@ async def test_path_params_stop_ai_assistant(self, async_client: AsyncTelnyx) -> call_control_id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_stop_forking(self, async_client: AsyncTelnyx) -> None: action = await async_client.calls.actions.stop_forking( @@ -4055,7 +3751,6 @@ async def test_method_stop_forking(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ActionStopForkingResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_stop_forking_with_all_params(self, async_client: AsyncTelnyx) -> None: action = await async_client.calls.actions.stop_forking( @@ -4066,7 +3761,6 @@ async def test_method_stop_forking_with_all_params(self, async_client: AsyncTeln ) assert_matches_type(ActionStopForkingResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_stop_forking(self, async_client: AsyncTelnyx) -> None: response = await async_client.calls.actions.with_raw_response.stop_forking( @@ -4078,7 +3772,6 @@ async def test_raw_response_stop_forking(self, async_client: AsyncTelnyx) -> Non action = await response.parse() assert_matches_type(ActionStopForkingResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_stop_forking(self, async_client: AsyncTelnyx) -> None: async with async_client.calls.actions.with_streaming_response.stop_forking( @@ -4092,7 +3785,6 @@ async def test_streaming_response_stop_forking(self, async_client: AsyncTelnyx) assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_stop_forking(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_control_id` but received ''"): @@ -4100,7 +3792,6 @@ async def test_path_params_stop_forking(self, async_client: AsyncTelnyx) -> None call_control_id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_stop_gather(self, async_client: AsyncTelnyx) -> None: action = await async_client.calls.actions.stop_gather( @@ -4108,7 +3799,6 @@ async def test_method_stop_gather(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ActionStopGatherResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_stop_gather_with_all_params(self, async_client: AsyncTelnyx) -> None: action = await async_client.calls.actions.stop_gather( @@ -4118,7 +3808,6 @@ async def test_method_stop_gather_with_all_params(self, async_client: AsyncTelny ) assert_matches_type(ActionStopGatherResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_stop_gather(self, async_client: AsyncTelnyx) -> None: response = await async_client.calls.actions.with_raw_response.stop_gather( @@ -4130,7 +3819,6 @@ async def test_raw_response_stop_gather(self, async_client: AsyncTelnyx) -> None action = await response.parse() assert_matches_type(ActionStopGatherResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_stop_gather(self, async_client: AsyncTelnyx) -> None: async with async_client.calls.actions.with_streaming_response.stop_gather( @@ -4144,7 +3832,6 @@ async def test_streaming_response_stop_gather(self, async_client: AsyncTelnyx) - assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_stop_gather(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_control_id` but received ''"): @@ -4152,7 +3839,6 @@ async def test_path_params_stop_gather(self, async_client: AsyncTelnyx) -> None: call_control_id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_stop_noise_suppression(self, async_client: AsyncTelnyx) -> None: action = await async_client.calls.actions.stop_noise_suppression( @@ -4160,7 +3846,6 @@ async def test_method_stop_noise_suppression(self, async_client: AsyncTelnyx) -> ) assert_matches_type(ActionStopNoiseSuppressionResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_stop_noise_suppression_with_all_params(self, async_client: AsyncTelnyx) -> None: action = await async_client.calls.actions.stop_noise_suppression( @@ -4170,7 +3855,6 @@ async def test_method_stop_noise_suppression_with_all_params(self, async_client: ) assert_matches_type(ActionStopNoiseSuppressionResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_stop_noise_suppression(self, async_client: AsyncTelnyx) -> None: response = await async_client.calls.actions.with_raw_response.stop_noise_suppression( @@ -4182,7 +3866,6 @@ async def test_raw_response_stop_noise_suppression(self, async_client: AsyncTeln action = await response.parse() assert_matches_type(ActionStopNoiseSuppressionResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_stop_noise_suppression(self, async_client: AsyncTelnyx) -> None: async with async_client.calls.actions.with_streaming_response.stop_noise_suppression( @@ -4196,7 +3879,6 @@ async def test_streaming_response_stop_noise_suppression(self, async_client: Asy assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_stop_noise_suppression(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_control_id` but received ''"): @@ -4204,7 +3886,6 @@ async def test_path_params_stop_noise_suppression(self, async_client: AsyncTelny call_control_id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_stop_playback(self, async_client: AsyncTelnyx) -> None: action = await async_client.calls.actions.stop_playback( @@ -4212,7 +3893,6 @@ async def test_method_stop_playback(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ActionStopPlaybackResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_stop_playback_with_all_params(self, async_client: AsyncTelnyx) -> None: action = await async_client.calls.actions.stop_playback( @@ -4224,7 +3904,6 @@ async def test_method_stop_playback_with_all_params(self, async_client: AsyncTel ) assert_matches_type(ActionStopPlaybackResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_stop_playback(self, async_client: AsyncTelnyx) -> None: response = await async_client.calls.actions.with_raw_response.stop_playback( @@ -4236,7 +3915,6 @@ async def test_raw_response_stop_playback(self, async_client: AsyncTelnyx) -> No action = await response.parse() assert_matches_type(ActionStopPlaybackResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_stop_playback(self, async_client: AsyncTelnyx) -> None: async with async_client.calls.actions.with_streaming_response.stop_playback( @@ -4250,7 +3928,6 @@ async def test_streaming_response_stop_playback(self, async_client: AsyncTelnyx) assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_stop_playback(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_control_id` but received ''"): @@ -4258,7 +3935,6 @@ async def test_path_params_stop_playback(self, async_client: AsyncTelnyx) -> Non call_control_id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_stop_recording(self, async_client: AsyncTelnyx) -> None: action = await async_client.calls.actions.stop_recording( @@ -4266,7 +3942,6 @@ async def test_method_stop_recording(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ActionStopRecordingResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_stop_recording_with_all_params(self, async_client: AsyncTelnyx) -> None: action = await async_client.calls.actions.stop_recording( @@ -4277,7 +3952,6 @@ async def test_method_stop_recording_with_all_params(self, async_client: AsyncTe ) assert_matches_type(ActionStopRecordingResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_stop_recording(self, async_client: AsyncTelnyx) -> None: response = await async_client.calls.actions.with_raw_response.stop_recording( @@ -4289,7 +3963,6 @@ async def test_raw_response_stop_recording(self, async_client: AsyncTelnyx) -> N action = await response.parse() assert_matches_type(ActionStopRecordingResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_stop_recording(self, async_client: AsyncTelnyx) -> None: async with async_client.calls.actions.with_streaming_response.stop_recording( @@ -4303,7 +3976,6 @@ async def test_streaming_response_stop_recording(self, async_client: AsyncTelnyx assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_stop_recording(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_control_id` but received ''"): @@ -4311,7 +3983,6 @@ async def test_path_params_stop_recording(self, async_client: AsyncTelnyx) -> No call_control_id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_stop_siprec(self, async_client: AsyncTelnyx) -> None: action = await async_client.calls.actions.stop_siprec( @@ -4319,7 +3990,6 @@ async def test_method_stop_siprec(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ActionStopSiprecResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_stop_siprec_with_all_params(self, async_client: AsyncTelnyx) -> None: action = await async_client.calls.actions.stop_siprec( @@ -4329,7 +3999,6 @@ async def test_method_stop_siprec_with_all_params(self, async_client: AsyncTelny ) assert_matches_type(ActionStopSiprecResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_stop_siprec(self, async_client: AsyncTelnyx) -> None: response = await async_client.calls.actions.with_raw_response.stop_siprec( @@ -4341,7 +4010,6 @@ async def test_raw_response_stop_siprec(self, async_client: AsyncTelnyx) -> None action = await response.parse() assert_matches_type(ActionStopSiprecResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_stop_siprec(self, async_client: AsyncTelnyx) -> None: async with async_client.calls.actions.with_streaming_response.stop_siprec( @@ -4355,7 +4023,6 @@ async def test_streaming_response_stop_siprec(self, async_client: AsyncTelnyx) - assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_stop_siprec(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_control_id` but received ''"): @@ -4363,7 +4030,6 @@ async def test_path_params_stop_siprec(self, async_client: AsyncTelnyx) -> None: call_control_id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_stop_streaming(self, async_client: AsyncTelnyx) -> None: action = await async_client.calls.actions.stop_streaming( @@ -4371,7 +4037,6 @@ async def test_method_stop_streaming(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ActionStopStreamingResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_stop_streaming_with_all_params(self, async_client: AsyncTelnyx) -> None: action = await async_client.calls.actions.stop_streaming( @@ -4382,7 +4047,6 @@ async def test_method_stop_streaming_with_all_params(self, async_client: AsyncTe ) assert_matches_type(ActionStopStreamingResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_stop_streaming(self, async_client: AsyncTelnyx) -> None: response = await async_client.calls.actions.with_raw_response.stop_streaming( @@ -4394,7 +4058,6 @@ async def test_raw_response_stop_streaming(self, async_client: AsyncTelnyx) -> N action = await response.parse() assert_matches_type(ActionStopStreamingResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_stop_streaming(self, async_client: AsyncTelnyx) -> None: async with async_client.calls.actions.with_streaming_response.stop_streaming( @@ -4408,7 +4071,6 @@ async def test_streaming_response_stop_streaming(self, async_client: AsyncTelnyx assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_stop_streaming(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_control_id` but received ''"): @@ -4416,7 +4078,6 @@ async def test_path_params_stop_streaming(self, async_client: AsyncTelnyx) -> No call_control_id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_stop_transcription(self, async_client: AsyncTelnyx) -> None: action = await async_client.calls.actions.stop_transcription( @@ -4424,7 +4085,6 @@ async def test_method_stop_transcription(self, async_client: AsyncTelnyx) -> Non ) assert_matches_type(ActionStopTranscriptionResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_stop_transcription_with_all_params(self, async_client: AsyncTelnyx) -> None: action = await async_client.calls.actions.stop_transcription( @@ -4434,7 +4094,6 @@ async def test_method_stop_transcription_with_all_params(self, async_client: Asy ) assert_matches_type(ActionStopTranscriptionResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_stop_transcription(self, async_client: AsyncTelnyx) -> None: response = await async_client.calls.actions.with_raw_response.stop_transcription( @@ -4446,7 +4105,6 @@ async def test_raw_response_stop_transcription(self, async_client: AsyncTelnyx) action = await response.parse() assert_matches_type(ActionStopTranscriptionResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_stop_transcription(self, async_client: AsyncTelnyx) -> None: async with async_client.calls.actions.with_streaming_response.stop_transcription( @@ -4460,7 +4118,6 @@ async def test_streaming_response_stop_transcription(self, async_client: AsyncTe assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_stop_transcription(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_control_id` but received ''"): @@ -4468,7 +4125,6 @@ async def test_path_params_stop_transcription(self, async_client: AsyncTelnyx) - call_control_id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_switch_supervisor_role(self, async_client: AsyncTelnyx) -> None: action = await async_client.calls.actions.switch_supervisor_role( @@ -4477,7 +4133,6 @@ async def test_method_switch_supervisor_role(self, async_client: AsyncTelnyx) -> ) assert_matches_type(ActionSwitchSupervisorRoleResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_switch_supervisor_role(self, async_client: AsyncTelnyx) -> None: response = await async_client.calls.actions.with_raw_response.switch_supervisor_role( @@ -4490,7 +4145,6 @@ async def test_raw_response_switch_supervisor_role(self, async_client: AsyncTeln action = await response.parse() assert_matches_type(ActionSwitchSupervisorRoleResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_switch_supervisor_role(self, async_client: AsyncTelnyx) -> None: async with async_client.calls.actions.with_streaming_response.switch_supervisor_role( @@ -4505,7 +4159,6 @@ async def test_streaming_response_switch_supervisor_role(self, async_client: Asy assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_switch_supervisor_role(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_control_id` but received ''"): @@ -4514,7 +4167,6 @@ async def test_path_params_switch_supervisor_role(self, async_client: AsyncTelny role="barge", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_transfer(self, async_client: AsyncTelnyx) -> None: action = await async_client.calls.actions.transfer( @@ -4523,7 +4175,6 @@ async def test_method_transfer(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ActionTransferResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_transfer_with_all_params(self, async_client: AsyncTelnyx) -> None: action = await async_client.calls.actions.transfer( @@ -4585,7 +4236,6 @@ async def test_method_transfer_with_all_params(self, async_client: AsyncTelnyx) ) assert_matches_type(ActionTransferResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_transfer(self, async_client: AsyncTelnyx) -> None: response = await async_client.calls.actions.with_raw_response.transfer( @@ -4598,7 +4248,6 @@ async def test_raw_response_transfer(self, async_client: AsyncTelnyx) -> None: action = await response.parse() assert_matches_type(ActionTransferResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_transfer(self, async_client: AsyncTelnyx) -> None: async with async_client.calls.actions.with_streaming_response.transfer( @@ -4613,7 +4262,6 @@ async def test_streaming_response_transfer(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_transfer(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_control_id` but received ''"): @@ -4622,7 +4270,6 @@ async def test_path_params_transfer(self, async_client: AsyncTelnyx) -> None: to="+18005550100 or sip:username@sip.telnyx.com", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_client_state(self, async_client: AsyncTelnyx) -> None: action = await async_client.calls.actions.update_client_state( @@ -4631,7 +4278,6 @@ async def test_method_update_client_state(self, async_client: AsyncTelnyx) -> No ) assert_matches_type(ActionUpdateClientStateResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update_client_state(self, async_client: AsyncTelnyx) -> None: response = await async_client.calls.actions.with_raw_response.update_client_state( @@ -4644,7 +4290,6 @@ async def test_raw_response_update_client_state(self, async_client: AsyncTelnyx) action = await response.parse() assert_matches_type(ActionUpdateClientStateResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update_client_state(self, async_client: AsyncTelnyx) -> None: async with async_client.calls.actions.with_streaming_response.update_client_state( @@ -4659,7 +4304,6 @@ async def test_streaming_response_update_client_state(self, async_client: AsyncT assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update_client_state(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_control_id` but received ''"): diff --git a/tests/api_resources/campaign/test_osr.py b/tests/api_resources/campaign/test_osr.py index af90459a..286bd8d8 100644 --- a/tests/api_resources/campaign/test_osr.py +++ b/tests/api_resources/campaign/test_osr.py @@ -16,7 +16,6 @@ class TestOsr: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_get_attributes(self, client: Telnyx) -> None: osr = client.campaign.osr.get_attributes( @@ -24,7 +23,6 @@ def test_method_get_attributes(self, client: Telnyx) -> None: ) assert_matches_type(object, osr, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_get_attributes(self, client: Telnyx) -> None: response = client.campaign.osr.with_raw_response.get_attributes( @@ -36,7 +34,6 @@ def test_raw_response_get_attributes(self, client: Telnyx) -> None: osr = response.parse() assert_matches_type(object, osr, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_get_attributes(self, client: Telnyx) -> None: with client.campaign.osr.with_streaming_response.get_attributes( @@ -50,7 +47,6 @@ def test_streaming_response_get_attributes(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_get_attributes(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `campaign_id` but received ''"): @@ -64,7 +60,6 @@ class TestAsyncOsr: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_get_attributes(self, async_client: AsyncTelnyx) -> None: osr = await async_client.campaign.osr.get_attributes( @@ -72,7 +67,6 @@ async def test_method_get_attributes(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(object, osr, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_get_attributes(self, async_client: AsyncTelnyx) -> None: response = await async_client.campaign.osr.with_raw_response.get_attributes( @@ -84,7 +78,6 @@ async def test_raw_response_get_attributes(self, async_client: AsyncTelnyx) -> N osr = await response.parse() assert_matches_type(object, osr, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_get_attributes(self, async_client: AsyncTelnyx) -> None: async with async_client.campaign.osr.with_streaming_response.get_attributes( @@ -98,7 +91,6 @@ async def test_streaming_response_get_attributes(self, async_client: AsyncTelnyx assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_get_attributes(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `campaign_id` but received ''"): diff --git a/tests/api_resources/campaign/test_usecase.py b/tests/api_resources/campaign/test_usecase.py index ac9c84ce..b68440b2 100644 --- a/tests/api_resources/campaign/test_usecase.py +++ b/tests/api_resources/campaign/test_usecase.py @@ -17,7 +17,6 @@ class TestUsecase: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_get_cost(self, client: Telnyx) -> None: usecase = client.campaign.usecase.get_cost( @@ -25,7 +24,6 @@ def test_method_get_cost(self, client: Telnyx) -> None: ) assert_matches_type(UsecaseGetCostResponse, usecase, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_get_cost(self, client: Telnyx) -> None: response = client.campaign.usecase.with_raw_response.get_cost( @@ -37,7 +35,6 @@ def test_raw_response_get_cost(self, client: Telnyx) -> None: usecase = response.parse() assert_matches_type(UsecaseGetCostResponse, usecase, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_get_cost(self, client: Telnyx) -> None: with client.campaign.usecase.with_streaming_response.get_cost( @@ -57,7 +54,6 @@ class TestAsyncUsecase: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_get_cost(self, async_client: AsyncTelnyx) -> None: usecase = await async_client.campaign.usecase.get_cost( @@ -65,7 +61,6 @@ async def test_method_get_cost(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(UsecaseGetCostResponse, usecase, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_get_cost(self, async_client: AsyncTelnyx) -> None: response = await async_client.campaign.usecase.with_raw_response.get_cost( @@ -77,7 +72,6 @@ async def test_raw_response_get_cost(self, async_client: AsyncTelnyx) -> None: usecase = await response.parse() assert_matches_type(UsecaseGetCostResponse, usecase, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_get_cost(self, async_client: AsyncTelnyx) -> None: async with async_client.campaign.usecase.with_streaming_response.get_cost( diff --git a/tests/api_resources/campaign_builder/test_brand.py b/tests/api_resources/campaign_builder/test_brand.py index dc6939d2..93ae3885 100644 --- a/tests/api_resources/campaign_builder/test_brand.py +++ b/tests/api_resources/campaign_builder/test_brand.py @@ -17,7 +17,6 @@ class TestBrand: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_qualify_by_usecase(self, client: Telnyx) -> None: brand = client.campaign_builder.brand.qualify_by_usecase( @@ -26,7 +25,6 @@ def test_method_qualify_by_usecase(self, client: Telnyx) -> None: ) assert_matches_type(BrandQualifyByUsecaseResponse, brand, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_qualify_by_usecase(self, client: Telnyx) -> None: response = client.campaign_builder.brand.with_raw_response.qualify_by_usecase( @@ -39,7 +37,6 @@ def test_raw_response_qualify_by_usecase(self, client: Telnyx) -> None: brand = response.parse() assert_matches_type(BrandQualifyByUsecaseResponse, brand, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_qualify_by_usecase(self, client: Telnyx) -> None: with client.campaign_builder.brand.with_streaming_response.qualify_by_usecase( @@ -54,7 +51,6 @@ def test_streaming_response_qualify_by_usecase(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_qualify_by_usecase(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `brand_id` but received ''"): @@ -75,7 +71,6 @@ class TestAsyncBrand: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_qualify_by_usecase(self, async_client: AsyncTelnyx) -> None: brand = await async_client.campaign_builder.brand.qualify_by_usecase( @@ -84,7 +79,6 @@ async def test_method_qualify_by_usecase(self, async_client: AsyncTelnyx) -> Non ) assert_matches_type(BrandQualifyByUsecaseResponse, brand, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_qualify_by_usecase(self, async_client: AsyncTelnyx) -> None: response = await async_client.campaign_builder.brand.with_raw_response.qualify_by_usecase( @@ -97,7 +91,6 @@ async def test_raw_response_qualify_by_usecase(self, async_client: AsyncTelnyx) brand = await response.parse() assert_matches_type(BrandQualifyByUsecaseResponse, brand, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_qualify_by_usecase(self, async_client: AsyncTelnyx) -> None: async with async_client.campaign_builder.brand.with_streaming_response.qualify_by_usecase( @@ -112,7 +105,6 @@ async def test_streaming_response_qualify_by_usecase(self, async_client: AsyncTe assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_qualify_by_usecase(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `brand_id` but received ''"): diff --git a/tests/api_resources/conferences/test_actions.py b/tests/api_resources/conferences/test_actions.py index dda5d760..21a2f315 100644 --- a/tests/api_resources/conferences/test_actions.py +++ b/tests/api_resources/conferences/test_actions.py @@ -32,7 +32,6 @@ class TestActions: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update(self, client: Telnyx) -> None: action = client.conferences.actions.update( @@ -42,7 +41,6 @@ def test_method_update(self, client: Telnyx) -> None: ) assert_matches_type(ActionUpdateResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_with_all_params(self, client: Telnyx) -> None: action = client.conferences.actions.update( @@ -57,7 +55,6 @@ def test_method_update_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ActionUpdateResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update(self, client: Telnyx) -> None: response = client.conferences.actions.with_raw_response.update( @@ -71,7 +68,6 @@ def test_raw_response_update(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionUpdateResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update(self, client: Telnyx) -> None: with client.conferences.actions.with_streaming_response.update( @@ -87,7 +83,6 @@ def test_streaming_response_update(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -97,7 +92,6 @@ def test_path_params_update(self, client: Telnyx) -> None: supervisor_role="whisper", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_hold(self, client: Telnyx) -> None: action = client.conferences.actions.hold( @@ -105,7 +99,6 @@ def test_method_hold(self, client: Telnyx) -> None: ) assert_matches_type(ActionHoldResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_hold_with_all_params(self, client: Telnyx) -> None: action = client.conferences.actions.hold( @@ -116,7 +109,6 @@ def test_method_hold_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ActionHoldResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_hold(self, client: Telnyx) -> None: response = client.conferences.actions.with_raw_response.hold( @@ -128,7 +120,6 @@ def test_raw_response_hold(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionHoldResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_hold(self, client: Telnyx) -> None: with client.conferences.actions.with_streaming_response.hold( @@ -142,7 +133,6 @@ def test_streaming_response_hold(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_hold(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -150,7 +140,6 @@ def test_path_params_hold(self, client: Telnyx) -> None: id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_join(self, client: Telnyx) -> None: action = client.conferences.actions.join( @@ -159,7 +148,6 @@ def test_method_join(self, client: Telnyx) -> None: ) assert_matches_type(ActionJoinResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_join_with_all_params(self, client: Telnyx) -> None: action = client.conferences.actions.join( @@ -183,7 +171,6 @@ def test_method_join_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ActionJoinResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_join(self, client: Telnyx) -> None: response = client.conferences.actions.with_raw_response.join( @@ -196,7 +183,6 @@ def test_raw_response_join(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionJoinResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_join(self, client: Telnyx) -> None: with client.conferences.actions.with_streaming_response.join( @@ -211,7 +197,6 @@ def test_streaming_response_join(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_join(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -220,7 +205,6 @@ def test_path_params_join(self, client: Telnyx) -> None: call_control_id="v3:MdI91X4lWFEs7IgbBEOT9M4AigoY08M0WWZFISt1Yw2axZ_IiE4pqg", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_leave(self, client: Telnyx) -> None: action = client.conferences.actions.leave( @@ -229,7 +213,6 @@ def test_method_leave(self, client: Telnyx) -> None: ) assert_matches_type(ActionLeaveResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_leave_with_all_params(self, client: Telnyx) -> None: action = client.conferences.actions.leave( @@ -240,7 +223,6 @@ def test_method_leave_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ActionLeaveResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_leave(self, client: Telnyx) -> None: response = client.conferences.actions.with_raw_response.leave( @@ -253,7 +235,6 @@ def test_raw_response_leave(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionLeaveResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_leave(self, client: Telnyx) -> None: with client.conferences.actions.with_streaming_response.leave( @@ -268,7 +249,6 @@ def test_streaming_response_leave(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_leave(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -277,7 +257,6 @@ def test_path_params_leave(self, client: Telnyx) -> None: call_control_id="c46e06d7-b78f-4b13-96b6-c576af9640ff", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_mute(self, client: Telnyx) -> None: action = client.conferences.actions.mute( @@ -285,7 +264,6 @@ def test_method_mute(self, client: Telnyx) -> None: ) assert_matches_type(ActionMuteResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_mute_with_all_params(self, client: Telnyx) -> None: action = client.conferences.actions.mute( @@ -294,7 +272,6 @@ def test_method_mute_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ActionMuteResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_mute(self, client: Telnyx) -> None: response = client.conferences.actions.with_raw_response.mute( @@ -306,7 +283,6 @@ def test_raw_response_mute(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionMuteResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_mute(self, client: Telnyx) -> None: with client.conferences.actions.with_streaming_response.mute( @@ -320,7 +296,6 @@ def test_streaming_response_mute(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_mute(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -328,7 +303,6 @@ def test_path_params_mute(self, client: Telnyx) -> None: id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_play(self, client: Telnyx) -> None: action = client.conferences.actions.play( @@ -336,7 +310,6 @@ def test_method_play(self, client: Telnyx) -> None: ) assert_matches_type(ActionPlayResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_play_with_all_params(self, client: Telnyx) -> None: action = client.conferences.actions.play( @@ -348,7 +321,6 @@ def test_method_play_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ActionPlayResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_play(self, client: Telnyx) -> None: response = client.conferences.actions.with_raw_response.play( @@ -360,7 +332,6 @@ def test_raw_response_play(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionPlayResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_play(self, client: Telnyx) -> None: with client.conferences.actions.with_streaming_response.play( @@ -374,7 +345,6 @@ def test_streaming_response_play(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_play(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -382,7 +352,6 @@ def test_path_params_play(self, client: Telnyx) -> None: id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_record_pause(self, client: Telnyx) -> None: action = client.conferences.actions.record_pause( @@ -390,7 +359,6 @@ def test_method_record_pause(self, client: Telnyx) -> None: ) assert_matches_type(ActionRecordPauseResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_record_pause_with_all_params(self, client: Telnyx) -> None: action = client.conferences.actions.record_pause( @@ -400,7 +368,6 @@ def test_method_record_pause_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ActionRecordPauseResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_record_pause(self, client: Telnyx) -> None: response = client.conferences.actions.with_raw_response.record_pause( @@ -412,7 +379,6 @@ def test_raw_response_record_pause(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionRecordPauseResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_record_pause(self, client: Telnyx) -> None: with client.conferences.actions.with_streaming_response.record_pause( @@ -426,7 +392,6 @@ def test_streaming_response_record_pause(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_record_pause(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -434,7 +399,6 @@ def test_path_params_record_pause(self, client: Telnyx) -> None: id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_record_resume(self, client: Telnyx) -> None: action = client.conferences.actions.record_resume( @@ -442,7 +406,6 @@ def test_method_record_resume(self, client: Telnyx) -> None: ) assert_matches_type(ActionRecordResumeResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_record_resume_with_all_params(self, client: Telnyx) -> None: action = client.conferences.actions.record_resume( @@ -452,7 +415,6 @@ def test_method_record_resume_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ActionRecordResumeResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_record_resume(self, client: Telnyx) -> None: response = client.conferences.actions.with_raw_response.record_resume( @@ -464,7 +426,6 @@ def test_raw_response_record_resume(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionRecordResumeResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_record_resume(self, client: Telnyx) -> None: with client.conferences.actions.with_streaming_response.record_resume( @@ -478,7 +439,6 @@ def test_streaming_response_record_resume(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_record_resume(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -486,7 +446,6 @@ def test_path_params_record_resume(self, client: Telnyx) -> None: id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_record_start(self, client: Telnyx) -> None: action = client.conferences.actions.record_start( @@ -495,7 +454,6 @@ def test_method_record_start(self, client: Telnyx) -> None: ) assert_matches_type(ActionRecordStartResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_record_start_with_all_params(self, client: Telnyx) -> None: action = client.conferences.actions.record_start( @@ -508,7 +466,6 @@ def test_method_record_start_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ActionRecordStartResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_record_start(self, client: Telnyx) -> None: response = client.conferences.actions.with_raw_response.record_start( @@ -521,7 +478,6 @@ def test_raw_response_record_start(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionRecordStartResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_record_start(self, client: Telnyx) -> None: with client.conferences.actions.with_streaming_response.record_start( @@ -536,7 +492,6 @@ def test_streaming_response_record_start(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_record_start(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -545,7 +500,6 @@ def test_path_params_record_start(self, client: Telnyx) -> None: format="wav", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_record_stop(self, client: Telnyx) -> None: action = client.conferences.actions.record_stop( @@ -553,7 +507,6 @@ def test_method_record_stop(self, client: Telnyx) -> None: ) assert_matches_type(ActionRecordStopResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_record_stop_with_all_params(self, client: Telnyx) -> None: action = client.conferences.actions.record_stop( @@ -564,7 +517,6 @@ def test_method_record_stop_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ActionRecordStopResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_record_stop(self, client: Telnyx) -> None: response = client.conferences.actions.with_raw_response.record_stop( @@ -576,7 +528,6 @@ def test_raw_response_record_stop(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionRecordStopResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_record_stop(self, client: Telnyx) -> None: with client.conferences.actions.with_streaming_response.record_stop( @@ -590,7 +541,6 @@ def test_streaming_response_record_stop(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_record_stop(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -598,7 +548,6 @@ def test_path_params_record_stop(self, client: Telnyx) -> None: id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_speak(self, client: Telnyx) -> None: action = client.conferences.actions.speak( @@ -608,7 +557,6 @@ def test_method_speak(self, client: Telnyx) -> None: ) assert_matches_type(ActionSpeakResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_speak_with_all_params(self, client: Telnyx) -> None: action = client.conferences.actions.speak( @@ -623,7 +571,6 @@ def test_method_speak_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ActionSpeakResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_speak(self, client: Telnyx) -> None: response = client.conferences.actions.with_raw_response.speak( @@ -637,7 +584,6 @@ def test_raw_response_speak(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionSpeakResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_speak(self, client: Telnyx) -> None: with client.conferences.actions.with_streaming_response.speak( @@ -653,7 +599,6 @@ def test_streaming_response_speak(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_speak(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -663,7 +608,6 @@ def test_path_params_speak(self, client: Telnyx) -> None: voice="female", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_stop(self, client: Telnyx) -> None: action = client.conferences.actions.stop( @@ -671,7 +615,6 @@ def test_method_stop(self, client: Telnyx) -> None: ) assert_matches_type(ActionStopResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_stop_with_all_params(self, client: Telnyx) -> None: action = client.conferences.actions.stop( @@ -680,7 +623,6 @@ def test_method_stop_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ActionStopResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_stop(self, client: Telnyx) -> None: response = client.conferences.actions.with_raw_response.stop( @@ -692,7 +634,6 @@ def test_raw_response_stop(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionStopResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_stop(self, client: Telnyx) -> None: with client.conferences.actions.with_streaming_response.stop( @@ -706,7 +647,6 @@ def test_streaming_response_stop(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_stop(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -714,7 +654,6 @@ def test_path_params_stop(self, client: Telnyx) -> None: id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_unhold(self, client: Telnyx) -> None: action = client.conferences.actions.unhold( @@ -723,7 +662,6 @@ def test_method_unhold(self, client: Telnyx) -> None: ) assert_matches_type(ActionUnholdResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_unhold(self, client: Telnyx) -> None: response = client.conferences.actions.with_raw_response.unhold( @@ -736,7 +674,6 @@ def test_raw_response_unhold(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionUnholdResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_unhold(self, client: Telnyx) -> None: with client.conferences.actions.with_streaming_response.unhold( @@ -751,7 +688,6 @@ def test_streaming_response_unhold(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_unhold(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -760,7 +696,6 @@ def test_path_params_unhold(self, client: Telnyx) -> None: call_control_ids=["v3:MdI91X4lWFEs7IgbBEOT9M4AigoY08M0WWZFISt1Yw2axZ_IiE4pqg"], ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_unmute(self, client: Telnyx) -> None: action = client.conferences.actions.unmute( @@ -768,7 +703,6 @@ def test_method_unmute(self, client: Telnyx) -> None: ) assert_matches_type(ActionUnmuteResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_unmute_with_all_params(self, client: Telnyx) -> None: action = client.conferences.actions.unmute( @@ -777,7 +711,6 @@ def test_method_unmute_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ActionUnmuteResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_unmute(self, client: Telnyx) -> None: response = client.conferences.actions.with_raw_response.unmute( @@ -789,7 +722,6 @@ def test_raw_response_unmute(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionUnmuteResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_unmute(self, client: Telnyx) -> None: with client.conferences.actions.with_streaming_response.unmute( @@ -803,7 +735,6 @@ def test_streaming_response_unmute(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_unmute(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -817,7 +748,6 @@ class TestAsyncActions: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update(self, async_client: AsyncTelnyx) -> None: action = await async_client.conferences.actions.update( @@ -827,7 +757,6 @@ async def test_method_update(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ActionUpdateResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> None: action = await async_client.conferences.actions.update( @@ -842,7 +771,6 @@ async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(ActionUpdateResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: response = await async_client.conferences.actions.with_raw_response.update( @@ -856,7 +784,6 @@ async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: action = await response.parse() assert_matches_type(ActionUpdateResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> None: async with async_client.conferences.actions.with_streaming_response.update( @@ -872,7 +799,6 @@ async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -882,7 +808,6 @@ async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: supervisor_role="whisper", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_hold(self, async_client: AsyncTelnyx) -> None: action = await async_client.conferences.actions.hold( @@ -890,7 +815,6 @@ async def test_method_hold(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ActionHoldResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_hold_with_all_params(self, async_client: AsyncTelnyx) -> None: action = await async_client.conferences.actions.hold( @@ -901,7 +825,6 @@ async def test_method_hold_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(ActionHoldResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_hold(self, async_client: AsyncTelnyx) -> None: response = await async_client.conferences.actions.with_raw_response.hold( @@ -913,7 +836,6 @@ async def test_raw_response_hold(self, async_client: AsyncTelnyx) -> None: action = await response.parse() assert_matches_type(ActionHoldResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_hold(self, async_client: AsyncTelnyx) -> None: async with async_client.conferences.actions.with_streaming_response.hold( @@ -927,7 +849,6 @@ async def test_streaming_response_hold(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_hold(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -935,7 +856,6 @@ async def test_path_params_hold(self, async_client: AsyncTelnyx) -> None: id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_join(self, async_client: AsyncTelnyx) -> None: action = await async_client.conferences.actions.join( @@ -944,7 +864,6 @@ async def test_method_join(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ActionJoinResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_join_with_all_params(self, async_client: AsyncTelnyx) -> None: action = await async_client.conferences.actions.join( @@ -968,7 +887,6 @@ async def test_method_join_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(ActionJoinResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_join(self, async_client: AsyncTelnyx) -> None: response = await async_client.conferences.actions.with_raw_response.join( @@ -981,7 +899,6 @@ async def test_raw_response_join(self, async_client: AsyncTelnyx) -> None: action = await response.parse() assert_matches_type(ActionJoinResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_join(self, async_client: AsyncTelnyx) -> None: async with async_client.conferences.actions.with_streaming_response.join( @@ -996,7 +913,6 @@ async def test_streaming_response_join(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_join(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -1005,7 +921,6 @@ async def test_path_params_join(self, async_client: AsyncTelnyx) -> None: call_control_id="v3:MdI91X4lWFEs7IgbBEOT9M4AigoY08M0WWZFISt1Yw2axZ_IiE4pqg", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_leave(self, async_client: AsyncTelnyx) -> None: action = await async_client.conferences.actions.leave( @@ -1014,7 +929,6 @@ async def test_method_leave(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ActionLeaveResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_leave_with_all_params(self, async_client: AsyncTelnyx) -> None: action = await async_client.conferences.actions.leave( @@ -1025,7 +939,6 @@ async def test_method_leave_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(ActionLeaveResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_leave(self, async_client: AsyncTelnyx) -> None: response = await async_client.conferences.actions.with_raw_response.leave( @@ -1038,7 +951,6 @@ async def test_raw_response_leave(self, async_client: AsyncTelnyx) -> None: action = await response.parse() assert_matches_type(ActionLeaveResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_leave(self, async_client: AsyncTelnyx) -> None: async with async_client.conferences.actions.with_streaming_response.leave( @@ -1053,7 +965,6 @@ async def test_streaming_response_leave(self, async_client: AsyncTelnyx) -> None assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_leave(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -1062,7 +973,6 @@ async def test_path_params_leave(self, async_client: AsyncTelnyx) -> None: call_control_id="c46e06d7-b78f-4b13-96b6-c576af9640ff", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_mute(self, async_client: AsyncTelnyx) -> None: action = await async_client.conferences.actions.mute( @@ -1070,7 +980,6 @@ async def test_method_mute(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ActionMuteResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_mute_with_all_params(self, async_client: AsyncTelnyx) -> None: action = await async_client.conferences.actions.mute( @@ -1079,7 +988,6 @@ async def test_method_mute_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(ActionMuteResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_mute(self, async_client: AsyncTelnyx) -> None: response = await async_client.conferences.actions.with_raw_response.mute( @@ -1091,7 +999,6 @@ async def test_raw_response_mute(self, async_client: AsyncTelnyx) -> None: action = await response.parse() assert_matches_type(ActionMuteResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_mute(self, async_client: AsyncTelnyx) -> None: async with async_client.conferences.actions.with_streaming_response.mute( @@ -1105,7 +1012,6 @@ async def test_streaming_response_mute(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_mute(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -1113,7 +1019,6 @@ async def test_path_params_mute(self, async_client: AsyncTelnyx) -> None: id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_play(self, async_client: AsyncTelnyx) -> None: action = await async_client.conferences.actions.play( @@ -1121,7 +1026,6 @@ async def test_method_play(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ActionPlayResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_play_with_all_params(self, async_client: AsyncTelnyx) -> None: action = await async_client.conferences.actions.play( @@ -1133,7 +1037,6 @@ async def test_method_play_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(ActionPlayResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_play(self, async_client: AsyncTelnyx) -> None: response = await async_client.conferences.actions.with_raw_response.play( @@ -1145,7 +1048,6 @@ async def test_raw_response_play(self, async_client: AsyncTelnyx) -> None: action = await response.parse() assert_matches_type(ActionPlayResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_play(self, async_client: AsyncTelnyx) -> None: async with async_client.conferences.actions.with_streaming_response.play( @@ -1159,7 +1061,6 @@ async def test_streaming_response_play(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_play(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -1167,7 +1068,6 @@ async def test_path_params_play(self, async_client: AsyncTelnyx) -> None: id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_record_pause(self, async_client: AsyncTelnyx) -> None: action = await async_client.conferences.actions.record_pause( @@ -1175,7 +1075,6 @@ async def test_method_record_pause(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ActionRecordPauseResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_record_pause_with_all_params(self, async_client: AsyncTelnyx) -> None: action = await async_client.conferences.actions.record_pause( @@ -1185,7 +1084,6 @@ async def test_method_record_pause_with_all_params(self, async_client: AsyncTeln ) assert_matches_type(ActionRecordPauseResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_record_pause(self, async_client: AsyncTelnyx) -> None: response = await async_client.conferences.actions.with_raw_response.record_pause( @@ -1197,7 +1095,6 @@ async def test_raw_response_record_pause(self, async_client: AsyncTelnyx) -> Non action = await response.parse() assert_matches_type(ActionRecordPauseResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_record_pause(self, async_client: AsyncTelnyx) -> None: async with async_client.conferences.actions.with_streaming_response.record_pause( @@ -1211,7 +1108,6 @@ async def test_streaming_response_record_pause(self, async_client: AsyncTelnyx) assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_record_pause(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -1219,7 +1115,6 @@ async def test_path_params_record_pause(self, async_client: AsyncTelnyx) -> None id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_record_resume(self, async_client: AsyncTelnyx) -> None: action = await async_client.conferences.actions.record_resume( @@ -1227,7 +1122,6 @@ async def test_method_record_resume(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ActionRecordResumeResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_record_resume_with_all_params(self, async_client: AsyncTelnyx) -> None: action = await async_client.conferences.actions.record_resume( @@ -1237,7 +1131,6 @@ async def test_method_record_resume_with_all_params(self, async_client: AsyncTel ) assert_matches_type(ActionRecordResumeResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_record_resume(self, async_client: AsyncTelnyx) -> None: response = await async_client.conferences.actions.with_raw_response.record_resume( @@ -1249,7 +1142,6 @@ async def test_raw_response_record_resume(self, async_client: AsyncTelnyx) -> No action = await response.parse() assert_matches_type(ActionRecordResumeResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_record_resume(self, async_client: AsyncTelnyx) -> None: async with async_client.conferences.actions.with_streaming_response.record_resume( @@ -1263,7 +1155,6 @@ async def test_streaming_response_record_resume(self, async_client: AsyncTelnyx) assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_record_resume(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -1271,7 +1162,6 @@ async def test_path_params_record_resume(self, async_client: AsyncTelnyx) -> Non id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_record_start(self, async_client: AsyncTelnyx) -> None: action = await async_client.conferences.actions.record_start( @@ -1280,7 +1170,6 @@ async def test_method_record_start(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ActionRecordStartResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_record_start_with_all_params(self, async_client: AsyncTelnyx) -> None: action = await async_client.conferences.actions.record_start( @@ -1293,7 +1182,6 @@ async def test_method_record_start_with_all_params(self, async_client: AsyncTeln ) assert_matches_type(ActionRecordStartResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_record_start(self, async_client: AsyncTelnyx) -> None: response = await async_client.conferences.actions.with_raw_response.record_start( @@ -1306,7 +1194,6 @@ async def test_raw_response_record_start(self, async_client: AsyncTelnyx) -> Non action = await response.parse() assert_matches_type(ActionRecordStartResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_record_start(self, async_client: AsyncTelnyx) -> None: async with async_client.conferences.actions.with_streaming_response.record_start( @@ -1321,7 +1208,6 @@ async def test_streaming_response_record_start(self, async_client: AsyncTelnyx) assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_record_start(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -1330,7 +1216,6 @@ async def test_path_params_record_start(self, async_client: AsyncTelnyx) -> None format="wav", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_record_stop(self, async_client: AsyncTelnyx) -> None: action = await async_client.conferences.actions.record_stop( @@ -1338,7 +1223,6 @@ async def test_method_record_stop(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ActionRecordStopResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_record_stop_with_all_params(self, async_client: AsyncTelnyx) -> None: action = await async_client.conferences.actions.record_stop( @@ -1349,7 +1233,6 @@ async def test_method_record_stop_with_all_params(self, async_client: AsyncTelny ) assert_matches_type(ActionRecordStopResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_record_stop(self, async_client: AsyncTelnyx) -> None: response = await async_client.conferences.actions.with_raw_response.record_stop( @@ -1361,7 +1244,6 @@ async def test_raw_response_record_stop(self, async_client: AsyncTelnyx) -> None action = await response.parse() assert_matches_type(ActionRecordStopResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_record_stop(self, async_client: AsyncTelnyx) -> None: async with async_client.conferences.actions.with_streaming_response.record_stop( @@ -1375,7 +1257,6 @@ async def test_streaming_response_record_stop(self, async_client: AsyncTelnyx) - assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_record_stop(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -1383,7 +1264,6 @@ async def test_path_params_record_stop(self, async_client: AsyncTelnyx) -> None: id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_speak(self, async_client: AsyncTelnyx) -> None: action = await async_client.conferences.actions.speak( @@ -1393,7 +1273,6 @@ async def test_method_speak(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ActionSpeakResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_speak_with_all_params(self, async_client: AsyncTelnyx) -> None: action = await async_client.conferences.actions.speak( @@ -1408,7 +1287,6 @@ async def test_method_speak_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(ActionSpeakResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_speak(self, async_client: AsyncTelnyx) -> None: response = await async_client.conferences.actions.with_raw_response.speak( @@ -1422,7 +1300,6 @@ async def test_raw_response_speak(self, async_client: AsyncTelnyx) -> None: action = await response.parse() assert_matches_type(ActionSpeakResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_speak(self, async_client: AsyncTelnyx) -> None: async with async_client.conferences.actions.with_streaming_response.speak( @@ -1438,7 +1315,6 @@ async def test_streaming_response_speak(self, async_client: AsyncTelnyx) -> None assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_speak(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -1448,7 +1324,6 @@ async def test_path_params_speak(self, async_client: AsyncTelnyx) -> None: voice="female", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_stop(self, async_client: AsyncTelnyx) -> None: action = await async_client.conferences.actions.stop( @@ -1456,7 +1331,6 @@ async def test_method_stop(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ActionStopResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_stop_with_all_params(self, async_client: AsyncTelnyx) -> None: action = await async_client.conferences.actions.stop( @@ -1465,7 +1339,6 @@ async def test_method_stop_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(ActionStopResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_stop(self, async_client: AsyncTelnyx) -> None: response = await async_client.conferences.actions.with_raw_response.stop( @@ -1477,7 +1350,6 @@ async def test_raw_response_stop(self, async_client: AsyncTelnyx) -> None: action = await response.parse() assert_matches_type(ActionStopResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_stop(self, async_client: AsyncTelnyx) -> None: async with async_client.conferences.actions.with_streaming_response.stop( @@ -1491,7 +1363,6 @@ async def test_streaming_response_stop(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_stop(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -1499,7 +1370,6 @@ async def test_path_params_stop(self, async_client: AsyncTelnyx) -> None: id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_unhold(self, async_client: AsyncTelnyx) -> None: action = await async_client.conferences.actions.unhold( @@ -1508,7 +1378,6 @@ async def test_method_unhold(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ActionUnholdResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_unhold(self, async_client: AsyncTelnyx) -> None: response = await async_client.conferences.actions.with_raw_response.unhold( @@ -1521,7 +1390,6 @@ async def test_raw_response_unhold(self, async_client: AsyncTelnyx) -> None: action = await response.parse() assert_matches_type(ActionUnholdResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_unhold(self, async_client: AsyncTelnyx) -> None: async with async_client.conferences.actions.with_streaming_response.unhold( @@ -1536,7 +1404,6 @@ async def test_streaming_response_unhold(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_unhold(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -1545,7 +1412,6 @@ async def test_path_params_unhold(self, async_client: AsyncTelnyx) -> None: call_control_ids=["v3:MdI91X4lWFEs7IgbBEOT9M4AigoY08M0WWZFISt1Yw2axZ_IiE4pqg"], ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_unmute(self, async_client: AsyncTelnyx) -> None: action = await async_client.conferences.actions.unmute( @@ -1553,7 +1419,6 @@ async def test_method_unmute(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ActionUnmuteResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_unmute_with_all_params(self, async_client: AsyncTelnyx) -> None: action = await async_client.conferences.actions.unmute( @@ -1562,7 +1427,6 @@ async def test_method_unmute_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(ActionUnmuteResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_unmute(self, async_client: AsyncTelnyx) -> None: response = await async_client.conferences.actions.with_raw_response.unmute( @@ -1574,7 +1438,6 @@ async def test_raw_response_unmute(self, async_client: AsyncTelnyx) -> None: action = await response.parse() assert_matches_type(ActionUnmuteResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_unmute(self, async_client: AsyncTelnyx) -> None: async with async_client.conferences.actions.with_streaming_response.unmute( @@ -1588,7 +1451,6 @@ async def test_streaming_response_unmute(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_unmute(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): diff --git a/tests/api_resources/credential_connections/test_actions.py b/tests/api_resources/credential_connections/test_actions.py index 96740b21..4ba3b9da 100644 --- a/tests/api_resources/credential_connections/test_actions.py +++ b/tests/api_resources/credential_connections/test_actions.py @@ -17,7 +17,6 @@ class TestActions: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_check_registration_status(self, client: Telnyx) -> None: action = client.credential_connections.actions.check_registration_status( @@ -25,7 +24,6 @@ def test_method_check_registration_status(self, client: Telnyx) -> None: ) assert_matches_type(ActionCheckRegistrationStatusResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_check_registration_status(self, client: Telnyx) -> None: response = client.credential_connections.actions.with_raw_response.check_registration_status( @@ -37,7 +35,6 @@ def test_raw_response_check_registration_status(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionCheckRegistrationStatusResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_check_registration_status(self, client: Telnyx) -> None: with client.credential_connections.actions.with_streaming_response.check_registration_status( @@ -51,7 +48,6 @@ def test_streaming_response_check_registration_status(self, client: Telnyx) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_check_registration_status(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -65,7 +61,6 @@ class TestAsyncActions: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_check_registration_status(self, async_client: AsyncTelnyx) -> None: action = await async_client.credential_connections.actions.check_registration_status( @@ -73,7 +68,6 @@ async def test_method_check_registration_status(self, async_client: AsyncTelnyx) ) assert_matches_type(ActionCheckRegistrationStatusResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_check_registration_status(self, async_client: AsyncTelnyx) -> None: response = await async_client.credential_connections.actions.with_raw_response.check_registration_status( @@ -85,7 +79,6 @@ async def test_raw_response_check_registration_status(self, async_client: AsyncT action = await response.parse() assert_matches_type(ActionCheckRegistrationStatusResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_check_registration_status(self, async_client: AsyncTelnyx) -> None: async with async_client.credential_connections.actions.with_streaming_response.check_registration_status( @@ -99,7 +92,6 @@ async def test_streaming_response_check_registration_status(self, async_client: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_check_registration_status(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): diff --git a/tests/api_resources/external_connections/test_civic_addresses.py b/tests/api_resources/external_connections/test_civic_addresses.py index 88553cce..f28a551d 100644 --- a/tests/api_resources/external_connections/test_civic_addresses.py +++ b/tests/api_resources/external_connections/test_civic_addresses.py @@ -20,7 +20,6 @@ class TestCivicAddresses: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: civic_address = client.external_connections.civic_addresses.retrieve( @@ -29,7 +28,6 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(CivicAddressRetrieveResponse, civic_address, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.external_connections.civic_addresses.with_raw_response.retrieve( @@ -42,7 +40,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: civic_address = response.parse() assert_matches_type(CivicAddressRetrieveResponse, civic_address, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.external_connections.civic_addresses.with_streaming_response.retrieve( @@ -57,7 +54,6 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -72,7 +68,6 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: id="id", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: civic_address = client.external_connections.civic_addresses.list( @@ -80,7 +75,6 @@ def test_method_list(self, client: Telnyx) -> None: ) assert_matches_type(CivicAddressListResponse, civic_address, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: civic_address = client.external_connections.civic_addresses.list( @@ -89,7 +83,6 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(CivicAddressListResponse, civic_address, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.external_connections.civic_addresses.with_raw_response.list( @@ -101,7 +94,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: civic_address = response.parse() assert_matches_type(CivicAddressListResponse, civic_address, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.external_connections.civic_addresses.with_streaming_response.list( @@ -115,7 +107,6 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_list(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -129,7 +120,6 @@ class TestAsyncCivicAddresses: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: civic_address = await async_client.external_connections.civic_addresses.retrieve( @@ -138,7 +128,6 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(CivicAddressRetrieveResponse, civic_address, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.external_connections.civic_addresses.with_raw_response.retrieve( @@ -151,7 +140,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: civic_address = await response.parse() assert_matches_type(CivicAddressRetrieveResponse, civic_address, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.external_connections.civic_addresses.with_streaming_response.retrieve( @@ -166,7 +154,6 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -181,7 +168,6 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: id="id", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: civic_address = await async_client.external_connections.civic_addresses.list( @@ -189,7 +175,6 @@ async def test_method_list(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(CivicAddressListResponse, civic_address, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: civic_address = await async_client.external_connections.civic_addresses.list( @@ -198,7 +183,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(CivicAddressListResponse, civic_address, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.external_connections.civic_addresses.with_raw_response.list( @@ -210,7 +194,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: civic_address = await response.parse() assert_matches_type(CivicAddressListResponse, civic_address, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.external_connections.civic_addresses.with_streaming_response.list( @@ -224,7 +207,6 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_list(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): diff --git a/tests/api_resources/external_connections/test_log_messages.py b/tests/api_resources/external_connections/test_log_messages.py index 393254a8..7a38ca67 100644 --- a/tests/api_resources/external_connections/test_log_messages.py +++ b/tests/api_resources/external_connections/test_log_messages.py @@ -21,7 +21,6 @@ class TestLogMessages: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: log_message = client.external_connections.log_messages.retrieve( @@ -29,7 +28,6 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(LogMessageRetrieveResponse, log_message, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.external_connections.log_messages.with_raw_response.retrieve( @@ -41,7 +39,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: log_message = response.parse() assert_matches_type(LogMessageRetrieveResponse, log_message, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.external_connections.log_messages.with_streaming_response.retrieve( @@ -55,7 +52,6 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -63,13 +59,11 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: log_message = client.external_connections.log_messages.list() assert_matches_type(LogMessageListResponse, log_message, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: log_message = client.external_connections.log_messages.list( @@ -87,7 +81,6 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(LogMessageListResponse, log_message, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.external_connections.log_messages.with_raw_response.list() @@ -97,7 +90,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: log_message = response.parse() assert_matches_type(LogMessageListResponse, log_message, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.external_connections.log_messages.with_streaming_response.list() as response: @@ -109,7 +101,6 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_dismiss(self, client: Telnyx) -> None: log_message = client.external_connections.log_messages.dismiss( @@ -117,7 +108,6 @@ def test_method_dismiss(self, client: Telnyx) -> None: ) assert_matches_type(LogMessageDismissResponse, log_message, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_dismiss(self, client: Telnyx) -> None: response = client.external_connections.log_messages.with_raw_response.dismiss( @@ -129,7 +119,6 @@ def test_raw_response_dismiss(self, client: Telnyx) -> None: log_message = response.parse() assert_matches_type(LogMessageDismissResponse, log_message, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_dismiss(self, client: Telnyx) -> None: with client.external_connections.log_messages.with_streaming_response.dismiss( @@ -143,7 +132,6 @@ def test_streaming_response_dismiss(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_dismiss(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -157,7 +145,6 @@ class TestAsyncLogMessages: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: log_message = await async_client.external_connections.log_messages.retrieve( @@ -165,7 +152,6 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(LogMessageRetrieveResponse, log_message, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.external_connections.log_messages.with_raw_response.retrieve( @@ -177,7 +163,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: log_message = await response.parse() assert_matches_type(LogMessageRetrieveResponse, log_message, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.external_connections.log_messages.with_streaming_response.retrieve( @@ -191,7 +176,6 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -199,13 +183,11 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: log_message = await async_client.external_connections.log_messages.list() assert_matches_type(LogMessageListResponse, log_message, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: log_message = await async_client.external_connections.log_messages.list( @@ -223,7 +205,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(LogMessageListResponse, log_message, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.external_connections.log_messages.with_raw_response.list() @@ -233,7 +214,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: log_message = await response.parse() assert_matches_type(LogMessageListResponse, log_message, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.external_connections.log_messages.with_streaming_response.list() as response: @@ -245,7 +225,6 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_dismiss(self, async_client: AsyncTelnyx) -> None: log_message = await async_client.external_connections.log_messages.dismiss( @@ -253,7 +232,6 @@ async def test_method_dismiss(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(LogMessageDismissResponse, log_message, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_dismiss(self, async_client: AsyncTelnyx) -> None: response = await async_client.external_connections.log_messages.with_raw_response.dismiss( @@ -265,7 +243,6 @@ async def test_raw_response_dismiss(self, async_client: AsyncTelnyx) -> None: log_message = await response.parse() assert_matches_type(LogMessageDismissResponse, log_message, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_dismiss(self, async_client: AsyncTelnyx) -> None: async with async_client.external_connections.log_messages.with_streaming_response.dismiss( @@ -279,7 +256,6 @@ async def test_streaming_response_dismiss(self, async_client: AsyncTelnyx) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_dismiss(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): diff --git a/tests/api_resources/external_connections/test_phone_numbers.py b/tests/api_resources/external_connections/test_phone_numbers.py index 384ca9e6..859fe568 100644 --- a/tests/api_resources/external_connections/test_phone_numbers.py +++ b/tests/api_resources/external_connections/test_phone_numbers.py @@ -21,7 +21,6 @@ class TestPhoneNumbers: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: phone_number = client.external_connections.phone_numbers.retrieve( @@ -30,7 +29,6 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(PhoneNumberRetrieveResponse, phone_number, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.external_connections.phone_numbers.with_raw_response.retrieve( @@ -43,7 +41,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: phone_number = response.parse() assert_matches_type(PhoneNumberRetrieveResponse, phone_number, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.external_connections.phone_numbers.with_streaming_response.retrieve( @@ -58,7 +55,6 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -73,7 +69,6 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: id="id", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update(self, client: Telnyx) -> None: phone_number = client.external_connections.phone_numbers.update( @@ -82,7 +77,6 @@ def test_method_update(self, client: Telnyx) -> None: ) assert_matches_type(PhoneNumberUpdateResponse, phone_number, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_with_all_params(self, client: Telnyx) -> None: phone_number = client.external_connections.phone_numbers.update( @@ -92,7 +86,6 @@ def test_method_update_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(PhoneNumberUpdateResponse, phone_number, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update(self, client: Telnyx) -> None: response = client.external_connections.phone_numbers.with_raw_response.update( @@ -105,7 +98,6 @@ def test_raw_response_update(self, client: Telnyx) -> None: phone_number = response.parse() assert_matches_type(PhoneNumberUpdateResponse, phone_number, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update(self, client: Telnyx) -> None: with client.external_connections.phone_numbers.with_streaming_response.update( @@ -120,7 +112,6 @@ def test_streaming_response_update(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -135,7 +126,6 @@ def test_path_params_update(self, client: Telnyx) -> None: id="id", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: phone_number = client.external_connections.phone_numbers.list( @@ -143,7 +133,6 @@ def test_method_list(self, client: Telnyx) -> None: ) assert_matches_type(PhoneNumberListResponse, phone_number, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: phone_number = client.external_connections.phone_numbers.list( @@ -163,7 +152,6 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(PhoneNumberListResponse, phone_number, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.external_connections.phone_numbers.with_raw_response.list( @@ -175,7 +163,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: phone_number = response.parse() assert_matches_type(PhoneNumberListResponse, phone_number, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.external_connections.phone_numbers.with_streaming_response.list( @@ -189,7 +176,6 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_list(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -203,7 +189,6 @@ class TestAsyncPhoneNumbers: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: phone_number = await async_client.external_connections.phone_numbers.retrieve( @@ -212,7 +197,6 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(PhoneNumberRetrieveResponse, phone_number, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.external_connections.phone_numbers.with_raw_response.retrieve( @@ -225,7 +209,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: phone_number = await response.parse() assert_matches_type(PhoneNumberRetrieveResponse, phone_number, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.external_connections.phone_numbers.with_streaming_response.retrieve( @@ -240,7 +223,6 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -255,7 +237,6 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: id="id", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update(self, async_client: AsyncTelnyx) -> None: phone_number = await async_client.external_connections.phone_numbers.update( @@ -264,7 +245,6 @@ async def test_method_update(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(PhoneNumberUpdateResponse, phone_number, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> None: phone_number = await async_client.external_connections.phone_numbers.update( @@ -274,7 +254,6 @@ async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(PhoneNumberUpdateResponse, phone_number, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: response = await async_client.external_connections.phone_numbers.with_raw_response.update( @@ -287,7 +266,6 @@ async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: phone_number = await response.parse() assert_matches_type(PhoneNumberUpdateResponse, phone_number, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> None: async with async_client.external_connections.phone_numbers.with_streaming_response.update( @@ -302,7 +280,6 @@ async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -317,7 +294,6 @@ async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: id="id", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: phone_number = await async_client.external_connections.phone_numbers.list( @@ -325,7 +301,6 @@ async def test_method_list(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(PhoneNumberListResponse, phone_number, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: phone_number = await async_client.external_connections.phone_numbers.list( @@ -345,7 +320,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(PhoneNumberListResponse, phone_number, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.external_connections.phone_numbers.with_raw_response.list( @@ -357,7 +331,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: phone_number = await response.parse() assert_matches_type(PhoneNumberListResponse, phone_number, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.external_connections.phone_numbers.with_streaming_response.list( @@ -371,7 +344,6 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_list(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): diff --git a/tests/api_resources/external_connections/test_releases.py b/tests/api_resources/external_connections/test_releases.py index b2c369db..807a9215 100644 --- a/tests/api_resources/external_connections/test_releases.py +++ b/tests/api_resources/external_connections/test_releases.py @@ -17,7 +17,6 @@ class TestReleases: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: release = client.external_connections.releases.retrieve( @@ -26,7 +25,6 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(ReleaseRetrieveResponse, release, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.external_connections.releases.with_raw_response.retrieve( @@ -39,7 +37,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: release = response.parse() assert_matches_type(ReleaseRetrieveResponse, release, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.external_connections.releases.with_streaming_response.retrieve( @@ -54,7 +51,6 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -69,7 +65,6 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: id="id", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: release = client.external_connections.releases.list( @@ -77,7 +72,6 @@ def test_method_list(self, client: Telnyx) -> None: ) assert_matches_type(ReleaseListResponse, release, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: release = client.external_connections.releases.list( @@ -98,7 +92,6 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ReleaseListResponse, release, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.external_connections.releases.with_raw_response.list( @@ -110,7 +103,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: release = response.parse() assert_matches_type(ReleaseListResponse, release, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.external_connections.releases.with_streaming_response.list( @@ -124,7 +116,6 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_list(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -138,7 +129,6 @@ class TestAsyncReleases: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: release = await async_client.external_connections.releases.retrieve( @@ -147,7 +137,6 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ReleaseRetrieveResponse, release, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.external_connections.releases.with_raw_response.retrieve( @@ -160,7 +149,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: release = await response.parse() assert_matches_type(ReleaseRetrieveResponse, release, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.external_connections.releases.with_streaming_response.retrieve( @@ -175,7 +163,6 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -190,7 +177,6 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: id="id", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: release = await async_client.external_connections.releases.list( @@ -198,7 +184,6 @@ async def test_method_list(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ReleaseListResponse, release, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: release = await async_client.external_connections.releases.list( @@ -219,7 +204,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(ReleaseListResponse, release, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.external_connections.releases.with_raw_response.list( @@ -231,7 +215,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: release = await response.parse() assert_matches_type(ReleaseListResponse, release, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.external_connections.releases.with_streaming_response.list( @@ -245,7 +228,6 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_list(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): diff --git a/tests/api_resources/external_connections/test_uploads.py b/tests/api_resources/external_connections/test_uploads.py index 699606cf..f7fce944 100644 --- a/tests/api_resources/external_connections/test_uploads.py +++ b/tests/api_resources/external_connections/test_uploads.py @@ -24,7 +24,6 @@ class TestUploads: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: upload = client.external_connections.uploads.create( @@ -33,7 +32,6 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(UploadCreateResponse, upload, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: upload = client.external_connections.uploads.create( @@ -46,7 +44,6 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(UploadCreateResponse, upload, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.external_connections.uploads.with_raw_response.create( @@ -59,7 +56,6 @@ def test_raw_response_create(self, client: Telnyx) -> None: upload = response.parse() assert_matches_type(UploadCreateResponse, upload, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.external_connections.uploads.with_streaming_response.create( @@ -74,7 +70,6 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_create(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -83,7 +78,6 @@ def test_path_params_create(self, client: Telnyx) -> None: number_ids=["3920457616934164700", "3920457616934164701", "3920457616934164702", "3920457616934164703"], ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: upload = client.external_connections.uploads.retrieve( @@ -92,7 +86,6 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(UploadRetrieveResponse, upload, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.external_connections.uploads.with_raw_response.retrieve( @@ -105,7 +98,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: upload = response.parse() assert_matches_type(UploadRetrieveResponse, upload, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.external_connections.uploads.with_streaming_response.retrieve( @@ -120,7 +112,6 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -135,7 +126,6 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: id="id", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: upload = client.external_connections.uploads.list( @@ -143,7 +133,6 @@ def test_method_list(self, client: Telnyx) -> None: ) assert_matches_type(UploadListResponse, upload, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: upload = client.external_connections.uploads.list( @@ -164,7 +153,6 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(UploadListResponse, upload, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.external_connections.uploads.with_raw_response.list( @@ -176,7 +164,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: upload = response.parse() assert_matches_type(UploadListResponse, upload, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.external_connections.uploads.with_streaming_response.list( @@ -190,7 +177,6 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_list(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -198,7 +184,6 @@ def test_path_params_list(self, client: Telnyx) -> None: id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_pending_count(self, client: Telnyx) -> None: upload = client.external_connections.uploads.pending_count( @@ -206,7 +191,6 @@ def test_method_pending_count(self, client: Telnyx) -> None: ) assert_matches_type(UploadPendingCountResponse, upload, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_pending_count(self, client: Telnyx) -> None: response = client.external_connections.uploads.with_raw_response.pending_count( @@ -218,7 +202,6 @@ def test_raw_response_pending_count(self, client: Telnyx) -> None: upload = response.parse() assert_matches_type(UploadPendingCountResponse, upload, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_pending_count(self, client: Telnyx) -> None: with client.external_connections.uploads.with_streaming_response.pending_count( @@ -232,7 +215,6 @@ def test_streaming_response_pending_count(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_pending_count(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -240,7 +222,6 @@ def test_path_params_pending_count(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_refresh_status(self, client: Telnyx) -> None: upload = client.external_connections.uploads.refresh_status( @@ -248,7 +229,6 @@ def test_method_refresh_status(self, client: Telnyx) -> None: ) assert_matches_type(UploadRefreshStatusResponse, upload, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_refresh_status(self, client: Telnyx) -> None: response = client.external_connections.uploads.with_raw_response.refresh_status( @@ -260,7 +240,6 @@ def test_raw_response_refresh_status(self, client: Telnyx) -> None: upload = response.parse() assert_matches_type(UploadRefreshStatusResponse, upload, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_refresh_status(self, client: Telnyx) -> None: with client.external_connections.uploads.with_streaming_response.refresh_status( @@ -274,7 +253,6 @@ def test_streaming_response_refresh_status(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_refresh_status(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -282,7 +260,6 @@ def test_path_params_refresh_status(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retry(self, client: Telnyx) -> None: upload = client.external_connections.uploads.retry( @@ -291,7 +268,6 @@ def test_method_retry(self, client: Telnyx) -> None: ) assert_matches_type(UploadRetryResponse, upload, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retry(self, client: Telnyx) -> None: response = client.external_connections.uploads.with_raw_response.retry( @@ -304,7 +280,6 @@ def test_raw_response_retry(self, client: Telnyx) -> None: upload = response.parse() assert_matches_type(UploadRetryResponse, upload, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retry(self, client: Telnyx) -> None: with client.external_connections.uploads.with_streaming_response.retry( @@ -319,7 +294,6 @@ def test_streaming_response_retry(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retry(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -340,7 +314,6 @@ class TestAsyncUploads: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: upload = await async_client.external_connections.uploads.create( @@ -349,7 +322,6 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(UploadCreateResponse, upload, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: upload = await async_client.external_connections.uploads.create( @@ -362,7 +334,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(UploadCreateResponse, upload, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.external_connections.uploads.with_raw_response.create( @@ -375,7 +346,6 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: upload = await response.parse() assert_matches_type(UploadCreateResponse, upload, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.external_connections.uploads.with_streaming_response.create( @@ -390,7 +360,6 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_create(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -399,7 +368,6 @@ async def test_path_params_create(self, async_client: AsyncTelnyx) -> None: number_ids=["3920457616934164700", "3920457616934164701", "3920457616934164702", "3920457616934164703"], ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: upload = await async_client.external_connections.uploads.retrieve( @@ -408,7 +376,6 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(UploadRetrieveResponse, upload, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.external_connections.uploads.with_raw_response.retrieve( @@ -421,7 +388,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: upload = await response.parse() assert_matches_type(UploadRetrieveResponse, upload, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.external_connections.uploads.with_streaming_response.retrieve( @@ -436,7 +402,6 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -451,7 +416,6 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: id="id", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: upload = await async_client.external_connections.uploads.list( @@ -459,7 +423,6 @@ async def test_method_list(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(UploadListResponse, upload, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: upload = await async_client.external_connections.uploads.list( @@ -480,7 +443,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(UploadListResponse, upload, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.external_connections.uploads.with_raw_response.list( @@ -492,7 +454,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: upload = await response.parse() assert_matches_type(UploadListResponse, upload, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.external_connections.uploads.with_streaming_response.list( @@ -506,7 +467,6 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_list(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -514,7 +474,6 @@ async def test_path_params_list(self, async_client: AsyncTelnyx) -> None: id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_pending_count(self, async_client: AsyncTelnyx) -> None: upload = await async_client.external_connections.uploads.pending_count( @@ -522,7 +481,6 @@ async def test_method_pending_count(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(UploadPendingCountResponse, upload, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_pending_count(self, async_client: AsyncTelnyx) -> None: response = await async_client.external_connections.uploads.with_raw_response.pending_count( @@ -534,7 +492,6 @@ async def test_raw_response_pending_count(self, async_client: AsyncTelnyx) -> No upload = await response.parse() assert_matches_type(UploadPendingCountResponse, upload, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_pending_count(self, async_client: AsyncTelnyx) -> None: async with async_client.external_connections.uploads.with_streaming_response.pending_count( @@ -548,7 +505,6 @@ async def test_streaming_response_pending_count(self, async_client: AsyncTelnyx) assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_pending_count(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -556,7 +512,6 @@ async def test_path_params_pending_count(self, async_client: AsyncTelnyx) -> Non "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_refresh_status(self, async_client: AsyncTelnyx) -> None: upload = await async_client.external_connections.uploads.refresh_status( @@ -564,7 +519,6 @@ async def test_method_refresh_status(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(UploadRefreshStatusResponse, upload, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_refresh_status(self, async_client: AsyncTelnyx) -> None: response = await async_client.external_connections.uploads.with_raw_response.refresh_status( @@ -576,7 +530,6 @@ async def test_raw_response_refresh_status(self, async_client: AsyncTelnyx) -> N upload = await response.parse() assert_matches_type(UploadRefreshStatusResponse, upload, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_refresh_status(self, async_client: AsyncTelnyx) -> None: async with async_client.external_connections.uploads.with_streaming_response.refresh_status( @@ -590,7 +543,6 @@ async def test_streaming_response_refresh_status(self, async_client: AsyncTelnyx assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_refresh_status(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -598,7 +550,6 @@ async def test_path_params_refresh_status(self, async_client: AsyncTelnyx) -> No "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retry(self, async_client: AsyncTelnyx) -> None: upload = await async_client.external_connections.uploads.retry( @@ -607,7 +558,6 @@ async def test_method_retry(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(UploadRetryResponse, upload, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retry(self, async_client: AsyncTelnyx) -> None: response = await async_client.external_connections.uploads.with_raw_response.retry( @@ -620,7 +570,6 @@ async def test_raw_response_retry(self, async_client: AsyncTelnyx) -> None: upload = await response.parse() assert_matches_type(UploadRetryResponse, upload, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retry(self, async_client: AsyncTelnyx) -> None: async with async_client.external_connections.uploads.with_streaming_response.retry( @@ -635,7 +584,6 @@ async def test_streaming_response_retry(self, async_client: AsyncTelnyx) -> None assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retry(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): diff --git a/tests/api_resources/faxes/test_actions.py b/tests/api_resources/faxes/test_actions.py index fb601024..d0301117 100644 --- a/tests/api_resources/faxes/test_actions.py +++ b/tests/api_resources/faxes/test_actions.py @@ -17,7 +17,6 @@ class TestActions: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_cancel(self, client: Telnyx) -> None: action = client.faxes.actions.cancel( @@ -25,7 +24,6 @@ def test_method_cancel(self, client: Telnyx) -> None: ) assert_matches_type(ActionCancelResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_cancel(self, client: Telnyx) -> None: response = client.faxes.actions.with_raw_response.cancel( @@ -37,7 +35,6 @@ def test_raw_response_cancel(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionCancelResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_cancel(self, client: Telnyx) -> None: with client.faxes.actions.with_streaming_response.cancel( @@ -51,7 +48,6 @@ def test_streaming_response_cancel(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_cancel(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -59,7 +55,6 @@ def test_path_params_cancel(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_refresh(self, client: Telnyx) -> None: action = client.faxes.actions.refresh( @@ -67,7 +62,6 @@ def test_method_refresh(self, client: Telnyx) -> None: ) assert_matches_type(ActionRefreshResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_refresh(self, client: Telnyx) -> None: response = client.faxes.actions.with_raw_response.refresh( @@ -79,7 +73,6 @@ def test_raw_response_refresh(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionRefreshResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_refresh(self, client: Telnyx) -> None: with client.faxes.actions.with_streaming_response.refresh( @@ -93,7 +86,6 @@ def test_streaming_response_refresh(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_refresh(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -107,7 +99,6 @@ class TestAsyncActions: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_cancel(self, async_client: AsyncTelnyx) -> None: action = await async_client.faxes.actions.cancel( @@ -115,7 +106,6 @@ async def test_method_cancel(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ActionCancelResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_cancel(self, async_client: AsyncTelnyx) -> None: response = await async_client.faxes.actions.with_raw_response.cancel( @@ -127,7 +117,6 @@ async def test_raw_response_cancel(self, async_client: AsyncTelnyx) -> None: action = await response.parse() assert_matches_type(ActionCancelResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_cancel(self, async_client: AsyncTelnyx) -> None: async with async_client.faxes.actions.with_streaming_response.cancel( @@ -141,7 +130,6 @@ async def test_streaming_response_cancel(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_cancel(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -149,7 +137,6 @@ async def test_path_params_cancel(self, async_client: AsyncTelnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_refresh(self, async_client: AsyncTelnyx) -> None: action = await async_client.faxes.actions.refresh( @@ -157,7 +144,6 @@ async def test_method_refresh(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ActionRefreshResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_refresh(self, async_client: AsyncTelnyx) -> None: response = await async_client.faxes.actions.with_raw_response.refresh( @@ -169,7 +155,6 @@ async def test_raw_response_refresh(self, async_client: AsyncTelnyx) -> None: action = await response.parse() assert_matches_type(ActionRefreshResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_refresh(self, async_client: AsyncTelnyx) -> None: async with async_client.faxes.actions.with_streaming_response.refresh( @@ -183,7 +168,6 @@ async def test_streaming_response_refresh(self, async_client: AsyncTelnyx) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_refresh(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): diff --git a/tests/api_resources/managed_accounts/test_actions.py b/tests/api_resources/managed_accounts/test_actions.py index add97628..e72bc71a 100644 --- a/tests/api_resources/managed_accounts/test_actions.py +++ b/tests/api_resources/managed_accounts/test_actions.py @@ -17,7 +17,6 @@ class TestActions: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_disable(self, client: Telnyx) -> None: action = client.managed_accounts.actions.disable( @@ -25,7 +24,6 @@ def test_method_disable(self, client: Telnyx) -> None: ) assert_matches_type(ActionDisableResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_disable(self, client: Telnyx) -> None: response = client.managed_accounts.actions.with_raw_response.disable( @@ -37,7 +35,6 @@ def test_raw_response_disable(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionDisableResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_disable(self, client: Telnyx) -> None: with client.managed_accounts.actions.with_streaming_response.disable( @@ -51,7 +48,6 @@ def test_streaming_response_disable(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_disable(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -59,7 +55,6 @@ def test_path_params_disable(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_enable(self, client: Telnyx) -> None: action = client.managed_accounts.actions.enable( @@ -67,7 +62,6 @@ def test_method_enable(self, client: Telnyx) -> None: ) assert_matches_type(ActionEnableResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_enable_with_all_params(self, client: Telnyx) -> None: action = client.managed_accounts.actions.enable( @@ -76,7 +70,6 @@ def test_method_enable_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ActionEnableResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_enable(self, client: Telnyx) -> None: response = client.managed_accounts.actions.with_raw_response.enable( @@ -88,7 +81,6 @@ def test_raw_response_enable(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionEnableResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_enable(self, client: Telnyx) -> None: with client.managed_accounts.actions.with_streaming_response.enable( @@ -102,7 +94,6 @@ def test_streaming_response_enable(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_enable(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -116,7 +107,6 @@ class TestAsyncActions: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_disable(self, async_client: AsyncTelnyx) -> None: action = await async_client.managed_accounts.actions.disable( @@ -124,7 +114,6 @@ async def test_method_disable(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ActionDisableResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_disable(self, async_client: AsyncTelnyx) -> None: response = await async_client.managed_accounts.actions.with_raw_response.disable( @@ -136,7 +125,6 @@ async def test_raw_response_disable(self, async_client: AsyncTelnyx) -> None: action = await response.parse() assert_matches_type(ActionDisableResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_disable(self, async_client: AsyncTelnyx) -> None: async with async_client.managed_accounts.actions.with_streaming_response.disable( @@ -150,7 +138,6 @@ async def test_streaming_response_disable(self, async_client: AsyncTelnyx) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_disable(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -158,7 +145,6 @@ async def test_path_params_disable(self, async_client: AsyncTelnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_enable(self, async_client: AsyncTelnyx) -> None: action = await async_client.managed_accounts.actions.enable( @@ -166,7 +152,6 @@ async def test_method_enable(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ActionEnableResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_enable_with_all_params(self, async_client: AsyncTelnyx) -> None: action = await async_client.managed_accounts.actions.enable( @@ -175,7 +160,6 @@ async def test_method_enable_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(ActionEnableResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_enable(self, async_client: AsyncTelnyx) -> None: response = await async_client.managed_accounts.actions.with_raw_response.enable( @@ -187,7 +171,6 @@ async def test_raw_response_enable(self, async_client: AsyncTelnyx) -> None: action = await response.parse() assert_matches_type(ActionEnableResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_enable(self, async_client: AsyncTelnyx) -> None: async with async_client.managed_accounts.actions.with_streaming_response.enable( @@ -201,7 +184,6 @@ async def test_streaming_response_enable(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_enable(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): diff --git a/tests/api_resources/messages/test_rcs.py b/tests/api_resources/messages/test_rcs.py index 8e653f21..e229674d 100644 --- a/tests/api_resources/messages/test_rcs.py +++ b/tests/api_resources/messages/test_rcs.py @@ -17,7 +17,6 @@ class TestRcs: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_generate_deeplink(self, client: Telnyx) -> None: rc = client.messages.rcs.generate_deeplink( @@ -25,7 +24,6 @@ def test_method_generate_deeplink(self, client: Telnyx) -> None: ) assert_matches_type(RcGenerateDeeplinkResponse, rc, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_generate_deeplink_with_all_params(self, client: Telnyx) -> None: rc = client.messages.rcs.generate_deeplink( @@ -35,7 +33,6 @@ def test_method_generate_deeplink_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(RcGenerateDeeplinkResponse, rc, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_generate_deeplink(self, client: Telnyx) -> None: response = client.messages.rcs.with_raw_response.generate_deeplink( @@ -47,7 +44,6 @@ def test_raw_response_generate_deeplink(self, client: Telnyx) -> None: rc = response.parse() assert_matches_type(RcGenerateDeeplinkResponse, rc, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_generate_deeplink(self, client: Telnyx) -> None: with client.messages.rcs.with_streaming_response.generate_deeplink( @@ -61,7 +57,6 @@ def test_streaming_response_generate_deeplink(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_generate_deeplink(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `agent_id` but received ''"): @@ -75,7 +70,6 @@ class TestAsyncRcs: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_generate_deeplink(self, async_client: AsyncTelnyx) -> None: rc = await async_client.messages.rcs.generate_deeplink( @@ -83,7 +77,6 @@ async def test_method_generate_deeplink(self, async_client: AsyncTelnyx) -> None ) assert_matches_type(RcGenerateDeeplinkResponse, rc, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_generate_deeplink_with_all_params(self, async_client: AsyncTelnyx) -> None: rc = await async_client.messages.rcs.generate_deeplink( @@ -93,7 +86,6 @@ async def test_method_generate_deeplink_with_all_params(self, async_client: Asyn ) assert_matches_type(RcGenerateDeeplinkResponse, rc, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_generate_deeplink(self, async_client: AsyncTelnyx) -> None: response = await async_client.messages.rcs.with_raw_response.generate_deeplink( @@ -105,7 +97,6 @@ async def test_raw_response_generate_deeplink(self, async_client: AsyncTelnyx) - rc = await response.parse() assert_matches_type(RcGenerateDeeplinkResponse, rc, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_generate_deeplink(self, async_client: AsyncTelnyx) -> None: async with async_client.messages.rcs.with_streaming_response.generate_deeplink( @@ -119,7 +110,6 @@ async def test_streaming_response_generate_deeplink(self, async_client: AsyncTel assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_generate_deeplink(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `agent_id` but received ''"): diff --git a/tests/api_resources/messaging/rcs/test_agents.py b/tests/api_resources/messaging/rcs/test_agents.py index 3fb214cf..ac86083b 100644 --- a/tests/api_resources/messaging/rcs/test_agents.py +++ b/tests/api_resources/messaging/rcs/test_agents.py @@ -18,7 +18,6 @@ class TestAgents: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: agent = client.messaging.rcs.agents.retrieve( @@ -26,7 +25,6 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(RcsAgentResponse, agent, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.messaging.rcs.agents.with_raw_response.retrieve( @@ -38,7 +36,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: agent = response.parse() assert_matches_type(RcsAgentResponse, agent, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.messaging.rcs.agents.with_streaming_response.retrieve( @@ -52,7 +49,6 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -60,7 +56,6 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update(self, client: Telnyx) -> None: agent = client.messaging.rcs.agents.update( @@ -68,7 +63,6 @@ def test_method_update(self, client: Telnyx) -> None: ) assert_matches_type(RcsAgentResponse, agent, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_with_all_params(self, client: Telnyx) -> None: agent = client.messaging.rcs.agents.update( @@ -79,7 +73,6 @@ def test_method_update_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(RcsAgentResponse, agent, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update(self, client: Telnyx) -> None: response = client.messaging.rcs.agents.with_raw_response.update( @@ -91,7 +84,6 @@ def test_raw_response_update(self, client: Telnyx) -> None: agent = response.parse() assert_matches_type(RcsAgentResponse, agent, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update(self, client: Telnyx) -> None: with client.messaging.rcs.agents.with_streaming_response.update( @@ -105,7 +97,6 @@ def test_streaming_response_update(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -113,13 +104,11 @@ def test_path_params_update(self, client: Telnyx) -> None: id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: agent = client.messaging.rcs.agents.list() assert_matches_type(AgentListResponse, agent, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: agent = client.messaging.rcs.agents.list( @@ -130,7 +119,6 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(AgentListResponse, agent, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.messaging.rcs.agents.with_raw_response.list() @@ -140,7 +128,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: agent = response.parse() assert_matches_type(AgentListResponse, agent, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.messaging.rcs.agents.with_streaming_response.list() as response: @@ -158,7 +145,6 @@ class TestAsyncAgents: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: agent = await async_client.messaging.rcs.agents.retrieve( @@ -166,7 +152,6 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(RcsAgentResponse, agent, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.messaging.rcs.agents.with_raw_response.retrieve( @@ -178,7 +163,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: agent = await response.parse() assert_matches_type(RcsAgentResponse, agent, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.messaging.rcs.agents.with_streaming_response.retrieve( @@ -192,7 +176,6 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -200,7 +183,6 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update(self, async_client: AsyncTelnyx) -> None: agent = await async_client.messaging.rcs.agents.update( @@ -208,7 +190,6 @@ async def test_method_update(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(RcsAgentResponse, agent, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> None: agent = await async_client.messaging.rcs.agents.update( @@ -219,7 +200,6 @@ async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(RcsAgentResponse, agent, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: response = await async_client.messaging.rcs.agents.with_raw_response.update( @@ -231,7 +211,6 @@ async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: agent = await response.parse() assert_matches_type(RcsAgentResponse, agent, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> None: async with async_client.messaging.rcs.agents.with_streaming_response.update( @@ -245,7 +224,6 @@ async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -253,13 +231,11 @@ async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: agent = await async_client.messaging.rcs.agents.list() assert_matches_type(AgentListResponse, agent, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: agent = await async_client.messaging.rcs.agents.list( @@ -270,7 +246,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(AgentListResponse, agent, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.messaging.rcs.agents.with_raw_response.list() @@ -280,7 +255,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: agent = await response.parse() assert_matches_type(AgentListResponse, agent, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.messaging.rcs.agents.with_streaming_response.list() as response: diff --git a/tests/api_resources/messaging/test_rcs.py b/tests/api_resources/messaging/test_rcs.py index 3b71375e..9b2991e6 100644 --- a/tests/api_resources/messaging/test_rcs.py +++ b/tests/api_resources/messaging/test_rcs.py @@ -21,7 +21,6 @@ class TestRcs: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_invite_test_number(self, client: Telnyx) -> None: rc = client.messaging.rcs.invite_test_number( @@ -30,7 +29,6 @@ def test_method_invite_test_number(self, client: Telnyx) -> None: ) assert_matches_type(RcInviteTestNumberResponse, rc, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_invite_test_number(self, client: Telnyx) -> None: response = client.messaging.rcs.with_raw_response.invite_test_number( @@ -43,7 +41,6 @@ def test_raw_response_invite_test_number(self, client: Telnyx) -> None: rc = response.parse() assert_matches_type(RcInviteTestNumberResponse, rc, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_invite_test_number(self, client: Telnyx) -> None: with client.messaging.rcs.with_streaming_response.invite_test_number( @@ -58,7 +55,6 @@ def test_streaming_response_invite_test_number(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_invite_test_number(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -73,7 +69,6 @@ def test_path_params_invite_test_number(self, client: Telnyx) -> None: id="id", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_bulk_capabilities(self, client: Telnyx) -> None: rc = client.messaging.rcs.list_bulk_capabilities( @@ -82,7 +77,6 @@ def test_method_list_bulk_capabilities(self, client: Telnyx) -> None: ) assert_matches_type(RcListBulkCapabilitiesResponse, rc, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list_bulk_capabilities(self, client: Telnyx) -> None: response = client.messaging.rcs.with_raw_response.list_bulk_capabilities( @@ -95,7 +89,6 @@ def test_raw_response_list_bulk_capabilities(self, client: Telnyx) -> None: rc = response.parse() assert_matches_type(RcListBulkCapabilitiesResponse, rc, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list_bulk_capabilities(self, client: Telnyx) -> None: with client.messaging.rcs.with_streaming_response.list_bulk_capabilities( @@ -110,7 +103,6 @@ def test_streaming_response_list_bulk_capabilities(self, client: Telnyx) -> None assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve_capabilities(self, client: Telnyx) -> None: rc = client.messaging.rcs.retrieve_capabilities( @@ -119,7 +111,6 @@ def test_method_retrieve_capabilities(self, client: Telnyx) -> None: ) assert_matches_type(RcRetrieveCapabilitiesResponse, rc, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve_capabilities(self, client: Telnyx) -> None: response = client.messaging.rcs.with_raw_response.retrieve_capabilities( @@ -132,7 +123,6 @@ def test_raw_response_retrieve_capabilities(self, client: Telnyx) -> None: rc = response.parse() assert_matches_type(RcRetrieveCapabilitiesResponse, rc, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve_capabilities(self, client: Telnyx) -> None: with client.messaging.rcs.with_streaming_response.retrieve_capabilities( @@ -147,7 +137,6 @@ def test_streaming_response_retrieve_capabilities(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve_capabilities(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `agent_id` but received ''"): @@ -168,7 +157,6 @@ class TestAsyncRcs: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_invite_test_number(self, async_client: AsyncTelnyx) -> None: rc = await async_client.messaging.rcs.invite_test_number( @@ -177,7 +165,6 @@ async def test_method_invite_test_number(self, async_client: AsyncTelnyx) -> Non ) assert_matches_type(RcInviteTestNumberResponse, rc, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_invite_test_number(self, async_client: AsyncTelnyx) -> None: response = await async_client.messaging.rcs.with_raw_response.invite_test_number( @@ -190,7 +177,6 @@ async def test_raw_response_invite_test_number(self, async_client: AsyncTelnyx) rc = await response.parse() assert_matches_type(RcInviteTestNumberResponse, rc, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_invite_test_number(self, async_client: AsyncTelnyx) -> None: async with async_client.messaging.rcs.with_streaming_response.invite_test_number( @@ -205,7 +191,6 @@ async def test_streaming_response_invite_test_number(self, async_client: AsyncTe assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_invite_test_number(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -220,7 +205,6 @@ async def test_path_params_invite_test_number(self, async_client: AsyncTelnyx) - id="id", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_bulk_capabilities(self, async_client: AsyncTelnyx) -> None: rc = await async_client.messaging.rcs.list_bulk_capabilities( @@ -229,7 +213,6 @@ async def test_method_list_bulk_capabilities(self, async_client: AsyncTelnyx) -> ) assert_matches_type(RcListBulkCapabilitiesResponse, rc, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list_bulk_capabilities(self, async_client: AsyncTelnyx) -> None: response = await async_client.messaging.rcs.with_raw_response.list_bulk_capabilities( @@ -242,7 +225,6 @@ async def test_raw_response_list_bulk_capabilities(self, async_client: AsyncTeln rc = await response.parse() assert_matches_type(RcListBulkCapabilitiesResponse, rc, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list_bulk_capabilities(self, async_client: AsyncTelnyx) -> None: async with async_client.messaging.rcs.with_streaming_response.list_bulk_capabilities( @@ -257,7 +239,6 @@ async def test_streaming_response_list_bulk_capabilities(self, async_client: Asy assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve_capabilities(self, async_client: AsyncTelnyx) -> None: rc = await async_client.messaging.rcs.retrieve_capabilities( @@ -266,7 +247,6 @@ async def test_method_retrieve_capabilities(self, async_client: AsyncTelnyx) -> ) assert_matches_type(RcRetrieveCapabilitiesResponse, rc, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve_capabilities(self, async_client: AsyncTelnyx) -> None: response = await async_client.messaging.rcs.with_raw_response.retrieve_capabilities( @@ -279,7 +259,6 @@ async def test_raw_response_retrieve_capabilities(self, async_client: AsyncTelny rc = await response.parse() assert_matches_type(RcRetrieveCapabilitiesResponse, rc, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve_capabilities(self, async_client: AsyncTelnyx) -> None: async with async_client.messaging.rcs.with_streaming_response.retrieve_capabilities( @@ -294,7 +273,6 @@ async def test_streaming_response_retrieve_capabilities(self, async_client: Asyn assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve_capabilities(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `agent_id` but received ''"): diff --git a/tests/api_resources/messaging_hosted_number_orders/test_actions.py b/tests/api_resources/messaging_hosted_number_orders/test_actions.py index 350aa9e2..8ae806d3 100644 --- a/tests/api_resources/messaging_hosted_number_orders/test_actions.py +++ b/tests/api_resources/messaging_hosted_number_orders/test_actions.py @@ -17,7 +17,6 @@ class TestActions: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_upload_file(self, client: Telnyx) -> None: action = client.messaging_hosted_number_orders.actions.upload_file( @@ -25,7 +24,6 @@ def test_method_upload_file(self, client: Telnyx) -> None: ) assert_matches_type(ActionUploadFileResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_upload_file_with_all_params(self, client: Telnyx) -> None: action = client.messaging_hosted_number_orders.actions.upload_file( @@ -35,7 +33,6 @@ def test_method_upload_file_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ActionUploadFileResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_upload_file(self, client: Telnyx) -> None: response = client.messaging_hosted_number_orders.actions.with_raw_response.upload_file( @@ -47,7 +44,6 @@ def test_raw_response_upload_file(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionUploadFileResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_upload_file(self, client: Telnyx) -> None: with client.messaging_hosted_number_orders.actions.with_streaming_response.upload_file( @@ -61,7 +57,6 @@ def test_streaming_response_upload_file(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_upload_file(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -75,7 +70,6 @@ class TestAsyncActions: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_upload_file(self, async_client: AsyncTelnyx) -> None: action = await async_client.messaging_hosted_number_orders.actions.upload_file( @@ -83,7 +77,6 @@ async def test_method_upload_file(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ActionUploadFileResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_upload_file_with_all_params(self, async_client: AsyncTelnyx) -> None: action = await async_client.messaging_hosted_number_orders.actions.upload_file( @@ -93,7 +86,6 @@ async def test_method_upload_file_with_all_params(self, async_client: AsyncTelny ) assert_matches_type(ActionUploadFileResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_upload_file(self, async_client: AsyncTelnyx) -> None: response = await async_client.messaging_hosted_number_orders.actions.with_raw_response.upload_file( @@ -105,7 +97,6 @@ async def test_raw_response_upload_file(self, async_client: AsyncTelnyx) -> None action = await response.parse() assert_matches_type(ActionUploadFileResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_upload_file(self, async_client: AsyncTelnyx) -> None: async with async_client.messaging_hosted_number_orders.actions.with_streaming_response.upload_file( @@ -119,7 +110,6 @@ async def test_streaming_response_upload_file(self, async_client: AsyncTelnyx) - assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_upload_file(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): diff --git a/tests/api_resources/messaging_profiles/test_autoresp_configs.py b/tests/api_resources/messaging_profiles/test_autoresp_configs.py index 16f5c11e..fa7048f0 100644 --- a/tests/api_resources/messaging_profiles/test_autoresp_configs.py +++ b/tests/api_resources/messaging_profiles/test_autoresp_configs.py @@ -20,7 +20,6 @@ class TestAutorespConfigs: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: autoresp_config = client.messaging_profiles.autoresp_configs.create( @@ -31,7 +30,6 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(AutoRespConfigResponse, autoresp_config, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: autoresp_config = client.messaging_profiles.autoresp_configs.create( @@ -43,7 +41,6 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(AutoRespConfigResponse, autoresp_config, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.messaging_profiles.autoresp_configs.with_raw_response.create( @@ -58,7 +55,6 @@ def test_raw_response_create(self, client: Telnyx) -> None: autoresp_config = response.parse() assert_matches_type(AutoRespConfigResponse, autoresp_config, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.messaging_profiles.autoresp_configs.with_streaming_response.create( @@ -75,7 +71,6 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_create(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `profile_id` but received ''"): @@ -86,7 +81,6 @@ def test_path_params_create(self, client: Telnyx) -> None: op="start", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: autoresp_config = client.messaging_profiles.autoresp_configs.retrieve( @@ -95,7 +89,6 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(AutoRespConfigResponse, autoresp_config, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.messaging_profiles.autoresp_configs.with_raw_response.retrieve( @@ -108,7 +101,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: autoresp_config = response.parse() assert_matches_type(AutoRespConfigResponse, autoresp_config, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.messaging_profiles.autoresp_configs.with_streaming_response.retrieve( @@ -123,7 +115,6 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `profile_id` but received ''"): @@ -138,7 +129,6 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: profile_id="182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update(self, client: Telnyx) -> None: autoresp_config = client.messaging_profiles.autoresp_configs.update( @@ -150,7 +140,6 @@ def test_method_update(self, client: Telnyx) -> None: ) assert_matches_type(AutoRespConfigResponse, autoresp_config, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_with_all_params(self, client: Telnyx) -> None: autoresp_config = client.messaging_profiles.autoresp_configs.update( @@ -163,7 +152,6 @@ def test_method_update_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(AutoRespConfigResponse, autoresp_config, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update(self, client: Telnyx) -> None: response = client.messaging_profiles.autoresp_configs.with_raw_response.update( @@ -179,7 +167,6 @@ def test_raw_response_update(self, client: Telnyx) -> None: autoresp_config = response.parse() assert_matches_type(AutoRespConfigResponse, autoresp_config, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update(self, client: Telnyx) -> None: with client.messaging_profiles.autoresp_configs.with_streaming_response.update( @@ -197,7 +184,6 @@ def test_streaming_response_update(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `profile_id` but received ''"): @@ -218,7 +204,6 @@ def test_path_params_update(self, client: Telnyx) -> None: op="start", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: autoresp_config = client.messaging_profiles.autoresp_configs.list( @@ -226,7 +211,6 @@ def test_method_list(self, client: Telnyx) -> None: ) assert_matches_type(AutorespConfigListResponse, autoresp_config, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: autoresp_config = client.messaging_profiles.autoresp_configs.list( @@ -243,7 +227,6 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(AutorespConfigListResponse, autoresp_config, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.messaging_profiles.autoresp_configs.with_raw_response.list( @@ -255,7 +238,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: autoresp_config = response.parse() assert_matches_type(AutorespConfigListResponse, autoresp_config, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.messaging_profiles.autoresp_configs.with_streaming_response.list( @@ -269,7 +251,6 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_list(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `profile_id` but received ''"): @@ -277,7 +258,6 @@ def test_path_params_list(self, client: Telnyx) -> None: profile_id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: autoresp_config = client.messaging_profiles.autoresp_configs.delete( @@ -286,7 +266,6 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert_matches_type(object, autoresp_config, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.messaging_profiles.autoresp_configs.with_raw_response.delete( @@ -299,7 +278,6 @@ def test_raw_response_delete(self, client: Telnyx) -> None: autoresp_config = response.parse() assert_matches_type(object, autoresp_config, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.messaging_profiles.autoresp_configs.with_streaming_response.delete( @@ -314,7 +292,6 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `profile_id` but received ''"): @@ -335,7 +312,6 @@ class TestAsyncAutorespConfigs: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: autoresp_config = await async_client.messaging_profiles.autoresp_configs.create( @@ -346,7 +322,6 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(AutoRespConfigResponse, autoresp_config, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: autoresp_config = await async_client.messaging_profiles.autoresp_configs.create( @@ -358,7 +333,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(AutoRespConfigResponse, autoresp_config, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.messaging_profiles.autoresp_configs.with_raw_response.create( @@ -373,7 +347,6 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: autoresp_config = await response.parse() assert_matches_type(AutoRespConfigResponse, autoresp_config, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.messaging_profiles.autoresp_configs.with_streaming_response.create( @@ -390,7 +363,6 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_create(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `profile_id` but received ''"): @@ -401,7 +373,6 @@ async def test_path_params_create(self, async_client: AsyncTelnyx) -> None: op="start", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: autoresp_config = await async_client.messaging_profiles.autoresp_configs.retrieve( @@ -410,7 +381,6 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(AutoRespConfigResponse, autoresp_config, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.messaging_profiles.autoresp_configs.with_raw_response.retrieve( @@ -423,7 +393,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: autoresp_config = await response.parse() assert_matches_type(AutoRespConfigResponse, autoresp_config, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.messaging_profiles.autoresp_configs.with_streaming_response.retrieve( @@ -438,7 +407,6 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `profile_id` but received ''"): @@ -453,7 +421,6 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: profile_id="182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update(self, async_client: AsyncTelnyx) -> None: autoresp_config = await async_client.messaging_profiles.autoresp_configs.update( @@ -465,7 +432,6 @@ async def test_method_update(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(AutoRespConfigResponse, autoresp_config, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> None: autoresp_config = await async_client.messaging_profiles.autoresp_configs.update( @@ -478,7 +444,6 @@ async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(AutoRespConfigResponse, autoresp_config, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: response = await async_client.messaging_profiles.autoresp_configs.with_raw_response.update( @@ -494,7 +459,6 @@ async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: autoresp_config = await response.parse() assert_matches_type(AutoRespConfigResponse, autoresp_config, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> None: async with async_client.messaging_profiles.autoresp_configs.with_streaming_response.update( @@ -512,7 +476,6 @@ async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `profile_id` but received ''"): @@ -533,7 +496,6 @@ async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: op="start", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: autoresp_config = await async_client.messaging_profiles.autoresp_configs.list( @@ -541,7 +503,6 @@ async def test_method_list(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(AutorespConfigListResponse, autoresp_config, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: autoresp_config = await async_client.messaging_profiles.autoresp_configs.list( @@ -558,7 +519,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(AutorespConfigListResponse, autoresp_config, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.messaging_profiles.autoresp_configs.with_raw_response.list( @@ -570,7 +530,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: autoresp_config = await response.parse() assert_matches_type(AutorespConfigListResponse, autoresp_config, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.messaging_profiles.autoresp_configs.with_streaming_response.list( @@ -584,7 +543,6 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_list(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `profile_id` but received ''"): @@ -592,7 +550,6 @@ async def test_path_params_list(self, async_client: AsyncTelnyx) -> None: profile_id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: autoresp_config = await async_client.messaging_profiles.autoresp_configs.delete( @@ -601,7 +558,6 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(object, autoresp_config, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.messaging_profiles.autoresp_configs.with_raw_response.delete( @@ -614,7 +570,6 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: autoresp_config = await response.parse() assert_matches_type(object, autoresp_config, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.messaging_profiles.autoresp_configs.with_streaming_response.delete( @@ -629,7 +584,6 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `profile_id` but received ''"): diff --git a/tests/api_resources/messaging_tollfree/verification/test_requests.py b/tests/api_resources/messaging_tollfree/verification/test_requests.py index 54b75eba..defbf3af 100644 --- a/tests/api_resources/messaging_tollfree/verification/test_requests.py +++ b/tests/api_resources/messaging_tollfree/verification/test_requests.py @@ -22,7 +22,6 @@ class TestRequests: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: request = client.messaging_tollfree.verification.requests.create( @@ -51,7 +50,6 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(VerificationRequestEgress, request, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: request = client.messaging_tollfree.verification.requests.create( @@ -82,7 +80,6 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(VerificationRequestEgress, request, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.messaging_tollfree.verification.requests.with_raw_response.create( @@ -115,7 +112,6 @@ def test_raw_response_create(self, client: Telnyx) -> None: request = response.parse() assert_matches_type(VerificationRequestEgress, request, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.messaging_tollfree.verification.requests.with_streaming_response.create( @@ -150,7 +146,6 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: request = client.messaging_tollfree.verification.requests.retrieve( @@ -158,7 +153,6 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(VerificationRequestStatus, request, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.messaging_tollfree.verification.requests.with_raw_response.retrieve( @@ -170,7 +164,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: request = response.parse() assert_matches_type(VerificationRequestStatus, request, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.messaging_tollfree.verification.requests.with_streaming_response.retrieve( @@ -184,7 +177,6 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -192,7 +184,6 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update(self, client: Telnyx) -> None: request = client.messaging_tollfree.verification.requests.update( @@ -222,7 +213,6 @@ def test_method_update(self, client: Telnyx) -> None: ) assert_matches_type(VerificationRequestEgress, request, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_with_all_params(self, client: Telnyx) -> None: request = client.messaging_tollfree.verification.requests.update( @@ -254,7 +244,6 @@ def test_method_update_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(VerificationRequestEgress, request, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update(self, client: Telnyx) -> None: response = client.messaging_tollfree.verification.requests.with_raw_response.update( @@ -288,7 +277,6 @@ def test_raw_response_update(self, client: Telnyx) -> None: request = response.parse() assert_matches_type(VerificationRequestEgress, request, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update(self, client: Telnyx) -> None: with client.messaging_tollfree.verification.requests.with_streaming_response.update( @@ -324,7 +312,6 @@ def test_streaming_response_update(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -354,7 +341,6 @@ def test_path_params_update(self, client: Telnyx) -> None: use_case_summary="This is a use case where Telnyx sends out 2FA codes to portal users to verify their identity in order to sign into the portal", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: request = client.messaging_tollfree.verification.requests.list( @@ -363,7 +349,6 @@ def test_method_list(self, client: Telnyx) -> None: ) assert_matches_type(RequestListResponse, request, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: request = client.messaging_tollfree.verification.requests.list( @@ -376,7 +361,6 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(RequestListResponse, request, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.messaging_tollfree.verification.requests.with_raw_response.list( @@ -389,7 +373,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: request = response.parse() assert_matches_type(RequestListResponse, request, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.messaging_tollfree.verification.requests.with_streaming_response.list( @@ -404,7 +387,6 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: request = client.messaging_tollfree.verification.requests.delete( @@ -412,7 +394,6 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert_matches_type(object, request, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.messaging_tollfree.verification.requests.with_raw_response.delete( @@ -424,7 +405,6 @@ def test_raw_response_delete(self, client: Telnyx) -> None: request = response.parse() assert_matches_type(object, request, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.messaging_tollfree.verification.requests.with_streaming_response.delete( @@ -438,7 +418,6 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -452,7 +431,6 @@ class TestAsyncRequests: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: request = await async_client.messaging_tollfree.verification.requests.create( @@ -481,7 +459,6 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(VerificationRequestEgress, request, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: request = await async_client.messaging_tollfree.verification.requests.create( @@ -512,7 +489,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(VerificationRequestEgress, request, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.messaging_tollfree.verification.requests.with_raw_response.create( @@ -545,7 +521,6 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: request = await response.parse() assert_matches_type(VerificationRequestEgress, request, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.messaging_tollfree.verification.requests.with_streaming_response.create( @@ -580,7 +555,6 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: request = await async_client.messaging_tollfree.verification.requests.retrieve( @@ -588,7 +562,6 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(VerificationRequestStatus, request, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.messaging_tollfree.verification.requests.with_raw_response.retrieve( @@ -600,7 +573,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: request = await response.parse() assert_matches_type(VerificationRequestStatus, request, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.messaging_tollfree.verification.requests.with_streaming_response.retrieve( @@ -614,7 +586,6 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -622,7 +593,6 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update(self, async_client: AsyncTelnyx) -> None: request = await async_client.messaging_tollfree.verification.requests.update( @@ -652,7 +622,6 @@ async def test_method_update(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(VerificationRequestEgress, request, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> None: request = await async_client.messaging_tollfree.verification.requests.update( @@ -684,7 +653,6 @@ async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(VerificationRequestEgress, request, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: response = await async_client.messaging_tollfree.verification.requests.with_raw_response.update( @@ -718,7 +686,6 @@ async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: request = await response.parse() assert_matches_type(VerificationRequestEgress, request, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> None: async with async_client.messaging_tollfree.verification.requests.with_streaming_response.update( @@ -754,7 +721,6 @@ async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -784,7 +750,6 @@ async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: use_case_summary="This is a use case where Telnyx sends out 2FA codes to portal users to verify their identity in order to sign into the portal", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: request = await async_client.messaging_tollfree.verification.requests.list( @@ -793,7 +758,6 @@ async def test_method_list(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(RequestListResponse, request, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: request = await async_client.messaging_tollfree.verification.requests.list( @@ -806,7 +770,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(RequestListResponse, request, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.messaging_tollfree.verification.requests.with_raw_response.list( @@ -819,7 +782,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: request = await response.parse() assert_matches_type(RequestListResponse, request, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.messaging_tollfree.verification.requests.with_streaming_response.list( @@ -834,7 +796,6 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: request = await async_client.messaging_tollfree.verification.requests.delete( @@ -842,7 +803,6 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(object, request, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.messaging_tollfree.verification.requests.with_raw_response.delete( @@ -854,7 +814,6 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: request = await response.parse() assert_matches_type(object, request, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.messaging_tollfree.verification.requests.with_streaming_response.delete( @@ -868,7 +827,6 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): diff --git a/tests/api_resources/networks/test_default_gateway.py b/tests/api_resources/networks/test_default_gateway.py index 47eec478..55ccc82d 100644 --- a/tests/api_resources/networks/test_default_gateway.py +++ b/tests/api_resources/networks/test_default_gateway.py @@ -21,7 +21,6 @@ class TestDefaultGateway: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: default_gateway = client.networks.default_gateway.create( @@ -29,7 +28,6 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(DefaultGatewayCreateResponse, default_gateway, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: default_gateway = client.networks.default_gateway.create( @@ -38,7 +36,6 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(DefaultGatewayCreateResponse, default_gateway, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.networks.default_gateway.with_raw_response.create( @@ -50,7 +47,6 @@ def test_raw_response_create(self, client: Telnyx) -> None: default_gateway = response.parse() assert_matches_type(DefaultGatewayCreateResponse, default_gateway, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.networks.default_gateway.with_streaming_response.create( @@ -64,7 +60,6 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_create(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -72,7 +67,6 @@ def test_path_params_create(self, client: Telnyx) -> None: id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: default_gateway = client.networks.default_gateway.retrieve( @@ -80,7 +74,6 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(DefaultGatewayRetrieveResponse, default_gateway, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.networks.default_gateway.with_raw_response.retrieve( @@ -92,7 +85,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: default_gateway = response.parse() assert_matches_type(DefaultGatewayRetrieveResponse, default_gateway, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.networks.default_gateway.with_streaming_response.retrieve( @@ -106,7 +98,6 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -114,7 +105,6 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: default_gateway = client.networks.default_gateway.delete( @@ -122,7 +112,6 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert_matches_type(DefaultGatewayDeleteResponse, default_gateway, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.networks.default_gateway.with_raw_response.delete( @@ -134,7 +123,6 @@ def test_raw_response_delete(self, client: Telnyx) -> None: default_gateway = response.parse() assert_matches_type(DefaultGatewayDeleteResponse, default_gateway, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.networks.default_gateway.with_streaming_response.delete( @@ -148,7 +136,6 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -162,7 +149,6 @@ class TestAsyncDefaultGateway: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: default_gateway = await async_client.networks.default_gateway.create( @@ -170,7 +156,6 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(DefaultGatewayCreateResponse, default_gateway, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: default_gateway = await async_client.networks.default_gateway.create( @@ -179,7 +164,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(DefaultGatewayCreateResponse, default_gateway, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.networks.default_gateway.with_raw_response.create( @@ -191,7 +175,6 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: default_gateway = await response.parse() assert_matches_type(DefaultGatewayCreateResponse, default_gateway, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.networks.default_gateway.with_streaming_response.create( @@ -205,7 +188,6 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_create(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -213,7 +195,6 @@ async def test_path_params_create(self, async_client: AsyncTelnyx) -> None: id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: default_gateway = await async_client.networks.default_gateway.retrieve( @@ -221,7 +202,6 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(DefaultGatewayRetrieveResponse, default_gateway, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.networks.default_gateway.with_raw_response.retrieve( @@ -233,7 +213,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: default_gateway = await response.parse() assert_matches_type(DefaultGatewayRetrieveResponse, default_gateway, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.networks.default_gateway.with_streaming_response.retrieve( @@ -247,7 +226,6 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -255,7 +233,6 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: default_gateway = await async_client.networks.default_gateway.delete( @@ -263,7 +240,6 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(DefaultGatewayDeleteResponse, default_gateway, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.networks.default_gateway.with_raw_response.delete( @@ -275,7 +251,6 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: default_gateway = await response.parse() assert_matches_type(DefaultGatewayDeleteResponse, default_gateway, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.networks.default_gateway.with_streaming_response.delete( @@ -289,7 +264,6 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): diff --git a/tests/api_resources/number_reservations/test_actions.py b/tests/api_resources/number_reservations/test_actions.py index 9a253808..6f5b90e6 100644 --- a/tests/api_resources/number_reservations/test_actions.py +++ b/tests/api_resources/number_reservations/test_actions.py @@ -17,7 +17,6 @@ class TestActions: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_extend(self, client: Telnyx) -> None: action = client.number_reservations.actions.extend( @@ -25,7 +24,6 @@ def test_method_extend(self, client: Telnyx) -> None: ) assert_matches_type(ActionExtendResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_extend(self, client: Telnyx) -> None: response = client.number_reservations.actions.with_raw_response.extend( @@ -37,7 +35,6 @@ def test_raw_response_extend(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionExtendResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_extend(self, client: Telnyx) -> None: with client.number_reservations.actions.with_streaming_response.extend( @@ -51,7 +48,6 @@ def test_streaming_response_extend(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_extend(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `number_reservation_id` but received ''"): @@ -65,7 +61,6 @@ class TestAsyncActions: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_extend(self, async_client: AsyncTelnyx) -> None: action = await async_client.number_reservations.actions.extend( @@ -73,7 +68,6 @@ async def test_method_extend(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ActionExtendResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_extend(self, async_client: AsyncTelnyx) -> None: response = await async_client.number_reservations.actions.with_raw_response.extend( @@ -85,7 +79,6 @@ async def test_raw_response_extend(self, async_client: AsyncTelnyx) -> None: action = await response.parse() assert_matches_type(ActionExtendResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_extend(self, async_client: AsyncTelnyx) -> None: async with async_client.number_reservations.actions.with_streaming_response.extend( @@ -99,7 +92,6 @@ async def test_streaming_response_extend(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_extend(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `number_reservation_id` but received ''"): diff --git a/tests/api_resources/operator_connect/test_actions.py b/tests/api_resources/operator_connect/test_actions.py index 0824b31a..ab601180 100644 --- a/tests/api_resources/operator_connect/test_actions.py +++ b/tests/api_resources/operator_connect/test_actions.py @@ -17,13 +17,11 @@ class TestActions: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_refresh(self, client: Telnyx) -> None: action = client.operator_connect.actions.refresh() assert_matches_type(ActionRefreshResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_refresh(self, client: Telnyx) -> None: response = client.operator_connect.actions.with_raw_response.refresh() @@ -33,7 +31,6 @@ def test_raw_response_refresh(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionRefreshResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_refresh(self, client: Telnyx) -> None: with client.operator_connect.actions.with_streaming_response.refresh() as response: @@ -51,13 +48,11 @@ class TestAsyncActions: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_refresh(self, async_client: AsyncTelnyx) -> None: action = await async_client.operator_connect.actions.refresh() assert_matches_type(ActionRefreshResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_refresh(self, async_client: AsyncTelnyx) -> None: response = await async_client.operator_connect.actions.with_raw_response.refresh() @@ -67,7 +62,6 @@ async def test_raw_response_refresh(self, async_client: AsyncTelnyx) -> None: action = await response.parse() assert_matches_type(ActionRefreshResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_refresh(self, async_client: AsyncTelnyx) -> None: async with async_client.operator_connect.actions.with_streaming_response.refresh() as response: diff --git a/tests/api_resources/payment/test_auto_recharge_prefs.py b/tests/api_resources/payment/test_auto_recharge_prefs.py index 3f1e3576..c503fbf9 100644 --- a/tests/api_resources/payment/test_auto_recharge_prefs.py +++ b/tests/api_resources/payment/test_auto_recharge_prefs.py @@ -20,13 +20,11 @@ class TestAutoRechargePrefs: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update(self, client: Telnyx) -> None: auto_recharge_pref = client.payment.auto_recharge_prefs.update() assert_matches_type(AutoRechargePrefUpdateResponse, auto_recharge_pref, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_with_all_params(self, client: Telnyx) -> None: auto_recharge_pref = client.payment.auto_recharge_prefs.update( @@ -38,7 +36,6 @@ def test_method_update_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(AutoRechargePrefUpdateResponse, auto_recharge_pref, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update(self, client: Telnyx) -> None: response = client.payment.auto_recharge_prefs.with_raw_response.update() @@ -48,7 +45,6 @@ def test_raw_response_update(self, client: Telnyx) -> None: auto_recharge_pref = response.parse() assert_matches_type(AutoRechargePrefUpdateResponse, auto_recharge_pref, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update(self, client: Telnyx) -> None: with client.payment.auto_recharge_prefs.with_streaming_response.update() as response: @@ -60,13 +56,11 @@ def test_streaming_response_update(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: auto_recharge_pref = client.payment.auto_recharge_prefs.list() assert_matches_type(AutoRechargePrefListResponse, auto_recharge_pref, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.payment.auto_recharge_prefs.with_raw_response.list() @@ -76,7 +70,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: auto_recharge_pref = response.parse() assert_matches_type(AutoRechargePrefListResponse, auto_recharge_pref, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.payment.auto_recharge_prefs.with_streaming_response.list() as response: @@ -94,13 +87,11 @@ class TestAsyncAutoRechargePrefs: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update(self, async_client: AsyncTelnyx) -> None: auto_recharge_pref = await async_client.payment.auto_recharge_prefs.update() assert_matches_type(AutoRechargePrefUpdateResponse, auto_recharge_pref, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> None: auto_recharge_pref = await async_client.payment.auto_recharge_prefs.update( @@ -112,7 +103,6 @@ async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(AutoRechargePrefUpdateResponse, auto_recharge_pref, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: response = await async_client.payment.auto_recharge_prefs.with_raw_response.update() @@ -122,7 +112,6 @@ async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: auto_recharge_pref = await response.parse() assert_matches_type(AutoRechargePrefUpdateResponse, auto_recharge_pref, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> None: async with async_client.payment.auto_recharge_prefs.with_streaming_response.update() as response: @@ -134,13 +123,11 @@ async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: auto_recharge_pref = await async_client.payment.auto_recharge_prefs.list() assert_matches_type(AutoRechargePrefListResponse, auto_recharge_pref, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.payment.auto_recharge_prefs.with_raw_response.list() @@ -150,7 +137,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: auto_recharge_pref = await response.parse() assert_matches_type(AutoRechargePrefListResponse, auto_recharge_pref, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.payment.auto_recharge_prefs.with_streaming_response.list() as response: diff --git a/tests/api_resources/phone_number_blocks/test_jobs.py b/tests/api_resources/phone_number_blocks/test_jobs.py index 7e3dcd9a..9b858410 100644 --- a/tests/api_resources/phone_number_blocks/test_jobs.py +++ b/tests/api_resources/phone_number_blocks/test_jobs.py @@ -21,7 +21,6 @@ class TestJobs: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: job = client.phone_number_blocks.jobs.retrieve( @@ -29,7 +28,6 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(JobRetrieveResponse, job, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.phone_number_blocks.jobs.with_raw_response.retrieve( @@ -41,7 +39,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: job = response.parse() assert_matches_type(JobRetrieveResponse, job, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.phone_number_blocks.jobs.with_streaming_response.retrieve( @@ -55,7 +52,6 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -63,13 +59,11 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: job = client.phone_number_blocks.jobs.list() assert_matches_type(JobListResponse, job, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: job = client.phone_number_blocks.jobs.list( @@ -85,7 +79,6 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(JobListResponse, job, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.phone_number_blocks.jobs.with_raw_response.list() @@ -95,7 +88,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: job = response.parse() assert_matches_type(JobListResponse, job, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.phone_number_blocks.jobs.with_streaming_response.list() as response: @@ -107,7 +99,6 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete_phone_number_block(self, client: Telnyx) -> None: job = client.phone_number_blocks.jobs.delete_phone_number_block( @@ -115,7 +106,6 @@ def test_method_delete_phone_number_block(self, client: Telnyx) -> None: ) assert_matches_type(JobDeletePhoneNumberBlockResponse, job, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete_phone_number_block(self, client: Telnyx) -> None: response = client.phone_number_blocks.jobs.with_raw_response.delete_phone_number_block( @@ -127,7 +117,6 @@ def test_raw_response_delete_phone_number_block(self, client: Telnyx) -> None: job = response.parse() assert_matches_type(JobDeletePhoneNumberBlockResponse, job, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete_phone_number_block(self, client: Telnyx) -> None: with client.phone_number_blocks.jobs.with_streaming_response.delete_phone_number_block( @@ -147,7 +136,6 @@ class TestAsyncJobs: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: job = await async_client.phone_number_blocks.jobs.retrieve( @@ -155,7 +143,6 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(JobRetrieveResponse, job, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.phone_number_blocks.jobs.with_raw_response.retrieve( @@ -167,7 +154,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: job = await response.parse() assert_matches_type(JobRetrieveResponse, job, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.phone_number_blocks.jobs.with_streaming_response.retrieve( @@ -181,7 +167,6 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -189,13 +174,11 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: job = await async_client.phone_number_blocks.jobs.list() assert_matches_type(JobListResponse, job, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: job = await async_client.phone_number_blocks.jobs.list( @@ -211,7 +194,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(JobListResponse, job, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.phone_number_blocks.jobs.with_raw_response.list() @@ -221,7 +203,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: job = await response.parse() assert_matches_type(JobListResponse, job, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.phone_number_blocks.jobs.with_streaming_response.list() as response: @@ -233,7 +214,6 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete_phone_number_block(self, async_client: AsyncTelnyx) -> None: job = await async_client.phone_number_blocks.jobs.delete_phone_number_block( @@ -241,7 +221,6 @@ async def test_method_delete_phone_number_block(self, async_client: AsyncTelnyx) ) assert_matches_type(JobDeletePhoneNumberBlockResponse, job, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete_phone_number_block(self, async_client: AsyncTelnyx) -> None: response = await async_client.phone_number_blocks.jobs.with_raw_response.delete_phone_number_block( @@ -253,7 +232,6 @@ async def test_raw_response_delete_phone_number_block(self, async_client: AsyncT job = await response.parse() assert_matches_type(JobDeletePhoneNumberBlockResponse, job, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete_phone_number_block(self, async_client: AsyncTelnyx) -> None: async with async_client.phone_number_blocks.jobs.with_streaming_response.delete_phone_number_block( diff --git a/tests/api_resources/phone_numbers/test_actions.py b/tests/api_resources/phone_numbers/test_actions.py index 43766d0f..56130ce7 100644 --- a/tests/api_resources/phone_numbers/test_actions.py +++ b/tests/api_resources/phone_numbers/test_actions.py @@ -21,7 +21,6 @@ class TestActions: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_change_bundle_status(self, client: Telnyx) -> None: action = client.phone_numbers.actions.change_bundle_status( @@ -30,7 +29,6 @@ def test_method_change_bundle_status(self, client: Telnyx) -> None: ) assert_matches_type(ActionChangeBundleStatusResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_change_bundle_status(self, client: Telnyx) -> None: response = client.phone_numbers.actions.with_raw_response.change_bundle_status( @@ -43,7 +41,6 @@ def test_raw_response_change_bundle_status(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionChangeBundleStatusResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_change_bundle_status(self, client: Telnyx) -> None: with client.phone_numbers.actions.with_streaming_response.change_bundle_status( @@ -58,7 +55,6 @@ def test_streaming_response_change_bundle_status(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_change_bundle_status(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -67,7 +63,6 @@ def test_path_params_change_bundle_status(self, client: Telnyx) -> None: bundle_id="5194d8fc-87e6-4188-baa9-1c434bbe861b", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_enable_emergency(self, client: Telnyx) -> None: action = client.phone_numbers.actions.enable_emergency( @@ -77,7 +72,6 @@ def test_method_enable_emergency(self, client: Telnyx) -> None: ) assert_matches_type(ActionEnableEmergencyResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_enable_emergency(self, client: Telnyx) -> None: response = client.phone_numbers.actions.with_raw_response.enable_emergency( @@ -91,7 +85,6 @@ def test_raw_response_enable_emergency(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionEnableEmergencyResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_enable_emergency(self, client: Telnyx) -> None: with client.phone_numbers.actions.with_streaming_response.enable_emergency( @@ -107,7 +100,6 @@ def test_streaming_response_enable_emergency(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_enable_emergency(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -117,7 +109,6 @@ def test_path_params_enable_emergency(self, client: Telnyx) -> None: emergency_enabled=True, ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_verify_ownership(self, client: Telnyx) -> None: action = client.phone_numbers.actions.verify_ownership( @@ -125,7 +116,6 @@ def test_method_verify_ownership(self, client: Telnyx) -> None: ) assert_matches_type(ActionVerifyOwnershipResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_verify_ownership(self, client: Telnyx) -> None: response = client.phone_numbers.actions.with_raw_response.verify_ownership( @@ -137,7 +127,6 @@ def test_raw_response_verify_ownership(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionVerifyOwnershipResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_verify_ownership(self, client: Telnyx) -> None: with client.phone_numbers.actions.with_streaming_response.verify_ownership( @@ -157,7 +146,6 @@ class TestAsyncActions: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_change_bundle_status(self, async_client: AsyncTelnyx) -> None: action = await async_client.phone_numbers.actions.change_bundle_status( @@ -166,7 +154,6 @@ async def test_method_change_bundle_status(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(ActionChangeBundleStatusResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_change_bundle_status(self, async_client: AsyncTelnyx) -> None: response = await async_client.phone_numbers.actions.with_raw_response.change_bundle_status( @@ -179,7 +166,6 @@ async def test_raw_response_change_bundle_status(self, async_client: AsyncTelnyx action = await response.parse() assert_matches_type(ActionChangeBundleStatusResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_change_bundle_status(self, async_client: AsyncTelnyx) -> None: async with async_client.phone_numbers.actions.with_streaming_response.change_bundle_status( @@ -194,7 +180,6 @@ async def test_streaming_response_change_bundle_status(self, async_client: Async assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_change_bundle_status(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -203,7 +188,6 @@ async def test_path_params_change_bundle_status(self, async_client: AsyncTelnyx) bundle_id="5194d8fc-87e6-4188-baa9-1c434bbe861b", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_enable_emergency(self, async_client: AsyncTelnyx) -> None: action = await async_client.phone_numbers.actions.enable_emergency( @@ -213,7 +197,6 @@ async def test_method_enable_emergency(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ActionEnableEmergencyResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_enable_emergency(self, async_client: AsyncTelnyx) -> None: response = await async_client.phone_numbers.actions.with_raw_response.enable_emergency( @@ -227,7 +210,6 @@ async def test_raw_response_enable_emergency(self, async_client: AsyncTelnyx) -> action = await response.parse() assert_matches_type(ActionEnableEmergencyResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_enable_emergency(self, async_client: AsyncTelnyx) -> None: async with async_client.phone_numbers.actions.with_streaming_response.enable_emergency( @@ -243,7 +225,6 @@ async def test_streaming_response_enable_emergency(self, async_client: AsyncTeln assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_enable_emergency(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -253,7 +234,6 @@ async def test_path_params_enable_emergency(self, async_client: AsyncTelnyx) -> emergency_enabled=True, ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_verify_ownership(self, async_client: AsyncTelnyx) -> None: action = await async_client.phone_numbers.actions.verify_ownership( @@ -261,7 +241,6 @@ async def test_method_verify_ownership(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ActionVerifyOwnershipResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_verify_ownership(self, async_client: AsyncTelnyx) -> None: response = await async_client.phone_numbers.actions.with_raw_response.verify_ownership( @@ -273,7 +252,6 @@ async def test_raw_response_verify_ownership(self, async_client: AsyncTelnyx) -> action = await response.parse() assert_matches_type(ActionVerifyOwnershipResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_verify_ownership(self, async_client: AsyncTelnyx) -> None: async with async_client.phone_numbers.actions.with_streaming_response.verify_ownership( diff --git a/tests/api_resources/phone_numbers/test_csv_downloads.py b/tests/api_resources/phone_numbers/test_csv_downloads.py index 7ce457fd..64fd35b5 100644 --- a/tests/api_resources/phone_numbers/test_csv_downloads.py +++ b/tests/api_resources/phone_numbers/test_csv_downloads.py @@ -21,13 +21,11 @@ class TestCsvDownloads: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: csv_download = client.phone_numbers.csv_downloads.create() assert_matches_type(CsvDownloadCreateResponse, csv_download, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: csv_download = client.phone_numbers.csv_downloads.create( @@ -52,7 +50,6 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(CsvDownloadCreateResponse, csv_download, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.phone_numbers.csv_downloads.with_raw_response.create() @@ -62,7 +59,6 @@ def test_raw_response_create(self, client: Telnyx) -> None: csv_download = response.parse() assert_matches_type(CsvDownloadCreateResponse, csv_download, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.phone_numbers.csv_downloads.with_streaming_response.create() as response: @@ -74,7 +70,6 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: csv_download = client.phone_numbers.csv_downloads.retrieve( @@ -82,7 +77,6 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(CsvDownloadRetrieveResponse, csv_download, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.phone_numbers.csv_downloads.with_raw_response.retrieve( @@ -94,7 +88,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: csv_download = response.parse() assert_matches_type(CsvDownloadRetrieveResponse, csv_download, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.phone_numbers.csv_downloads.with_streaming_response.retrieve( @@ -108,7 +101,6 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -116,13 +108,11 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: csv_download = client.phone_numbers.csv_downloads.list() assert_matches_type(CsvDownloadListResponse, csv_download, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: csv_download = client.phone_numbers.csv_downloads.list( @@ -133,7 +123,6 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(CsvDownloadListResponse, csv_download, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.phone_numbers.csv_downloads.with_raw_response.list() @@ -143,7 +132,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: csv_download = response.parse() assert_matches_type(CsvDownloadListResponse, csv_download, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.phone_numbers.csv_downloads.with_streaming_response.list() as response: @@ -161,13 +149,11 @@ class TestAsyncCsvDownloads: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: csv_download = await async_client.phone_numbers.csv_downloads.create() assert_matches_type(CsvDownloadCreateResponse, csv_download, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: csv_download = await async_client.phone_numbers.csv_downloads.create( @@ -192,7 +178,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(CsvDownloadCreateResponse, csv_download, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.phone_numbers.csv_downloads.with_raw_response.create() @@ -202,7 +187,6 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: csv_download = await response.parse() assert_matches_type(CsvDownloadCreateResponse, csv_download, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.phone_numbers.csv_downloads.with_streaming_response.create() as response: @@ -214,7 +198,6 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: csv_download = await async_client.phone_numbers.csv_downloads.retrieve( @@ -222,7 +205,6 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(CsvDownloadRetrieveResponse, csv_download, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.phone_numbers.csv_downloads.with_raw_response.retrieve( @@ -234,7 +216,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: csv_download = await response.parse() assert_matches_type(CsvDownloadRetrieveResponse, csv_download, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.phone_numbers.csv_downloads.with_streaming_response.retrieve( @@ -248,7 +229,6 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -256,13 +236,11 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: csv_download = await async_client.phone_numbers.csv_downloads.list() assert_matches_type(CsvDownloadListResponse, csv_download, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: csv_download = await async_client.phone_numbers.csv_downloads.list( @@ -273,7 +251,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(CsvDownloadListResponse, csv_download, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.phone_numbers.csv_downloads.with_raw_response.list() @@ -283,7 +260,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: csv_download = await response.parse() assert_matches_type(CsvDownloadListResponse, csv_download, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.phone_numbers.csv_downloads.with_streaming_response.list() as response: diff --git a/tests/api_resources/phone_numbers/test_jobs.py b/tests/api_resources/phone_numbers/test_jobs.py index 2e64b4e3..2ba298cc 100644 --- a/tests/api_resources/phone_numbers/test_jobs.py +++ b/tests/api_resources/phone_numbers/test_jobs.py @@ -23,7 +23,6 @@ class TestJobs: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: job = client.phone_numbers.jobs.retrieve( @@ -31,7 +30,6 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(JobRetrieveResponse, job, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.phone_numbers.jobs.with_raw_response.retrieve( @@ -43,7 +41,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: job = response.parse() assert_matches_type(JobRetrieveResponse, job, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.phone_numbers.jobs.with_streaming_response.retrieve( @@ -57,7 +54,6 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -65,13 +61,11 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: job = client.phone_numbers.jobs.list() assert_matches_type(JobListResponse, job, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: job = client.phone_numbers.jobs.list( @@ -84,7 +78,6 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(JobListResponse, job, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.phone_numbers.jobs.with_raw_response.list() @@ -94,7 +87,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: job = response.parse() assert_matches_type(JobListResponse, job, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.phone_numbers.jobs.with_streaming_response.list() as response: @@ -106,7 +98,6 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete_batch(self, client: Telnyx) -> None: job = client.phone_numbers.jobs.delete_batch( @@ -114,7 +105,6 @@ def test_method_delete_batch(self, client: Telnyx) -> None: ) assert_matches_type(JobDeleteBatchResponse, job, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete_batch(self, client: Telnyx) -> None: response = client.phone_numbers.jobs.with_raw_response.delete_batch( @@ -126,7 +116,6 @@ def test_raw_response_delete_batch(self, client: Telnyx) -> None: job = response.parse() assert_matches_type(JobDeleteBatchResponse, job, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete_batch(self, client: Telnyx) -> None: with client.phone_numbers.jobs.with_streaming_response.delete_batch( @@ -140,7 +129,6 @@ def test_streaming_response_delete_batch(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_batch(self, client: Telnyx) -> None: job = client.phone_numbers.jobs.update_batch( @@ -148,7 +136,6 @@ def test_method_update_batch(self, client: Telnyx) -> None: ) assert_matches_type(JobUpdateBatchResponse, job, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_batch_with_all_params(self, client: Telnyx) -> None: job = client.phone_numbers.jobs.update_batch( @@ -205,7 +192,6 @@ def test_method_update_batch_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(JobUpdateBatchResponse, job, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update_batch(self, client: Telnyx) -> None: response = client.phone_numbers.jobs.with_raw_response.update_batch( @@ -217,7 +203,6 @@ def test_raw_response_update_batch(self, client: Telnyx) -> None: job = response.parse() assert_matches_type(JobUpdateBatchResponse, job, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update_batch(self, client: Telnyx) -> None: with client.phone_numbers.jobs.with_streaming_response.update_batch( @@ -231,7 +216,6 @@ def test_streaming_response_update_batch(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_emergency_settings_batch(self, client: Telnyx) -> None: job = client.phone_numbers.jobs.update_emergency_settings_batch( @@ -240,7 +224,6 @@ def test_method_update_emergency_settings_batch(self, client: Telnyx) -> None: ) assert_matches_type(JobUpdateEmergencySettingsBatchResponse, job, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_emergency_settings_batch_with_all_params(self, client: Telnyx) -> None: job = client.phone_numbers.jobs.update_emergency_settings_batch( @@ -250,7 +233,6 @@ def test_method_update_emergency_settings_batch_with_all_params(self, client: Te ) assert_matches_type(JobUpdateEmergencySettingsBatchResponse, job, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update_emergency_settings_batch(self, client: Telnyx) -> None: response = client.phone_numbers.jobs.with_raw_response.update_emergency_settings_batch( @@ -263,7 +245,6 @@ def test_raw_response_update_emergency_settings_batch(self, client: Telnyx) -> N job = response.parse() assert_matches_type(JobUpdateEmergencySettingsBatchResponse, job, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update_emergency_settings_batch(self, client: Telnyx) -> None: with client.phone_numbers.jobs.with_streaming_response.update_emergency_settings_batch( @@ -284,7 +265,6 @@ class TestAsyncJobs: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: job = await async_client.phone_numbers.jobs.retrieve( @@ -292,7 +272,6 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(JobRetrieveResponse, job, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.phone_numbers.jobs.with_raw_response.retrieve( @@ -304,7 +283,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: job = await response.parse() assert_matches_type(JobRetrieveResponse, job, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.phone_numbers.jobs.with_streaming_response.retrieve( @@ -318,7 +296,6 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -326,13 +303,11 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: job = await async_client.phone_numbers.jobs.list() assert_matches_type(JobListResponse, job, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: job = await async_client.phone_numbers.jobs.list( @@ -345,7 +320,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(JobListResponse, job, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.phone_numbers.jobs.with_raw_response.list() @@ -355,7 +329,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: job = await response.parse() assert_matches_type(JobListResponse, job, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.phone_numbers.jobs.with_streaming_response.list() as response: @@ -367,7 +340,6 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete_batch(self, async_client: AsyncTelnyx) -> None: job = await async_client.phone_numbers.jobs.delete_batch( @@ -375,7 +347,6 @@ async def test_method_delete_batch(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(JobDeleteBatchResponse, job, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete_batch(self, async_client: AsyncTelnyx) -> None: response = await async_client.phone_numbers.jobs.with_raw_response.delete_batch( @@ -387,7 +358,6 @@ async def test_raw_response_delete_batch(self, async_client: AsyncTelnyx) -> Non job = await response.parse() assert_matches_type(JobDeleteBatchResponse, job, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete_batch(self, async_client: AsyncTelnyx) -> None: async with async_client.phone_numbers.jobs.with_streaming_response.delete_batch( @@ -401,7 +371,6 @@ async def test_streaming_response_delete_batch(self, async_client: AsyncTelnyx) assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_batch(self, async_client: AsyncTelnyx) -> None: job = await async_client.phone_numbers.jobs.update_batch( @@ -409,7 +378,6 @@ async def test_method_update_batch(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(JobUpdateBatchResponse, job, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_batch_with_all_params(self, async_client: AsyncTelnyx) -> None: job = await async_client.phone_numbers.jobs.update_batch( @@ -466,7 +434,6 @@ async def test_method_update_batch_with_all_params(self, async_client: AsyncTeln ) assert_matches_type(JobUpdateBatchResponse, job, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update_batch(self, async_client: AsyncTelnyx) -> None: response = await async_client.phone_numbers.jobs.with_raw_response.update_batch( @@ -478,7 +445,6 @@ async def test_raw_response_update_batch(self, async_client: AsyncTelnyx) -> Non job = await response.parse() assert_matches_type(JobUpdateBatchResponse, job, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update_batch(self, async_client: AsyncTelnyx) -> None: async with async_client.phone_numbers.jobs.with_streaming_response.update_batch( @@ -492,7 +458,6 @@ async def test_streaming_response_update_batch(self, async_client: AsyncTelnyx) assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_emergency_settings_batch(self, async_client: AsyncTelnyx) -> None: job = await async_client.phone_numbers.jobs.update_emergency_settings_batch( @@ -501,7 +466,6 @@ async def test_method_update_emergency_settings_batch(self, async_client: AsyncT ) assert_matches_type(JobUpdateEmergencySettingsBatchResponse, job, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_emergency_settings_batch_with_all_params(self, async_client: AsyncTelnyx) -> None: job = await async_client.phone_numbers.jobs.update_emergency_settings_batch( @@ -511,7 +475,6 @@ async def test_method_update_emergency_settings_batch_with_all_params(self, asyn ) assert_matches_type(JobUpdateEmergencySettingsBatchResponse, job, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update_emergency_settings_batch(self, async_client: AsyncTelnyx) -> None: response = await async_client.phone_numbers.jobs.with_raw_response.update_emergency_settings_batch( @@ -524,7 +487,6 @@ async def test_raw_response_update_emergency_settings_batch(self, async_client: job = await response.parse() assert_matches_type(JobUpdateEmergencySettingsBatchResponse, job, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update_emergency_settings_batch(self, async_client: AsyncTelnyx) -> None: async with async_client.phone_numbers.jobs.with_streaming_response.update_emergency_settings_batch( diff --git a/tests/api_resources/phone_numbers/test_messaging.py b/tests/api_resources/phone_numbers/test_messaging.py index 265e8801..130c5d27 100644 --- a/tests/api_resources/phone_numbers/test_messaging.py +++ b/tests/api_resources/phone_numbers/test_messaging.py @@ -21,7 +21,6 @@ class TestMessaging: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: messaging = client.phone_numbers.messaging.retrieve( @@ -29,7 +28,6 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(MessagingRetrieveResponse, messaging, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.phone_numbers.messaging.with_raw_response.retrieve( @@ -41,7 +39,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: messaging = response.parse() assert_matches_type(MessagingRetrieveResponse, messaging, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.phone_numbers.messaging.with_streaming_response.retrieve( @@ -55,7 +52,6 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -63,7 +59,6 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update(self, client: Telnyx) -> None: messaging = client.phone_numbers.messaging.update( @@ -71,7 +66,6 @@ def test_method_update(self, client: Telnyx) -> None: ) assert_matches_type(MessagingUpdateResponse, messaging, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_with_all_params(self, client: Telnyx) -> None: messaging = client.phone_numbers.messaging.update( @@ -81,7 +75,6 @@ def test_method_update_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(MessagingUpdateResponse, messaging, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update(self, client: Telnyx) -> None: response = client.phone_numbers.messaging.with_raw_response.update( @@ -93,7 +86,6 @@ def test_raw_response_update(self, client: Telnyx) -> None: messaging = response.parse() assert_matches_type(MessagingUpdateResponse, messaging, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update(self, client: Telnyx) -> None: with client.phone_numbers.messaging.with_streaming_response.update( @@ -107,7 +99,6 @@ def test_streaming_response_update(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -115,13 +106,11 @@ def test_path_params_update(self, client: Telnyx) -> None: id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: messaging = client.phone_numbers.messaging.list() assert_matches_type(MessagingListResponse, messaging, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: messaging = client.phone_numbers.messaging.list( @@ -132,7 +121,6 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(MessagingListResponse, messaging, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.phone_numbers.messaging.with_raw_response.list() @@ -142,7 +130,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: messaging = response.parse() assert_matches_type(MessagingListResponse, messaging, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.phone_numbers.messaging.with_streaming_response.list() as response: @@ -160,7 +147,6 @@ class TestAsyncMessaging: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: messaging = await async_client.phone_numbers.messaging.retrieve( @@ -168,7 +154,6 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(MessagingRetrieveResponse, messaging, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.phone_numbers.messaging.with_raw_response.retrieve( @@ -180,7 +165,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: messaging = await response.parse() assert_matches_type(MessagingRetrieveResponse, messaging, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.phone_numbers.messaging.with_streaming_response.retrieve( @@ -194,7 +178,6 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -202,7 +185,6 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update(self, async_client: AsyncTelnyx) -> None: messaging = await async_client.phone_numbers.messaging.update( @@ -210,7 +192,6 @@ async def test_method_update(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(MessagingUpdateResponse, messaging, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> None: messaging = await async_client.phone_numbers.messaging.update( @@ -220,7 +201,6 @@ async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(MessagingUpdateResponse, messaging, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: response = await async_client.phone_numbers.messaging.with_raw_response.update( @@ -232,7 +212,6 @@ async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: messaging = await response.parse() assert_matches_type(MessagingUpdateResponse, messaging, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> None: async with async_client.phone_numbers.messaging.with_streaming_response.update( @@ -246,7 +225,6 @@ async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -254,13 +232,11 @@ async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: messaging = await async_client.phone_numbers.messaging.list() assert_matches_type(MessagingListResponse, messaging, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: messaging = await async_client.phone_numbers.messaging.list( @@ -271,7 +247,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(MessagingListResponse, messaging, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.phone_numbers.messaging.with_raw_response.list() @@ -281,7 +256,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: messaging = await response.parse() assert_matches_type(MessagingListResponse, messaging, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.phone_numbers.messaging.with_streaming_response.list() as response: diff --git a/tests/api_resources/phone_numbers/test_voice.py b/tests/api_resources/phone_numbers/test_voice.py index 8c5b3978..8a0eae42 100644 --- a/tests/api_resources/phone_numbers/test_voice.py +++ b/tests/api_resources/phone_numbers/test_voice.py @@ -21,7 +21,6 @@ class TestVoice: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: voice = client.phone_numbers.voice.retrieve( @@ -29,7 +28,6 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(VoiceRetrieveResponse, voice, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.phone_numbers.voice.with_raw_response.retrieve( @@ -41,7 +39,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: voice = response.parse() assert_matches_type(VoiceRetrieveResponse, voice, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.phone_numbers.voice.with_streaming_response.retrieve( @@ -55,7 +52,6 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -63,7 +59,6 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update(self, client: Telnyx) -> None: voice = client.phone_numbers.voice.update( @@ -71,7 +66,6 @@ def test_method_update(self, client: Telnyx) -> None: ) assert_matches_type(VoiceUpdateResponse, voice, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_with_all_params(self, client: Telnyx) -> None: voice = client.phone_numbers.voice.update( @@ -103,7 +97,6 @@ def test_method_update_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(VoiceUpdateResponse, voice, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update(self, client: Telnyx) -> None: response = client.phone_numbers.voice.with_raw_response.update( @@ -115,7 +108,6 @@ def test_raw_response_update(self, client: Telnyx) -> None: voice = response.parse() assert_matches_type(VoiceUpdateResponse, voice, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update(self, client: Telnyx) -> None: with client.phone_numbers.voice.with_streaming_response.update( @@ -129,7 +121,6 @@ def test_streaming_response_update(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -137,13 +128,11 @@ def test_path_params_update(self, client: Telnyx) -> None: id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: voice = client.phone_numbers.voice.list() assert_matches_type(VoiceListResponse, voice, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: voice = client.phone_numbers.voice.list( @@ -161,7 +150,6 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(VoiceListResponse, voice, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.phone_numbers.voice.with_raw_response.list() @@ -171,7 +159,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: voice = response.parse() assert_matches_type(VoiceListResponse, voice, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.phone_numbers.voice.with_streaming_response.list() as response: @@ -189,7 +176,6 @@ class TestAsyncVoice: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: voice = await async_client.phone_numbers.voice.retrieve( @@ -197,7 +183,6 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(VoiceRetrieveResponse, voice, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.phone_numbers.voice.with_raw_response.retrieve( @@ -209,7 +194,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: voice = await response.parse() assert_matches_type(VoiceRetrieveResponse, voice, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.phone_numbers.voice.with_streaming_response.retrieve( @@ -223,7 +207,6 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -231,7 +214,6 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update(self, async_client: AsyncTelnyx) -> None: voice = await async_client.phone_numbers.voice.update( @@ -239,7 +221,6 @@ async def test_method_update(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(VoiceUpdateResponse, voice, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> None: voice = await async_client.phone_numbers.voice.update( @@ -271,7 +252,6 @@ async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(VoiceUpdateResponse, voice, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: response = await async_client.phone_numbers.voice.with_raw_response.update( @@ -283,7 +263,6 @@ async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: voice = await response.parse() assert_matches_type(VoiceUpdateResponse, voice, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> None: async with async_client.phone_numbers.voice.with_streaming_response.update( @@ -297,7 +276,6 @@ async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -305,13 +283,11 @@ async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: voice = await async_client.phone_numbers.voice.list() assert_matches_type(VoiceListResponse, voice, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: voice = await async_client.phone_numbers.voice.list( @@ -329,7 +305,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(VoiceListResponse, voice, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.phone_numbers.voice.with_raw_response.list() @@ -339,7 +314,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: voice = await response.parse() assert_matches_type(VoiceListResponse, voice, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.phone_numbers.voice.with_streaming_response.list() as response: diff --git a/tests/api_resources/phone_numbers/test_voicemail.py b/tests/api_resources/phone_numbers/test_voicemail.py index 928d32a4..11cde37b 100644 --- a/tests/api_resources/phone_numbers/test_voicemail.py +++ b/tests/api_resources/phone_numbers/test_voicemail.py @@ -21,7 +21,6 @@ class TestVoicemail: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: voicemail = client.phone_numbers.voicemail.create( @@ -29,7 +28,6 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(VoicemailCreateResponse, voicemail, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: voicemail = client.phone_numbers.voicemail.create( @@ -39,7 +37,6 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(VoicemailCreateResponse, voicemail, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.phone_numbers.voicemail.with_raw_response.create( @@ -51,7 +48,6 @@ def test_raw_response_create(self, client: Telnyx) -> None: voicemail = response.parse() assert_matches_type(VoicemailCreateResponse, voicemail, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.phone_numbers.voicemail.with_streaming_response.create( @@ -65,7 +61,6 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_create(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `phone_number_id` but received ''"): @@ -73,7 +68,6 @@ def test_path_params_create(self, client: Telnyx) -> None: phone_number_id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: voicemail = client.phone_numbers.voicemail.retrieve( @@ -81,7 +75,6 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(VoicemailRetrieveResponse, voicemail, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.phone_numbers.voicemail.with_raw_response.retrieve( @@ -93,7 +86,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: voicemail = response.parse() assert_matches_type(VoicemailRetrieveResponse, voicemail, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.phone_numbers.voicemail.with_streaming_response.retrieve( @@ -107,7 +99,6 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `phone_number_id` but received ''"): @@ -115,7 +106,6 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update(self, client: Telnyx) -> None: voicemail = client.phone_numbers.voicemail.update( @@ -123,7 +113,6 @@ def test_method_update(self, client: Telnyx) -> None: ) assert_matches_type(VoicemailUpdateResponse, voicemail, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_with_all_params(self, client: Telnyx) -> None: voicemail = client.phone_numbers.voicemail.update( @@ -133,7 +122,6 @@ def test_method_update_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(VoicemailUpdateResponse, voicemail, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update(self, client: Telnyx) -> None: response = client.phone_numbers.voicemail.with_raw_response.update( @@ -145,7 +133,6 @@ def test_raw_response_update(self, client: Telnyx) -> None: voicemail = response.parse() assert_matches_type(VoicemailUpdateResponse, voicemail, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update(self, client: Telnyx) -> None: with client.phone_numbers.voicemail.with_streaming_response.update( @@ -159,7 +146,6 @@ def test_streaming_response_update(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `phone_number_id` but received ''"): @@ -173,7 +159,6 @@ class TestAsyncVoicemail: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: voicemail = await async_client.phone_numbers.voicemail.create( @@ -181,7 +166,6 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(VoicemailCreateResponse, voicemail, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: voicemail = await async_client.phone_numbers.voicemail.create( @@ -191,7 +175,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(VoicemailCreateResponse, voicemail, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.phone_numbers.voicemail.with_raw_response.create( @@ -203,7 +186,6 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: voicemail = await response.parse() assert_matches_type(VoicemailCreateResponse, voicemail, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.phone_numbers.voicemail.with_streaming_response.create( @@ -217,7 +199,6 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_create(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `phone_number_id` but received ''"): @@ -225,7 +206,6 @@ async def test_path_params_create(self, async_client: AsyncTelnyx) -> None: phone_number_id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: voicemail = await async_client.phone_numbers.voicemail.retrieve( @@ -233,7 +213,6 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(VoicemailRetrieveResponse, voicemail, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.phone_numbers.voicemail.with_raw_response.retrieve( @@ -245,7 +224,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: voicemail = await response.parse() assert_matches_type(VoicemailRetrieveResponse, voicemail, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.phone_numbers.voicemail.with_streaming_response.retrieve( @@ -259,7 +237,6 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `phone_number_id` but received ''"): @@ -267,7 +244,6 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update(self, async_client: AsyncTelnyx) -> None: voicemail = await async_client.phone_numbers.voicemail.update( @@ -275,7 +251,6 @@ async def test_method_update(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(VoicemailUpdateResponse, voicemail, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> None: voicemail = await async_client.phone_numbers.voicemail.update( @@ -285,7 +260,6 @@ async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(VoicemailUpdateResponse, voicemail, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: response = await async_client.phone_numbers.voicemail.with_raw_response.update( @@ -297,7 +271,6 @@ async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: voicemail = await response.parse() assert_matches_type(VoicemailUpdateResponse, voicemail, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> None: async with async_client.phone_numbers.voicemail.with_streaming_response.update( @@ -311,7 +284,6 @@ async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `phone_number_id` but received ''"): diff --git a/tests/api_resources/porting/test_events.py b/tests/api_resources/porting/test_events.py index ba33eef3..55d28d1b 100644 --- a/tests/api_resources/porting/test_events.py +++ b/tests/api_resources/porting/test_events.py @@ -18,7 +18,6 @@ class TestEvents: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: event = client.porting.events.retrieve( @@ -26,7 +25,6 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(EventRetrieveResponse, event, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.porting.events.with_raw_response.retrieve( @@ -38,7 +36,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: event = response.parse() assert_matches_type(EventRetrieveResponse, event, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.porting.events.with_streaming_response.retrieve( @@ -52,7 +49,6 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -60,13 +56,11 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: event = client.porting.events.list() assert_matches_type(EventListResponse, event, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: event = client.porting.events.list( @@ -85,7 +79,6 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(EventListResponse, event, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.porting.events.with_raw_response.list() @@ -95,7 +88,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: event = response.parse() assert_matches_type(EventListResponse, event, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.porting.events.with_streaming_response.list() as response: @@ -107,7 +99,6 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_republish(self, client: Telnyx) -> None: event = client.porting.events.republish( @@ -115,7 +106,6 @@ def test_method_republish(self, client: Telnyx) -> None: ) assert event is None - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_republish(self, client: Telnyx) -> None: response = client.porting.events.with_raw_response.republish( @@ -127,7 +117,6 @@ def test_raw_response_republish(self, client: Telnyx) -> None: event = response.parse() assert event is None - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_republish(self, client: Telnyx) -> None: with client.porting.events.with_streaming_response.republish( @@ -141,7 +130,6 @@ def test_streaming_response_republish(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_republish(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -155,7 +143,6 @@ class TestAsyncEvents: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: event = await async_client.porting.events.retrieve( @@ -163,7 +150,6 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(EventRetrieveResponse, event, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.porting.events.with_raw_response.retrieve( @@ -175,7 +161,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: event = await response.parse() assert_matches_type(EventRetrieveResponse, event, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.porting.events.with_streaming_response.retrieve( @@ -189,7 +174,6 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -197,13 +181,11 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: event = await async_client.porting.events.list() assert_matches_type(EventListResponse, event, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: event = await async_client.porting.events.list( @@ -222,7 +204,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(EventListResponse, event, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.porting.events.with_raw_response.list() @@ -232,7 +213,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: event = await response.parse() assert_matches_type(EventListResponse, event, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.porting.events.with_streaming_response.list() as response: @@ -244,7 +224,6 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_republish(self, async_client: AsyncTelnyx) -> None: event = await async_client.porting.events.republish( @@ -252,7 +231,6 @@ async def test_method_republish(self, async_client: AsyncTelnyx) -> None: ) assert event is None - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_republish(self, async_client: AsyncTelnyx) -> None: response = await async_client.porting.events.with_raw_response.republish( @@ -264,7 +242,6 @@ async def test_raw_response_republish(self, async_client: AsyncTelnyx) -> None: event = await response.parse() assert event is None - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_republish(self, async_client: AsyncTelnyx) -> None: async with async_client.porting.events.with_streaming_response.republish( @@ -278,7 +255,6 @@ async def test_streaming_response_republish(self, async_client: AsyncTelnyx) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_republish(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): diff --git a/tests/api_resources/porting/test_loa_configurations.py b/tests/api_resources/porting/test_loa_configurations.py index 923e87ed..34c81a6f 100644 --- a/tests/api_resources/porting/test_loa_configurations.py +++ b/tests/api_resources/porting/test_loa_configurations.py @@ -30,7 +30,6 @@ class TestLoaConfigurations: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: loa_configuration = client.porting.loa_configurations.create( @@ -51,7 +50,6 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(LoaConfigurationCreateResponse, loa_configuration, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: loa_configuration = client.porting.loa_configurations.create( @@ -73,7 +71,6 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(LoaConfigurationCreateResponse, loa_configuration, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.porting.loa_configurations.with_raw_response.create( @@ -98,7 +95,6 @@ def test_raw_response_create(self, client: Telnyx) -> None: loa_configuration = response.parse() assert_matches_type(LoaConfigurationCreateResponse, loa_configuration, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.porting.loa_configurations.with_streaming_response.create( @@ -125,7 +121,6 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: loa_configuration = client.porting.loa_configurations.retrieve( @@ -133,7 +128,6 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(LoaConfigurationRetrieveResponse, loa_configuration, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.porting.loa_configurations.with_raw_response.retrieve( @@ -145,7 +139,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: loa_configuration = response.parse() assert_matches_type(LoaConfigurationRetrieveResponse, loa_configuration, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.porting.loa_configurations.with_streaming_response.retrieve( @@ -159,7 +152,6 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -167,7 +159,6 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update(self, client: Telnyx) -> None: loa_configuration = client.porting.loa_configurations.update( @@ -189,7 +180,6 @@ def test_method_update(self, client: Telnyx) -> None: ) assert_matches_type(LoaConfigurationUpdateResponse, loa_configuration, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_with_all_params(self, client: Telnyx) -> None: loa_configuration = client.porting.loa_configurations.update( @@ -212,7 +202,6 @@ def test_method_update_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(LoaConfigurationUpdateResponse, loa_configuration, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update(self, client: Telnyx) -> None: response = client.porting.loa_configurations.with_raw_response.update( @@ -238,7 +227,6 @@ def test_raw_response_update(self, client: Telnyx) -> None: loa_configuration = response.parse() assert_matches_type(LoaConfigurationUpdateResponse, loa_configuration, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update(self, client: Telnyx) -> None: with client.porting.loa_configurations.with_streaming_response.update( @@ -266,7 +254,6 @@ def test_streaming_response_update(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -288,13 +275,11 @@ def test_path_params_update(self, client: Telnyx) -> None: name="My LOA Configuration", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: loa_configuration = client.porting.loa_configurations.list() assert_matches_type(LoaConfigurationListResponse, loa_configuration, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: loa_configuration = client.porting.loa_configurations.list( @@ -305,7 +290,6 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(LoaConfigurationListResponse, loa_configuration, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.porting.loa_configurations.with_raw_response.list() @@ -315,7 +299,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: loa_configuration = response.parse() assert_matches_type(LoaConfigurationListResponse, loa_configuration, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.porting.loa_configurations.with_streaming_response.list() as response: @@ -327,7 +310,6 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: loa_configuration = client.porting.loa_configurations.delete( @@ -335,7 +317,6 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert loa_configuration is None - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.porting.loa_configurations.with_raw_response.delete( @@ -347,7 +328,6 @@ def test_raw_response_delete(self, client: Telnyx) -> None: loa_configuration = response.parse() assert loa_configuration is None - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.porting.loa_configurations.with_streaming_response.delete( @@ -361,7 +341,6 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -546,7 +525,6 @@ class TestAsyncLoaConfigurations: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: loa_configuration = await async_client.porting.loa_configurations.create( @@ -567,7 +545,6 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(LoaConfigurationCreateResponse, loa_configuration, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: loa_configuration = await async_client.porting.loa_configurations.create( @@ -589,7 +566,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(LoaConfigurationCreateResponse, loa_configuration, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.porting.loa_configurations.with_raw_response.create( @@ -614,7 +590,6 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: loa_configuration = await response.parse() assert_matches_type(LoaConfigurationCreateResponse, loa_configuration, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.porting.loa_configurations.with_streaming_response.create( @@ -641,7 +616,6 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: loa_configuration = await async_client.porting.loa_configurations.retrieve( @@ -649,7 +623,6 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(LoaConfigurationRetrieveResponse, loa_configuration, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.porting.loa_configurations.with_raw_response.retrieve( @@ -661,7 +634,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: loa_configuration = await response.parse() assert_matches_type(LoaConfigurationRetrieveResponse, loa_configuration, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.porting.loa_configurations.with_streaming_response.retrieve( @@ -675,7 +647,6 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -683,7 +654,6 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update(self, async_client: AsyncTelnyx) -> None: loa_configuration = await async_client.porting.loa_configurations.update( @@ -705,7 +675,6 @@ async def test_method_update(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(LoaConfigurationUpdateResponse, loa_configuration, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> None: loa_configuration = await async_client.porting.loa_configurations.update( @@ -728,7 +697,6 @@ async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(LoaConfigurationUpdateResponse, loa_configuration, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: response = await async_client.porting.loa_configurations.with_raw_response.update( @@ -754,7 +722,6 @@ async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: loa_configuration = await response.parse() assert_matches_type(LoaConfigurationUpdateResponse, loa_configuration, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> None: async with async_client.porting.loa_configurations.with_streaming_response.update( @@ -782,7 +749,6 @@ async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -804,13 +770,11 @@ async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: name="My LOA Configuration", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: loa_configuration = await async_client.porting.loa_configurations.list() assert_matches_type(LoaConfigurationListResponse, loa_configuration, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: loa_configuration = await async_client.porting.loa_configurations.list( @@ -821,7 +785,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(LoaConfigurationListResponse, loa_configuration, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.porting.loa_configurations.with_raw_response.list() @@ -831,7 +794,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: loa_configuration = await response.parse() assert_matches_type(LoaConfigurationListResponse, loa_configuration, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.porting.loa_configurations.with_streaming_response.list() as response: @@ -843,7 +805,6 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: loa_configuration = await async_client.porting.loa_configurations.delete( @@ -851,7 +812,6 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert loa_configuration is None - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.porting.loa_configurations.with_raw_response.delete( @@ -863,7 +823,6 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: loa_configuration = await response.parse() assert loa_configuration is None - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.porting.loa_configurations.with_streaming_response.delete( @@ -877,7 +836,6 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): diff --git a/tests/api_resources/porting/test_reports.py b/tests/api_resources/porting/test_reports.py index 91bc3724..d8b3be01 100644 --- a/tests/api_resources/porting/test_reports.py +++ b/tests/api_resources/porting/test_reports.py @@ -21,7 +21,6 @@ class TestReports: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: report = client.porting.reports.create( @@ -30,7 +29,6 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(ReportCreateResponse, report, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.porting.reports.with_raw_response.create( @@ -43,7 +41,6 @@ def test_raw_response_create(self, client: Telnyx) -> None: report = response.parse() assert_matches_type(ReportCreateResponse, report, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.porting.reports.with_streaming_response.create( @@ -58,7 +55,6 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: report = client.porting.reports.retrieve( @@ -66,7 +62,6 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(ReportRetrieveResponse, report, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.porting.reports.with_raw_response.retrieve( @@ -78,7 +73,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: report = response.parse() assert_matches_type(ReportRetrieveResponse, report, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.porting.reports.with_streaming_response.retrieve( @@ -92,7 +86,6 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -100,13 +93,11 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: report = client.porting.reports.list() assert_matches_type(ReportListResponse, report, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: report = client.porting.reports.list( @@ -121,7 +112,6 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ReportListResponse, report, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.porting.reports.with_raw_response.list() @@ -131,7 +121,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: report = response.parse() assert_matches_type(ReportListResponse, report, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.porting.reports.with_streaming_response.list() as response: @@ -149,7 +138,6 @@ class TestAsyncReports: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: report = await async_client.porting.reports.create( @@ -158,7 +146,6 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ReportCreateResponse, report, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.porting.reports.with_raw_response.create( @@ -171,7 +158,6 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: report = await response.parse() assert_matches_type(ReportCreateResponse, report, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.porting.reports.with_streaming_response.create( @@ -186,7 +172,6 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: report = await async_client.porting.reports.retrieve( @@ -194,7 +179,6 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ReportRetrieveResponse, report, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.porting.reports.with_raw_response.retrieve( @@ -206,7 +190,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: report = await response.parse() assert_matches_type(ReportRetrieveResponse, report, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.porting.reports.with_streaming_response.retrieve( @@ -220,7 +203,6 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -228,13 +210,11 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: report = await async_client.porting.reports.list() assert_matches_type(ReportListResponse, report, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: report = await async_client.porting.reports.list( @@ -249,7 +229,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(ReportListResponse, report, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.porting.reports.with_raw_response.list() @@ -259,7 +238,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: report = await response.parse() assert_matches_type(ReportListResponse, report, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.porting.reports.with_streaming_response.list() as response: diff --git a/tests/api_resources/porting_orders/test_action_requirements.py b/tests/api_resources/porting_orders/test_action_requirements.py index cf0a13a4..fd24a1fb 100644 --- a/tests/api_resources/porting_orders/test_action_requirements.py +++ b/tests/api_resources/porting_orders/test_action_requirements.py @@ -20,7 +20,6 @@ class TestActionRequirements: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: action_requirement = client.porting_orders.action_requirements.list( @@ -28,7 +27,6 @@ def test_method_list(self, client: Telnyx) -> None: ) assert_matches_type(ActionRequirementListResponse, action_requirement, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: action_requirement = client.porting_orders.action_requirements.list( @@ -47,7 +45,6 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ActionRequirementListResponse, action_requirement, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.porting_orders.action_requirements.with_raw_response.list( @@ -59,7 +56,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: action_requirement = response.parse() assert_matches_type(ActionRequirementListResponse, action_requirement, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.porting_orders.action_requirements.with_streaming_response.list( @@ -73,7 +69,6 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_list(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `porting_order_id` but received ''"): @@ -81,7 +76,6 @@ def test_path_params_list(self, client: Telnyx) -> None: porting_order_id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_initiate(self, client: Telnyx) -> None: action_requirement = client.porting_orders.action_requirements.initiate( @@ -94,7 +88,6 @@ def test_method_initiate(self, client: Telnyx) -> None: ) assert_matches_type(ActionRequirementInitiateResponse, action_requirement, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_initiate(self, client: Telnyx) -> None: response = client.porting_orders.action_requirements.with_raw_response.initiate( @@ -111,7 +104,6 @@ def test_raw_response_initiate(self, client: Telnyx) -> None: action_requirement = response.parse() assert_matches_type(ActionRequirementInitiateResponse, action_requirement, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_initiate(self, client: Telnyx) -> None: with client.porting_orders.action_requirements.with_streaming_response.initiate( @@ -130,7 +122,6 @@ def test_streaming_response_initiate(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_initiate(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `porting_order_id` but received ''"): @@ -159,7 +150,6 @@ class TestAsyncActionRequirements: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: action_requirement = await async_client.porting_orders.action_requirements.list( @@ -167,7 +157,6 @@ async def test_method_list(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ActionRequirementListResponse, action_requirement, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: action_requirement = await async_client.porting_orders.action_requirements.list( @@ -186,7 +175,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(ActionRequirementListResponse, action_requirement, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.porting_orders.action_requirements.with_raw_response.list( @@ -198,7 +186,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: action_requirement = await response.parse() assert_matches_type(ActionRequirementListResponse, action_requirement, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.porting_orders.action_requirements.with_streaming_response.list( @@ -212,7 +199,6 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_list(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `porting_order_id` but received ''"): @@ -220,7 +206,6 @@ async def test_path_params_list(self, async_client: AsyncTelnyx) -> None: porting_order_id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_initiate(self, async_client: AsyncTelnyx) -> None: action_requirement = await async_client.porting_orders.action_requirements.initiate( @@ -233,7 +218,6 @@ async def test_method_initiate(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ActionRequirementInitiateResponse, action_requirement, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_initiate(self, async_client: AsyncTelnyx) -> None: response = await async_client.porting_orders.action_requirements.with_raw_response.initiate( @@ -250,7 +234,6 @@ async def test_raw_response_initiate(self, async_client: AsyncTelnyx) -> None: action_requirement = await response.parse() assert_matches_type(ActionRequirementInitiateResponse, action_requirement, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_initiate(self, async_client: AsyncTelnyx) -> None: async with async_client.porting_orders.action_requirements.with_streaming_response.initiate( @@ -269,7 +252,6 @@ async def test_streaming_response_initiate(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_initiate(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `porting_order_id` but received ''"): diff --git a/tests/api_resources/porting_orders/test_actions.py b/tests/api_resources/porting_orders/test_actions.py index bfada793..7c6c5dda 100644 --- a/tests/api_resources/porting_orders/test_actions.py +++ b/tests/api_resources/porting_orders/test_actions.py @@ -22,7 +22,6 @@ class TestActions: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_activate(self, client: Telnyx) -> None: action = client.porting_orders.actions.activate( @@ -30,7 +29,6 @@ def test_method_activate(self, client: Telnyx) -> None: ) assert_matches_type(ActionActivateResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_activate(self, client: Telnyx) -> None: response = client.porting_orders.actions.with_raw_response.activate( @@ -42,7 +40,6 @@ def test_raw_response_activate(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionActivateResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_activate(self, client: Telnyx) -> None: with client.porting_orders.actions.with_streaming_response.activate( @@ -56,7 +53,6 @@ def test_streaming_response_activate(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_activate(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -64,7 +60,6 @@ def test_path_params_activate(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_cancel(self, client: Telnyx) -> None: action = client.porting_orders.actions.cancel( @@ -72,7 +67,6 @@ def test_method_cancel(self, client: Telnyx) -> None: ) assert_matches_type(ActionCancelResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_cancel(self, client: Telnyx) -> None: response = client.porting_orders.actions.with_raw_response.cancel( @@ -84,7 +78,6 @@ def test_raw_response_cancel(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionCancelResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_cancel(self, client: Telnyx) -> None: with client.porting_orders.actions.with_streaming_response.cancel( @@ -98,7 +91,6 @@ def test_streaming_response_cancel(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_cancel(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -106,7 +98,6 @@ def test_path_params_cancel(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_confirm(self, client: Telnyx) -> None: action = client.porting_orders.actions.confirm( @@ -114,7 +105,6 @@ def test_method_confirm(self, client: Telnyx) -> None: ) assert_matches_type(ActionConfirmResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_confirm(self, client: Telnyx) -> None: response = client.porting_orders.actions.with_raw_response.confirm( @@ -126,7 +116,6 @@ def test_raw_response_confirm(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionConfirmResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_confirm(self, client: Telnyx) -> None: with client.porting_orders.actions.with_streaming_response.confirm( @@ -140,7 +129,6 @@ def test_streaming_response_confirm(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_confirm(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -148,7 +136,6 @@ def test_path_params_confirm(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_share(self, client: Telnyx) -> None: action = client.porting_orders.actions.share( @@ -156,7 +143,6 @@ def test_method_share(self, client: Telnyx) -> None: ) assert_matches_type(ActionShareResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_share_with_all_params(self, client: Telnyx) -> None: action = client.porting_orders.actions.share( @@ -166,7 +152,6 @@ def test_method_share_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ActionShareResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_share(self, client: Telnyx) -> None: response = client.porting_orders.actions.with_raw_response.share( @@ -178,7 +163,6 @@ def test_raw_response_share(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionShareResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_share(self, client: Telnyx) -> None: with client.porting_orders.actions.with_streaming_response.share( @@ -192,7 +176,6 @@ def test_streaming_response_share(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_share(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -206,7 +189,6 @@ class TestAsyncActions: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_activate(self, async_client: AsyncTelnyx) -> None: action = await async_client.porting_orders.actions.activate( @@ -214,7 +196,6 @@ async def test_method_activate(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ActionActivateResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_activate(self, async_client: AsyncTelnyx) -> None: response = await async_client.porting_orders.actions.with_raw_response.activate( @@ -226,7 +207,6 @@ async def test_raw_response_activate(self, async_client: AsyncTelnyx) -> None: action = await response.parse() assert_matches_type(ActionActivateResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_activate(self, async_client: AsyncTelnyx) -> None: async with async_client.porting_orders.actions.with_streaming_response.activate( @@ -240,7 +220,6 @@ async def test_streaming_response_activate(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_activate(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -248,7 +227,6 @@ async def test_path_params_activate(self, async_client: AsyncTelnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_cancel(self, async_client: AsyncTelnyx) -> None: action = await async_client.porting_orders.actions.cancel( @@ -256,7 +234,6 @@ async def test_method_cancel(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ActionCancelResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_cancel(self, async_client: AsyncTelnyx) -> None: response = await async_client.porting_orders.actions.with_raw_response.cancel( @@ -268,7 +245,6 @@ async def test_raw_response_cancel(self, async_client: AsyncTelnyx) -> None: action = await response.parse() assert_matches_type(ActionCancelResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_cancel(self, async_client: AsyncTelnyx) -> None: async with async_client.porting_orders.actions.with_streaming_response.cancel( @@ -282,7 +258,6 @@ async def test_streaming_response_cancel(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_cancel(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -290,7 +265,6 @@ async def test_path_params_cancel(self, async_client: AsyncTelnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_confirm(self, async_client: AsyncTelnyx) -> None: action = await async_client.porting_orders.actions.confirm( @@ -298,7 +272,6 @@ async def test_method_confirm(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ActionConfirmResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_confirm(self, async_client: AsyncTelnyx) -> None: response = await async_client.porting_orders.actions.with_raw_response.confirm( @@ -310,7 +283,6 @@ async def test_raw_response_confirm(self, async_client: AsyncTelnyx) -> None: action = await response.parse() assert_matches_type(ActionConfirmResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_confirm(self, async_client: AsyncTelnyx) -> None: async with async_client.porting_orders.actions.with_streaming_response.confirm( @@ -324,7 +296,6 @@ async def test_streaming_response_confirm(self, async_client: AsyncTelnyx) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_confirm(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -332,7 +303,6 @@ async def test_path_params_confirm(self, async_client: AsyncTelnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_share(self, async_client: AsyncTelnyx) -> None: action = await async_client.porting_orders.actions.share( @@ -340,7 +310,6 @@ async def test_method_share(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ActionShareResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_share_with_all_params(self, async_client: AsyncTelnyx) -> None: action = await async_client.porting_orders.actions.share( @@ -350,7 +319,6 @@ async def test_method_share_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(ActionShareResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_share(self, async_client: AsyncTelnyx) -> None: response = await async_client.porting_orders.actions.with_raw_response.share( @@ -362,7 +330,6 @@ async def test_raw_response_share(self, async_client: AsyncTelnyx) -> None: action = await response.parse() assert_matches_type(ActionShareResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_share(self, async_client: AsyncTelnyx) -> None: async with async_client.porting_orders.actions.with_streaming_response.share( @@ -376,7 +343,6 @@ async def test_streaming_response_share(self, async_client: AsyncTelnyx) -> None assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_share(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): diff --git a/tests/api_resources/porting_orders/test_activation_jobs.py b/tests/api_resources/porting_orders/test_activation_jobs.py index 99c5d881..3aa7343f 100644 --- a/tests/api_resources/porting_orders/test_activation_jobs.py +++ b/tests/api_resources/porting_orders/test_activation_jobs.py @@ -22,7 +22,6 @@ class TestActivationJobs: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: activation_job = client.porting_orders.activation_jobs.retrieve( @@ -31,7 +30,6 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(ActivationJobRetrieveResponse, activation_job, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.porting_orders.activation_jobs.with_raw_response.retrieve( @@ -44,7 +42,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: activation_job = response.parse() assert_matches_type(ActivationJobRetrieveResponse, activation_job, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.porting_orders.activation_jobs.with_streaming_response.retrieve( @@ -59,7 +56,6 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -74,7 +70,6 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: id="182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update(self, client: Telnyx) -> None: activation_job = client.porting_orders.activation_jobs.update( @@ -83,7 +78,6 @@ def test_method_update(self, client: Telnyx) -> None: ) assert_matches_type(ActivationJobUpdateResponse, activation_job, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_with_all_params(self, client: Telnyx) -> None: activation_job = client.porting_orders.activation_jobs.update( @@ -93,7 +87,6 @@ def test_method_update_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ActivationJobUpdateResponse, activation_job, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update(self, client: Telnyx) -> None: response = client.porting_orders.activation_jobs.with_raw_response.update( @@ -106,7 +99,6 @@ def test_raw_response_update(self, client: Telnyx) -> None: activation_job = response.parse() assert_matches_type(ActivationJobUpdateResponse, activation_job, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update(self, client: Telnyx) -> None: with client.porting_orders.activation_jobs.with_streaming_response.update( @@ -121,7 +113,6 @@ def test_streaming_response_update(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -136,7 +127,6 @@ def test_path_params_update(self, client: Telnyx) -> None: id="182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: activation_job = client.porting_orders.activation_jobs.list( @@ -144,7 +134,6 @@ def test_method_list(self, client: Telnyx) -> None: ) assert_matches_type(ActivationJobListResponse, activation_job, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: activation_job = client.porting_orders.activation_jobs.list( @@ -156,7 +145,6 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ActivationJobListResponse, activation_job, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.porting_orders.activation_jobs.with_raw_response.list( @@ -168,7 +156,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: activation_job = response.parse() assert_matches_type(ActivationJobListResponse, activation_job, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.porting_orders.activation_jobs.with_streaming_response.list( @@ -182,7 +169,6 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_list(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -196,7 +182,6 @@ class TestAsyncActivationJobs: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: activation_job = await async_client.porting_orders.activation_jobs.retrieve( @@ -205,7 +190,6 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ActivationJobRetrieveResponse, activation_job, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.porting_orders.activation_jobs.with_raw_response.retrieve( @@ -218,7 +202,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: activation_job = await response.parse() assert_matches_type(ActivationJobRetrieveResponse, activation_job, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.porting_orders.activation_jobs.with_streaming_response.retrieve( @@ -233,7 +216,6 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -248,7 +230,6 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: id="182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update(self, async_client: AsyncTelnyx) -> None: activation_job = await async_client.porting_orders.activation_jobs.update( @@ -257,7 +238,6 @@ async def test_method_update(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ActivationJobUpdateResponse, activation_job, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> None: activation_job = await async_client.porting_orders.activation_jobs.update( @@ -267,7 +247,6 @@ async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(ActivationJobUpdateResponse, activation_job, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: response = await async_client.porting_orders.activation_jobs.with_raw_response.update( @@ -280,7 +259,6 @@ async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: activation_job = await response.parse() assert_matches_type(ActivationJobUpdateResponse, activation_job, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> None: async with async_client.porting_orders.activation_jobs.with_streaming_response.update( @@ -295,7 +273,6 @@ async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -310,7 +287,6 @@ async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: id="182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: activation_job = await async_client.porting_orders.activation_jobs.list( @@ -318,7 +294,6 @@ async def test_method_list(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ActivationJobListResponse, activation_job, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: activation_job = await async_client.porting_orders.activation_jobs.list( @@ -330,7 +305,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(ActivationJobListResponse, activation_job, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.porting_orders.activation_jobs.with_raw_response.list( @@ -342,7 +316,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: activation_job = await response.parse() assert_matches_type(ActivationJobListResponse, activation_job, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.porting_orders.activation_jobs.with_streaming_response.list( @@ -356,7 +329,6 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_list(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): diff --git a/tests/api_resources/porting_orders/test_additional_documents.py b/tests/api_resources/porting_orders/test_additional_documents.py index 3f3eebb4..41b68ffa 100644 --- a/tests/api_resources/porting_orders/test_additional_documents.py +++ b/tests/api_resources/porting_orders/test_additional_documents.py @@ -20,7 +20,6 @@ class TestAdditionalDocuments: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: additional_document = client.porting_orders.additional_documents.create( @@ -28,7 +27,6 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(AdditionalDocumentCreateResponse, additional_document, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: additional_document = client.porting_orders.additional_documents.create( @@ -46,7 +44,6 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(AdditionalDocumentCreateResponse, additional_document, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.porting_orders.additional_documents.with_raw_response.create( @@ -58,7 +55,6 @@ def test_raw_response_create(self, client: Telnyx) -> None: additional_document = response.parse() assert_matches_type(AdditionalDocumentCreateResponse, additional_document, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.porting_orders.additional_documents.with_streaming_response.create( @@ -72,7 +68,6 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_create(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -80,7 +75,6 @@ def test_path_params_create(self, client: Telnyx) -> None: id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: additional_document = client.porting_orders.additional_documents.list( @@ -88,7 +82,6 @@ def test_method_list(self, client: Telnyx) -> None: ) assert_matches_type(AdditionalDocumentListResponse, additional_document, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: additional_document = client.porting_orders.additional_documents.list( @@ -102,7 +95,6 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(AdditionalDocumentListResponse, additional_document, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.porting_orders.additional_documents.with_raw_response.list( @@ -114,7 +106,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: additional_document = response.parse() assert_matches_type(AdditionalDocumentListResponse, additional_document, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.porting_orders.additional_documents.with_streaming_response.list( @@ -128,7 +119,6 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_list(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -136,7 +126,6 @@ def test_path_params_list(self, client: Telnyx) -> None: id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: additional_document = client.porting_orders.additional_documents.delete( @@ -145,7 +134,6 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert additional_document is None - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.porting_orders.additional_documents.with_raw_response.delete( @@ -158,7 +146,6 @@ def test_raw_response_delete(self, client: Telnyx) -> None: additional_document = response.parse() assert additional_document is None - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.porting_orders.additional_documents.with_streaming_response.delete( @@ -173,7 +160,6 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -196,7 +182,6 @@ class TestAsyncAdditionalDocuments: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: additional_document = await async_client.porting_orders.additional_documents.create( @@ -204,7 +189,6 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(AdditionalDocumentCreateResponse, additional_document, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: additional_document = await async_client.porting_orders.additional_documents.create( @@ -222,7 +206,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(AdditionalDocumentCreateResponse, additional_document, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.porting_orders.additional_documents.with_raw_response.create( @@ -234,7 +217,6 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: additional_document = await response.parse() assert_matches_type(AdditionalDocumentCreateResponse, additional_document, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.porting_orders.additional_documents.with_streaming_response.create( @@ -248,7 +230,6 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_create(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -256,7 +237,6 @@ async def test_path_params_create(self, async_client: AsyncTelnyx) -> None: id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: additional_document = await async_client.porting_orders.additional_documents.list( @@ -264,7 +244,6 @@ async def test_method_list(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(AdditionalDocumentListResponse, additional_document, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: additional_document = await async_client.porting_orders.additional_documents.list( @@ -278,7 +257,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(AdditionalDocumentListResponse, additional_document, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.porting_orders.additional_documents.with_raw_response.list( @@ -290,7 +268,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: additional_document = await response.parse() assert_matches_type(AdditionalDocumentListResponse, additional_document, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.porting_orders.additional_documents.with_streaming_response.list( @@ -304,7 +281,6 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_list(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -312,7 +288,6 @@ async def test_path_params_list(self, async_client: AsyncTelnyx) -> None: id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: additional_document = await async_client.porting_orders.additional_documents.delete( @@ -321,7 +296,6 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert additional_document is None - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.porting_orders.additional_documents.with_raw_response.delete( @@ -334,7 +308,6 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: additional_document = await response.parse() assert additional_document is None - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.porting_orders.additional_documents.with_streaming_response.delete( @@ -349,7 +322,6 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): diff --git a/tests/api_resources/porting_orders/test_associated_phone_numbers.py b/tests/api_resources/porting_orders/test_associated_phone_numbers.py index 2d9ba572..ff983a65 100644 --- a/tests/api_resources/porting_orders/test_associated_phone_numbers.py +++ b/tests/api_resources/porting_orders/test_associated_phone_numbers.py @@ -21,7 +21,6 @@ class TestAssociatedPhoneNumbers: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: associated_phone_number = client.porting_orders.associated_phone_numbers.create( @@ -31,7 +30,6 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(AssociatedPhoneNumberCreateResponse, associated_phone_number, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: associated_phone_number = client.porting_orders.associated_phone_numbers.create( @@ -44,7 +42,6 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(AssociatedPhoneNumberCreateResponse, associated_phone_number, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.porting_orders.associated_phone_numbers.with_raw_response.create( @@ -58,7 +55,6 @@ def test_raw_response_create(self, client: Telnyx) -> None: associated_phone_number = response.parse() assert_matches_type(AssociatedPhoneNumberCreateResponse, associated_phone_number, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.porting_orders.associated_phone_numbers.with_streaming_response.create( @@ -74,7 +70,6 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_create(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `porting_order_id` but received ''"): @@ -84,7 +79,6 @@ def test_path_params_create(self, client: Telnyx) -> None: phone_number_range={}, ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: associated_phone_number = client.porting_orders.associated_phone_numbers.list( @@ -92,7 +86,6 @@ def test_method_list(self, client: Telnyx) -> None: ) assert_matches_type(AssociatedPhoneNumberListResponse, associated_phone_number, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: associated_phone_number = client.porting_orders.associated_phone_numbers.list( @@ -109,7 +102,6 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(AssociatedPhoneNumberListResponse, associated_phone_number, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.porting_orders.associated_phone_numbers.with_raw_response.list( @@ -121,7 +113,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: associated_phone_number = response.parse() assert_matches_type(AssociatedPhoneNumberListResponse, associated_phone_number, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.porting_orders.associated_phone_numbers.with_streaming_response.list( @@ -135,7 +126,6 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_list(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `porting_order_id` but received ''"): @@ -143,7 +133,6 @@ def test_path_params_list(self, client: Telnyx) -> None: porting_order_id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: associated_phone_number = client.porting_orders.associated_phone_numbers.delete( @@ -152,7 +141,6 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert_matches_type(AssociatedPhoneNumberDeleteResponse, associated_phone_number, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.porting_orders.associated_phone_numbers.with_raw_response.delete( @@ -165,7 +153,6 @@ def test_raw_response_delete(self, client: Telnyx) -> None: associated_phone_number = response.parse() assert_matches_type(AssociatedPhoneNumberDeleteResponse, associated_phone_number, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.porting_orders.associated_phone_numbers.with_streaming_response.delete( @@ -180,7 +167,6 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `porting_order_id` but received ''"): @@ -201,7 +187,6 @@ class TestAsyncAssociatedPhoneNumbers: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: associated_phone_number = await async_client.porting_orders.associated_phone_numbers.create( @@ -211,7 +196,6 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(AssociatedPhoneNumberCreateResponse, associated_phone_number, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: associated_phone_number = await async_client.porting_orders.associated_phone_numbers.create( @@ -224,7 +208,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(AssociatedPhoneNumberCreateResponse, associated_phone_number, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.porting_orders.associated_phone_numbers.with_raw_response.create( @@ -238,7 +221,6 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: associated_phone_number = await response.parse() assert_matches_type(AssociatedPhoneNumberCreateResponse, associated_phone_number, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.porting_orders.associated_phone_numbers.with_streaming_response.create( @@ -254,7 +236,6 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_create(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `porting_order_id` but received ''"): @@ -264,7 +245,6 @@ async def test_path_params_create(self, async_client: AsyncTelnyx) -> None: phone_number_range={}, ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: associated_phone_number = await async_client.porting_orders.associated_phone_numbers.list( @@ -272,7 +252,6 @@ async def test_method_list(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(AssociatedPhoneNumberListResponse, associated_phone_number, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: associated_phone_number = await async_client.porting_orders.associated_phone_numbers.list( @@ -289,7 +268,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(AssociatedPhoneNumberListResponse, associated_phone_number, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.porting_orders.associated_phone_numbers.with_raw_response.list( @@ -301,7 +279,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: associated_phone_number = await response.parse() assert_matches_type(AssociatedPhoneNumberListResponse, associated_phone_number, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.porting_orders.associated_phone_numbers.with_streaming_response.list( @@ -315,7 +292,6 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_list(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `porting_order_id` but received ''"): @@ -323,7 +299,6 @@ async def test_path_params_list(self, async_client: AsyncTelnyx) -> None: porting_order_id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: associated_phone_number = await async_client.porting_orders.associated_phone_numbers.delete( @@ -332,7 +307,6 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(AssociatedPhoneNumberDeleteResponse, associated_phone_number, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.porting_orders.associated_phone_numbers.with_raw_response.delete( @@ -345,7 +319,6 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: associated_phone_number = await response.parse() assert_matches_type(AssociatedPhoneNumberDeleteResponse, associated_phone_number, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.porting_orders.associated_phone_numbers.with_streaming_response.delete( @@ -360,7 +333,6 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `porting_order_id` but received ''"): diff --git a/tests/api_resources/porting_orders/test_comments.py b/tests/api_resources/porting_orders/test_comments.py index 4365e368..f3b5c14e 100644 --- a/tests/api_resources/porting_orders/test_comments.py +++ b/tests/api_resources/porting_orders/test_comments.py @@ -20,7 +20,6 @@ class TestComments: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: comment = client.porting_orders.comments.create( @@ -28,7 +27,6 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(CommentCreateResponse, comment, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: comment = client.porting_orders.comments.create( @@ -37,7 +35,6 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(CommentCreateResponse, comment, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.porting_orders.comments.with_raw_response.create( @@ -49,7 +46,6 @@ def test_raw_response_create(self, client: Telnyx) -> None: comment = response.parse() assert_matches_type(CommentCreateResponse, comment, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.porting_orders.comments.with_streaming_response.create( @@ -63,7 +59,6 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_create(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -71,7 +66,6 @@ def test_path_params_create(self, client: Telnyx) -> None: id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: comment = client.porting_orders.comments.list( @@ -79,7 +73,6 @@ def test_method_list(self, client: Telnyx) -> None: ) assert_matches_type(CommentListResponse, comment, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: comment = client.porting_orders.comments.list( @@ -91,7 +84,6 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(CommentListResponse, comment, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.porting_orders.comments.with_raw_response.list( @@ -103,7 +95,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: comment = response.parse() assert_matches_type(CommentListResponse, comment, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.porting_orders.comments.with_streaming_response.list( @@ -117,7 +108,6 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_list(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -131,7 +121,6 @@ class TestAsyncComments: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: comment = await async_client.porting_orders.comments.create( @@ -139,7 +128,6 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(CommentCreateResponse, comment, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: comment = await async_client.porting_orders.comments.create( @@ -148,7 +136,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(CommentCreateResponse, comment, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.porting_orders.comments.with_raw_response.create( @@ -160,7 +147,6 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: comment = await response.parse() assert_matches_type(CommentCreateResponse, comment, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.porting_orders.comments.with_streaming_response.create( @@ -174,7 +160,6 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_create(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -182,7 +167,6 @@ async def test_path_params_create(self, async_client: AsyncTelnyx) -> None: id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: comment = await async_client.porting_orders.comments.list( @@ -190,7 +174,6 @@ async def test_method_list(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(CommentListResponse, comment, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: comment = await async_client.porting_orders.comments.list( @@ -202,7 +185,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(CommentListResponse, comment, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.porting_orders.comments.with_raw_response.list( @@ -214,7 +196,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: comment = await response.parse() assert_matches_type(CommentListResponse, comment, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.porting_orders.comments.with_streaming_response.list( @@ -228,7 +209,6 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_list(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): diff --git a/tests/api_resources/porting_orders/test_phone_number_blocks.py b/tests/api_resources/porting_orders/test_phone_number_blocks.py index cb7e7b2b..df9d9f3b 100644 --- a/tests/api_resources/porting_orders/test_phone_number_blocks.py +++ b/tests/api_resources/porting_orders/test_phone_number_blocks.py @@ -21,7 +21,6 @@ class TestPhoneNumberBlocks: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: phone_number_block = client.porting_orders.phone_number_blocks.create( @@ -39,7 +38,6 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(PhoneNumberBlockCreateResponse, phone_number_block, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.porting_orders.phone_number_blocks.with_raw_response.create( @@ -61,7 +59,6 @@ def test_raw_response_create(self, client: Telnyx) -> None: phone_number_block = response.parse() assert_matches_type(PhoneNumberBlockCreateResponse, phone_number_block, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.porting_orders.phone_number_blocks.with_streaming_response.create( @@ -85,7 +82,6 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_create(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `porting_order_id` but received ''"): @@ -103,7 +99,6 @@ def test_path_params_create(self, client: Telnyx) -> None: }, ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: phone_number_block = client.porting_orders.phone_number_blocks.list( @@ -111,7 +106,6 @@ def test_method_list(self, client: Telnyx) -> None: ) assert_matches_type(PhoneNumberBlockListResponse, phone_number_block, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: phone_number_block = client.porting_orders.phone_number_blocks.list( @@ -132,7 +126,6 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(PhoneNumberBlockListResponse, phone_number_block, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.porting_orders.phone_number_blocks.with_raw_response.list( @@ -144,7 +137,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: phone_number_block = response.parse() assert_matches_type(PhoneNumberBlockListResponse, phone_number_block, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.porting_orders.phone_number_blocks.with_streaming_response.list( @@ -158,7 +150,6 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_list(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `porting_order_id` but received ''"): @@ -166,7 +157,6 @@ def test_path_params_list(self, client: Telnyx) -> None: porting_order_id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: phone_number_block = client.porting_orders.phone_number_blocks.delete( @@ -175,7 +165,6 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert_matches_type(PhoneNumberBlockDeleteResponse, phone_number_block, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.porting_orders.phone_number_blocks.with_raw_response.delete( @@ -188,7 +177,6 @@ def test_raw_response_delete(self, client: Telnyx) -> None: phone_number_block = response.parse() assert_matches_type(PhoneNumberBlockDeleteResponse, phone_number_block, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.porting_orders.phone_number_blocks.with_streaming_response.delete( @@ -203,7 +191,6 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `porting_order_id` but received ''"): @@ -224,7 +211,6 @@ class TestAsyncPhoneNumberBlocks: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: phone_number_block = await async_client.porting_orders.phone_number_blocks.create( @@ -242,7 +228,6 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(PhoneNumberBlockCreateResponse, phone_number_block, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.porting_orders.phone_number_blocks.with_raw_response.create( @@ -264,7 +249,6 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: phone_number_block = await response.parse() assert_matches_type(PhoneNumberBlockCreateResponse, phone_number_block, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.porting_orders.phone_number_blocks.with_streaming_response.create( @@ -288,7 +272,6 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_create(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `porting_order_id` but received ''"): @@ -306,7 +289,6 @@ async def test_path_params_create(self, async_client: AsyncTelnyx) -> None: }, ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: phone_number_block = await async_client.porting_orders.phone_number_blocks.list( @@ -314,7 +296,6 @@ async def test_method_list(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(PhoneNumberBlockListResponse, phone_number_block, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: phone_number_block = await async_client.porting_orders.phone_number_blocks.list( @@ -335,7 +316,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(PhoneNumberBlockListResponse, phone_number_block, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.porting_orders.phone_number_blocks.with_raw_response.list( @@ -347,7 +327,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: phone_number_block = await response.parse() assert_matches_type(PhoneNumberBlockListResponse, phone_number_block, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.porting_orders.phone_number_blocks.with_streaming_response.list( @@ -361,7 +340,6 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_list(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `porting_order_id` but received ''"): @@ -369,7 +347,6 @@ async def test_path_params_list(self, async_client: AsyncTelnyx) -> None: porting_order_id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: phone_number_block = await async_client.porting_orders.phone_number_blocks.delete( @@ -378,7 +355,6 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(PhoneNumberBlockDeleteResponse, phone_number_block, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.porting_orders.phone_number_blocks.with_raw_response.delete( @@ -391,7 +367,6 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: phone_number_block = await response.parse() assert_matches_type(PhoneNumberBlockDeleteResponse, phone_number_block, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.porting_orders.phone_number_blocks.with_streaming_response.delete( @@ -406,7 +381,6 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `porting_order_id` but received ''"): diff --git a/tests/api_resources/porting_orders/test_phone_number_configurations.py b/tests/api_resources/porting_orders/test_phone_number_configurations.py index 1080111e..7f740449 100644 --- a/tests/api_resources/porting_orders/test_phone_number_configurations.py +++ b/tests/api_resources/porting_orders/test_phone_number_configurations.py @@ -20,13 +20,11 @@ class TestPhoneNumberConfigurations: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: phone_number_configuration = client.porting_orders.phone_number_configurations.create() assert_matches_type(PhoneNumberConfigurationCreateResponse, phone_number_configuration, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: phone_number_configuration = client.porting_orders.phone_number_configurations.create( @@ -39,7 +37,6 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(PhoneNumberConfigurationCreateResponse, phone_number_configuration, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.porting_orders.phone_number_configurations.with_raw_response.create() @@ -49,7 +46,6 @@ def test_raw_response_create(self, client: Telnyx) -> None: phone_number_configuration = response.parse() assert_matches_type(PhoneNumberConfigurationCreateResponse, phone_number_configuration, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.porting_orders.phone_number_configurations.with_streaming_response.create() as response: @@ -61,13 +57,11 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: phone_number_configuration = client.porting_orders.phone_number_configurations.list() assert_matches_type(PhoneNumberConfigurationListResponse, phone_number_configuration, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: phone_number_configuration = client.porting_orders.phone_number_configurations.list( @@ -84,7 +78,6 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(PhoneNumberConfigurationListResponse, phone_number_configuration, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.porting_orders.phone_number_configurations.with_raw_response.list() @@ -94,7 +87,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: phone_number_configuration = response.parse() assert_matches_type(PhoneNumberConfigurationListResponse, phone_number_configuration, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.porting_orders.phone_number_configurations.with_streaming_response.list() as response: @@ -112,13 +104,11 @@ class TestAsyncPhoneNumberConfigurations: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: phone_number_configuration = await async_client.porting_orders.phone_number_configurations.create() assert_matches_type(PhoneNumberConfigurationCreateResponse, phone_number_configuration, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: phone_number_configuration = await async_client.porting_orders.phone_number_configurations.create( @@ -131,7 +121,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(PhoneNumberConfigurationCreateResponse, phone_number_configuration, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.porting_orders.phone_number_configurations.with_raw_response.create() @@ -141,7 +130,6 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: phone_number_configuration = await response.parse() assert_matches_type(PhoneNumberConfigurationCreateResponse, phone_number_configuration, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.porting_orders.phone_number_configurations.with_streaming_response.create() as response: @@ -153,13 +141,11 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: phone_number_configuration = await async_client.porting_orders.phone_number_configurations.list() assert_matches_type(PhoneNumberConfigurationListResponse, phone_number_configuration, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: phone_number_configuration = await async_client.porting_orders.phone_number_configurations.list( @@ -176,7 +162,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(PhoneNumberConfigurationListResponse, phone_number_configuration, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.porting_orders.phone_number_configurations.with_raw_response.list() @@ -186,7 +171,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: phone_number_configuration = await response.parse() assert_matches_type(PhoneNumberConfigurationListResponse, phone_number_configuration, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.porting_orders.phone_number_configurations.with_streaming_response.list() as response: diff --git a/tests/api_resources/porting_orders/test_phone_number_extensions.py b/tests/api_resources/porting_orders/test_phone_number_extensions.py index 60327fba..0a67b6dd 100644 --- a/tests/api_resources/porting_orders/test_phone_number_extensions.py +++ b/tests/api_resources/porting_orders/test_phone_number_extensions.py @@ -21,7 +21,6 @@ class TestPhoneNumberExtensions: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: phone_number_extension = client.porting_orders.phone_number_extensions.create( @@ -40,7 +39,6 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(PhoneNumberExtensionCreateResponse, phone_number_extension, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.porting_orders.phone_number_extensions.with_raw_response.create( @@ -63,7 +61,6 @@ def test_raw_response_create(self, client: Telnyx) -> None: phone_number_extension = response.parse() assert_matches_type(PhoneNumberExtensionCreateResponse, phone_number_extension, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.porting_orders.phone_number_extensions.with_streaming_response.create( @@ -88,7 +85,6 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_create(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `porting_order_id` but received ''"): @@ -107,7 +103,6 @@ def test_path_params_create(self, client: Telnyx) -> None: porting_phone_number_id="f24151b6-3389-41d3-8747-7dd8c681e5e2", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: phone_number_extension = client.porting_orders.phone_number_extensions.list( @@ -115,7 +110,6 @@ def test_method_list(self, client: Telnyx) -> None: ) assert_matches_type(PhoneNumberExtensionListResponse, phone_number_extension, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: phone_number_extension = client.porting_orders.phone_number_extensions.list( @@ -129,7 +123,6 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(PhoneNumberExtensionListResponse, phone_number_extension, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.porting_orders.phone_number_extensions.with_raw_response.list( @@ -141,7 +134,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: phone_number_extension = response.parse() assert_matches_type(PhoneNumberExtensionListResponse, phone_number_extension, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.porting_orders.phone_number_extensions.with_streaming_response.list( @@ -155,7 +147,6 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_list(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `porting_order_id` but received ''"): @@ -163,7 +154,6 @@ def test_path_params_list(self, client: Telnyx) -> None: porting_order_id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: phone_number_extension = client.porting_orders.phone_number_extensions.delete( @@ -172,7 +162,6 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert_matches_type(PhoneNumberExtensionDeleteResponse, phone_number_extension, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.porting_orders.phone_number_extensions.with_raw_response.delete( @@ -185,7 +174,6 @@ def test_raw_response_delete(self, client: Telnyx) -> None: phone_number_extension = response.parse() assert_matches_type(PhoneNumberExtensionDeleteResponse, phone_number_extension, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.porting_orders.phone_number_extensions.with_streaming_response.delete( @@ -200,7 +188,6 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `porting_order_id` but received ''"): @@ -221,7 +208,6 @@ class TestAsyncPhoneNumberExtensions: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: phone_number_extension = await async_client.porting_orders.phone_number_extensions.create( @@ -240,7 +226,6 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(PhoneNumberExtensionCreateResponse, phone_number_extension, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.porting_orders.phone_number_extensions.with_raw_response.create( @@ -263,7 +248,6 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: phone_number_extension = await response.parse() assert_matches_type(PhoneNumberExtensionCreateResponse, phone_number_extension, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.porting_orders.phone_number_extensions.with_streaming_response.create( @@ -288,7 +272,6 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_create(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `porting_order_id` but received ''"): @@ -307,7 +290,6 @@ async def test_path_params_create(self, async_client: AsyncTelnyx) -> None: porting_phone_number_id="f24151b6-3389-41d3-8747-7dd8c681e5e2", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: phone_number_extension = await async_client.porting_orders.phone_number_extensions.list( @@ -315,7 +297,6 @@ async def test_method_list(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(PhoneNumberExtensionListResponse, phone_number_extension, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: phone_number_extension = await async_client.porting_orders.phone_number_extensions.list( @@ -329,7 +310,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(PhoneNumberExtensionListResponse, phone_number_extension, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.porting_orders.phone_number_extensions.with_raw_response.list( @@ -341,7 +321,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: phone_number_extension = await response.parse() assert_matches_type(PhoneNumberExtensionListResponse, phone_number_extension, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.porting_orders.phone_number_extensions.with_streaming_response.list( @@ -355,7 +334,6 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_list(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `porting_order_id` but received ''"): @@ -363,7 +341,6 @@ async def test_path_params_list(self, async_client: AsyncTelnyx) -> None: porting_order_id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: phone_number_extension = await async_client.porting_orders.phone_number_extensions.delete( @@ -372,7 +349,6 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(PhoneNumberExtensionDeleteResponse, phone_number_extension, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.porting_orders.phone_number_extensions.with_raw_response.delete( @@ -385,7 +361,6 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: phone_number_extension = await response.parse() assert_matches_type(PhoneNumberExtensionDeleteResponse, phone_number_extension, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.porting_orders.phone_number_extensions.with_streaming_response.delete( @@ -400,7 +375,6 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `porting_order_id` but received ''"): diff --git a/tests/api_resources/porting_orders/test_verification_codes.py b/tests/api_resources/porting_orders/test_verification_codes.py index 3bd0498a..1802292f 100644 --- a/tests/api_resources/porting_orders/test_verification_codes.py +++ b/tests/api_resources/porting_orders/test_verification_codes.py @@ -20,7 +20,6 @@ class TestVerificationCodes: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: verification_code = client.porting_orders.verification_codes.list( @@ -28,7 +27,6 @@ def test_method_list(self, client: Telnyx) -> None: ) assert_matches_type(VerificationCodeListResponse, verification_code, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: verification_code = client.porting_orders.verification_codes.list( @@ -42,7 +40,6 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(VerificationCodeListResponse, verification_code, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.porting_orders.verification_codes.with_raw_response.list( @@ -54,7 +51,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: verification_code = response.parse() assert_matches_type(VerificationCodeListResponse, verification_code, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.porting_orders.verification_codes.with_streaming_response.list( @@ -68,7 +64,6 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_list(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -76,7 +71,6 @@ def test_path_params_list(self, client: Telnyx) -> None: id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_send(self, client: Telnyx) -> None: verification_code = client.porting_orders.verification_codes.send( @@ -84,7 +78,6 @@ def test_method_send(self, client: Telnyx) -> None: ) assert verification_code is None - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_send_with_all_params(self, client: Telnyx) -> None: verification_code = client.porting_orders.verification_codes.send( @@ -94,7 +87,6 @@ def test_method_send_with_all_params(self, client: Telnyx) -> None: ) assert verification_code is None - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_send(self, client: Telnyx) -> None: response = client.porting_orders.verification_codes.with_raw_response.send( @@ -106,7 +98,6 @@ def test_raw_response_send(self, client: Telnyx) -> None: verification_code = response.parse() assert verification_code is None - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_send(self, client: Telnyx) -> None: with client.porting_orders.verification_codes.with_streaming_response.send( @@ -120,7 +111,6 @@ def test_streaming_response_send(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_send(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -128,7 +118,6 @@ def test_path_params_send(self, client: Telnyx) -> None: id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_verify(self, client: Telnyx) -> None: verification_code = client.porting_orders.verification_codes.verify( @@ -136,7 +125,6 @@ def test_method_verify(self, client: Telnyx) -> None: ) assert_matches_type(VerificationCodeVerifyResponse, verification_code, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_verify_with_all_params(self, client: Telnyx) -> None: verification_code = client.porting_orders.verification_codes.verify( @@ -154,7 +142,6 @@ def test_method_verify_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(VerificationCodeVerifyResponse, verification_code, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_verify(self, client: Telnyx) -> None: response = client.porting_orders.verification_codes.with_raw_response.verify( @@ -166,7 +153,6 @@ def test_raw_response_verify(self, client: Telnyx) -> None: verification_code = response.parse() assert_matches_type(VerificationCodeVerifyResponse, verification_code, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_verify(self, client: Telnyx) -> None: with client.porting_orders.verification_codes.with_streaming_response.verify( @@ -180,7 +166,6 @@ def test_streaming_response_verify(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_verify(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -194,7 +179,6 @@ class TestAsyncVerificationCodes: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: verification_code = await async_client.porting_orders.verification_codes.list( @@ -202,7 +186,6 @@ async def test_method_list(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(VerificationCodeListResponse, verification_code, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: verification_code = await async_client.porting_orders.verification_codes.list( @@ -216,7 +199,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(VerificationCodeListResponse, verification_code, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.porting_orders.verification_codes.with_raw_response.list( @@ -228,7 +210,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: verification_code = await response.parse() assert_matches_type(VerificationCodeListResponse, verification_code, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.porting_orders.verification_codes.with_streaming_response.list( @@ -242,7 +223,6 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_list(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -250,7 +230,6 @@ async def test_path_params_list(self, async_client: AsyncTelnyx) -> None: id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_send(self, async_client: AsyncTelnyx) -> None: verification_code = await async_client.porting_orders.verification_codes.send( @@ -258,7 +237,6 @@ async def test_method_send(self, async_client: AsyncTelnyx) -> None: ) assert verification_code is None - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_send_with_all_params(self, async_client: AsyncTelnyx) -> None: verification_code = await async_client.porting_orders.verification_codes.send( @@ -268,7 +246,6 @@ async def test_method_send_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert verification_code is None - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_send(self, async_client: AsyncTelnyx) -> None: response = await async_client.porting_orders.verification_codes.with_raw_response.send( @@ -280,7 +257,6 @@ async def test_raw_response_send(self, async_client: AsyncTelnyx) -> None: verification_code = await response.parse() assert verification_code is None - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_send(self, async_client: AsyncTelnyx) -> None: async with async_client.porting_orders.verification_codes.with_streaming_response.send( @@ -294,7 +270,6 @@ async def test_streaming_response_send(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_send(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -302,7 +277,6 @@ async def test_path_params_send(self, async_client: AsyncTelnyx) -> None: id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_verify(self, async_client: AsyncTelnyx) -> None: verification_code = await async_client.porting_orders.verification_codes.verify( @@ -310,7 +284,6 @@ async def test_method_verify(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(VerificationCodeVerifyResponse, verification_code, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_verify_with_all_params(self, async_client: AsyncTelnyx) -> None: verification_code = await async_client.porting_orders.verification_codes.verify( @@ -328,7 +301,6 @@ async def test_method_verify_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(VerificationCodeVerifyResponse, verification_code, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_verify(self, async_client: AsyncTelnyx) -> None: response = await async_client.porting_orders.verification_codes.with_raw_response.verify( @@ -340,7 +312,6 @@ async def test_raw_response_verify(self, async_client: AsyncTelnyx) -> None: verification_code = await response.parse() assert_matches_type(VerificationCodeVerifyResponse, verification_code, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_verify(self, async_client: AsyncTelnyx) -> None: async with async_client.porting_orders.verification_codes.with_streaming_response.verify( @@ -354,7 +325,6 @@ async def test_streaming_response_verify(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_verify(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): diff --git a/tests/api_resources/portouts/test_comments.py b/tests/api_resources/portouts/test_comments.py index 9effc8c0..79b5e943 100644 --- a/tests/api_resources/portouts/test_comments.py +++ b/tests/api_resources/portouts/test_comments.py @@ -17,7 +17,6 @@ class TestComments: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: comment = client.portouts.comments.create( @@ -25,7 +24,6 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(CommentCreateResponse, comment, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: comment = client.portouts.comments.create( @@ -34,7 +32,6 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(CommentCreateResponse, comment, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.portouts.comments.with_raw_response.create( @@ -46,7 +43,6 @@ def test_raw_response_create(self, client: Telnyx) -> None: comment = response.parse() assert_matches_type(CommentCreateResponse, comment, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.portouts.comments.with_streaming_response.create( @@ -60,7 +56,6 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_create(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -68,7 +63,6 @@ def test_path_params_create(self, client: Telnyx) -> None: id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: comment = client.portouts.comments.list( @@ -76,7 +70,6 @@ def test_method_list(self, client: Telnyx) -> None: ) assert_matches_type(CommentListResponse, comment, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.portouts.comments.with_raw_response.list( @@ -88,7 +81,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: comment = response.parse() assert_matches_type(CommentListResponse, comment, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.portouts.comments.with_streaming_response.list( @@ -102,7 +94,6 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_list(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -116,7 +107,6 @@ class TestAsyncComments: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: comment = await async_client.portouts.comments.create( @@ -124,7 +114,6 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(CommentCreateResponse, comment, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: comment = await async_client.portouts.comments.create( @@ -133,7 +122,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(CommentCreateResponse, comment, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.portouts.comments.with_raw_response.create( @@ -145,7 +133,6 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: comment = await response.parse() assert_matches_type(CommentCreateResponse, comment, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.portouts.comments.with_streaming_response.create( @@ -159,7 +146,6 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_create(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -167,7 +153,6 @@ async def test_path_params_create(self, async_client: AsyncTelnyx) -> None: id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: comment = await async_client.portouts.comments.list( @@ -175,7 +160,6 @@ async def test_method_list(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(CommentListResponse, comment, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.portouts.comments.with_raw_response.list( @@ -187,7 +171,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: comment = await response.parse() assert_matches_type(CommentListResponse, comment, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.portouts.comments.with_streaming_response.list( @@ -201,7 +184,6 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_list(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): diff --git a/tests/api_resources/portouts/test_events.py b/tests/api_resources/portouts/test_events.py index 1c08002f..c1310284 100644 --- a/tests/api_resources/portouts/test_events.py +++ b/tests/api_resources/portouts/test_events.py @@ -18,7 +18,6 @@ class TestEvents: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: event = client.portouts.events.retrieve( @@ -26,7 +25,6 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(EventRetrieveResponse, event, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.portouts.events.with_raw_response.retrieve( @@ -38,7 +36,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: event = response.parse() assert_matches_type(EventRetrieveResponse, event, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.portouts.events.with_streaming_response.retrieve( @@ -52,7 +49,6 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -60,13 +56,11 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: event = client.portouts.events.list() assert_matches_type(EventListResponse, event, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: event = client.portouts.events.list( @@ -85,7 +79,6 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(EventListResponse, event, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.portouts.events.with_raw_response.list() @@ -95,7 +88,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: event = response.parse() assert_matches_type(EventListResponse, event, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.portouts.events.with_streaming_response.list() as response: @@ -107,7 +99,6 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_republish(self, client: Telnyx) -> None: event = client.portouts.events.republish( @@ -115,7 +106,6 @@ def test_method_republish(self, client: Telnyx) -> None: ) assert event is None - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_republish(self, client: Telnyx) -> None: response = client.portouts.events.with_raw_response.republish( @@ -127,7 +117,6 @@ def test_raw_response_republish(self, client: Telnyx) -> None: event = response.parse() assert event is None - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_republish(self, client: Telnyx) -> None: with client.portouts.events.with_streaming_response.republish( @@ -141,7 +130,6 @@ def test_streaming_response_republish(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_republish(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -155,7 +143,6 @@ class TestAsyncEvents: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: event = await async_client.portouts.events.retrieve( @@ -163,7 +150,6 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(EventRetrieveResponse, event, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.portouts.events.with_raw_response.retrieve( @@ -175,7 +161,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: event = await response.parse() assert_matches_type(EventRetrieveResponse, event, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.portouts.events.with_streaming_response.retrieve( @@ -189,7 +174,6 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -197,13 +181,11 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: event = await async_client.portouts.events.list() assert_matches_type(EventListResponse, event, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: event = await async_client.portouts.events.list( @@ -222,7 +204,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(EventListResponse, event, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.portouts.events.with_raw_response.list() @@ -232,7 +213,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: event = await response.parse() assert_matches_type(EventListResponse, event, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.portouts.events.with_streaming_response.list() as response: @@ -244,7 +224,6 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_republish(self, async_client: AsyncTelnyx) -> None: event = await async_client.portouts.events.republish( @@ -252,7 +231,6 @@ async def test_method_republish(self, async_client: AsyncTelnyx) -> None: ) assert event is None - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_republish(self, async_client: AsyncTelnyx) -> None: response = await async_client.portouts.events.with_raw_response.republish( @@ -264,7 +242,6 @@ async def test_raw_response_republish(self, async_client: AsyncTelnyx) -> None: event = await response.parse() assert event is None - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_republish(self, async_client: AsyncTelnyx) -> None: async with async_client.portouts.events.with_streaming_response.republish( @@ -278,7 +255,6 @@ async def test_streaming_response_republish(self, async_client: AsyncTelnyx) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_republish(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): diff --git a/tests/api_resources/portouts/test_reports.py b/tests/api_resources/portouts/test_reports.py index c2ce5e94..8f088e7e 100644 --- a/tests/api_resources/portouts/test_reports.py +++ b/tests/api_resources/portouts/test_reports.py @@ -21,7 +21,6 @@ class TestReports: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: report = client.portouts.reports.create( @@ -30,7 +29,6 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(ReportCreateResponse, report, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.portouts.reports.with_raw_response.create( @@ -43,7 +41,6 @@ def test_raw_response_create(self, client: Telnyx) -> None: report = response.parse() assert_matches_type(ReportCreateResponse, report, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.portouts.reports.with_streaming_response.create( @@ -58,7 +55,6 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: report = client.portouts.reports.retrieve( @@ -66,7 +62,6 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(ReportRetrieveResponse, report, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.portouts.reports.with_raw_response.retrieve( @@ -78,7 +73,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: report = response.parse() assert_matches_type(ReportRetrieveResponse, report, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.portouts.reports.with_streaming_response.retrieve( @@ -92,7 +86,6 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -100,13 +93,11 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: report = client.portouts.reports.list() assert_matches_type(ReportListResponse, report, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: report = client.portouts.reports.list( @@ -121,7 +112,6 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ReportListResponse, report, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.portouts.reports.with_raw_response.list() @@ -131,7 +121,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: report = response.parse() assert_matches_type(ReportListResponse, report, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.portouts.reports.with_streaming_response.list() as response: @@ -149,7 +138,6 @@ class TestAsyncReports: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: report = await async_client.portouts.reports.create( @@ -158,7 +146,6 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ReportCreateResponse, report, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.portouts.reports.with_raw_response.create( @@ -171,7 +158,6 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: report = await response.parse() assert_matches_type(ReportCreateResponse, report, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.portouts.reports.with_streaming_response.create( @@ -186,7 +172,6 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: report = await async_client.portouts.reports.retrieve( @@ -194,7 +179,6 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ReportRetrieveResponse, report, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.portouts.reports.with_raw_response.retrieve( @@ -206,7 +190,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: report = await response.parse() assert_matches_type(ReportRetrieveResponse, report, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.portouts.reports.with_streaming_response.retrieve( @@ -220,7 +203,6 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -228,13 +210,11 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: report = await async_client.portouts.reports.list() assert_matches_type(ReportListResponse, report, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: report = await async_client.portouts.reports.list( @@ -249,7 +229,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(ReportListResponse, report, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.portouts.reports.with_raw_response.list() @@ -259,7 +238,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: report = await response.parse() assert_matches_type(ReportListResponse, report, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.portouts.reports.with_streaming_response.list() as response: diff --git a/tests/api_resources/portouts/test_supporting_documents.py b/tests/api_resources/portouts/test_supporting_documents.py index f555cc1e..cf6ae87d 100644 --- a/tests/api_resources/portouts/test_supporting_documents.py +++ b/tests/api_resources/portouts/test_supporting_documents.py @@ -20,7 +20,6 @@ class TestSupportingDocuments: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: supporting_document = client.portouts.supporting_documents.create( @@ -28,7 +27,6 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(SupportingDocumentCreateResponse, supporting_document, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: supporting_document = client.portouts.supporting_documents.create( @@ -42,7 +40,6 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(SupportingDocumentCreateResponse, supporting_document, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.portouts.supporting_documents.with_raw_response.create( @@ -54,7 +51,6 @@ def test_raw_response_create(self, client: Telnyx) -> None: supporting_document = response.parse() assert_matches_type(SupportingDocumentCreateResponse, supporting_document, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.portouts.supporting_documents.with_streaming_response.create( @@ -68,7 +64,6 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_create(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -76,7 +71,6 @@ def test_path_params_create(self, client: Telnyx) -> None: id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: supporting_document = client.portouts.supporting_documents.list( @@ -84,7 +78,6 @@ def test_method_list(self, client: Telnyx) -> None: ) assert_matches_type(SupportingDocumentListResponse, supporting_document, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.portouts.supporting_documents.with_raw_response.list( @@ -96,7 +89,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: supporting_document = response.parse() assert_matches_type(SupportingDocumentListResponse, supporting_document, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.portouts.supporting_documents.with_streaming_response.list( @@ -110,7 +102,6 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_list(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -124,7 +115,6 @@ class TestAsyncSupportingDocuments: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: supporting_document = await async_client.portouts.supporting_documents.create( @@ -132,7 +122,6 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(SupportingDocumentCreateResponse, supporting_document, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: supporting_document = await async_client.portouts.supporting_documents.create( @@ -146,7 +135,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(SupportingDocumentCreateResponse, supporting_document, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.portouts.supporting_documents.with_raw_response.create( @@ -158,7 +146,6 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: supporting_document = await response.parse() assert_matches_type(SupportingDocumentCreateResponse, supporting_document, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.portouts.supporting_documents.with_streaming_response.create( @@ -172,7 +159,6 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_create(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -180,7 +166,6 @@ async def test_path_params_create(self, async_client: AsyncTelnyx) -> None: id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: supporting_document = await async_client.portouts.supporting_documents.list( @@ -188,7 +173,6 @@ async def test_method_list(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(SupportingDocumentListResponse, supporting_document, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.portouts.supporting_documents.with_raw_response.list( @@ -200,7 +184,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: supporting_document = await response.parse() assert_matches_type(SupportingDocumentListResponse, supporting_document, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.portouts.supporting_documents.with_streaming_response.list( @@ -214,7 +197,6 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_list(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): diff --git a/tests/api_resources/queues/test_calls.py b/tests/api_resources/queues/test_calls.py index 514a5af5..efb361f8 100644 --- a/tests/api_resources/queues/test_calls.py +++ b/tests/api_resources/queues/test_calls.py @@ -17,7 +17,6 @@ class TestCalls: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: call = client.queues.calls.retrieve( @@ -26,7 +25,6 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(CallRetrieveResponse, call, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.queues.calls.with_raw_response.retrieve( @@ -39,7 +37,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: call = response.parse() assert_matches_type(CallRetrieveResponse, call, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.queues.calls.with_streaming_response.retrieve( @@ -54,7 +51,6 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `queue_name` but received ''"): @@ -69,7 +65,6 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: queue_name="queue_name", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: call = client.queues.calls.list( @@ -77,7 +72,6 @@ def test_method_list(self, client: Telnyx) -> None: ) assert_matches_type(CallListResponse, call, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: call = client.queues.calls.list( @@ -92,7 +86,6 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(CallListResponse, call, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.queues.calls.with_raw_response.list( @@ -104,7 +97,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: call = response.parse() assert_matches_type(CallListResponse, call, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.queues.calls.with_streaming_response.list( @@ -118,7 +110,6 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_list(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `queue_name` but received ''"): @@ -132,7 +123,6 @@ class TestAsyncCalls: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: call = await async_client.queues.calls.retrieve( @@ -141,7 +131,6 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(CallRetrieveResponse, call, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.queues.calls.with_raw_response.retrieve( @@ -154,7 +143,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: call = await response.parse() assert_matches_type(CallRetrieveResponse, call, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.queues.calls.with_streaming_response.retrieve( @@ -169,7 +157,6 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `queue_name` but received ''"): @@ -184,7 +171,6 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: queue_name="queue_name", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: call = await async_client.queues.calls.list( @@ -192,7 +178,6 @@ async def test_method_list(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(CallListResponse, call, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: call = await async_client.queues.calls.list( @@ -207,7 +192,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(CallListResponse, call, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.queues.calls.with_raw_response.list( @@ -219,7 +203,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: call = await response.parse() assert_matches_type(CallListResponse, call, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.queues.calls.with_streaming_response.list( @@ -233,7 +216,6 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_list(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `queue_name` but received ''"): diff --git a/tests/api_resources/recordings/test_actions.py b/tests/api_resources/recordings/test_actions.py index b4b14fda..f45e63d4 100644 --- a/tests/api_resources/recordings/test_actions.py +++ b/tests/api_resources/recordings/test_actions.py @@ -15,7 +15,6 @@ class TestActions: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: action = client.recordings.actions.delete( @@ -23,7 +22,6 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert action is None - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.recordings.actions.with_raw_response.delete( @@ -35,7 +33,6 @@ def test_raw_response_delete(self, client: Telnyx) -> None: action = response.parse() assert action is None - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.recordings.actions.with_streaming_response.delete( @@ -55,7 +52,6 @@ class TestAsyncActions: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: action = await async_client.recordings.actions.delete( @@ -63,7 +59,6 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert action is None - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.recordings.actions.with_raw_response.delete( @@ -75,7 +70,6 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: action = await response.parse() assert action is None - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.recordings.actions.with_streaming_response.delete( diff --git a/tests/api_resources/reports/test_cdr_usage_reports.py b/tests/api_resources/reports/test_cdr_usage_reports.py index b4005f90..0ef79bb2 100644 --- a/tests/api_resources/reports/test_cdr_usage_reports.py +++ b/tests/api_resources/reports/test_cdr_usage_reports.py @@ -18,7 +18,6 @@ class TestCdrUsageReports: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_fetch_sync(self, client: Telnyx) -> None: cdr_usage_report = client.reports.cdr_usage_reports.fetch_sync( @@ -27,7 +26,6 @@ def test_method_fetch_sync(self, client: Telnyx) -> None: ) assert_matches_type(CdrUsageReportFetchSyncResponse, cdr_usage_report, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_fetch_sync_with_all_params(self, client: Telnyx) -> None: cdr_usage_report = client.reports.cdr_usage_reports.fetch_sync( @@ -39,7 +37,6 @@ def test_method_fetch_sync_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(CdrUsageReportFetchSyncResponse, cdr_usage_report, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_fetch_sync(self, client: Telnyx) -> None: response = client.reports.cdr_usage_reports.with_raw_response.fetch_sync( @@ -52,7 +49,6 @@ def test_raw_response_fetch_sync(self, client: Telnyx) -> None: cdr_usage_report = response.parse() assert_matches_type(CdrUsageReportFetchSyncResponse, cdr_usage_report, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_fetch_sync(self, client: Telnyx) -> None: with client.reports.cdr_usage_reports.with_streaming_response.fetch_sync( @@ -73,7 +69,6 @@ class TestAsyncCdrUsageReports: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_fetch_sync(self, async_client: AsyncTelnyx) -> None: cdr_usage_report = await async_client.reports.cdr_usage_reports.fetch_sync( @@ -82,7 +77,6 @@ async def test_method_fetch_sync(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(CdrUsageReportFetchSyncResponse, cdr_usage_report, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_fetch_sync_with_all_params(self, async_client: AsyncTelnyx) -> None: cdr_usage_report = await async_client.reports.cdr_usage_reports.fetch_sync( @@ -94,7 +88,6 @@ async def test_method_fetch_sync_with_all_params(self, async_client: AsyncTelnyx ) assert_matches_type(CdrUsageReportFetchSyncResponse, cdr_usage_report, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_fetch_sync(self, async_client: AsyncTelnyx) -> None: response = await async_client.reports.cdr_usage_reports.with_raw_response.fetch_sync( @@ -107,7 +100,6 @@ async def test_raw_response_fetch_sync(self, async_client: AsyncTelnyx) -> None: cdr_usage_report = await response.parse() assert_matches_type(CdrUsageReportFetchSyncResponse, cdr_usage_report, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_fetch_sync(self, async_client: AsyncTelnyx) -> None: async with async_client.reports.cdr_usage_reports.with_streaming_response.fetch_sync( diff --git a/tests/api_resources/reports/test_mdr_usage_reports.py b/tests/api_resources/reports/test_mdr_usage_reports.py index 2aae479b..e5fd83d9 100644 --- a/tests/api_resources/reports/test_mdr_usage_reports.py +++ b/tests/api_resources/reports/test_mdr_usage_reports.py @@ -24,7 +24,6 @@ class TestMdrUsageReports: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: mdr_usage_report = client.reports.mdr_usage_reports.create( @@ -34,7 +33,6 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(MdrUsageReportCreateResponse, mdr_usage_report, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: mdr_usage_report = client.reports.mdr_usage_reports.create( @@ -45,7 +43,6 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(MdrUsageReportCreateResponse, mdr_usage_report, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.reports.mdr_usage_reports.with_raw_response.create( @@ -59,7 +56,6 @@ def test_raw_response_create(self, client: Telnyx) -> None: mdr_usage_report = response.parse() assert_matches_type(MdrUsageReportCreateResponse, mdr_usage_report, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.reports.mdr_usage_reports.with_streaming_response.create( @@ -75,7 +71,6 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: mdr_usage_report = client.reports.mdr_usage_reports.retrieve( @@ -83,7 +78,6 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(MdrUsageReportRetrieveResponse, mdr_usage_report, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.reports.mdr_usage_reports.with_raw_response.retrieve( @@ -95,7 +89,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: mdr_usage_report = response.parse() assert_matches_type(MdrUsageReportRetrieveResponse, mdr_usage_report, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.reports.mdr_usage_reports.with_streaming_response.retrieve( @@ -109,7 +102,6 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -117,13 +109,11 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: mdr_usage_report = client.reports.mdr_usage_reports.list() assert_matches_type(MdrUsageReportListResponse, mdr_usage_report, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: mdr_usage_report = client.reports.mdr_usage_reports.list( @@ -134,7 +124,6 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(MdrUsageReportListResponse, mdr_usage_report, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.reports.mdr_usage_reports.with_raw_response.list() @@ -144,7 +133,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: mdr_usage_report = response.parse() assert_matches_type(MdrUsageReportListResponse, mdr_usage_report, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.reports.mdr_usage_reports.with_streaming_response.list() as response: @@ -156,7 +144,6 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: mdr_usage_report = client.reports.mdr_usage_reports.delete( @@ -164,7 +151,6 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert_matches_type(MdrUsageReportDeleteResponse, mdr_usage_report, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.reports.mdr_usage_reports.with_raw_response.delete( @@ -176,7 +162,6 @@ def test_raw_response_delete(self, client: Telnyx) -> None: mdr_usage_report = response.parse() assert_matches_type(MdrUsageReportDeleteResponse, mdr_usage_report, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.reports.mdr_usage_reports.with_streaming_response.delete( @@ -190,7 +175,6 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -198,7 +182,6 @@ def test_path_params_delete(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_fetch_sync(self, client: Telnyx) -> None: mdr_usage_report = client.reports.mdr_usage_reports.fetch_sync( @@ -206,7 +189,6 @@ def test_method_fetch_sync(self, client: Telnyx) -> None: ) assert_matches_type(MdrUsageReportFetchSyncResponse, mdr_usage_report, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_fetch_sync_with_all_params(self, client: Telnyx) -> None: mdr_usage_report = client.reports.mdr_usage_reports.fetch_sync( @@ -217,7 +199,6 @@ def test_method_fetch_sync_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(MdrUsageReportFetchSyncResponse, mdr_usage_report, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_fetch_sync(self, client: Telnyx) -> None: response = client.reports.mdr_usage_reports.with_raw_response.fetch_sync( @@ -229,7 +210,6 @@ def test_raw_response_fetch_sync(self, client: Telnyx) -> None: mdr_usage_report = response.parse() assert_matches_type(MdrUsageReportFetchSyncResponse, mdr_usage_report, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_fetch_sync(self, client: Telnyx) -> None: with client.reports.mdr_usage_reports.with_streaming_response.fetch_sync( @@ -249,7 +229,6 @@ class TestAsyncMdrUsageReports: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: mdr_usage_report = await async_client.reports.mdr_usage_reports.create( @@ -259,7 +238,6 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(MdrUsageReportCreateResponse, mdr_usage_report, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: mdr_usage_report = await async_client.reports.mdr_usage_reports.create( @@ -270,7 +248,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(MdrUsageReportCreateResponse, mdr_usage_report, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.reports.mdr_usage_reports.with_raw_response.create( @@ -284,7 +261,6 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: mdr_usage_report = await response.parse() assert_matches_type(MdrUsageReportCreateResponse, mdr_usage_report, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.reports.mdr_usage_reports.with_streaming_response.create( @@ -300,7 +276,6 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: mdr_usage_report = await async_client.reports.mdr_usage_reports.retrieve( @@ -308,7 +283,6 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(MdrUsageReportRetrieveResponse, mdr_usage_report, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.reports.mdr_usage_reports.with_raw_response.retrieve( @@ -320,7 +294,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: mdr_usage_report = await response.parse() assert_matches_type(MdrUsageReportRetrieveResponse, mdr_usage_report, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.reports.mdr_usage_reports.with_streaming_response.retrieve( @@ -334,7 +307,6 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -342,13 +314,11 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: mdr_usage_report = await async_client.reports.mdr_usage_reports.list() assert_matches_type(MdrUsageReportListResponse, mdr_usage_report, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: mdr_usage_report = await async_client.reports.mdr_usage_reports.list( @@ -359,7 +329,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(MdrUsageReportListResponse, mdr_usage_report, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.reports.mdr_usage_reports.with_raw_response.list() @@ -369,7 +338,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: mdr_usage_report = await response.parse() assert_matches_type(MdrUsageReportListResponse, mdr_usage_report, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.reports.mdr_usage_reports.with_streaming_response.list() as response: @@ -381,7 +349,6 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: mdr_usage_report = await async_client.reports.mdr_usage_reports.delete( @@ -389,7 +356,6 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(MdrUsageReportDeleteResponse, mdr_usage_report, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.reports.mdr_usage_reports.with_raw_response.delete( @@ -401,7 +367,6 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: mdr_usage_report = await response.parse() assert_matches_type(MdrUsageReportDeleteResponse, mdr_usage_report, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.reports.mdr_usage_reports.with_streaming_response.delete( @@ -415,7 +380,6 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -423,7 +387,6 @@ async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_fetch_sync(self, async_client: AsyncTelnyx) -> None: mdr_usage_report = await async_client.reports.mdr_usage_reports.fetch_sync( @@ -431,7 +394,6 @@ async def test_method_fetch_sync(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(MdrUsageReportFetchSyncResponse, mdr_usage_report, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_fetch_sync_with_all_params(self, async_client: AsyncTelnyx) -> None: mdr_usage_report = await async_client.reports.mdr_usage_reports.fetch_sync( @@ -442,7 +404,6 @@ async def test_method_fetch_sync_with_all_params(self, async_client: AsyncTelnyx ) assert_matches_type(MdrUsageReportFetchSyncResponse, mdr_usage_report, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_fetch_sync(self, async_client: AsyncTelnyx) -> None: response = await async_client.reports.mdr_usage_reports.with_raw_response.fetch_sync( @@ -454,7 +415,6 @@ async def test_raw_response_fetch_sync(self, async_client: AsyncTelnyx) -> None: mdr_usage_report = await response.parse() assert_matches_type(MdrUsageReportFetchSyncResponse, mdr_usage_report, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_fetch_sync(self, async_client: AsyncTelnyx) -> None: async with async_client.reports.mdr_usage_reports.with_streaming_response.fetch_sync( diff --git a/tests/api_resources/rooms/sessions/test_actions.py b/tests/api_resources/rooms/sessions/test_actions.py index 02ad98db..88436fc5 100644 --- a/tests/api_resources/rooms/sessions/test_actions.py +++ b/tests/api_resources/rooms/sessions/test_actions.py @@ -22,7 +22,6 @@ class TestActions: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_end(self, client: Telnyx) -> None: action = client.rooms.sessions.actions.end( @@ -30,7 +29,6 @@ def test_method_end(self, client: Telnyx) -> None: ) assert_matches_type(ActionEndResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_end(self, client: Telnyx) -> None: response = client.rooms.sessions.actions.with_raw_response.end( @@ -42,7 +40,6 @@ def test_raw_response_end(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionEndResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_end(self, client: Telnyx) -> None: with client.rooms.sessions.actions.with_streaming_response.end( @@ -56,7 +53,6 @@ def test_streaming_response_end(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_end(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `room_session_id` but received ''"): @@ -64,7 +60,6 @@ def test_path_params_end(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_kick(self, client: Telnyx) -> None: action = client.rooms.sessions.actions.kick( @@ -72,7 +67,6 @@ def test_method_kick(self, client: Telnyx) -> None: ) assert_matches_type(ActionKickResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_kick_with_all_params(self, client: Telnyx) -> None: action = client.rooms.sessions.actions.kick( @@ -82,7 +76,6 @@ def test_method_kick_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ActionKickResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_kick(self, client: Telnyx) -> None: response = client.rooms.sessions.actions.with_raw_response.kick( @@ -94,7 +87,6 @@ def test_raw_response_kick(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionKickResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_kick(self, client: Telnyx) -> None: with client.rooms.sessions.actions.with_streaming_response.kick( @@ -108,7 +100,6 @@ def test_streaming_response_kick(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_kick(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `room_session_id` but received ''"): @@ -116,7 +107,6 @@ def test_path_params_kick(self, client: Telnyx) -> None: room_session_id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_mute(self, client: Telnyx) -> None: action = client.rooms.sessions.actions.mute( @@ -124,7 +114,6 @@ def test_method_mute(self, client: Telnyx) -> None: ) assert_matches_type(ActionMuteResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_mute_with_all_params(self, client: Telnyx) -> None: action = client.rooms.sessions.actions.mute( @@ -134,7 +123,6 @@ def test_method_mute_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ActionMuteResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_mute(self, client: Telnyx) -> None: response = client.rooms.sessions.actions.with_raw_response.mute( @@ -146,7 +134,6 @@ def test_raw_response_mute(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionMuteResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_mute(self, client: Telnyx) -> None: with client.rooms.sessions.actions.with_streaming_response.mute( @@ -160,7 +147,6 @@ def test_streaming_response_mute(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_mute(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `room_session_id` but received ''"): @@ -168,7 +154,6 @@ def test_path_params_mute(self, client: Telnyx) -> None: room_session_id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_unmute(self, client: Telnyx) -> None: action = client.rooms.sessions.actions.unmute( @@ -176,7 +161,6 @@ def test_method_unmute(self, client: Telnyx) -> None: ) assert_matches_type(ActionUnmuteResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_unmute_with_all_params(self, client: Telnyx) -> None: action = client.rooms.sessions.actions.unmute( @@ -186,7 +170,6 @@ def test_method_unmute_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ActionUnmuteResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_unmute(self, client: Telnyx) -> None: response = client.rooms.sessions.actions.with_raw_response.unmute( @@ -198,7 +181,6 @@ def test_raw_response_unmute(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionUnmuteResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_unmute(self, client: Telnyx) -> None: with client.rooms.sessions.actions.with_streaming_response.unmute( @@ -212,7 +194,6 @@ def test_streaming_response_unmute(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_unmute(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `room_session_id` but received ''"): @@ -226,7 +207,6 @@ class TestAsyncActions: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_end(self, async_client: AsyncTelnyx) -> None: action = await async_client.rooms.sessions.actions.end( @@ -234,7 +214,6 @@ async def test_method_end(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ActionEndResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_end(self, async_client: AsyncTelnyx) -> None: response = await async_client.rooms.sessions.actions.with_raw_response.end( @@ -246,7 +225,6 @@ async def test_raw_response_end(self, async_client: AsyncTelnyx) -> None: action = await response.parse() assert_matches_type(ActionEndResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_end(self, async_client: AsyncTelnyx) -> None: async with async_client.rooms.sessions.actions.with_streaming_response.end( @@ -260,7 +238,6 @@ async def test_streaming_response_end(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_end(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `room_session_id` but received ''"): @@ -268,7 +245,6 @@ async def test_path_params_end(self, async_client: AsyncTelnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_kick(self, async_client: AsyncTelnyx) -> None: action = await async_client.rooms.sessions.actions.kick( @@ -276,7 +252,6 @@ async def test_method_kick(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ActionKickResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_kick_with_all_params(self, async_client: AsyncTelnyx) -> None: action = await async_client.rooms.sessions.actions.kick( @@ -286,7 +261,6 @@ async def test_method_kick_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(ActionKickResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_kick(self, async_client: AsyncTelnyx) -> None: response = await async_client.rooms.sessions.actions.with_raw_response.kick( @@ -298,7 +272,6 @@ async def test_raw_response_kick(self, async_client: AsyncTelnyx) -> None: action = await response.parse() assert_matches_type(ActionKickResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_kick(self, async_client: AsyncTelnyx) -> None: async with async_client.rooms.sessions.actions.with_streaming_response.kick( @@ -312,7 +285,6 @@ async def test_streaming_response_kick(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_kick(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `room_session_id` but received ''"): @@ -320,7 +292,6 @@ async def test_path_params_kick(self, async_client: AsyncTelnyx) -> None: room_session_id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_mute(self, async_client: AsyncTelnyx) -> None: action = await async_client.rooms.sessions.actions.mute( @@ -328,7 +299,6 @@ async def test_method_mute(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ActionMuteResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_mute_with_all_params(self, async_client: AsyncTelnyx) -> None: action = await async_client.rooms.sessions.actions.mute( @@ -338,7 +308,6 @@ async def test_method_mute_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(ActionMuteResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_mute(self, async_client: AsyncTelnyx) -> None: response = await async_client.rooms.sessions.actions.with_raw_response.mute( @@ -350,7 +319,6 @@ async def test_raw_response_mute(self, async_client: AsyncTelnyx) -> None: action = await response.parse() assert_matches_type(ActionMuteResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_mute(self, async_client: AsyncTelnyx) -> None: async with async_client.rooms.sessions.actions.with_streaming_response.mute( @@ -364,7 +332,6 @@ async def test_streaming_response_mute(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_mute(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `room_session_id` but received ''"): @@ -372,7 +339,6 @@ async def test_path_params_mute(self, async_client: AsyncTelnyx) -> None: room_session_id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_unmute(self, async_client: AsyncTelnyx) -> None: action = await async_client.rooms.sessions.actions.unmute( @@ -380,7 +346,6 @@ async def test_method_unmute(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ActionUnmuteResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_unmute_with_all_params(self, async_client: AsyncTelnyx) -> None: action = await async_client.rooms.sessions.actions.unmute( @@ -390,7 +355,6 @@ async def test_method_unmute_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(ActionUnmuteResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_unmute(self, async_client: AsyncTelnyx) -> None: response = await async_client.rooms.sessions.actions.with_raw_response.unmute( @@ -402,7 +366,6 @@ async def test_raw_response_unmute(self, async_client: AsyncTelnyx) -> None: action = await response.parse() assert_matches_type(ActionUnmuteResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_unmute(self, async_client: AsyncTelnyx) -> None: async with async_client.rooms.sessions.actions.with_streaming_response.unmute( @@ -416,7 +379,6 @@ async def test_streaming_response_unmute(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_unmute(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `room_session_id` but received ''"): diff --git a/tests/api_resources/rooms/test_actions.py b/tests/api_resources/rooms/test_actions.py index 187a7924..667886e5 100644 --- a/tests/api_resources/rooms/test_actions.py +++ b/tests/api_resources/rooms/test_actions.py @@ -20,7 +20,6 @@ class TestActions: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_generate_join_client_token(self, client: Telnyx) -> None: action = client.rooms.actions.generate_join_client_token( @@ -28,7 +27,6 @@ def test_method_generate_join_client_token(self, client: Telnyx) -> None: ) assert_matches_type(ActionGenerateJoinClientTokenResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_generate_join_client_token_with_all_params(self, client: Telnyx) -> None: action = client.rooms.actions.generate_join_client_token( @@ -38,7 +36,6 @@ def test_method_generate_join_client_token_with_all_params(self, client: Telnyx) ) assert_matches_type(ActionGenerateJoinClientTokenResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_generate_join_client_token(self, client: Telnyx) -> None: response = client.rooms.actions.with_raw_response.generate_join_client_token( @@ -50,7 +47,6 @@ def test_raw_response_generate_join_client_token(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionGenerateJoinClientTokenResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_generate_join_client_token(self, client: Telnyx) -> None: with client.rooms.actions.with_streaming_response.generate_join_client_token( @@ -64,7 +60,6 @@ def test_streaming_response_generate_join_client_token(self, client: Telnyx) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_generate_join_client_token(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `room_id` but received ''"): @@ -72,7 +67,6 @@ def test_path_params_generate_join_client_token(self, client: Telnyx) -> None: room_id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_refresh_client_token(self, client: Telnyx) -> None: action = client.rooms.actions.refresh_client_token( @@ -81,7 +75,6 @@ def test_method_refresh_client_token(self, client: Telnyx) -> None: ) assert_matches_type(ActionRefreshClientTokenResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_refresh_client_token_with_all_params(self, client: Telnyx) -> None: action = client.rooms.actions.refresh_client_token( @@ -91,7 +84,6 @@ def test_method_refresh_client_token_with_all_params(self, client: Telnyx) -> No ) assert_matches_type(ActionRefreshClientTokenResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_refresh_client_token(self, client: Telnyx) -> None: response = client.rooms.actions.with_raw_response.refresh_client_token( @@ -104,7 +96,6 @@ def test_raw_response_refresh_client_token(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionRefreshClientTokenResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_refresh_client_token(self, client: Telnyx) -> None: with client.rooms.actions.with_streaming_response.refresh_client_token( @@ -119,7 +110,6 @@ def test_streaming_response_refresh_client_token(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_refresh_client_token(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `room_id` but received ''"): @@ -134,7 +124,6 @@ class TestAsyncActions: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_generate_join_client_token(self, async_client: AsyncTelnyx) -> None: action = await async_client.rooms.actions.generate_join_client_token( @@ -142,7 +131,6 @@ async def test_method_generate_join_client_token(self, async_client: AsyncTelnyx ) assert_matches_type(ActionGenerateJoinClientTokenResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_generate_join_client_token_with_all_params(self, async_client: AsyncTelnyx) -> None: action = await async_client.rooms.actions.generate_join_client_token( @@ -152,7 +140,6 @@ async def test_method_generate_join_client_token_with_all_params(self, async_cli ) assert_matches_type(ActionGenerateJoinClientTokenResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_generate_join_client_token(self, async_client: AsyncTelnyx) -> None: response = await async_client.rooms.actions.with_raw_response.generate_join_client_token( @@ -164,7 +151,6 @@ async def test_raw_response_generate_join_client_token(self, async_client: Async action = await response.parse() assert_matches_type(ActionGenerateJoinClientTokenResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_generate_join_client_token(self, async_client: AsyncTelnyx) -> None: async with async_client.rooms.actions.with_streaming_response.generate_join_client_token( @@ -178,7 +164,6 @@ async def test_streaming_response_generate_join_client_token(self, async_client: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_generate_join_client_token(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `room_id` but received ''"): @@ -186,7 +171,6 @@ async def test_path_params_generate_join_client_token(self, async_client: AsyncT room_id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_refresh_client_token(self, async_client: AsyncTelnyx) -> None: action = await async_client.rooms.actions.refresh_client_token( @@ -195,7 +179,6 @@ async def test_method_refresh_client_token(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(ActionRefreshClientTokenResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_refresh_client_token_with_all_params(self, async_client: AsyncTelnyx) -> None: action = await async_client.rooms.actions.refresh_client_token( @@ -205,7 +188,6 @@ async def test_method_refresh_client_token_with_all_params(self, async_client: A ) assert_matches_type(ActionRefreshClientTokenResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_refresh_client_token(self, async_client: AsyncTelnyx) -> None: response = await async_client.rooms.actions.with_raw_response.refresh_client_token( @@ -218,7 +200,6 @@ async def test_raw_response_refresh_client_token(self, async_client: AsyncTelnyx action = await response.parse() assert_matches_type(ActionRefreshClientTokenResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_refresh_client_token(self, async_client: AsyncTelnyx) -> None: async with async_client.rooms.actions.with_streaming_response.refresh_client_token( @@ -233,7 +214,6 @@ async def test_streaming_response_refresh_client_token(self, async_client: Async assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_refresh_client_token(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `room_id` but received ''"): diff --git a/tests/api_resources/rooms/test_sessions.py b/tests/api_resources/rooms/test_sessions.py index 9819a53b..5f931af9 100644 --- a/tests/api_resources/rooms/test_sessions.py +++ b/tests/api_resources/rooms/test_sessions.py @@ -23,7 +23,6 @@ class TestSessions: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: session = client.rooms.sessions.retrieve( @@ -31,7 +30,6 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(SessionRetrieveResponse, session, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve_with_all_params(self, client: Telnyx) -> None: session = client.rooms.sessions.retrieve( @@ -40,7 +38,6 @@ def test_method_retrieve_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(SessionRetrieveResponse, session, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.rooms.sessions.with_raw_response.retrieve( @@ -52,7 +49,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: session = response.parse() assert_matches_type(SessionRetrieveResponse, session, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.rooms.sessions.with_streaming_response.retrieve( @@ -66,7 +62,6 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `room_session_id` but received ''"): @@ -74,13 +69,11 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: room_session_id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_0(self, client: Telnyx) -> None: session = client.rooms.sessions.list_0() assert_matches_type(SessionList0Response, session, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_0_with_all_params(self, client: Telnyx) -> None: session = client.rooms.sessions.list_0( @@ -111,7 +104,6 @@ def test_method_list_0_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(SessionList0Response, session, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list_0(self, client: Telnyx) -> None: response = client.rooms.sessions.with_raw_response.list_0() @@ -121,7 +113,6 @@ def test_raw_response_list_0(self, client: Telnyx) -> None: session = response.parse() assert_matches_type(SessionList0Response, session, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list_0(self, client: Telnyx) -> None: with client.rooms.sessions.with_streaming_response.list_0() as response: @@ -133,7 +124,6 @@ def test_streaming_response_list_0(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_1(self, client: Telnyx) -> None: session = client.rooms.sessions.list_1( @@ -141,7 +131,6 @@ def test_method_list_1(self, client: Telnyx) -> None: ) assert_matches_type(SessionList1Response, session, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_1_with_all_params(self, client: Telnyx) -> None: session = client.rooms.sessions.list_1( @@ -172,7 +161,6 @@ def test_method_list_1_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(SessionList1Response, session, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list_1(self, client: Telnyx) -> None: response = client.rooms.sessions.with_raw_response.list_1( @@ -184,7 +172,6 @@ def test_raw_response_list_1(self, client: Telnyx) -> None: session = response.parse() assert_matches_type(SessionList1Response, session, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list_1(self, client: Telnyx) -> None: with client.rooms.sessions.with_streaming_response.list_1( @@ -198,7 +185,6 @@ def test_streaming_response_list_1(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_list_1(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `room_id` but received ''"): @@ -206,7 +192,6 @@ def test_path_params_list_1(self, client: Telnyx) -> None: room_id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve_participants(self, client: Telnyx) -> None: session = client.rooms.sessions.retrieve_participants( @@ -214,7 +199,6 @@ def test_method_retrieve_participants(self, client: Telnyx) -> None: ) assert_matches_type(SessionRetrieveParticipantsResponse, session, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve_participants_with_all_params(self, client: Telnyx) -> None: session = client.rooms.sessions.retrieve_participants( @@ -244,7 +228,6 @@ def test_method_retrieve_participants_with_all_params(self, client: Telnyx) -> N ) assert_matches_type(SessionRetrieveParticipantsResponse, session, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve_participants(self, client: Telnyx) -> None: response = client.rooms.sessions.with_raw_response.retrieve_participants( @@ -256,7 +239,6 @@ def test_raw_response_retrieve_participants(self, client: Telnyx) -> None: session = response.parse() assert_matches_type(SessionRetrieveParticipantsResponse, session, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve_participants(self, client: Telnyx) -> None: with client.rooms.sessions.with_streaming_response.retrieve_participants( @@ -270,7 +252,6 @@ def test_streaming_response_retrieve_participants(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve_participants(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `room_session_id` but received ''"): @@ -284,7 +265,6 @@ class TestAsyncSessions: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: session = await async_client.rooms.sessions.retrieve( @@ -292,7 +272,6 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(SessionRetrieveResponse, session, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve_with_all_params(self, async_client: AsyncTelnyx) -> None: session = await async_client.rooms.sessions.retrieve( @@ -301,7 +280,6 @@ async def test_method_retrieve_with_all_params(self, async_client: AsyncTelnyx) ) assert_matches_type(SessionRetrieveResponse, session, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.rooms.sessions.with_raw_response.retrieve( @@ -313,7 +291,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: session = await response.parse() assert_matches_type(SessionRetrieveResponse, session, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.rooms.sessions.with_streaming_response.retrieve( @@ -327,7 +304,6 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `room_session_id` but received ''"): @@ -335,13 +311,11 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: room_session_id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_0(self, async_client: AsyncTelnyx) -> None: session = await async_client.rooms.sessions.list_0() assert_matches_type(SessionList0Response, session, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_0_with_all_params(self, async_client: AsyncTelnyx) -> None: session = await async_client.rooms.sessions.list_0( @@ -372,7 +346,6 @@ async def test_method_list_0_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(SessionList0Response, session, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list_0(self, async_client: AsyncTelnyx) -> None: response = await async_client.rooms.sessions.with_raw_response.list_0() @@ -382,7 +355,6 @@ async def test_raw_response_list_0(self, async_client: AsyncTelnyx) -> None: session = await response.parse() assert_matches_type(SessionList0Response, session, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list_0(self, async_client: AsyncTelnyx) -> None: async with async_client.rooms.sessions.with_streaming_response.list_0() as response: @@ -394,7 +366,6 @@ async def test_streaming_response_list_0(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_1(self, async_client: AsyncTelnyx) -> None: session = await async_client.rooms.sessions.list_1( @@ -402,7 +373,6 @@ async def test_method_list_1(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(SessionList1Response, session, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_1_with_all_params(self, async_client: AsyncTelnyx) -> None: session = await async_client.rooms.sessions.list_1( @@ -433,7 +403,6 @@ async def test_method_list_1_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(SessionList1Response, session, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list_1(self, async_client: AsyncTelnyx) -> None: response = await async_client.rooms.sessions.with_raw_response.list_1( @@ -445,7 +414,6 @@ async def test_raw_response_list_1(self, async_client: AsyncTelnyx) -> None: session = await response.parse() assert_matches_type(SessionList1Response, session, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list_1(self, async_client: AsyncTelnyx) -> None: async with async_client.rooms.sessions.with_streaming_response.list_1( @@ -459,7 +427,6 @@ async def test_streaming_response_list_1(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_list_1(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `room_id` but received ''"): @@ -467,7 +434,6 @@ async def test_path_params_list_1(self, async_client: AsyncTelnyx) -> None: room_id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve_participants(self, async_client: AsyncTelnyx) -> None: session = await async_client.rooms.sessions.retrieve_participants( @@ -475,7 +441,6 @@ async def test_method_retrieve_participants(self, async_client: AsyncTelnyx) -> ) assert_matches_type(SessionRetrieveParticipantsResponse, session, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve_participants_with_all_params(self, async_client: AsyncTelnyx) -> None: session = await async_client.rooms.sessions.retrieve_participants( @@ -505,7 +470,6 @@ async def test_method_retrieve_participants_with_all_params(self, async_client: ) assert_matches_type(SessionRetrieveParticipantsResponse, session, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve_participants(self, async_client: AsyncTelnyx) -> None: response = await async_client.rooms.sessions.with_raw_response.retrieve_participants( @@ -517,7 +481,6 @@ async def test_raw_response_retrieve_participants(self, async_client: AsyncTelny session = await response.parse() assert_matches_type(SessionRetrieveParticipantsResponse, session, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve_participants(self, async_client: AsyncTelnyx) -> None: async with async_client.rooms.sessions.with_streaming_response.retrieve_participants( @@ -531,7 +494,6 @@ async def test_streaming_response_retrieve_participants(self, async_client: Asyn assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve_participants(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `room_session_id` but received ''"): diff --git a/tests/api_resources/sim_card_groups/test_actions.py b/tests/api_resources/sim_card_groups/test_actions.py index 1595174b..51853980 100644 --- a/tests/api_resources/sim_card_groups/test_actions.py +++ b/tests/api_resources/sim_card_groups/test_actions.py @@ -24,7 +24,6 @@ class TestActions: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: action = client.sim_card_groups.actions.retrieve( @@ -32,7 +31,6 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(ActionRetrieveResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.sim_card_groups.actions.with_raw_response.retrieve( @@ -44,7 +42,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionRetrieveResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.sim_card_groups.actions.with_streaming_response.retrieve( @@ -58,7 +55,6 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -66,13 +62,11 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: action = client.sim_card_groups.actions.list() assert_matches_type(ActionListResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: action = client.sim_card_groups.actions.list( @@ -84,7 +78,6 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ActionListResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.sim_card_groups.actions.with_raw_response.list() @@ -94,7 +87,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionListResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.sim_card_groups.actions.with_streaming_response.list() as response: @@ -106,7 +98,6 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_remove_private_wireless_gateway(self, client: Telnyx) -> None: action = client.sim_card_groups.actions.remove_private_wireless_gateway( @@ -114,7 +105,6 @@ def test_method_remove_private_wireless_gateway(self, client: Telnyx) -> None: ) assert_matches_type(ActionRemovePrivateWirelessGatewayResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_remove_private_wireless_gateway(self, client: Telnyx) -> None: response = client.sim_card_groups.actions.with_raw_response.remove_private_wireless_gateway( @@ -126,7 +116,6 @@ def test_raw_response_remove_private_wireless_gateway(self, client: Telnyx) -> N action = response.parse() assert_matches_type(ActionRemovePrivateWirelessGatewayResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_remove_private_wireless_gateway(self, client: Telnyx) -> None: with client.sim_card_groups.actions.with_streaming_response.remove_private_wireless_gateway( @@ -140,7 +129,6 @@ def test_streaming_response_remove_private_wireless_gateway(self, client: Telnyx assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_remove_private_wireless_gateway(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -148,7 +136,6 @@ def test_path_params_remove_private_wireless_gateway(self, client: Telnyx) -> No "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_remove_wireless_blocklist(self, client: Telnyx) -> None: action = client.sim_card_groups.actions.remove_wireless_blocklist( @@ -156,7 +143,6 @@ def test_method_remove_wireless_blocklist(self, client: Telnyx) -> None: ) assert_matches_type(ActionRemoveWirelessBlocklistResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_remove_wireless_blocklist(self, client: Telnyx) -> None: response = client.sim_card_groups.actions.with_raw_response.remove_wireless_blocklist( @@ -168,7 +154,6 @@ def test_raw_response_remove_wireless_blocklist(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionRemoveWirelessBlocklistResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_remove_wireless_blocklist(self, client: Telnyx) -> None: with client.sim_card_groups.actions.with_streaming_response.remove_wireless_blocklist( @@ -182,7 +167,6 @@ def test_streaming_response_remove_wireless_blocklist(self, client: Telnyx) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_remove_wireless_blocklist(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -190,7 +174,6 @@ def test_path_params_remove_wireless_blocklist(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_set_private_wireless_gateway(self, client: Telnyx) -> None: action = client.sim_card_groups.actions.set_private_wireless_gateway( @@ -199,7 +182,6 @@ def test_method_set_private_wireless_gateway(self, client: Telnyx) -> None: ) assert_matches_type(ActionSetPrivateWirelessGatewayResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_set_private_wireless_gateway(self, client: Telnyx) -> None: response = client.sim_card_groups.actions.with_raw_response.set_private_wireless_gateway( @@ -212,7 +194,6 @@ def test_raw_response_set_private_wireless_gateway(self, client: Telnyx) -> None action = response.parse() assert_matches_type(ActionSetPrivateWirelessGatewayResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_set_private_wireless_gateway(self, client: Telnyx) -> None: with client.sim_card_groups.actions.with_streaming_response.set_private_wireless_gateway( @@ -227,7 +208,6 @@ def test_streaming_response_set_private_wireless_gateway(self, client: Telnyx) - assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_set_private_wireless_gateway(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -236,7 +216,6 @@ def test_path_params_set_private_wireless_gateway(self, client: Telnyx) -> None: private_wireless_gateway_id="6a09cdc3-8948-47f0-aa62-74ac943d6c58", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_set_wireless_blocklist(self, client: Telnyx) -> None: action = client.sim_card_groups.actions.set_wireless_blocklist( @@ -245,7 +224,6 @@ def test_method_set_wireless_blocklist(self, client: Telnyx) -> None: ) assert_matches_type(ActionSetWirelessBlocklistResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_set_wireless_blocklist(self, client: Telnyx) -> None: response = client.sim_card_groups.actions.with_raw_response.set_wireless_blocklist( @@ -258,7 +236,6 @@ def test_raw_response_set_wireless_blocklist(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionSetWirelessBlocklistResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_set_wireless_blocklist(self, client: Telnyx) -> None: with client.sim_card_groups.actions.with_streaming_response.set_wireless_blocklist( @@ -273,7 +250,6 @@ def test_streaming_response_set_wireless_blocklist(self, client: Telnyx) -> None assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_set_wireless_blocklist(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -288,7 +264,6 @@ class TestAsyncActions: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: action = await async_client.sim_card_groups.actions.retrieve( @@ -296,7 +271,6 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ActionRetrieveResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.sim_card_groups.actions.with_raw_response.retrieve( @@ -308,7 +282,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: action = await response.parse() assert_matches_type(ActionRetrieveResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.sim_card_groups.actions.with_streaming_response.retrieve( @@ -322,7 +295,6 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -330,13 +302,11 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: action = await async_client.sim_card_groups.actions.list() assert_matches_type(ActionListResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: action = await async_client.sim_card_groups.actions.list( @@ -348,7 +318,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(ActionListResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.sim_card_groups.actions.with_raw_response.list() @@ -358,7 +327,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: action = await response.parse() assert_matches_type(ActionListResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.sim_card_groups.actions.with_streaming_response.list() as response: @@ -370,7 +338,6 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_remove_private_wireless_gateway(self, async_client: AsyncTelnyx) -> None: action = await async_client.sim_card_groups.actions.remove_private_wireless_gateway( @@ -378,7 +345,6 @@ async def test_method_remove_private_wireless_gateway(self, async_client: AsyncT ) assert_matches_type(ActionRemovePrivateWirelessGatewayResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_remove_private_wireless_gateway(self, async_client: AsyncTelnyx) -> None: response = await async_client.sim_card_groups.actions.with_raw_response.remove_private_wireless_gateway( @@ -390,7 +356,6 @@ async def test_raw_response_remove_private_wireless_gateway(self, async_client: action = await response.parse() assert_matches_type(ActionRemovePrivateWirelessGatewayResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_remove_private_wireless_gateway(self, async_client: AsyncTelnyx) -> None: async with async_client.sim_card_groups.actions.with_streaming_response.remove_private_wireless_gateway( @@ -404,7 +369,6 @@ async def test_streaming_response_remove_private_wireless_gateway(self, async_cl assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_remove_private_wireless_gateway(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -412,7 +376,6 @@ async def test_path_params_remove_private_wireless_gateway(self, async_client: A "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_remove_wireless_blocklist(self, async_client: AsyncTelnyx) -> None: action = await async_client.sim_card_groups.actions.remove_wireless_blocklist( @@ -420,7 +383,6 @@ async def test_method_remove_wireless_blocklist(self, async_client: AsyncTelnyx) ) assert_matches_type(ActionRemoveWirelessBlocklistResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_remove_wireless_blocklist(self, async_client: AsyncTelnyx) -> None: response = await async_client.sim_card_groups.actions.with_raw_response.remove_wireless_blocklist( @@ -432,7 +394,6 @@ async def test_raw_response_remove_wireless_blocklist(self, async_client: AsyncT action = await response.parse() assert_matches_type(ActionRemoveWirelessBlocklistResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_remove_wireless_blocklist(self, async_client: AsyncTelnyx) -> None: async with async_client.sim_card_groups.actions.with_streaming_response.remove_wireless_blocklist( @@ -446,7 +407,6 @@ async def test_streaming_response_remove_wireless_blocklist(self, async_client: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_remove_wireless_blocklist(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -454,7 +414,6 @@ async def test_path_params_remove_wireless_blocklist(self, async_client: AsyncTe "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_set_private_wireless_gateway(self, async_client: AsyncTelnyx) -> None: action = await async_client.sim_card_groups.actions.set_private_wireless_gateway( @@ -463,7 +422,6 @@ async def test_method_set_private_wireless_gateway(self, async_client: AsyncTeln ) assert_matches_type(ActionSetPrivateWirelessGatewayResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_set_private_wireless_gateway(self, async_client: AsyncTelnyx) -> None: response = await async_client.sim_card_groups.actions.with_raw_response.set_private_wireless_gateway( @@ -476,7 +434,6 @@ async def test_raw_response_set_private_wireless_gateway(self, async_client: Asy action = await response.parse() assert_matches_type(ActionSetPrivateWirelessGatewayResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_set_private_wireless_gateway(self, async_client: AsyncTelnyx) -> None: async with async_client.sim_card_groups.actions.with_streaming_response.set_private_wireless_gateway( @@ -491,7 +448,6 @@ async def test_streaming_response_set_private_wireless_gateway(self, async_clien assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_set_private_wireless_gateway(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -500,7 +456,6 @@ async def test_path_params_set_private_wireless_gateway(self, async_client: Asyn private_wireless_gateway_id="6a09cdc3-8948-47f0-aa62-74ac943d6c58", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_set_wireless_blocklist(self, async_client: AsyncTelnyx) -> None: action = await async_client.sim_card_groups.actions.set_wireless_blocklist( @@ -509,7 +464,6 @@ async def test_method_set_wireless_blocklist(self, async_client: AsyncTelnyx) -> ) assert_matches_type(ActionSetWirelessBlocklistResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_set_wireless_blocklist(self, async_client: AsyncTelnyx) -> None: response = await async_client.sim_card_groups.actions.with_raw_response.set_wireless_blocklist( @@ -522,7 +476,6 @@ async def test_raw_response_set_wireless_blocklist(self, async_client: AsyncTeln action = await response.parse() assert_matches_type(ActionSetWirelessBlocklistResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_set_wireless_blocklist(self, async_client: AsyncTelnyx) -> None: async with async_client.sim_card_groups.actions.with_streaming_response.set_wireless_blocklist( @@ -537,7 +490,6 @@ async def test_streaming_response_set_wireless_blocklist(self, async_client: Asy assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_set_wireless_blocklist(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): diff --git a/tests/api_resources/sim_cards/test_actions.py b/tests/api_resources/sim_cards/test_actions.py index edc2142f..151a616c 100644 --- a/tests/api_resources/sim_cards/test_actions.py +++ b/tests/api_resources/sim_cards/test_actions.py @@ -27,7 +27,6 @@ class TestActions: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: action = client.sim_cards.actions.retrieve( @@ -35,7 +34,6 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(ActionRetrieveResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.sim_cards.actions.with_raw_response.retrieve( @@ -47,7 +45,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionRetrieveResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.sim_cards.actions.with_streaming_response.retrieve( @@ -61,7 +58,6 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -69,13 +65,11 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: action = client.sim_cards.actions.list() assert_matches_type(ActionListResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: action = client.sim_cards.actions.list( @@ -92,7 +86,6 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ActionListResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.sim_cards.actions.with_raw_response.list() @@ -102,7 +95,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionListResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.sim_cards.actions.with_streaming_response.list() as response: @@ -114,7 +106,6 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_bulk_set_public_ips(self, client: Telnyx) -> None: action = client.sim_cards.actions.bulk_set_public_ips( @@ -122,7 +113,6 @@ def test_method_bulk_set_public_ips(self, client: Telnyx) -> None: ) assert_matches_type(ActionBulkSetPublicIPsResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_bulk_set_public_ips(self, client: Telnyx) -> None: response = client.sim_cards.actions.with_raw_response.bulk_set_public_ips( @@ -134,7 +124,6 @@ def test_raw_response_bulk_set_public_ips(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionBulkSetPublicIPsResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_bulk_set_public_ips(self, client: Telnyx) -> None: with client.sim_cards.actions.with_streaming_response.bulk_set_public_ips( @@ -148,7 +137,6 @@ def test_streaming_response_bulk_set_public_ips(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_disable(self, client: Telnyx) -> None: action = client.sim_cards.actions.disable( @@ -156,7 +144,6 @@ def test_method_disable(self, client: Telnyx) -> None: ) assert_matches_type(ActionDisableResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_disable(self, client: Telnyx) -> None: response = client.sim_cards.actions.with_raw_response.disable( @@ -168,7 +155,6 @@ def test_raw_response_disable(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionDisableResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_disable(self, client: Telnyx) -> None: with client.sim_cards.actions.with_streaming_response.disable( @@ -182,7 +168,6 @@ def test_streaming_response_disable(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_disable(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -190,7 +175,6 @@ def test_path_params_disable(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_enable(self, client: Telnyx) -> None: action = client.sim_cards.actions.enable( @@ -198,7 +182,6 @@ def test_method_enable(self, client: Telnyx) -> None: ) assert_matches_type(ActionEnableResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_enable(self, client: Telnyx) -> None: response = client.sim_cards.actions.with_raw_response.enable( @@ -210,7 +193,6 @@ def test_raw_response_enable(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionEnableResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_enable(self, client: Telnyx) -> None: with client.sim_cards.actions.with_streaming_response.enable( @@ -224,7 +206,6 @@ def test_streaming_response_enable(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_enable(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -232,7 +213,6 @@ def test_path_params_enable(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_remove_public_ip(self, client: Telnyx) -> None: action = client.sim_cards.actions.remove_public_ip( @@ -240,7 +220,6 @@ def test_method_remove_public_ip(self, client: Telnyx) -> None: ) assert_matches_type(ActionRemovePublicIPResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_remove_public_ip(self, client: Telnyx) -> None: response = client.sim_cards.actions.with_raw_response.remove_public_ip( @@ -252,7 +231,6 @@ def test_raw_response_remove_public_ip(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionRemovePublicIPResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_remove_public_ip(self, client: Telnyx) -> None: with client.sim_cards.actions.with_streaming_response.remove_public_ip( @@ -266,7 +244,6 @@ def test_streaming_response_remove_public_ip(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_remove_public_ip(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -274,7 +251,6 @@ def test_path_params_remove_public_ip(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_set_public_ip(self, client: Telnyx) -> None: action = client.sim_cards.actions.set_public_ip( @@ -282,7 +258,6 @@ def test_method_set_public_ip(self, client: Telnyx) -> None: ) assert_matches_type(ActionSetPublicIPResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_set_public_ip_with_all_params(self, client: Telnyx) -> None: action = client.sim_cards.actions.set_public_ip( @@ -291,7 +266,6 @@ def test_method_set_public_ip_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ActionSetPublicIPResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_set_public_ip(self, client: Telnyx) -> None: response = client.sim_cards.actions.with_raw_response.set_public_ip( @@ -303,7 +277,6 @@ def test_raw_response_set_public_ip(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionSetPublicIPResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_set_public_ip(self, client: Telnyx) -> None: with client.sim_cards.actions.with_streaming_response.set_public_ip( @@ -317,7 +290,6 @@ def test_streaming_response_set_public_ip(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_set_public_ip(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -325,7 +297,6 @@ def test_path_params_set_public_ip(self, client: Telnyx) -> None: id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_set_standby(self, client: Telnyx) -> None: action = client.sim_cards.actions.set_standby( @@ -333,7 +304,6 @@ def test_method_set_standby(self, client: Telnyx) -> None: ) assert_matches_type(ActionSetStandbyResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_set_standby(self, client: Telnyx) -> None: response = client.sim_cards.actions.with_raw_response.set_standby( @@ -345,7 +315,6 @@ def test_raw_response_set_standby(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionSetStandbyResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_set_standby(self, client: Telnyx) -> None: with client.sim_cards.actions.with_streaming_response.set_standby( @@ -359,7 +328,6 @@ def test_streaming_response_set_standby(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_set_standby(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -367,13 +335,11 @@ def test_path_params_set_standby(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_validate_registration_codes(self, client: Telnyx) -> None: action = client.sim_cards.actions.validate_registration_codes() assert_matches_type(ActionValidateRegistrationCodesResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_validate_registration_codes_with_all_params(self, client: Telnyx) -> None: action = client.sim_cards.actions.validate_registration_codes( @@ -381,7 +347,6 @@ def test_method_validate_registration_codes_with_all_params(self, client: Telnyx ) assert_matches_type(ActionValidateRegistrationCodesResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_validate_registration_codes(self, client: Telnyx) -> None: response = client.sim_cards.actions.with_raw_response.validate_registration_codes() @@ -391,7 +356,6 @@ def test_raw_response_validate_registration_codes(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionValidateRegistrationCodesResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_validate_registration_codes(self, client: Telnyx) -> None: with client.sim_cards.actions.with_streaming_response.validate_registration_codes() as response: @@ -409,7 +373,6 @@ class TestAsyncActions: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: action = await async_client.sim_cards.actions.retrieve( @@ -417,7 +380,6 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ActionRetrieveResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.sim_cards.actions.with_raw_response.retrieve( @@ -429,7 +391,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: action = await response.parse() assert_matches_type(ActionRetrieveResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.sim_cards.actions.with_streaming_response.retrieve( @@ -443,7 +404,6 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -451,13 +411,11 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: action = await async_client.sim_cards.actions.list() assert_matches_type(ActionListResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: action = await async_client.sim_cards.actions.list( @@ -474,7 +432,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(ActionListResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.sim_cards.actions.with_raw_response.list() @@ -484,7 +441,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: action = await response.parse() assert_matches_type(ActionListResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.sim_cards.actions.with_streaming_response.list() as response: @@ -496,7 +452,6 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_bulk_set_public_ips(self, async_client: AsyncTelnyx) -> None: action = await async_client.sim_cards.actions.bulk_set_public_ips( @@ -504,7 +459,6 @@ async def test_method_bulk_set_public_ips(self, async_client: AsyncTelnyx) -> No ) assert_matches_type(ActionBulkSetPublicIPsResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_bulk_set_public_ips(self, async_client: AsyncTelnyx) -> None: response = await async_client.sim_cards.actions.with_raw_response.bulk_set_public_ips( @@ -516,7 +470,6 @@ async def test_raw_response_bulk_set_public_ips(self, async_client: AsyncTelnyx) action = await response.parse() assert_matches_type(ActionBulkSetPublicIPsResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_bulk_set_public_ips(self, async_client: AsyncTelnyx) -> None: async with async_client.sim_cards.actions.with_streaming_response.bulk_set_public_ips( @@ -530,7 +483,6 @@ async def test_streaming_response_bulk_set_public_ips(self, async_client: AsyncT assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_disable(self, async_client: AsyncTelnyx) -> None: action = await async_client.sim_cards.actions.disable( @@ -538,7 +490,6 @@ async def test_method_disable(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ActionDisableResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_disable(self, async_client: AsyncTelnyx) -> None: response = await async_client.sim_cards.actions.with_raw_response.disable( @@ -550,7 +501,6 @@ async def test_raw_response_disable(self, async_client: AsyncTelnyx) -> None: action = await response.parse() assert_matches_type(ActionDisableResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_disable(self, async_client: AsyncTelnyx) -> None: async with async_client.sim_cards.actions.with_streaming_response.disable( @@ -564,7 +514,6 @@ async def test_streaming_response_disable(self, async_client: AsyncTelnyx) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_disable(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -572,7 +521,6 @@ async def test_path_params_disable(self, async_client: AsyncTelnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_enable(self, async_client: AsyncTelnyx) -> None: action = await async_client.sim_cards.actions.enable( @@ -580,7 +528,6 @@ async def test_method_enable(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ActionEnableResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_enable(self, async_client: AsyncTelnyx) -> None: response = await async_client.sim_cards.actions.with_raw_response.enable( @@ -592,7 +539,6 @@ async def test_raw_response_enable(self, async_client: AsyncTelnyx) -> None: action = await response.parse() assert_matches_type(ActionEnableResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_enable(self, async_client: AsyncTelnyx) -> None: async with async_client.sim_cards.actions.with_streaming_response.enable( @@ -606,7 +552,6 @@ async def test_streaming_response_enable(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_enable(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -614,7 +559,6 @@ async def test_path_params_enable(self, async_client: AsyncTelnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_remove_public_ip(self, async_client: AsyncTelnyx) -> None: action = await async_client.sim_cards.actions.remove_public_ip( @@ -622,7 +566,6 @@ async def test_method_remove_public_ip(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ActionRemovePublicIPResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_remove_public_ip(self, async_client: AsyncTelnyx) -> None: response = await async_client.sim_cards.actions.with_raw_response.remove_public_ip( @@ -634,7 +577,6 @@ async def test_raw_response_remove_public_ip(self, async_client: AsyncTelnyx) -> action = await response.parse() assert_matches_type(ActionRemovePublicIPResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_remove_public_ip(self, async_client: AsyncTelnyx) -> None: async with async_client.sim_cards.actions.with_streaming_response.remove_public_ip( @@ -648,7 +590,6 @@ async def test_streaming_response_remove_public_ip(self, async_client: AsyncTeln assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_remove_public_ip(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -656,7 +597,6 @@ async def test_path_params_remove_public_ip(self, async_client: AsyncTelnyx) -> "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_set_public_ip(self, async_client: AsyncTelnyx) -> None: action = await async_client.sim_cards.actions.set_public_ip( @@ -664,7 +604,6 @@ async def test_method_set_public_ip(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ActionSetPublicIPResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_set_public_ip_with_all_params(self, async_client: AsyncTelnyx) -> None: action = await async_client.sim_cards.actions.set_public_ip( @@ -673,7 +612,6 @@ async def test_method_set_public_ip_with_all_params(self, async_client: AsyncTel ) assert_matches_type(ActionSetPublicIPResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_set_public_ip(self, async_client: AsyncTelnyx) -> None: response = await async_client.sim_cards.actions.with_raw_response.set_public_ip( @@ -685,7 +623,6 @@ async def test_raw_response_set_public_ip(self, async_client: AsyncTelnyx) -> No action = await response.parse() assert_matches_type(ActionSetPublicIPResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_set_public_ip(self, async_client: AsyncTelnyx) -> None: async with async_client.sim_cards.actions.with_streaming_response.set_public_ip( @@ -699,7 +636,6 @@ async def test_streaming_response_set_public_ip(self, async_client: AsyncTelnyx) assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_set_public_ip(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -707,7 +643,6 @@ async def test_path_params_set_public_ip(self, async_client: AsyncTelnyx) -> Non id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_set_standby(self, async_client: AsyncTelnyx) -> None: action = await async_client.sim_cards.actions.set_standby( @@ -715,7 +650,6 @@ async def test_method_set_standby(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ActionSetStandbyResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_set_standby(self, async_client: AsyncTelnyx) -> None: response = await async_client.sim_cards.actions.with_raw_response.set_standby( @@ -727,7 +661,6 @@ async def test_raw_response_set_standby(self, async_client: AsyncTelnyx) -> None action = await response.parse() assert_matches_type(ActionSetStandbyResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_set_standby(self, async_client: AsyncTelnyx) -> None: async with async_client.sim_cards.actions.with_streaming_response.set_standby( @@ -741,7 +674,6 @@ async def test_streaming_response_set_standby(self, async_client: AsyncTelnyx) - assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_set_standby(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -749,13 +681,11 @@ async def test_path_params_set_standby(self, async_client: AsyncTelnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_validate_registration_codes(self, async_client: AsyncTelnyx) -> None: action = await async_client.sim_cards.actions.validate_registration_codes() assert_matches_type(ActionValidateRegistrationCodesResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_validate_registration_codes_with_all_params(self, async_client: AsyncTelnyx) -> None: action = await async_client.sim_cards.actions.validate_registration_codes( @@ -763,7 +693,6 @@ async def test_method_validate_registration_codes_with_all_params(self, async_cl ) assert_matches_type(ActionValidateRegistrationCodesResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_validate_registration_codes(self, async_client: AsyncTelnyx) -> None: response = await async_client.sim_cards.actions.with_raw_response.validate_registration_codes() @@ -773,7 +702,6 @@ async def test_raw_response_validate_registration_codes(self, async_client: Asyn action = await response.parse() assert_matches_type(ActionValidateRegistrationCodesResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_validate_registration_codes(self, async_client: AsyncTelnyx) -> None: async with async_client.sim_cards.actions.with_streaming_response.validate_registration_codes() as response: diff --git a/tests/api_resources/storage/buckets/test_ssl_certificate.py b/tests/api_resources/storage/buckets/test_ssl_certificate.py index c76ba281..da0b70f5 100644 --- a/tests/api_resources/storage/buckets/test_ssl_certificate.py +++ b/tests/api_resources/storage/buckets/test_ssl_certificate.py @@ -21,7 +21,6 @@ class TestSslCertificate: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: ssl_certificate = client.storage.buckets.ssl_certificate.create( @@ -29,7 +28,6 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(SslCertificateCreateResponse, ssl_certificate, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: ssl_certificate = client.storage.buckets.ssl_certificate.create( @@ -39,7 +37,6 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(SslCertificateCreateResponse, ssl_certificate, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.storage.buckets.ssl_certificate.with_raw_response.create( @@ -51,7 +48,6 @@ def test_raw_response_create(self, client: Telnyx) -> None: ssl_certificate = response.parse() assert_matches_type(SslCertificateCreateResponse, ssl_certificate, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.storage.buckets.ssl_certificate.with_streaming_response.create( @@ -65,7 +61,6 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_create(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `bucket_name` but received ''"): @@ -73,7 +68,6 @@ def test_path_params_create(self, client: Telnyx) -> None: bucket_name="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: ssl_certificate = client.storage.buckets.ssl_certificate.retrieve( @@ -81,7 +75,6 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(SslCertificateRetrieveResponse, ssl_certificate, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.storage.buckets.ssl_certificate.with_raw_response.retrieve( @@ -93,7 +86,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: ssl_certificate = response.parse() assert_matches_type(SslCertificateRetrieveResponse, ssl_certificate, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.storage.buckets.ssl_certificate.with_streaming_response.retrieve( @@ -107,7 +99,6 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `bucket_name` but received ''"): @@ -115,7 +106,6 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: ssl_certificate = client.storage.buckets.ssl_certificate.delete( @@ -123,7 +113,6 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert_matches_type(SslCertificateDeleteResponse, ssl_certificate, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.storage.buckets.ssl_certificate.with_raw_response.delete( @@ -135,7 +124,6 @@ def test_raw_response_delete(self, client: Telnyx) -> None: ssl_certificate = response.parse() assert_matches_type(SslCertificateDeleteResponse, ssl_certificate, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.storage.buckets.ssl_certificate.with_streaming_response.delete( @@ -149,7 +137,6 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `bucket_name` but received ''"): @@ -163,7 +150,6 @@ class TestAsyncSslCertificate: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: ssl_certificate = await async_client.storage.buckets.ssl_certificate.create( @@ -171,7 +157,6 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(SslCertificateCreateResponse, ssl_certificate, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: ssl_certificate = await async_client.storage.buckets.ssl_certificate.create( @@ -181,7 +166,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(SslCertificateCreateResponse, ssl_certificate, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.storage.buckets.ssl_certificate.with_raw_response.create( @@ -193,7 +177,6 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: ssl_certificate = await response.parse() assert_matches_type(SslCertificateCreateResponse, ssl_certificate, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.storage.buckets.ssl_certificate.with_streaming_response.create( @@ -207,7 +190,6 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_create(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `bucket_name` but received ''"): @@ -215,7 +197,6 @@ async def test_path_params_create(self, async_client: AsyncTelnyx) -> None: bucket_name="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ssl_certificate = await async_client.storage.buckets.ssl_certificate.retrieve( @@ -223,7 +204,6 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(SslCertificateRetrieveResponse, ssl_certificate, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.storage.buckets.ssl_certificate.with_raw_response.retrieve( @@ -235,7 +215,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: ssl_certificate = await response.parse() assert_matches_type(SslCertificateRetrieveResponse, ssl_certificate, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.storage.buckets.ssl_certificate.with_streaming_response.retrieve( @@ -249,7 +228,6 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `bucket_name` but received ''"): @@ -257,7 +235,6 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ssl_certificate = await async_client.storage.buckets.ssl_certificate.delete( @@ -265,7 +242,6 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(SslCertificateDeleteResponse, ssl_certificate, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.storage.buckets.ssl_certificate.with_raw_response.delete( @@ -277,7 +253,6 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: ssl_certificate = await response.parse() assert_matches_type(SslCertificateDeleteResponse, ssl_certificate, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.storage.buckets.ssl_certificate.with_streaming_response.delete( @@ -291,7 +266,6 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `bucket_name` but received ''"): diff --git a/tests/api_resources/storage/buckets/test_usage.py b/tests/api_resources/storage/buckets/test_usage.py index d487e399..0b8f61de 100644 --- a/tests/api_resources/storage/buckets/test_usage.py +++ b/tests/api_resources/storage/buckets/test_usage.py @@ -21,7 +21,6 @@ class TestUsage: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_get_api_usage(self, client: Telnyx) -> None: usage = client.storage.buckets.usage.get_api_usage( @@ -33,7 +32,6 @@ def test_method_get_api_usage(self, client: Telnyx) -> None: ) assert_matches_type(UsageGetAPIUsageResponse, usage, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_get_api_usage(self, client: Telnyx) -> None: response = client.storage.buckets.usage.with_raw_response.get_api_usage( @@ -49,7 +47,6 @@ def test_raw_response_get_api_usage(self, client: Telnyx) -> None: usage = response.parse() assert_matches_type(UsageGetAPIUsageResponse, usage, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_get_api_usage(self, client: Telnyx) -> None: with client.storage.buckets.usage.with_streaming_response.get_api_usage( @@ -67,7 +64,6 @@ def test_streaming_response_get_api_usage(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_get_api_usage(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `bucket_name` but received ''"): @@ -79,7 +75,6 @@ def test_path_params_get_api_usage(self, client: Telnyx) -> None: }, ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_get_bucket_usage(self, client: Telnyx) -> None: usage = client.storage.buckets.usage.get_bucket_usage( @@ -87,7 +82,6 @@ def test_method_get_bucket_usage(self, client: Telnyx) -> None: ) assert_matches_type(UsageGetBucketUsageResponse, usage, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_get_bucket_usage(self, client: Telnyx) -> None: response = client.storage.buckets.usage.with_raw_response.get_bucket_usage( @@ -99,7 +93,6 @@ def test_raw_response_get_bucket_usage(self, client: Telnyx) -> None: usage = response.parse() assert_matches_type(UsageGetBucketUsageResponse, usage, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_get_bucket_usage(self, client: Telnyx) -> None: with client.storage.buckets.usage.with_streaming_response.get_bucket_usage( @@ -113,7 +106,6 @@ def test_streaming_response_get_bucket_usage(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_get_bucket_usage(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `bucket_name` but received ''"): @@ -127,7 +119,6 @@ class TestAsyncUsage: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_get_api_usage(self, async_client: AsyncTelnyx) -> None: usage = await async_client.storage.buckets.usage.get_api_usage( @@ -139,7 +130,6 @@ async def test_method_get_api_usage(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(UsageGetAPIUsageResponse, usage, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_get_api_usage(self, async_client: AsyncTelnyx) -> None: response = await async_client.storage.buckets.usage.with_raw_response.get_api_usage( @@ -155,7 +145,6 @@ async def test_raw_response_get_api_usage(self, async_client: AsyncTelnyx) -> No usage = await response.parse() assert_matches_type(UsageGetAPIUsageResponse, usage, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_get_api_usage(self, async_client: AsyncTelnyx) -> None: async with async_client.storage.buckets.usage.with_streaming_response.get_api_usage( @@ -173,7 +162,6 @@ async def test_streaming_response_get_api_usage(self, async_client: AsyncTelnyx) assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_get_api_usage(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `bucket_name` but received ''"): @@ -185,7 +173,6 @@ async def test_path_params_get_api_usage(self, async_client: AsyncTelnyx) -> Non }, ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_get_bucket_usage(self, async_client: AsyncTelnyx) -> None: usage = await async_client.storage.buckets.usage.get_bucket_usage( @@ -193,7 +180,6 @@ async def test_method_get_bucket_usage(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(UsageGetBucketUsageResponse, usage, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_get_bucket_usage(self, async_client: AsyncTelnyx) -> None: response = await async_client.storage.buckets.usage.with_raw_response.get_bucket_usage( @@ -205,7 +191,6 @@ async def test_raw_response_get_bucket_usage(self, async_client: AsyncTelnyx) -> usage = await response.parse() assert_matches_type(UsageGetBucketUsageResponse, usage, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_get_bucket_usage(self, async_client: AsyncTelnyx) -> None: async with async_client.storage.buckets.usage.with_streaming_response.get_bucket_usage( @@ -219,7 +204,6 @@ async def test_streaming_response_get_bucket_usage(self, async_client: AsyncTeln assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_get_bucket_usage(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `bucket_name` but received ''"): diff --git a/tests/api_resources/storage/migrations/test_actions.py b/tests/api_resources/storage/migrations/test_actions.py index 67c18a38..12bb30e4 100644 --- a/tests/api_resources/storage/migrations/test_actions.py +++ b/tests/api_resources/storage/migrations/test_actions.py @@ -17,7 +17,6 @@ class TestActions: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_stop(self, client: Telnyx) -> None: action = client.storage.migrations.actions.stop( @@ -25,7 +24,6 @@ def test_method_stop(self, client: Telnyx) -> None: ) assert_matches_type(ActionStopResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_stop(self, client: Telnyx) -> None: response = client.storage.migrations.actions.with_raw_response.stop( @@ -37,7 +35,6 @@ def test_raw_response_stop(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionStopResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_stop(self, client: Telnyx) -> None: with client.storage.migrations.actions.with_streaming_response.stop( @@ -51,7 +48,6 @@ def test_streaming_response_stop(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_stop(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -65,7 +61,6 @@ class TestAsyncActions: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_stop(self, async_client: AsyncTelnyx) -> None: action = await async_client.storage.migrations.actions.stop( @@ -73,7 +68,6 @@ async def test_method_stop(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ActionStopResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_stop(self, async_client: AsyncTelnyx) -> None: response = await async_client.storage.migrations.actions.with_raw_response.stop( @@ -85,7 +79,6 @@ async def test_raw_response_stop(self, async_client: AsyncTelnyx) -> None: action = await response.parse() assert_matches_type(ActionStopResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_stop(self, async_client: AsyncTelnyx) -> None: async with async_client.storage.migrations.actions.with_streaming_response.stop( @@ -99,7 +92,6 @@ async def test_streaming_response_stop(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_stop(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): diff --git a/tests/api_resources/storage/test_buckets.py b/tests/api_resources/storage/test_buckets.py index 83903b27..b5d6f6c5 100644 --- a/tests/api_resources/storage/test_buckets.py +++ b/tests/api_resources/storage/test_buckets.py @@ -17,7 +17,6 @@ class TestBuckets: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_presigned_url(self, client: Telnyx) -> None: bucket = client.storage.buckets.create_presigned_url( @@ -26,7 +25,6 @@ def test_method_create_presigned_url(self, client: Telnyx) -> None: ) assert_matches_type(BucketCreatePresignedURLResponse, bucket, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_presigned_url_with_all_params(self, client: Telnyx) -> None: bucket = client.storage.buckets.create_presigned_url( @@ -36,7 +34,6 @@ def test_method_create_presigned_url_with_all_params(self, client: Telnyx) -> No ) assert_matches_type(BucketCreatePresignedURLResponse, bucket, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create_presigned_url(self, client: Telnyx) -> None: response = client.storage.buckets.with_raw_response.create_presigned_url( @@ -49,7 +46,6 @@ def test_raw_response_create_presigned_url(self, client: Telnyx) -> None: bucket = response.parse() assert_matches_type(BucketCreatePresignedURLResponse, bucket, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create_presigned_url(self, client: Telnyx) -> None: with client.storage.buckets.with_streaming_response.create_presigned_url( @@ -64,7 +60,6 @@ def test_streaming_response_create_presigned_url(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_create_presigned_url(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `bucket_name` but received ''"): @@ -85,7 +80,6 @@ class TestAsyncBuckets: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_presigned_url(self, async_client: AsyncTelnyx) -> None: bucket = await async_client.storage.buckets.create_presigned_url( @@ -94,7 +88,6 @@ async def test_method_create_presigned_url(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(BucketCreatePresignedURLResponse, bucket, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_presigned_url_with_all_params(self, async_client: AsyncTelnyx) -> None: bucket = await async_client.storage.buckets.create_presigned_url( @@ -104,7 +97,6 @@ async def test_method_create_presigned_url_with_all_params(self, async_client: A ) assert_matches_type(BucketCreatePresignedURLResponse, bucket, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create_presigned_url(self, async_client: AsyncTelnyx) -> None: response = await async_client.storage.buckets.with_raw_response.create_presigned_url( @@ -117,7 +109,6 @@ async def test_raw_response_create_presigned_url(self, async_client: AsyncTelnyx bucket = await response.parse() assert_matches_type(BucketCreatePresignedURLResponse, bucket, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create_presigned_url(self, async_client: AsyncTelnyx) -> None: async with async_client.storage.buckets.with_streaming_response.create_presigned_url( @@ -132,7 +123,6 @@ async def test_streaming_response_create_presigned_url(self, async_client: Async assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_create_presigned_url(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `bucket_name` but received ''"): diff --git a/tests/api_resources/storage/test_migration_sources.py b/tests/api_resources/storage/test_migration_sources.py index efdce519..3736188e 100644 --- a/tests/api_resources/storage/test_migration_sources.py +++ b/tests/api_resources/storage/test_migration_sources.py @@ -22,7 +22,6 @@ class TestMigrationSources: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: migration_source = client.storage.migration_sources.create( @@ -32,7 +31,6 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(MigrationSourceCreateResponse, migration_source, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: migration_source = client.storage.migration_sources.create( @@ -46,7 +44,6 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(MigrationSourceCreateResponse, migration_source, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.storage.migration_sources.with_raw_response.create( @@ -60,7 +57,6 @@ def test_raw_response_create(self, client: Telnyx) -> None: migration_source = response.parse() assert_matches_type(MigrationSourceCreateResponse, migration_source, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.storage.migration_sources.with_streaming_response.create( @@ -76,7 +72,6 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: migration_source = client.storage.migration_sources.retrieve( @@ -84,7 +79,6 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(MigrationSourceRetrieveResponse, migration_source, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.storage.migration_sources.with_raw_response.retrieve( @@ -96,7 +90,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: migration_source = response.parse() assert_matches_type(MigrationSourceRetrieveResponse, migration_source, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.storage.migration_sources.with_streaming_response.retrieve( @@ -110,7 +103,6 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -118,13 +110,11 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: migration_source = client.storage.migration_sources.list() assert_matches_type(MigrationSourceListResponse, migration_source, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.storage.migration_sources.with_raw_response.list() @@ -134,7 +124,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: migration_source = response.parse() assert_matches_type(MigrationSourceListResponse, migration_source, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.storage.migration_sources.with_streaming_response.list() as response: @@ -146,7 +135,6 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: migration_source = client.storage.migration_sources.delete( @@ -154,7 +142,6 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert_matches_type(MigrationSourceDeleteResponse, migration_source, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.storage.migration_sources.with_raw_response.delete( @@ -166,7 +153,6 @@ def test_raw_response_delete(self, client: Telnyx) -> None: migration_source = response.parse() assert_matches_type(MigrationSourceDeleteResponse, migration_source, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.storage.migration_sources.with_streaming_response.delete( @@ -180,7 +166,6 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -194,7 +179,6 @@ class TestAsyncMigrationSources: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: migration_source = await async_client.storage.migration_sources.create( @@ -204,7 +188,6 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(MigrationSourceCreateResponse, migration_source, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: migration_source = await async_client.storage.migration_sources.create( @@ -218,7 +201,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(MigrationSourceCreateResponse, migration_source, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.storage.migration_sources.with_raw_response.create( @@ -232,7 +214,6 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: migration_source = await response.parse() assert_matches_type(MigrationSourceCreateResponse, migration_source, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.storage.migration_sources.with_streaming_response.create( @@ -248,7 +229,6 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: migration_source = await async_client.storage.migration_sources.retrieve( @@ -256,7 +236,6 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(MigrationSourceRetrieveResponse, migration_source, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.storage.migration_sources.with_raw_response.retrieve( @@ -268,7 +247,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: migration_source = await response.parse() assert_matches_type(MigrationSourceRetrieveResponse, migration_source, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.storage.migration_sources.with_streaming_response.retrieve( @@ -282,7 +260,6 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -290,13 +267,11 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: migration_source = await async_client.storage.migration_sources.list() assert_matches_type(MigrationSourceListResponse, migration_source, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.storage.migration_sources.with_raw_response.list() @@ -306,7 +281,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: migration_source = await response.parse() assert_matches_type(MigrationSourceListResponse, migration_source, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.storage.migration_sources.with_streaming_response.list() as response: @@ -318,7 +292,6 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: migration_source = await async_client.storage.migration_sources.delete( @@ -326,7 +299,6 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(MigrationSourceDeleteResponse, migration_source, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.storage.migration_sources.with_raw_response.delete( @@ -338,7 +310,6 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: migration_source = await response.parse() assert_matches_type(MigrationSourceDeleteResponse, migration_source, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.storage.migration_sources.with_streaming_response.delete( @@ -352,7 +323,6 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): diff --git a/tests/api_resources/storage/test_migrations.py b/tests/api_resources/storage/test_migrations.py index b56b3e80..38c51b11 100644 --- a/tests/api_resources/storage/test_migrations.py +++ b/tests/api_resources/storage/test_migrations.py @@ -21,7 +21,6 @@ class TestMigrations: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: migration = client.storage.migrations.create( @@ -31,7 +30,6 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(MigrationCreateResponse, migration, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: migration = client.storage.migrations.create( @@ -42,7 +40,6 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(MigrationCreateResponse, migration, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.storage.migrations.with_raw_response.create( @@ -56,7 +53,6 @@ def test_raw_response_create(self, client: Telnyx) -> None: migration = response.parse() assert_matches_type(MigrationCreateResponse, migration, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.storage.migrations.with_streaming_response.create( @@ -72,7 +68,6 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: migration = client.storage.migrations.retrieve( @@ -80,7 +75,6 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(MigrationRetrieveResponse, migration, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.storage.migrations.with_raw_response.retrieve( @@ -92,7 +86,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: migration = response.parse() assert_matches_type(MigrationRetrieveResponse, migration, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.storage.migrations.with_streaming_response.retrieve( @@ -106,7 +99,6 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -114,13 +106,11 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: migration = client.storage.migrations.list() assert_matches_type(MigrationListResponse, migration, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.storage.migrations.with_raw_response.list() @@ -130,7 +120,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: migration = response.parse() assert_matches_type(MigrationListResponse, migration, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.storage.migrations.with_streaming_response.list() as response: @@ -148,7 +137,6 @@ class TestAsyncMigrations: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: migration = await async_client.storage.migrations.create( @@ -158,7 +146,6 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(MigrationCreateResponse, migration, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: migration = await async_client.storage.migrations.create( @@ -169,7 +156,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(MigrationCreateResponse, migration, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.storage.migrations.with_raw_response.create( @@ -183,7 +169,6 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: migration = await response.parse() assert_matches_type(MigrationCreateResponse, migration, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.storage.migrations.with_streaming_response.create( @@ -199,7 +184,6 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: migration = await async_client.storage.migrations.retrieve( @@ -207,7 +191,6 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(MigrationRetrieveResponse, migration, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.storage.migrations.with_raw_response.retrieve( @@ -219,7 +202,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: migration = await response.parse() assert_matches_type(MigrationRetrieveResponse, migration, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.storage.migrations.with_streaming_response.retrieve( @@ -233,7 +215,6 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -241,13 +222,11 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: migration = await async_client.storage.migrations.list() assert_matches_type(MigrationListResponse, migration, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.storage.migrations.with_raw_response.list() @@ -257,7 +236,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: migration = await response.parse() assert_matches_type(MigrationListResponse, migration, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.storage.migrations.with_streaming_response.list() as response: diff --git a/tests/api_resources/test_access_ip_address.py b/tests/api_resources/test_access_ip_address.py index bb864b2d..20dc9746 100644 --- a/tests/api_resources/test_access_ip_address.py +++ b/tests/api_resources/test_access_ip_address.py @@ -21,7 +21,6 @@ class TestAccessIPAddress: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: access_ip_address = client.access_ip_address.create( @@ -29,7 +28,6 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(AccessIPAddressResponse, access_ip_address, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: access_ip_address = client.access_ip_address.create( @@ -38,7 +36,6 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(AccessIPAddressResponse, access_ip_address, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.access_ip_address.with_raw_response.create( @@ -50,7 +47,6 @@ def test_raw_response_create(self, client: Telnyx) -> None: access_ip_address = response.parse() assert_matches_type(AccessIPAddressResponse, access_ip_address, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.access_ip_address.with_streaming_response.create( @@ -64,7 +60,6 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: access_ip_address = client.access_ip_address.retrieve( @@ -72,7 +67,6 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(AccessIPAddressResponse, access_ip_address, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.access_ip_address.with_raw_response.retrieve( @@ -84,7 +78,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: access_ip_address = response.parse() assert_matches_type(AccessIPAddressResponse, access_ip_address, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.access_ip_address.with_streaming_response.retrieve( @@ -98,7 +91,6 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `access_ip_address_id` but received ''"): @@ -106,13 +98,11 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: access_ip_address = client.access_ip_address.list() assert_matches_type(AccessIPAddressListResponse, access_ip_address, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: access_ip_address = client.access_ip_address.list( @@ -128,7 +118,6 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(AccessIPAddressListResponse, access_ip_address, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.access_ip_address.with_raw_response.list() @@ -138,7 +127,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: access_ip_address = response.parse() assert_matches_type(AccessIPAddressListResponse, access_ip_address, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.access_ip_address.with_streaming_response.list() as response: @@ -150,7 +138,6 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: access_ip_address = client.access_ip_address.delete( @@ -158,7 +145,6 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert_matches_type(AccessIPAddressResponse, access_ip_address, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.access_ip_address.with_raw_response.delete( @@ -170,7 +156,6 @@ def test_raw_response_delete(self, client: Telnyx) -> None: access_ip_address = response.parse() assert_matches_type(AccessIPAddressResponse, access_ip_address, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.access_ip_address.with_streaming_response.delete( @@ -184,7 +169,6 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `access_ip_address_id` but received ''"): @@ -198,7 +182,6 @@ class TestAsyncAccessIPAddress: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: access_ip_address = await async_client.access_ip_address.create( @@ -206,7 +189,6 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(AccessIPAddressResponse, access_ip_address, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: access_ip_address = await async_client.access_ip_address.create( @@ -215,7 +197,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(AccessIPAddressResponse, access_ip_address, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.access_ip_address.with_raw_response.create( @@ -227,7 +208,6 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: access_ip_address = await response.parse() assert_matches_type(AccessIPAddressResponse, access_ip_address, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.access_ip_address.with_streaming_response.create( @@ -241,7 +221,6 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: access_ip_address = await async_client.access_ip_address.retrieve( @@ -249,7 +228,6 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(AccessIPAddressResponse, access_ip_address, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.access_ip_address.with_raw_response.retrieve( @@ -261,7 +239,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: access_ip_address = await response.parse() assert_matches_type(AccessIPAddressResponse, access_ip_address, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.access_ip_address.with_streaming_response.retrieve( @@ -275,7 +252,6 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `access_ip_address_id` but received ''"): @@ -283,13 +259,11 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: access_ip_address = await async_client.access_ip_address.list() assert_matches_type(AccessIPAddressListResponse, access_ip_address, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: access_ip_address = await async_client.access_ip_address.list( @@ -305,7 +279,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(AccessIPAddressListResponse, access_ip_address, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.access_ip_address.with_raw_response.list() @@ -315,7 +288,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: access_ip_address = await response.parse() assert_matches_type(AccessIPAddressListResponse, access_ip_address, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.access_ip_address.with_streaming_response.list() as response: @@ -327,7 +299,6 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: access_ip_address = await async_client.access_ip_address.delete( @@ -335,7 +306,6 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(AccessIPAddressResponse, access_ip_address, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.access_ip_address.with_raw_response.delete( @@ -347,7 +317,6 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: access_ip_address = await response.parse() assert_matches_type(AccessIPAddressResponse, access_ip_address, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.access_ip_address.with_streaming_response.delete( @@ -361,7 +330,6 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `access_ip_address_id` but received ''"): diff --git a/tests/api_resources/test_access_ip_ranges.py b/tests/api_resources/test_access_ip_ranges.py index 37bd76da..bd8b980e 100644 --- a/tests/api_resources/test_access_ip_ranges.py +++ b/tests/api_resources/test_access_ip_ranges.py @@ -21,7 +21,6 @@ class TestAccessIPRanges: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: access_ip_range = client.access_ip_ranges.create( @@ -29,7 +28,6 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(AccessIPRange, access_ip_range, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: access_ip_range = client.access_ip_ranges.create( @@ -38,7 +36,6 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(AccessIPRange, access_ip_range, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.access_ip_ranges.with_raw_response.create( @@ -50,7 +47,6 @@ def test_raw_response_create(self, client: Telnyx) -> None: access_ip_range = response.parse() assert_matches_type(AccessIPRange, access_ip_range, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.access_ip_ranges.with_streaming_response.create( @@ -64,13 +60,11 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: access_ip_range = client.access_ip_ranges.list() assert_matches_type(AccessIPRangeListResponse, access_ip_range, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: access_ip_range = client.access_ip_ranges.list( @@ -85,7 +79,6 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(AccessIPRangeListResponse, access_ip_range, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.access_ip_ranges.with_raw_response.list() @@ -95,7 +88,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: access_ip_range = response.parse() assert_matches_type(AccessIPRangeListResponse, access_ip_range, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.access_ip_ranges.with_streaming_response.list() as response: @@ -107,7 +99,6 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: access_ip_range = client.access_ip_ranges.delete( @@ -115,7 +106,6 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert_matches_type(AccessIPRange, access_ip_range, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.access_ip_ranges.with_raw_response.delete( @@ -127,7 +117,6 @@ def test_raw_response_delete(self, client: Telnyx) -> None: access_ip_range = response.parse() assert_matches_type(AccessIPRange, access_ip_range, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.access_ip_ranges.with_streaming_response.delete( @@ -141,7 +130,6 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `access_ip_range_id` but received ''"): @@ -155,7 +143,6 @@ class TestAsyncAccessIPRanges: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: access_ip_range = await async_client.access_ip_ranges.create( @@ -163,7 +150,6 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(AccessIPRange, access_ip_range, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: access_ip_range = await async_client.access_ip_ranges.create( @@ -172,7 +158,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(AccessIPRange, access_ip_range, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.access_ip_ranges.with_raw_response.create( @@ -184,7 +169,6 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: access_ip_range = await response.parse() assert_matches_type(AccessIPRange, access_ip_range, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.access_ip_ranges.with_streaming_response.create( @@ -198,13 +182,11 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: access_ip_range = await async_client.access_ip_ranges.list() assert_matches_type(AccessIPRangeListResponse, access_ip_range, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: access_ip_range = await async_client.access_ip_ranges.list( @@ -219,7 +201,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(AccessIPRangeListResponse, access_ip_range, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.access_ip_ranges.with_raw_response.list() @@ -229,7 +210,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: access_ip_range = await response.parse() assert_matches_type(AccessIPRangeListResponse, access_ip_range, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.access_ip_ranges.with_streaming_response.list() as response: @@ -241,7 +221,6 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: access_ip_range = await async_client.access_ip_ranges.delete( @@ -249,7 +228,6 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(AccessIPRange, access_ip_range, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.access_ip_ranges.with_raw_response.delete( @@ -261,7 +239,6 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: access_ip_range = await response.parse() assert_matches_type(AccessIPRange, access_ip_range, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.access_ip_ranges.with_streaming_response.delete( @@ -275,7 +252,6 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `access_ip_range_id` but received ''"): diff --git a/tests/api_resources/test_addresses.py b/tests/api_resources/test_addresses.py index 22c2a190..d91c4b60 100644 --- a/tests/api_resources/test_addresses.py +++ b/tests/api_resources/test_addresses.py @@ -22,7 +22,6 @@ class TestAddresses: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: address = client.addresses.create( @@ -35,7 +34,6 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(AddressCreateResponse, address, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: address = client.addresses.create( @@ -57,7 +55,6 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(AddressCreateResponse, address, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.addresses.with_raw_response.create( @@ -74,7 +71,6 @@ def test_raw_response_create(self, client: Telnyx) -> None: address = response.parse() assert_matches_type(AddressCreateResponse, address, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.addresses.with_streaming_response.create( @@ -93,7 +89,6 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: address = client.addresses.retrieve( @@ -101,7 +96,6 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(AddressRetrieveResponse, address, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.addresses.with_raw_response.retrieve( @@ -113,7 +107,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: address = response.parse() assert_matches_type(AddressRetrieveResponse, address, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.addresses.with_streaming_response.retrieve( @@ -127,7 +120,6 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -135,13 +127,11 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: address = client.addresses.list() assert_matches_type(AddressListResponse, address, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: address = client.addresses.list( @@ -159,7 +149,6 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(AddressListResponse, address, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.addresses.with_raw_response.list() @@ -169,7 +158,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: address = response.parse() assert_matches_type(AddressListResponse, address, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.addresses.with_streaming_response.list() as response: @@ -181,7 +169,6 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: address = client.addresses.delete( @@ -189,7 +176,6 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert_matches_type(AddressDeleteResponse, address, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.addresses.with_raw_response.delete( @@ -201,7 +187,6 @@ def test_raw_response_delete(self, client: Telnyx) -> None: address = response.parse() assert_matches_type(AddressDeleteResponse, address, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.addresses.with_streaming_response.delete( @@ -215,7 +200,6 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -229,7 +213,6 @@ class TestAsyncAddresses: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: address = await async_client.addresses.create( @@ -242,7 +225,6 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(AddressCreateResponse, address, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: address = await async_client.addresses.create( @@ -264,7 +246,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(AddressCreateResponse, address, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.addresses.with_raw_response.create( @@ -281,7 +262,6 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: address = await response.parse() assert_matches_type(AddressCreateResponse, address, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.addresses.with_streaming_response.create( @@ -300,7 +280,6 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: address = await async_client.addresses.retrieve( @@ -308,7 +287,6 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(AddressRetrieveResponse, address, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.addresses.with_raw_response.retrieve( @@ -320,7 +298,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: address = await response.parse() assert_matches_type(AddressRetrieveResponse, address, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.addresses.with_streaming_response.retrieve( @@ -334,7 +311,6 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -342,13 +318,11 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: address = await async_client.addresses.list() assert_matches_type(AddressListResponse, address, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: address = await async_client.addresses.list( @@ -366,7 +340,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(AddressListResponse, address, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.addresses.with_raw_response.list() @@ -376,7 +349,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: address = await response.parse() assert_matches_type(AddressListResponse, address, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.addresses.with_streaming_response.list() as response: @@ -388,7 +360,6 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: address = await async_client.addresses.delete( @@ -396,7 +367,6 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(AddressDeleteResponse, address, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.addresses.with_raw_response.delete( @@ -408,7 +378,6 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: address = await response.parse() assert_matches_type(AddressDeleteResponse, address, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.addresses.with_streaming_response.delete( @@ -422,7 +391,6 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): diff --git a/tests/api_resources/test_advanced_orders.py b/tests/api_resources/test_advanced_orders.py index 6f851dc2..d82ea2e7 100644 --- a/tests/api_resources/test_advanced_orders.py +++ b/tests/api_resources/test_advanced_orders.py @@ -16,13 +16,11 @@ class TestAdvancedOrders: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: advanced_order = client.advanced_orders.create() assert_matches_type(object, advanced_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: advanced_order = client.advanced_orders.create( @@ -37,7 +35,6 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(object, advanced_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.advanced_orders.with_raw_response.create() @@ -47,7 +44,6 @@ def test_raw_response_create(self, client: Telnyx) -> None: advanced_order = response.parse() assert_matches_type(object, advanced_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.advanced_orders.with_streaming_response.create() as response: @@ -59,7 +55,6 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: advanced_order = client.advanced_orders.retrieve( @@ -67,7 +62,6 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(object, advanced_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.advanced_orders.with_raw_response.retrieve( @@ -79,7 +73,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: advanced_order = response.parse() assert_matches_type(object, advanced_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.advanced_orders.with_streaming_response.retrieve( @@ -93,7 +86,6 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `order_id` but received ''"): @@ -101,7 +93,6 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update(self, client: Telnyx) -> None: advanced_order = client.advanced_orders.update( @@ -109,7 +100,6 @@ def test_method_update(self, client: Telnyx) -> None: ) assert_matches_type(object, advanced_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_with_all_params(self, client: Telnyx) -> None: advanced_order = client.advanced_orders.update( @@ -125,7 +115,6 @@ def test_method_update_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(object, advanced_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update(self, client: Telnyx) -> None: response = client.advanced_orders.with_raw_response.update( @@ -137,7 +126,6 @@ def test_raw_response_update(self, client: Telnyx) -> None: advanced_order = response.parse() assert_matches_type(object, advanced_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update(self, client: Telnyx) -> None: with client.advanced_orders.with_streaming_response.update( @@ -151,7 +139,6 @@ def test_streaming_response_update(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `order_id` but received ''"): @@ -159,13 +146,11 @@ def test_path_params_update(self, client: Telnyx) -> None: order_id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: advanced_order = client.advanced_orders.list() assert_matches_type(object, advanced_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.advanced_orders.with_raw_response.list() @@ -175,7 +160,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: advanced_order = response.parse() assert_matches_type(object, advanced_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.advanced_orders.with_streaming_response.list() as response: @@ -193,13 +177,11 @@ class TestAsyncAdvancedOrders: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: advanced_order = await async_client.advanced_orders.create() assert_matches_type(object, advanced_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: advanced_order = await async_client.advanced_orders.create( @@ -214,7 +196,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(object, advanced_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.advanced_orders.with_raw_response.create() @@ -224,7 +205,6 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: advanced_order = await response.parse() assert_matches_type(object, advanced_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.advanced_orders.with_streaming_response.create() as response: @@ -236,7 +216,6 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: advanced_order = await async_client.advanced_orders.retrieve( @@ -244,7 +223,6 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(object, advanced_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.advanced_orders.with_raw_response.retrieve( @@ -256,7 +234,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: advanced_order = await response.parse() assert_matches_type(object, advanced_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.advanced_orders.with_streaming_response.retrieve( @@ -270,7 +247,6 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `order_id` but received ''"): @@ -278,7 +254,6 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update(self, async_client: AsyncTelnyx) -> None: advanced_order = await async_client.advanced_orders.update( @@ -286,7 +261,6 @@ async def test_method_update(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(object, advanced_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> None: advanced_order = await async_client.advanced_orders.update( @@ -302,7 +276,6 @@ async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(object, advanced_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: response = await async_client.advanced_orders.with_raw_response.update( @@ -314,7 +287,6 @@ async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: advanced_order = await response.parse() assert_matches_type(object, advanced_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> None: async with async_client.advanced_orders.with_streaming_response.update( @@ -328,7 +300,6 @@ async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `order_id` but received ''"): @@ -336,13 +307,11 @@ async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: order_id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: advanced_order = await async_client.advanced_orders.list() assert_matches_type(object, advanced_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.advanced_orders.with_raw_response.list() @@ -352,7 +321,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: advanced_order = await response.parse() assert_matches_type(object, advanced_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.advanced_orders.with_streaming_response.list() as response: diff --git a/tests/api_resources/test_ai.py b/tests/api_resources/test_ai.py index feb9b0e4..9d49b278 100644 --- a/tests/api_resources/test_ai.py +++ b/tests/api_resources/test_ai.py @@ -17,13 +17,11 @@ class TestAI: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve_models(self, client: Telnyx) -> None: ai = client.ai.retrieve_models() assert_matches_type(AIRetrieveModelsResponse, ai, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve_models(self, client: Telnyx) -> None: response = client.ai.with_raw_response.retrieve_models() @@ -33,7 +31,6 @@ def test_raw_response_retrieve_models(self, client: Telnyx) -> None: ai = response.parse() assert_matches_type(AIRetrieveModelsResponse, ai, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve_models(self, client: Telnyx) -> None: with client.ai.with_streaming_response.retrieve_models() as response: @@ -45,7 +42,6 @@ def test_streaming_response_retrieve_models(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_summarize(self, client: Telnyx) -> None: ai = client.ai.summarize( @@ -54,7 +50,6 @@ def test_method_summarize(self, client: Telnyx) -> None: ) assert_matches_type(AISummarizeResponse, ai, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_summarize_with_all_params(self, client: Telnyx) -> None: ai = client.ai.summarize( @@ -64,7 +59,6 @@ def test_method_summarize_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(AISummarizeResponse, ai, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_summarize(self, client: Telnyx) -> None: response = client.ai.with_raw_response.summarize( @@ -77,7 +71,6 @@ def test_raw_response_summarize(self, client: Telnyx) -> None: ai = response.parse() assert_matches_type(AISummarizeResponse, ai, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_summarize(self, client: Telnyx) -> None: with client.ai.with_streaming_response.summarize( @@ -98,13 +91,11 @@ class TestAsyncAI: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve_models(self, async_client: AsyncTelnyx) -> None: ai = await async_client.ai.retrieve_models() assert_matches_type(AIRetrieveModelsResponse, ai, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve_models(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.with_raw_response.retrieve_models() @@ -114,7 +105,6 @@ async def test_raw_response_retrieve_models(self, async_client: AsyncTelnyx) -> ai = await response.parse() assert_matches_type(AIRetrieveModelsResponse, ai, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve_models(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.with_streaming_response.retrieve_models() as response: @@ -126,7 +116,6 @@ async def test_streaming_response_retrieve_models(self, async_client: AsyncTelny assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_summarize(self, async_client: AsyncTelnyx) -> None: ai = await async_client.ai.summarize( @@ -135,7 +124,6 @@ async def test_method_summarize(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(AISummarizeResponse, ai, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_summarize_with_all_params(self, async_client: AsyncTelnyx) -> None: ai = await async_client.ai.summarize( @@ -145,7 +133,6 @@ async def test_method_summarize_with_all_params(self, async_client: AsyncTelnyx) ) assert_matches_type(AISummarizeResponse, ai, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_summarize(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.with_raw_response.summarize( @@ -158,7 +145,6 @@ async def test_raw_response_summarize(self, async_client: AsyncTelnyx) -> None: ai = await response.parse() assert_matches_type(AISummarizeResponse, ai, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_summarize(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.with_streaming_response.summarize( diff --git a/tests/api_resources/test_audit_events.py b/tests/api_resources/test_audit_events.py index 0427f5b4..7a598430 100644 --- a/tests/api_resources/test_audit_events.py +++ b/tests/api_resources/test_audit_events.py @@ -18,13 +18,11 @@ class TestAuditEvents: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: audit_event = client.audit_events.list() assert_matches_type(AuditEventListResponse, audit_event, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: audit_event = client.audit_events.list( @@ -40,7 +38,6 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(AuditEventListResponse, audit_event, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.audit_events.with_raw_response.list() @@ -50,7 +47,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: audit_event = response.parse() assert_matches_type(AuditEventListResponse, audit_event, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.audit_events.with_streaming_response.list() as response: @@ -68,13 +64,11 @@ class TestAsyncAuditEvents: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: audit_event = await async_client.audit_events.list() assert_matches_type(AuditEventListResponse, audit_event, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: audit_event = await async_client.audit_events.list( @@ -90,7 +84,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(AuditEventListResponse, audit_event, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.audit_events.with_raw_response.list() @@ -100,7 +93,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: audit_event = await response.parse() assert_matches_type(AuditEventListResponse, audit_event, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.audit_events.with_streaming_response.list() as response: diff --git a/tests/api_resources/test_authentication_providers.py b/tests/api_resources/test_authentication_providers.py index f084aefa..bb86d9a6 100644 --- a/tests/api_resources/test_authentication_providers.py +++ b/tests/api_resources/test_authentication_providers.py @@ -23,7 +23,6 @@ class TestAuthenticationProviders: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: authentication_provider = client.authentication_providers.create( @@ -37,7 +36,6 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(AuthenticationProviderCreateResponse, authentication_provider, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: authentication_provider = client.authentication_providers.create( @@ -54,7 +52,6 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(AuthenticationProviderCreateResponse, authentication_provider, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.authentication_providers.with_raw_response.create( @@ -72,7 +69,6 @@ def test_raw_response_create(self, client: Telnyx) -> None: authentication_provider = response.parse() assert_matches_type(AuthenticationProviderCreateResponse, authentication_provider, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.authentication_providers.with_streaming_response.create( @@ -92,7 +88,6 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: authentication_provider = client.authentication_providers.retrieve( @@ -100,7 +95,6 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(AuthenticationProviderRetrieveResponse, authentication_provider, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.authentication_providers.with_raw_response.retrieve( @@ -112,7 +106,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: authentication_provider = response.parse() assert_matches_type(AuthenticationProviderRetrieveResponse, authentication_provider, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.authentication_providers.with_streaming_response.retrieve( @@ -126,7 +119,6 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -134,7 +126,6 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update(self, client: Telnyx) -> None: authentication_provider = client.authentication_providers.update( @@ -142,7 +133,6 @@ def test_method_update(self, client: Telnyx) -> None: ) assert_matches_type(AuthenticationProviderUpdateResponse, authentication_provider, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_with_all_params(self, client: Telnyx) -> None: authentication_provider = client.authentication_providers.update( @@ -160,7 +150,6 @@ def test_method_update_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(AuthenticationProviderUpdateResponse, authentication_provider, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update(self, client: Telnyx) -> None: response = client.authentication_providers.with_raw_response.update( @@ -172,7 +161,6 @@ def test_raw_response_update(self, client: Telnyx) -> None: authentication_provider = response.parse() assert_matches_type(AuthenticationProviderUpdateResponse, authentication_provider, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update(self, client: Telnyx) -> None: with client.authentication_providers.with_streaming_response.update( @@ -186,7 +174,6 @@ def test_streaming_response_update(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -194,13 +181,11 @@ def test_path_params_update(self, client: Telnyx) -> None: id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: authentication_provider = client.authentication_providers.list() assert_matches_type(AuthenticationProviderListResponse, authentication_provider, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: authentication_provider = client.authentication_providers.list( @@ -212,7 +197,6 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(AuthenticationProviderListResponse, authentication_provider, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.authentication_providers.with_raw_response.list() @@ -222,7 +206,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: authentication_provider = response.parse() assert_matches_type(AuthenticationProviderListResponse, authentication_provider, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.authentication_providers.with_streaming_response.list() as response: @@ -234,7 +217,6 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: authentication_provider = client.authentication_providers.delete( @@ -242,7 +224,6 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert_matches_type(AuthenticationProviderDeleteResponse, authentication_provider, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.authentication_providers.with_raw_response.delete( @@ -254,7 +235,6 @@ def test_raw_response_delete(self, client: Telnyx) -> None: authentication_provider = response.parse() assert_matches_type(AuthenticationProviderDeleteResponse, authentication_provider, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.authentication_providers.with_streaming_response.delete( @@ -268,7 +248,6 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -282,7 +261,6 @@ class TestAsyncAuthenticationProviders: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: authentication_provider = await async_client.authentication_providers.create( @@ -296,7 +274,6 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(AuthenticationProviderCreateResponse, authentication_provider, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: authentication_provider = await async_client.authentication_providers.create( @@ -313,7 +290,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(AuthenticationProviderCreateResponse, authentication_provider, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.authentication_providers.with_raw_response.create( @@ -331,7 +307,6 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: authentication_provider = await response.parse() assert_matches_type(AuthenticationProviderCreateResponse, authentication_provider, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.authentication_providers.with_streaming_response.create( @@ -351,7 +326,6 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: authentication_provider = await async_client.authentication_providers.retrieve( @@ -359,7 +333,6 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(AuthenticationProviderRetrieveResponse, authentication_provider, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.authentication_providers.with_raw_response.retrieve( @@ -371,7 +344,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: authentication_provider = await response.parse() assert_matches_type(AuthenticationProviderRetrieveResponse, authentication_provider, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.authentication_providers.with_streaming_response.retrieve( @@ -385,7 +357,6 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -393,7 +364,6 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update(self, async_client: AsyncTelnyx) -> None: authentication_provider = await async_client.authentication_providers.update( @@ -401,7 +371,6 @@ async def test_method_update(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(AuthenticationProviderUpdateResponse, authentication_provider, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> None: authentication_provider = await async_client.authentication_providers.update( @@ -419,7 +388,6 @@ async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(AuthenticationProviderUpdateResponse, authentication_provider, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: response = await async_client.authentication_providers.with_raw_response.update( @@ -431,7 +399,6 @@ async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: authentication_provider = await response.parse() assert_matches_type(AuthenticationProviderUpdateResponse, authentication_provider, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> None: async with async_client.authentication_providers.with_streaming_response.update( @@ -445,7 +412,6 @@ async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -453,13 +419,11 @@ async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: authentication_provider = await async_client.authentication_providers.list() assert_matches_type(AuthenticationProviderListResponse, authentication_provider, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: authentication_provider = await async_client.authentication_providers.list( @@ -471,7 +435,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(AuthenticationProviderListResponse, authentication_provider, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.authentication_providers.with_raw_response.list() @@ -481,7 +444,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: authentication_provider = await response.parse() assert_matches_type(AuthenticationProviderListResponse, authentication_provider, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.authentication_providers.with_streaming_response.list() as response: @@ -493,7 +455,6 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: authentication_provider = await async_client.authentication_providers.delete( @@ -501,7 +462,6 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(AuthenticationProviderDeleteResponse, authentication_provider, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.authentication_providers.with_raw_response.delete( @@ -513,7 +473,6 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: authentication_provider = await response.parse() assert_matches_type(AuthenticationProviderDeleteResponse, authentication_provider, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.authentication_providers.with_streaming_response.delete( @@ -527,7 +486,6 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): diff --git a/tests/api_resources/test_available_phone_number_blocks.py b/tests/api_resources/test_available_phone_number_blocks.py index abd3c021..181522d1 100644 --- a/tests/api_resources/test_available_phone_number_blocks.py +++ b/tests/api_resources/test_available_phone_number_blocks.py @@ -17,13 +17,11 @@ class TestAvailablePhoneNumberBlocks: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: available_phone_number_block = client.available_phone_number_blocks.list() assert_matches_type(AvailablePhoneNumberBlockListResponse, available_phone_number_block, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: available_phone_number_block = client.available_phone_number_blocks.list( @@ -36,7 +34,6 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(AvailablePhoneNumberBlockListResponse, available_phone_number_block, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.available_phone_number_blocks.with_raw_response.list() @@ -46,7 +43,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: available_phone_number_block = response.parse() assert_matches_type(AvailablePhoneNumberBlockListResponse, available_phone_number_block, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.available_phone_number_blocks.with_streaming_response.list() as response: @@ -64,13 +60,11 @@ class TestAsyncAvailablePhoneNumberBlocks: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: available_phone_number_block = await async_client.available_phone_number_blocks.list() assert_matches_type(AvailablePhoneNumberBlockListResponse, available_phone_number_block, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: available_phone_number_block = await async_client.available_phone_number_blocks.list( @@ -83,7 +77,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(AvailablePhoneNumberBlockListResponse, available_phone_number_block, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.available_phone_number_blocks.with_raw_response.list() @@ -93,7 +86,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: available_phone_number_block = await response.parse() assert_matches_type(AvailablePhoneNumberBlockListResponse, available_phone_number_block, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.available_phone_number_blocks.with_streaming_response.list() as response: diff --git a/tests/api_resources/test_available_phone_numbers.py b/tests/api_resources/test_available_phone_numbers.py index d87900e5..9447c3d9 100644 --- a/tests/api_resources/test_available_phone_numbers.py +++ b/tests/api_resources/test_available_phone_numbers.py @@ -17,13 +17,11 @@ class TestAvailablePhoneNumbers: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: available_phone_number = client.available_phone_numbers.list() assert_matches_type(AvailablePhoneNumberListResponse, available_phone_number, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: available_phone_number = client.available_phone_numbers.list( @@ -49,7 +47,6 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(AvailablePhoneNumberListResponse, available_phone_number, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.available_phone_numbers.with_raw_response.list() @@ -59,7 +56,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: available_phone_number = response.parse() assert_matches_type(AvailablePhoneNumberListResponse, available_phone_number, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.available_phone_numbers.with_streaming_response.list() as response: @@ -77,13 +73,11 @@ class TestAsyncAvailablePhoneNumbers: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: available_phone_number = await async_client.available_phone_numbers.list() assert_matches_type(AvailablePhoneNumberListResponse, available_phone_number, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: available_phone_number = await async_client.available_phone_numbers.list( @@ -109,7 +103,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(AvailablePhoneNumberListResponse, available_phone_number, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.available_phone_numbers.with_raw_response.list() @@ -119,7 +112,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: available_phone_number = await response.parse() assert_matches_type(AvailablePhoneNumberListResponse, available_phone_number, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.available_phone_numbers.with_streaming_response.list() as response: diff --git a/tests/api_resources/test_balance.py b/tests/api_resources/test_balance.py index 59efdaa0..80f10301 100644 --- a/tests/api_resources/test_balance.py +++ b/tests/api_resources/test_balance.py @@ -17,13 +17,11 @@ class TestBalance: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: balance = client.balance.retrieve() assert_matches_type(BalanceRetrieveResponse, balance, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.balance.with_raw_response.retrieve() @@ -33,7 +31,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: balance = response.parse() assert_matches_type(BalanceRetrieveResponse, balance, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.balance.with_streaming_response.retrieve() as response: @@ -51,13 +48,11 @@ class TestAsyncBalance: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: balance = await async_client.balance.retrieve() assert_matches_type(BalanceRetrieveResponse, balance, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.balance.with_raw_response.retrieve() @@ -67,7 +62,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: balance = await response.parse() assert_matches_type(BalanceRetrieveResponse, balance, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.balance.with_streaming_response.retrieve() as response: diff --git a/tests/api_resources/test_billing_groups.py b/tests/api_resources/test_billing_groups.py index 44988fd5..5103635b 100644 --- a/tests/api_resources/test_billing_groups.py +++ b/tests/api_resources/test_billing_groups.py @@ -23,13 +23,11 @@ class TestBillingGroups: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: billing_group = client.billing_groups.create() assert_matches_type(BillingGroupCreateResponse, billing_group, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: billing_group = client.billing_groups.create( @@ -37,7 +35,6 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(BillingGroupCreateResponse, billing_group, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.billing_groups.with_raw_response.create() @@ -47,7 +44,6 @@ def test_raw_response_create(self, client: Telnyx) -> None: billing_group = response.parse() assert_matches_type(BillingGroupCreateResponse, billing_group, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.billing_groups.with_streaming_response.create() as response: @@ -59,7 +55,6 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: billing_group = client.billing_groups.retrieve( @@ -67,7 +62,6 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(BillingGroupRetrieveResponse, billing_group, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.billing_groups.with_raw_response.retrieve( @@ -79,7 +73,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: billing_group = response.parse() assert_matches_type(BillingGroupRetrieveResponse, billing_group, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.billing_groups.with_streaming_response.retrieve( @@ -93,7 +86,6 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -101,7 +93,6 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update(self, client: Telnyx) -> None: billing_group = client.billing_groups.update( @@ -109,7 +100,6 @@ def test_method_update(self, client: Telnyx) -> None: ) assert_matches_type(BillingGroupUpdateResponse, billing_group, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_with_all_params(self, client: Telnyx) -> None: billing_group = client.billing_groups.update( @@ -118,7 +108,6 @@ def test_method_update_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(BillingGroupUpdateResponse, billing_group, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update(self, client: Telnyx) -> None: response = client.billing_groups.with_raw_response.update( @@ -130,7 +119,6 @@ def test_raw_response_update(self, client: Telnyx) -> None: billing_group = response.parse() assert_matches_type(BillingGroupUpdateResponse, billing_group, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update(self, client: Telnyx) -> None: with client.billing_groups.with_streaming_response.update( @@ -144,7 +132,6 @@ def test_streaming_response_update(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -152,13 +139,11 @@ def test_path_params_update(self, client: Telnyx) -> None: id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: billing_group = client.billing_groups.list() assert_matches_type(BillingGroupListResponse, billing_group, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: billing_group = client.billing_groups.list( @@ -169,7 +154,6 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(BillingGroupListResponse, billing_group, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.billing_groups.with_raw_response.list() @@ -179,7 +163,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: billing_group = response.parse() assert_matches_type(BillingGroupListResponse, billing_group, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.billing_groups.with_streaming_response.list() as response: @@ -191,7 +174,6 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: billing_group = client.billing_groups.delete( @@ -199,7 +181,6 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert_matches_type(BillingGroupDeleteResponse, billing_group, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.billing_groups.with_raw_response.delete( @@ -211,7 +192,6 @@ def test_raw_response_delete(self, client: Telnyx) -> None: billing_group = response.parse() assert_matches_type(BillingGroupDeleteResponse, billing_group, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.billing_groups.with_streaming_response.delete( @@ -225,7 +205,6 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -239,13 +218,11 @@ class TestAsyncBillingGroups: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: billing_group = await async_client.billing_groups.create() assert_matches_type(BillingGroupCreateResponse, billing_group, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: billing_group = await async_client.billing_groups.create( @@ -253,7 +230,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(BillingGroupCreateResponse, billing_group, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.billing_groups.with_raw_response.create() @@ -263,7 +239,6 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: billing_group = await response.parse() assert_matches_type(BillingGroupCreateResponse, billing_group, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.billing_groups.with_streaming_response.create() as response: @@ -275,7 +250,6 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: billing_group = await async_client.billing_groups.retrieve( @@ -283,7 +257,6 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(BillingGroupRetrieveResponse, billing_group, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.billing_groups.with_raw_response.retrieve( @@ -295,7 +268,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: billing_group = await response.parse() assert_matches_type(BillingGroupRetrieveResponse, billing_group, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.billing_groups.with_streaming_response.retrieve( @@ -309,7 +281,6 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -317,7 +288,6 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update(self, async_client: AsyncTelnyx) -> None: billing_group = await async_client.billing_groups.update( @@ -325,7 +295,6 @@ async def test_method_update(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(BillingGroupUpdateResponse, billing_group, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> None: billing_group = await async_client.billing_groups.update( @@ -334,7 +303,6 @@ async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(BillingGroupUpdateResponse, billing_group, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: response = await async_client.billing_groups.with_raw_response.update( @@ -346,7 +314,6 @@ async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: billing_group = await response.parse() assert_matches_type(BillingGroupUpdateResponse, billing_group, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> None: async with async_client.billing_groups.with_streaming_response.update( @@ -360,7 +327,6 @@ async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -368,13 +334,11 @@ async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: billing_group = await async_client.billing_groups.list() assert_matches_type(BillingGroupListResponse, billing_group, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: billing_group = await async_client.billing_groups.list( @@ -385,7 +349,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(BillingGroupListResponse, billing_group, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.billing_groups.with_raw_response.list() @@ -395,7 +358,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: billing_group = await response.parse() assert_matches_type(BillingGroupListResponse, billing_group, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.billing_groups.with_streaming_response.list() as response: @@ -407,7 +369,6 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: billing_group = await async_client.billing_groups.delete( @@ -415,7 +376,6 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(BillingGroupDeleteResponse, billing_group, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.billing_groups.with_raw_response.delete( @@ -427,7 +387,6 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: billing_group = await response.parse() assert_matches_type(BillingGroupDeleteResponse, billing_group, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.billing_groups.with_streaming_response.delete( @@ -441,7 +400,6 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): diff --git a/tests/api_resources/test_brand.py b/tests/api_resources/test_brand.py index 48ebf66c..413868bd 100644 --- a/tests/api_resources/test_brand.py +++ b/tests/api_resources/test_brand.py @@ -22,7 +22,6 @@ class TestBrand: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: brand = client.brand.create( @@ -34,7 +33,6 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(TelnyxBrand, brand, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: brand = client.brand.create( @@ -65,7 +63,6 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(TelnyxBrand, brand, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.brand.with_raw_response.create( @@ -81,7 +78,6 @@ def test_raw_response_create(self, client: Telnyx) -> None: brand = response.parse() assert_matches_type(TelnyxBrand, brand, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.brand.with_streaming_response.create( @@ -99,7 +95,6 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: brand = client.brand.retrieve( @@ -107,7 +102,6 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(BrandRetrieveResponse, brand, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.brand.with_raw_response.retrieve( @@ -119,7 +113,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: brand = response.parse() assert_matches_type(BrandRetrieveResponse, brand, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.brand.with_streaming_response.retrieve( @@ -133,7 +126,6 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `brand_id` but received ''"): @@ -141,7 +133,6 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update(self, client: Telnyx) -> None: brand = client.brand.update( @@ -154,7 +145,6 @@ def test_method_update(self, client: Telnyx) -> None: ) assert_matches_type(TelnyxBrand, brand, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_with_all_params(self, client: Telnyx) -> None: brand = client.brand.update( @@ -187,7 +177,6 @@ def test_method_update_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(TelnyxBrand, brand, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update(self, client: Telnyx) -> None: response = client.brand.with_raw_response.update( @@ -204,7 +193,6 @@ def test_raw_response_update(self, client: Telnyx) -> None: brand = response.parse() assert_matches_type(TelnyxBrand, brand, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update(self, client: Telnyx) -> None: with client.brand.with_streaming_response.update( @@ -223,7 +211,6 @@ def test_streaming_response_update(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `brand_id` but received ''"): @@ -236,13 +223,11 @@ def test_path_params_update(self, client: Telnyx) -> None: vertical="TECHNOLOGY", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: brand = client.brand.list() assert_matches_type(BrandListResponse, brand, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: brand = client.brand.list( @@ -258,7 +243,6 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(BrandListResponse, brand, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.brand.with_raw_response.list() @@ -268,7 +252,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: brand = response.parse() assert_matches_type(BrandListResponse, brand, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.brand.with_streaming_response.list() as response: @@ -280,7 +263,6 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: brand = client.brand.delete( @@ -288,7 +270,6 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert_matches_type(object, brand, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.brand.with_raw_response.delete( @@ -300,7 +281,6 @@ def test_raw_response_delete(self, client: Telnyx) -> None: brand = response.parse() assert_matches_type(object, brand, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.brand.with_streaming_response.delete( @@ -314,7 +294,6 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `brand_id` but received ''"): @@ -322,7 +301,6 @@ def test_path_params_delete(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_get_feedback(self, client: Telnyx) -> None: brand = client.brand.get_feedback( @@ -330,7 +308,6 @@ def test_method_get_feedback(self, client: Telnyx) -> None: ) assert_matches_type(BrandGetFeedbackResponse, brand, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_get_feedback(self, client: Telnyx) -> None: response = client.brand.with_raw_response.get_feedback( @@ -342,7 +319,6 @@ def test_raw_response_get_feedback(self, client: Telnyx) -> None: brand = response.parse() assert_matches_type(BrandGetFeedbackResponse, brand, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_get_feedback(self, client: Telnyx) -> None: with client.brand.with_streaming_response.get_feedback( @@ -356,7 +332,6 @@ def test_streaming_response_get_feedback(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_get_feedback(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `brand_id` but received ''"): @@ -364,7 +339,6 @@ def test_path_params_get_feedback(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_resend_2fa_email(self, client: Telnyx) -> None: brand = client.brand.resend_2fa_email( @@ -372,7 +346,6 @@ def test_method_resend_2fa_email(self, client: Telnyx) -> None: ) assert brand is None - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_resend_2fa_email(self, client: Telnyx) -> None: response = client.brand.with_raw_response.resend_2fa_email( @@ -384,7 +357,6 @@ def test_raw_response_resend_2fa_email(self, client: Telnyx) -> None: brand = response.parse() assert brand is None - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_resend_2fa_email(self, client: Telnyx) -> None: with client.brand.with_streaming_response.resend_2fa_email( @@ -398,7 +370,6 @@ def test_streaming_response_resend_2fa_email(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_resend_2fa_email(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `brand_id` but received ''"): @@ -406,7 +377,6 @@ def test_path_params_resend_2fa_email(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_revet(self, client: Telnyx) -> None: brand = client.brand.revet( @@ -414,7 +384,6 @@ def test_method_revet(self, client: Telnyx) -> None: ) assert_matches_type(object, brand, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_revet(self, client: Telnyx) -> None: response = client.brand.with_raw_response.revet( @@ -426,7 +395,6 @@ def test_raw_response_revet(self, client: Telnyx) -> None: brand = response.parse() assert_matches_type(object, brand, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_revet(self, client: Telnyx) -> None: with client.brand.with_streaming_response.revet( @@ -440,7 +408,6 @@ def test_streaming_response_revet(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_revet(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `brand_id` but received ''"): @@ -454,7 +421,6 @@ class TestAsyncBrand: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: brand = await async_client.brand.create( @@ -466,7 +432,6 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(TelnyxBrand, brand, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: brand = await async_client.brand.create( @@ -497,7 +462,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(TelnyxBrand, brand, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.brand.with_raw_response.create( @@ -513,7 +477,6 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: brand = await response.parse() assert_matches_type(TelnyxBrand, brand, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.brand.with_streaming_response.create( @@ -531,7 +494,6 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: brand = await async_client.brand.retrieve( @@ -539,7 +501,6 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(BrandRetrieveResponse, brand, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.brand.with_raw_response.retrieve( @@ -551,7 +512,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: brand = await response.parse() assert_matches_type(BrandRetrieveResponse, brand, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.brand.with_streaming_response.retrieve( @@ -565,7 +525,6 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `brand_id` but received ''"): @@ -573,7 +532,6 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update(self, async_client: AsyncTelnyx) -> None: brand = await async_client.brand.update( @@ -586,7 +544,6 @@ async def test_method_update(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(TelnyxBrand, brand, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> None: brand = await async_client.brand.update( @@ -619,7 +576,6 @@ async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(TelnyxBrand, brand, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: response = await async_client.brand.with_raw_response.update( @@ -636,7 +592,6 @@ async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: brand = await response.parse() assert_matches_type(TelnyxBrand, brand, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> None: async with async_client.brand.with_streaming_response.update( @@ -655,7 +610,6 @@ async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `brand_id` but received ''"): @@ -668,13 +622,11 @@ async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: vertical="TECHNOLOGY", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: brand = await async_client.brand.list() assert_matches_type(BrandListResponse, brand, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: brand = await async_client.brand.list( @@ -690,7 +642,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(BrandListResponse, brand, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.brand.with_raw_response.list() @@ -700,7 +651,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: brand = await response.parse() assert_matches_type(BrandListResponse, brand, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.brand.with_streaming_response.list() as response: @@ -712,7 +662,6 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: brand = await async_client.brand.delete( @@ -720,7 +669,6 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(object, brand, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.brand.with_raw_response.delete( @@ -732,7 +680,6 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: brand = await response.parse() assert_matches_type(object, brand, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.brand.with_streaming_response.delete( @@ -746,7 +693,6 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `brand_id` but received ''"): @@ -754,7 +700,6 @@ async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_get_feedback(self, async_client: AsyncTelnyx) -> None: brand = await async_client.brand.get_feedback( @@ -762,7 +707,6 @@ async def test_method_get_feedback(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(BrandGetFeedbackResponse, brand, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_get_feedback(self, async_client: AsyncTelnyx) -> None: response = await async_client.brand.with_raw_response.get_feedback( @@ -774,7 +718,6 @@ async def test_raw_response_get_feedback(self, async_client: AsyncTelnyx) -> Non brand = await response.parse() assert_matches_type(BrandGetFeedbackResponse, brand, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_get_feedback(self, async_client: AsyncTelnyx) -> None: async with async_client.brand.with_streaming_response.get_feedback( @@ -788,7 +731,6 @@ async def test_streaming_response_get_feedback(self, async_client: AsyncTelnyx) assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_get_feedback(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `brand_id` but received ''"): @@ -796,7 +738,6 @@ async def test_path_params_get_feedback(self, async_client: AsyncTelnyx) -> None "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_resend_2fa_email(self, async_client: AsyncTelnyx) -> None: brand = await async_client.brand.resend_2fa_email( @@ -804,7 +745,6 @@ async def test_method_resend_2fa_email(self, async_client: AsyncTelnyx) -> None: ) assert brand is None - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_resend_2fa_email(self, async_client: AsyncTelnyx) -> None: response = await async_client.brand.with_raw_response.resend_2fa_email( @@ -816,7 +756,6 @@ async def test_raw_response_resend_2fa_email(self, async_client: AsyncTelnyx) -> brand = await response.parse() assert brand is None - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_resend_2fa_email(self, async_client: AsyncTelnyx) -> None: async with async_client.brand.with_streaming_response.resend_2fa_email( @@ -830,7 +769,6 @@ async def test_streaming_response_resend_2fa_email(self, async_client: AsyncTeln assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_resend_2fa_email(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `brand_id` but received ''"): @@ -838,7 +776,6 @@ async def test_path_params_resend_2fa_email(self, async_client: AsyncTelnyx) -> "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_revet(self, async_client: AsyncTelnyx) -> None: brand = await async_client.brand.revet( @@ -846,7 +783,6 @@ async def test_method_revet(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(object, brand, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_revet(self, async_client: AsyncTelnyx) -> None: response = await async_client.brand.with_raw_response.revet( @@ -858,7 +794,6 @@ async def test_raw_response_revet(self, async_client: AsyncTelnyx) -> None: brand = await response.parse() assert_matches_type(object, brand, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_revet(self, async_client: AsyncTelnyx) -> None: async with async_client.brand.with_streaming_response.revet( @@ -872,7 +807,6 @@ async def test_streaming_response_revet(self, async_client: AsyncTelnyx) -> None assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_revet(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `brand_id` but received ''"): diff --git a/tests/api_resources/test_bulk_sim_card_actions.py b/tests/api_resources/test_bulk_sim_card_actions.py index 3471d968..54e3fe80 100644 --- a/tests/api_resources/test_bulk_sim_card_actions.py +++ b/tests/api_resources/test_bulk_sim_card_actions.py @@ -20,7 +20,6 @@ class TestBulkSimCardActions: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: bulk_sim_card_action = client.bulk_sim_card_actions.retrieve( @@ -28,7 +27,6 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(BulkSimCardActionRetrieveResponse, bulk_sim_card_action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.bulk_sim_card_actions.with_raw_response.retrieve( @@ -40,7 +38,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: bulk_sim_card_action = response.parse() assert_matches_type(BulkSimCardActionRetrieveResponse, bulk_sim_card_action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.bulk_sim_card_actions.with_streaming_response.retrieve( @@ -54,7 +51,6 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -62,13 +58,11 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: bulk_sim_card_action = client.bulk_sim_card_actions.list() assert_matches_type(BulkSimCardActionListResponse, bulk_sim_card_action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: bulk_sim_card_action = client.bulk_sim_card_actions.list( @@ -78,7 +72,6 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(BulkSimCardActionListResponse, bulk_sim_card_action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.bulk_sim_card_actions.with_raw_response.list() @@ -88,7 +81,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: bulk_sim_card_action = response.parse() assert_matches_type(BulkSimCardActionListResponse, bulk_sim_card_action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.bulk_sim_card_actions.with_streaming_response.list() as response: @@ -106,7 +98,6 @@ class TestAsyncBulkSimCardActions: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: bulk_sim_card_action = await async_client.bulk_sim_card_actions.retrieve( @@ -114,7 +105,6 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(BulkSimCardActionRetrieveResponse, bulk_sim_card_action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.bulk_sim_card_actions.with_raw_response.retrieve( @@ -126,7 +116,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: bulk_sim_card_action = await response.parse() assert_matches_type(BulkSimCardActionRetrieveResponse, bulk_sim_card_action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.bulk_sim_card_actions.with_streaming_response.retrieve( @@ -140,7 +129,6 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -148,13 +136,11 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: bulk_sim_card_action = await async_client.bulk_sim_card_actions.list() assert_matches_type(BulkSimCardActionListResponse, bulk_sim_card_action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: bulk_sim_card_action = await async_client.bulk_sim_card_actions.list( @@ -164,7 +150,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(BulkSimCardActionListResponse, bulk_sim_card_action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.bulk_sim_card_actions.with_raw_response.list() @@ -174,7 +159,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: bulk_sim_card_action = await response.parse() assert_matches_type(BulkSimCardActionListResponse, bulk_sim_card_action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.bulk_sim_card_actions.with_streaming_response.list() as response: diff --git a/tests/api_resources/test_call_control_applications.py b/tests/api_resources/test_call_control_applications.py index 5febfd41..0a6d0264 100644 --- a/tests/api_resources/test_call_control_applications.py +++ b/tests/api_resources/test_call_control_applications.py @@ -23,7 +23,6 @@ class TestCallControlApplications: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: call_control_application = client.call_control_applications.create( @@ -32,7 +31,6 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(CallControlApplicationCreateResponse, call_control_application, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: call_control_application = client.call_control_applications.create( @@ -60,7 +58,6 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(CallControlApplicationCreateResponse, call_control_application, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.call_control_applications.with_raw_response.create( @@ -73,7 +70,6 @@ def test_raw_response_create(self, client: Telnyx) -> None: call_control_application = response.parse() assert_matches_type(CallControlApplicationCreateResponse, call_control_application, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.call_control_applications.with_streaming_response.create( @@ -88,7 +84,6 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: call_control_application = client.call_control_applications.retrieve( @@ -96,7 +91,6 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(CallControlApplicationRetrieveResponse, call_control_application, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.call_control_applications.with_raw_response.retrieve( @@ -108,7 +102,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: call_control_application = response.parse() assert_matches_type(CallControlApplicationRetrieveResponse, call_control_application, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.call_control_applications.with_streaming_response.retrieve( @@ -122,7 +115,6 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -130,7 +122,6 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update(self, client: Telnyx) -> None: call_control_application = client.call_control_applications.update( @@ -140,7 +131,6 @@ def test_method_update(self, client: Telnyx) -> None: ) assert_matches_type(CallControlApplicationUpdateResponse, call_control_application, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_with_all_params(self, client: Telnyx) -> None: call_control_application = client.call_control_applications.update( @@ -170,7 +160,6 @@ def test_method_update_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(CallControlApplicationUpdateResponse, call_control_application, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update(self, client: Telnyx) -> None: response = client.call_control_applications.with_raw_response.update( @@ -184,7 +173,6 @@ def test_raw_response_update(self, client: Telnyx) -> None: call_control_application = response.parse() assert_matches_type(CallControlApplicationUpdateResponse, call_control_application, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update(self, client: Telnyx) -> None: with client.call_control_applications.with_streaming_response.update( @@ -200,7 +188,6 @@ def test_streaming_response_update(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -210,13 +197,11 @@ def test_path_params_update(self, client: Telnyx) -> None: webhook_event_url="https://example.com", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: call_control_application = client.call_control_applications.list() assert_matches_type(CallControlApplicationListResponse, call_control_application, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: call_control_application = client.call_control_applications.list( @@ -252,7 +237,6 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(CallControlApplicationListResponse, call_control_application, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.call_control_applications.with_raw_response.list() @@ -262,7 +246,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: call_control_application = response.parse() assert_matches_type(CallControlApplicationListResponse, call_control_application, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.call_control_applications.with_streaming_response.list() as response: @@ -274,7 +257,6 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: call_control_application = client.call_control_applications.delete( @@ -282,7 +264,6 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert_matches_type(CallControlApplicationDeleteResponse, call_control_application, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.call_control_applications.with_raw_response.delete( @@ -294,7 +275,6 @@ def test_raw_response_delete(self, client: Telnyx) -> None: call_control_application = response.parse() assert_matches_type(CallControlApplicationDeleteResponse, call_control_application, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.call_control_applications.with_streaming_response.delete( @@ -308,7 +288,6 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -322,7 +301,6 @@ class TestAsyncCallControlApplications: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: call_control_application = await async_client.call_control_applications.create( @@ -331,7 +309,6 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(CallControlApplicationCreateResponse, call_control_application, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: call_control_application = await async_client.call_control_applications.create( @@ -359,7 +336,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(CallControlApplicationCreateResponse, call_control_application, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.call_control_applications.with_raw_response.create( @@ -372,7 +348,6 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: call_control_application = await response.parse() assert_matches_type(CallControlApplicationCreateResponse, call_control_application, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.call_control_applications.with_streaming_response.create( @@ -387,7 +362,6 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: call_control_application = await async_client.call_control_applications.retrieve( @@ -395,7 +369,6 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(CallControlApplicationRetrieveResponse, call_control_application, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.call_control_applications.with_raw_response.retrieve( @@ -407,7 +380,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: call_control_application = await response.parse() assert_matches_type(CallControlApplicationRetrieveResponse, call_control_application, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.call_control_applications.with_streaming_response.retrieve( @@ -421,7 +393,6 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -429,7 +400,6 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update(self, async_client: AsyncTelnyx) -> None: call_control_application = await async_client.call_control_applications.update( @@ -439,7 +409,6 @@ async def test_method_update(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(CallControlApplicationUpdateResponse, call_control_application, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> None: call_control_application = await async_client.call_control_applications.update( @@ -469,7 +438,6 @@ async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(CallControlApplicationUpdateResponse, call_control_application, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: response = await async_client.call_control_applications.with_raw_response.update( @@ -483,7 +451,6 @@ async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: call_control_application = await response.parse() assert_matches_type(CallControlApplicationUpdateResponse, call_control_application, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> None: async with async_client.call_control_applications.with_streaming_response.update( @@ -499,7 +466,6 @@ async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -509,13 +475,11 @@ async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: webhook_event_url="https://example.com", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: call_control_application = await async_client.call_control_applications.list() assert_matches_type(CallControlApplicationListResponse, call_control_application, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: call_control_application = await async_client.call_control_applications.list( @@ -551,7 +515,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(CallControlApplicationListResponse, call_control_application, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.call_control_applications.with_raw_response.list() @@ -561,7 +524,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: call_control_application = await response.parse() assert_matches_type(CallControlApplicationListResponse, call_control_application, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.call_control_applications.with_streaming_response.list() as response: @@ -573,7 +535,6 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: call_control_application = await async_client.call_control_applications.delete( @@ -581,7 +542,6 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(CallControlApplicationDeleteResponse, call_control_application, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.call_control_applications.with_raw_response.delete( @@ -593,7 +553,6 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: call_control_application = await response.parse() assert_matches_type(CallControlApplicationDeleteResponse, call_control_application, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.call_control_applications.with_streaming_response.delete( @@ -607,7 +566,6 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): diff --git a/tests/api_resources/test_call_events.py b/tests/api_resources/test_call_events.py index 32ec69a7..6ab6c2ac 100644 --- a/tests/api_resources/test_call_events.py +++ b/tests/api_resources/test_call_events.py @@ -17,13 +17,11 @@ class TestCallEvents: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: call_event = client.call_events.list() assert_matches_type(CallEventListResponse, call_event, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: call_event = client.call_events.list( @@ -58,7 +56,6 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(CallEventListResponse, call_event, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.call_events.with_raw_response.list() @@ -68,7 +65,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: call_event = response.parse() assert_matches_type(CallEventListResponse, call_event, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.call_events.with_streaming_response.list() as response: @@ -86,13 +82,11 @@ class TestAsyncCallEvents: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: call_event = await async_client.call_events.list() assert_matches_type(CallEventListResponse, call_event, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: call_event = await async_client.call_events.list( @@ -127,7 +121,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(CallEventListResponse, call_event, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.call_events.with_raw_response.list() @@ -137,7 +130,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: call_event = await response.parse() assert_matches_type(CallEventListResponse, call_event, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.call_events.with_streaming_response.list() as response: diff --git a/tests/api_resources/test_calls.py b/tests/api_resources/test_calls.py index 92d06e37..ba2b1f6a 100644 --- a/tests/api_resources/test_calls.py +++ b/tests/api_resources/test_calls.py @@ -20,7 +20,6 @@ class TestCalls: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_dial(self, client: Telnyx) -> None: call = client.calls.dial( @@ -30,7 +29,6 @@ def test_method_dial(self, client: Telnyx) -> None: ) assert_matches_type(CallDialResponse, call, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_dial_with_all_params(self, client: Telnyx) -> None: call = client.calls.dial( @@ -161,7 +159,6 @@ def test_method_dial_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(CallDialResponse, call, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_dial(self, client: Telnyx) -> None: response = client.calls.with_raw_response.dial( @@ -175,7 +172,6 @@ def test_raw_response_dial(self, client: Telnyx) -> None: call = response.parse() assert_matches_type(CallDialResponse, call, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_dial(self, client: Telnyx) -> None: with client.calls.with_streaming_response.dial( @@ -191,7 +187,6 @@ def test_streaming_response_dial(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve_status(self, client: Telnyx) -> None: call = client.calls.retrieve_status( @@ -199,7 +194,6 @@ def test_method_retrieve_status(self, client: Telnyx) -> None: ) assert_matches_type(CallRetrieveStatusResponse, call, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve_status(self, client: Telnyx) -> None: response = client.calls.with_raw_response.retrieve_status( @@ -211,7 +205,6 @@ def test_raw_response_retrieve_status(self, client: Telnyx) -> None: call = response.parse() assert_matches_type(CallRetrieveStatusResponse, call, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve_status(self, client: Telnyx) -> None: with client.calls.with_streaming_response.retrieve_status( @@ -225,7 +218,6 @@ def test_streaming_response_retrieve_status(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve_status(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_control_id` but received ''"): @@ -239,7 +231,6 @@ class TestAsyncCalls: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_dial(self, async_client: AsyncTelnyx) -> None: call = await async_client.calls.dial( @@ -249,7 +240,6 @@ async def test_method_dial(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(CallDialResponse, call, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_dial_with_all_params(self, async_client: AsyncTelnyx) -> None: call = await async_client.calls.dial( @@ -380,7 +370,6 @@ async def test_method_dial_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(CallDialResponse, call, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_dial(self, async_client: AsyncTelnyx) -> None: response = await async_client.calls.with_raw_response.dial( @@ -394,7 +383,6 @@ async def test_raw_response_dial(self, async_client: AsyncTelnyx) -> None: call = await response.parse() assert_matches_type(CallDialResponse, call, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_dial(self, async_client: AsyncTelnyx) -> None: async with async_client.calls.with_streaming_response.dial( @@ -410,7 +398,6 @@ async def test_streaming_response_dial(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve_status(self, async_client: AsyncTelnyx) -> None: call = await async_client.calls.retrieve_status( @@ -418,7 +405,6 @@ async def test_method_retrieve_status(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(CallRetrieveStatusResponse, call, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve_status(self, async_client: AsyncTelnyx) -> None: response = await async_client.calls.with_raw_response.retrieve_status( @@ -430,7 +416,6 @@ async def test_raw_response_retrieve_status(self, async_client: AsyncTelnyx) -> call = await response.parse() assert_matches_type(CallRetrieveStatusResponse, call, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve_status(self, async_client: AsyncTelnyx) -> None: async with async_client.calls.with_streaming_response.retrieve_status( @@ -444,7 +429,6 @@ async def test_streaming_response_retrieve_status(self, async_client: AsyncTelny assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve_status(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_control_id` but received ''"): diff --git a/tests/api_resources/test_campaign.py b/tests/api_resources/test_campaign.py index f5e37ec1..3e878c20 100644 --- a/tests/api_resources/test_campaign.py +++ b/tests/api_resources/test_campaign.py @@ -24,7 +24,6 @@ class TestCampaign: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: campaign = client.campaign.retrieve( @@ -32,7 +31,6 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(TelnyxCampaignCsp, campaign, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.campaign.with_raw_response.retrieve( @@ -44,7 +42,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: campaign = response.parse() assert_matches_type(TelnyxCampaignCsp, campaign, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.campaign.with_streaming_response.retrieve( @@ -58,7 +55,6 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `campaign_id` but received ''"): @@ -66,7 +62,6 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update(self, client: Telnyx) -> None: campaign = client.campaign.update( @@ -74,7 +69,6 @@ def test_method_update(self, client: Telnyx) -> None: ) assert_matches_type(TelnyxCampaignCsp, campaign, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_with_all_params(self, client: Telnyx) -> None: campaign = client.campaign.update( @@ -93,7 +87,6 @@ def test_method_update_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(TelnyxCampaignCsp, campaign, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update(self, client: Telnyx) -> None: response = client.campaign.with_raw_response.update( @@ -105,7 +98,6 @@ def test_raw_response_update(self, client: Telnyx) -> None: campaign = response.parse() assert_matches_type(TelnyxCampaignCsp, campaign, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update(self, client: Telnyx) -> None: with client.campaign.with_streaming_response.update( @@ -119,7 +111,6 @@ def test_streaming_response_update(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `campaign_id` but received ''"): @@ -127,7 +118,6 @@ def test_path_params_update(self, client: Telnyx) -> None: campaign_id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: campaign = client.campaign.list( @@ -135,7 +125,6 @@ def test_method_list(self, client: Telnyx) -> None: ) assert_matches_type(CampaignListResponse, campaign, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: campaign = client.campaign.list( @@ -146,7 +135,6 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(CampaignListResponse, campaign, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.campaign.with_raw_response.list( @@ -158,7 +146,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: campaign = response.parse() assert_matches_type(CampaignListResponse, campaign, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.campaign.with_streaming_response.list( @@ -172,7 +159,6 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_accept_sharing(self, client: Telnyx) -> None: campaign = client.campaign.accept_sharing( @@ -180,7 +166,6 @@ def test_method_accept_sharing(self, client: Telnyx) -> None: ) assert_matches_type(object, campaign, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_accept_sharing(self, client: Telnyx) -> None: response = client.campaign.with_raw_response.accept_sharing( @@ -192,7 +177,6 @@ def test_raw_response_accept_sharing(self, client: Telnyx) -> None: campaign = response.parse() assert_matches_type(object, campaign, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_accept_sharing(self, client: Telnyx) -> None: with client.campaign.with_streaming_response.accept_sharing( @@ -206,7 +190,6 @@ def test_streaming_response_accept_sharing(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_accept_sharing(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `campaign_id` but received ''"): @@ -214,7 +197,6 @@ def test_path_params_accept_sharing(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_deactivate(self, client: Telnyx) -> None: campaign = client.campaign.deactivate( @@ -222,7 +204,6 @@ def test_method_deactivate(self, client: Telnyx) -> None: ) assert_matches_type(CampaignDeactivateResponse, campaign, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_deactivate(self, client: Telnyx) -> None: response = client.campaign.with_raw_response.deactivate( @@ -234,7 +215,6 @@ def test_raw_response_deactivate(self, client: Telnyx) -> None: campaign = response.parse() assert_matches_type(CampaignDeactivateResponse, campaign, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_deactivate(self, client: Telnyx) -> None: with client.campaign.with_streaming_response.deactivate( @@ -248,7 +228,6 @@ def test_streaming_response_deactivate(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_deactivate(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `campaign_id` but received ''"): @@ -256,7 +235,6 @@ def test_path_params_deactivate(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_get_mno_metadata(self, client: Telnyx) -> None: campaign = client.campaign.get_mno_metadata( @@ -264,7 +242,6 @@ def test_method_get_mno_metadata(self, client: Telnyx) -> None: ) assert_matches_type(CampaignGetMnoMetadataResponse, campaign, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_get_mno_metadata(self, client: Telnyx) -> None: response = client.campaign.with_raw_response.get_mno_metadata( @@ -276,7 +253,6 @@ def test_raw_response_get_mno_metadata(self, client: Telnyx) -> None: campaign = response.parse() assert_matches_type(CampaignGetMnoMetadataResponse, campaign, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_get_mno_metadata(self, client: Telnyx) -> None: with client.campaign.with_streaming_response.get_mno_metadata( @@ -290,7 +266,6 @@ def test_streaming_response_get_mno_metadata(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_get_mno_metadata(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `campaign_id` but received ''"): @@ -298,7 +273,6 @@ def test_path_params_get_mno_metadata(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_get_operation_status(self, client: Telnyx) -> None: campaign = client.campaign.get_operation_status( @@ -306,7 +280,6 @@ def test_method_get_operation_status(self, client: Telnyx) -> None: ) assert_matches_type(object, campaign, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_get_operation_status(self, client: Telnyx) -> None: response = client.campaign.with_raw_response.get_operation_status( @@ -318,7 +291,6 @@ def test_raw_response_get_operation_status(self, client: Telnyx) -> None: campaign = response.parse() assert_matches_type(object, campaign, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_get_operation_status(self, client: Telnyx) -> None: with client.campaign.with_streaming_response.get_operation_status( @@ -332,7 +304,6 @@ def test_streaming_response_get_operation_status(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_get_operation_status(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `campaign_id` but received ''"): @@ -340,7 +311,6 @@ def test_path_params_get_operation_status(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_get_sharing_status(self, client: Telnyx) -> None: campaign = client.campaign.get_sharing_status( @@ -348,7 +318,6 @@ def test_method_get_sharing_status(self, client: Telnyx) -> None: ) assert_matches_type(CampaignGetSharingStatusResponse, campaign, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_get_sharing_status(self, client: Telnyx) -> None: response = client.campaign.with_raw_response.get_sharing_status( @@ -360,7 +329,6 @@ def test_raw_response_get_sharing_status(self, client: Telnyx) -> None: campaign = response.parse() assert_matches_type(CampaignGetSharingStatusResponse, campaign, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_get_sharing_status(self, client: Telnyx) -> None: with client.campaign.with_streaming_response.get_sharing_status( @@ -374,7 +342,6 @@ def test_streaming_response_get_sharing_status(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_get_sharing_status(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `campaign_id` but received ''"): @@ -382,7 +349,6 @@ def test_path_params_get_sharing_status(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_submit_appeal(self, client: Telnyx) -> None: campaign = client.campaign.submit_appeal( @@ -391,7 +357,6 @@ def test_method_submit_appeal(self, client: Telnyx) -> None: ) assert_matches_type(CampaignSubmitAppealResponse, campaign, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_submit_appeal(self, client: Telnyx) -> None: response = client.campaign.with_raw_response.submit_appeal( @@ -404,7 +369,6 @@ def test_raw_response_submit_appeal(self, client: Telnyx) -> None: campaign = response.parse() assert_matches_type(CampaignSubmitAppealResponse, campaign, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_submit_appeal(self, client: Telnyx) -> None: with client.campaign.with_streaming_response.submit_appeal( @@ -419,7 +383,6 @@ def test_streaming_response_submit_appeal(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_submit_appeal(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `campaign_id` but received ''"): @@ -434,7 +397,6 @@ class TestAsyncCampaign: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: campaign = await async_client.campaign.retrieve( @@ -442,7 +404,6 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(TelnyxCampaignCsp, campaign, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.campaign.with_raw_response.retrieve( @@ -454,7 +415,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: campaign = await response.parse() assert_matches_type(TelnyxCampaignCsp, campaign, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.campaign.with_streaming_response.retrieve( @@ -468,7 +428,6 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `campaign_id` but received ''"): @@ -476,7 +435,6 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update(self, async_client: AsyncTelnyx) -> None: campaign = await async_client.campaign.update( @@ -484,7 +442,6 @@ async def test_method_update(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(TelnyxCampaignCsp, campaign, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> None: campaign = await async_client.campaign.update( @@ -503,7 +460,6 @@ async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(TelnyxCampaignCsp, campaign, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: response = await async_client.campaign.with_raw_response.update( @@ -515,7 +471,6 @@ async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: campaign = await response.parse() assert_matches_type(TelnyxCampaignCsp, campaign, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> None: async with async_client.campaign.with_streaming_response.update( @@ -529,7 +484,6 @@ async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `campaign_id` but received ''"): @@ -537,7 +491,6 @@ async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: campaign_id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: campaign = await async_client.campaign.list( @@ -545,7 +498,6 @@ async def test_method_list(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(CampaignListResponse, campaign, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: campaign = await async_client.campaign.list( @@ -556,7 +508,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(CampaignListResponse, campaign, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.campaign.with_raw_response.list( @@ -568,7 +519,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: campaign = await response.parse() assert_matches_type(CampaignListResponse, campaign, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.campaign.with_streaming_response.list( @@ -582,7 +532,6 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_accept_sharing(self, async_client: AsyncTelnyx) -> None: campaign = await async_client.campaign.accept_sharing( @@ -590,7 +539,6 @@ async def test_method_accept_sharing(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(object, campaign, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_accept_sharing(self, async_client: AsyncTelnyx) -> None: response = await async_client.campaign.with_raw_response.accept_sharing( @@ -602,7 +550,6 @@ async def test_raw_response_accept_sharing(self, async_client: AsyncTelnyx) -> N campaign = await response.parse() assert_matches_type(object, campaign, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_accept_sharing(self, async_client: AsyncTelnyx) -> None: async with async_client.campaign.with_streaming_response.accept_sharing( @@ -616,7 +563,6 @@ async def test_streaming_response_accept_sharing(self, async_client: AsyncTelnyx assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_accept_sharing(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `campaign_id` but received ''"): @@ -624,7 +570,6 @@ async def test_path_params_accept_sharing(self, async_client: AsyncTelnyx) -> No "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_deactivate(self, async_client: AsyncTelnyx) -> None: campaign = await async_client.campaign.deactivate( @@ -632,7 +577,6 @@ async def test_method_deactivate(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(CampaignDeactivateResponse, campaign, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_deactivate(self, async_client: AsyncTelnyx) -> None: response = await async_client.campaign.with_raw_response.deactivate( @@ -644,7 +588,6 @@ async def test_raw_response_deactivate(self, async_client: AsyncTelnyx) -> None: campaign = await response.parse() assert_matches_type(CampaignDeactivateResponse, campaign, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_deactivate(self, async_client: AsyncTelnyx) -> None: async with async_client.campaign.with_streaming_response.deactivate( @@ -658,7 +601,6 @@ async def test_streaming_response_deactivate(self, async_client: AsyncTelnyx) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_deactivate(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `campaign_id` but received ''"): @@ -666,7 +608,6 @@ async def test_path_params_deactivate(self, async_client: AsyncTelnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_get_mno_metadata(self, async_client: AsyncTelnyx) -> None: campaign = await async_client.campaign.get_mno_metadata( @@ -674,7 +615,6 @@ async def test_method_get_mno_metadata(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(CampaignGetMnoMetadataResponse, campaign, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_get_mno_metadata(self, async_client: AsyncTelnyx) -> None: response = await async_client.campaign.with_raw_response.get_mno_metadata( @@ -686,7 +626,6 @@ async def test_raw_response_get_mno_metadata(self, async_client: AsyncTelnyx) -> campaign = await response.parse() assert_matches_type(CampaignGetMnoMetadataResponse, campaign, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_get_mno_metadata(self, async_client: AsyncTelnyx) -> None: async with async_client.campaign.with_streaming_response.get_mno_metadata( @@ -700,7 +639,6 @@ async def test_streaming_response_get_mno_metadata(self, async_client: AsyncTeln assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_get_mno_metadata(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `campaign_id` but received ''"): @@ -708,7 +646,6 @@ async def test_path_params_get_mno_metadata(self, async_client: AsyncTelnyx) -> "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_get_operation_status(self, async_client: AsyncTelnyx) -> None: campaign = await async_client.campaign.get_operation_status( @@ -716,7 +653,6 @@ async def test_method_get_operation_status(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(object, campaign, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_get_operation_status(self, async_client: AsyncTelnyx) -> None: response = await async_client.campaign.with_raw_response.get_operation_status( @@ -728,7 +664,6 @@ async def test_raw_response_get_operation_status(self, async_client: AsyncTelnyx campaign = await response.parse() assert_matches_type(object, campaign, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_get_operation_status(self, async_client: AsyncTelnyx) -> None: async with async_client.campaign.with_streaming_response.get_operation_status( @@ -742,7 +677,6 @@ async def test_streaming_response_get_operation_status(self, async_client: Async assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_get_operation_status(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `campaign_id` but received ''"): @@ -750,7 +684,6 @@ async def test_path_params_get_operation_status(self, async_client: AsyncTelnyx) "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_get_sharing_status(self, async_client: AsyncTelnyx) -> None: campaign = await async_client.campaign.get_sharing_status( @@ -758,7 +691,6 @@ async def test_method_get_sharing_status(self, async_client: AsyncTelnyx) -> Non ) assert_matches_type(CampaignGetSharingStatusResponse, campaign, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_get_sharing_status(self, async_client: AsyncTelnyx) -> None: response = await async_client.campaign.with_raw_response.get_sharing_status( @@ -770,7 +702,6 @@ async def test_raw_response_get_sharing_status(self, async_client: AsyncTelnyx) campaign = await response.parse() assert_matches_type(CampaignGetSharingStatusResponse, campaign, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_get_sharing_status(self, async_client: AsyncTelnyx) -> None: async with async_client.campaign.with_streaming_response.get_sharing_status( @@ -784,7 +715,6 @@ async def test_streaming_response_get_sharing_status(self, async_client: AsyncTe assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_get_sharing_status(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `campaign_id` but received ''"): @@ -792,7 +722,6 @@ async def test_path_params_get_sharing_status(self, async_client: AsyncTelnyx) - "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_submit_appeal(self, async_client: AsyncTelnyx) -> None: campaign = await async_client.campaign.submit_appeal( @@ -801,7 +730,6 @@ async def test_method_submit_appeal(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(CampaignSubmitAppealResponse, campaign, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_submit_appeal(self, async_client: AsyncTelnyx) -> None: response = await async_client.campaign.with_raw_response.submit_appeal( @@ -814,7 +742,6 @@ async def test_raw_response_submit_appeal(self, async_client: AsyncTelnyx) -> No campaign = await response.parse() assert_matches_type(CampaignSubmitAppealResponse, campaign, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_submit_appeal(self, async_client: AsyncTelnyx) -> None: async with async_client.campaign.with_streaming_response.submit_appeal( @@ -829,7 +756,6 @@ async def test_streaming_response_submit_appeal(self, async_client: AsyncTelnyx) assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_submit_appeal(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `campaign_id` but received ''"): diff --git a/tests/api_resources/test_campaign_builder.py b/tests/api_resources/test_campaign_builder.py index 5be66d32..0e2dedc3 100644 --- a/tests/api_resources/test_campaign_builder.py +++ b/tests/api_resources/test_campaign_builder.py @@ -17,7 +17,6 @@ class TestCampaignBuilder: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: campaign_builder = client.campaign_builder.create( @@ -27,7 +26,6 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(CampaignBuilderCreateResponse, campaign_builder, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: campaign_builder = client.campaign_builder.create( @@ -69,7 +67,6 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(CampaignBuilderCreateResponse, campaign_builder, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.campaign_builder.with_raw_response.create( @@ -83,7 +80,6 @@ def test_raw_response_create(self, client: Telnyx) -> None: campaign_builder = response.parse() assert_matches_type(CampaignBuilderCreateResponse, campaign_builder, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.campaign_builder.with_streaming_response.create( @@ -105,7 +101,6 @@ class TestAsyncCampaignBuilder: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: campaign_builder = await async_client.campaign_builder.create( @@ -115,7 +110,6 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(CampaignBuilderCreateResponse, campaign_builder, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: campaign_builder = await async_client.campaign_builder.create( @@ -157,7 +151,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(CampaignBuilderCreateResponse, campaign_builder, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.campaign_builder.with_raw_response.create( @@ -171,7 +164,6 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: campaign_builder = await response.parse() assert_matches_type(CampaignBuilderCreateResponse, campaign_builder, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.campaign_builder.with_streaming_response.create( diff --git a/tests/api_resources/test_channel_zones.py b/tests/api_resources/test_channel_zones.py index 1fef767b..600e080d 100644 --- a/tests/api_resources/test_channel_zones.py +++ b/tests/api_resources/test_channel_zones.py @@ -20,7 +20,6 @@ class TestChannelZones: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update(self, client: Telnyx) -> None: channel_zone = client.channel_zones.update( @@ -29,7 +28,6 @@ def test_method_update(self, client: Telnyx) -> None: ) assert_matches_type(ChannelZoneUpdateResponse, channel_zone, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update(self, client: Telnyx) -> None: response = client.channel_zones.with_raw_response.update( @@ -42,7 +40,6 @@ def test_raw_response_update(self, client: Telnyx) -> None: channel_zone = response.parse() assert_matches_type(ChannelZoneUpdateResponse, channel_zone, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update(self, client: Telnyx) -> None: with client.channel_zones.with_streaming_response.update( @@ -57,7 +54,6 @@ def test_streaming_response_update(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `channel_zone_id` but received ''"): @@ -66,13 +62,11 @@ def test_path_params_update(self, client: Telnyx) -> None: channels=0, ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: channel_zone = client.channel_zones.list() assert_matches_type(ChannelZoneListResponse, channel_zone, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: channel_zone = client.channel_zones.list( @@ -83,7 +77,6 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ChannelZoneListResponse, channel_zone, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.channel_zones.with_raw_response.list() @@ -93,7 +86,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: channel_zone = response.parse() assert_matches_type(ChannelZoneListResponse, channel_zone, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.channel_zones.with_streaming_response.list() as response: @@ -111,7 +103,6 @@ class TestAsyncChannelZones: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update(self, async_client: AsyncTelnyx) -> None: channel_zone = await async_client.channel_zones.update( @@ -120,7 +111,6 @@ async def test_method_update(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ChannelZoneUpdateResponse, channel_zone, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: response = await async_client.channel_zones.with_raw_response.update( @@ -133,7 +123,6 @@ async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: channel_zone = await response.parse() assert_matches_type(ChannelZoneUpdateResponse, channel_zone, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> None: async with async_client.channel_zones.with_streaming_response.update( @@ -148,7 +137,6 @@ async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `channel_zone_id` but received ''"): @@ -157,13 +145,11 @@ async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: channels=0, ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: channel_zone = await async_client.channel_zones.list() assert_matches_type(ChannelZoneListResponse, channel_zone, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: channel_zone = await async_client.channel_zones.list( @@ -174,7 +160,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(ChannelZoneListResponse, channel_zone, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.channel_zones.with_raw_response.list() @@ -184,7 +169,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: channel_zone = await response.parse() assert_matches_type(ChannelZoneListResponse, channel_zone, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.channel_zones.with_streaming_response.list() as response: diff --git a/tests/api_resources/test_charges_breakdown.py b/tests/api_resources/test_charges_breakdown.py index 3db4f4e4..ea6d9f97 100644 --- a/tests/api_resources/test_charges_breakdown.py +++ b/tests/api_resources/test_charges_breakdown.py @@ -18,7 +18,6 @@ class TestChargesBreakdown: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: charges_breakdown = client.charges_breakdown.retrieve( @@ -26,7 +25,6 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(ChargesBreakdownRetrieveResponse, charges_breakdown, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve_with_all_params(self, client: Telnyx) -> None: charges_breakdown = client.charges_breakdown.retrieve( @@ -36,7 +34,6 @@ def test_method_retrieve_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ChargesBreakdownRetrieveResponse, charges_breakdown, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.charges_breakdown.with_raw_response.retrieve( @@ -48,7 +45,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: charges_breakdown = response.parse() assert_matches_type(ChargesBreakdownRetrieveResponse, charges_breakdown, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.charges_breakdown.with_streaming_response.retrieve( @@ -68,7 +64,6 @@ class TestAsyncChargesBreakdown: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: charges_breakdown = await async_client.charges_breakdown.retrieve( @@ -76,7 +71,6 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ChargesBreakdownRetrieveResponse, charges_breakdown, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve_with_all_params(self, async_client: AsyncTelnyx) -> None: charges_breakdown = await async_client.charges_breakdown.retrieve( @@ -86,7 +80,6 @@ async def test_method_retrieve_with_all_params(self, async_client: AsyncTelnyx) ) assert_matches_type(ChargesBreakdownRetrieveResponse, charges_breakdown, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.charges_breakdown.with_raw_response.retrieve( @@ -98,7 +91,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: charges_breakdown = await response.parse() assert_matches_type(ChargesBreakdownRetrieveResponse, charges_breakdown, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.charges_breakdown.with_streaming_response.retrieve( diff --git a/tests/api_resources/test_charges_summary.py b/tests/api_resources/test_charges_summary.py index 331ee2af..7542048c 100644 --- a/tests/api_resources/test_charges_summary.py +++ b/tests/api_resources/test_charges_summary.py @@ -18,7 +18,6 @@ class TestChargesSummary: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: charges_summary = client.charges_summary.retrieve( @@ -27,7 +26,6 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(ChargesSummaryRetrieveResponse, charges_summary, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.charges_summary.with_raw_response.retrieve( @@ -40,7 +38,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: charges_summary = response.parse() assert_matches_type(ChargesSummaryRetrieveResponse, charges_summary, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.charges_summary.with_streaming_response.retrieve( @@ -61,7 +58,6 @@ class TestAsyncChargesSummary: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: charges_summary = await async_client.charges_summary.retrieve( @@ -70,7 +66,6 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ChargesSummaryRetrieveResponse, charges_summary, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.charges_summary.with_raw_response.retrieve( @@ -83,7 +78,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: charges_summary = await response.parse() assert_matches_type(ChargesSummaryRetrieveResponse, charges_summary, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.charges_summary.with_streaming_response.retrieve( diff --git a/tests/api_resources/test_client.py b/tests/api_resources/test_client.py index 06f2fb1d..88436cfe 100644 --- a/tests/api_resources/test_client.py +++ b/tests/api_resources/test_client.py @@ -28,7 +28,6 @@ class TestClient: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_bucket(self, client: Telnyx) -> None: client_ = client.create_bucket( @@ -36,7 +35,6 @@ def test_method_create_bucket(self, client: Telnyx) -> None: ) assert client_ is None - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_bucket_with_all_params(self, client: Telnyx) -> None: client_ = client.create_bucket( @@ -45,7 +43,6 @@ def test_method_create_bucket_with_all_params(self, client: Telnyx) -> None: ) assert client_ is None - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create_bucket(self, client: Telnyx) -> None: response = client.with_raw_response.create_bucket( @@ -57,7 +54,6 @@ def test_raw_response_create_bucket(self, client: Telnyx) -> None: client_ = response.parse() assert client_ is None - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create_bucket(self, client: Telnyx) -> None: with client.with_streaming_response.create_bucket( @@ -71,7 +67,6 @@ def test_streaming_response_create_bucket(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_create_bucket(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `bucket_name` but received ''"): @@ -79,7 +74,6 @@ def test_path_params_create_bucket(self, client: Telnyx) -> None: bucket_name="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete_bucket(self, client: Telnyx) -> None: client_ = client.delete_bucket( @@ -87,7 +81,6 @@ def test_method_delete_bucket(self, client: Telnyx) -> None: ) assert client_ is None - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete_bucket(self, client: Telnyx) -> None: response = client.with_raw_response.delete_bucket( @@ -99,7 +92,6 @@ def test_raw_response_delete_bucket(self, client: Telnyx) -> None: client_ = response.parse() assert client_ is None - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete_bucket(self, client: Telnyx) -> None: with client.with_streaming_response.delete_bucket( @@ -113,7 +105,6 @@ def test_streaming_response_delete_bucket(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete_bucket(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `bucket_name` but received ''"): @@ -121,7 +112,6 @@ def test_path_params_delete_bucket(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete_object(self, client: Telnyx) -> None: client_ = client.delete_object( @@ -130,7 +120,6 @@ def test_method_delete_object(self, client: Telnyx) -> None: ) assert client_ is None - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete_object(self, client: Telnyx) -> None: response = client.with_raw_response.delete_object( @@ -143,7 +132,6 @@ def test_raw_response_delete_object(self, client: Telnyx) -> None: client_ = response.parse() assert client_ is None - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete_object(self, client: Telnyx) -> None: with client.with_streaming_response.delete_object( @@ -158,7 +146,6 @@ def test_streaming_response_delete_object(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete_object(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `bucket_name` but received ''"): @@ -173,7 +160,6 @@ def test_path_params_delete_object(self, client: Telnyx) -> None: bucket_name="bucketName", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete_objects(self, client: Telnyx) -> None: client_ = client.delete_objects( @@ -183,7 +169,6 @@ def test_method_delete_objects(self, client: Telnyx) -> None: ) assert_matches_type(object, client_, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete_objects(self, client: Telnyx) -> None: response = client.with_raw_response.delete_objects( @@ -197,7 +182,6 @@ def test_raw_response_delete_objects(self, client: Telnyx) -> None: client_ = response.parse() assert_matches_type(object, client_, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete_objects(self, client: Telnyx) -> None: with client.with_streaming_response.delete_objects( @@ -213,7 +197,6 @@ def test_streaming_response_delete_objects(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete_objects(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `bucket_name` but received ''"): @@ -297,13 +280,11 @@ def test_path_params_get_object(self, client: Telnyx) -> None: bucket_name="bucketName", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_buckets(self, client: Telnyx) -> None: client_ = client.list_buckets() assert_matches_type(ListBucketsResponse, client_, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list_buckets(self, client: Telnyx) -> None: response = client.with_raw_response.list_buckets() @@ -313,7 +294,6 @@ def test_raw_response_list_buckets(self, client: Telnyx) -> None: client_ = response.parse() assert_matches_type(ListBucketsResponse, client_, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list_buckets(self, client: Telnyx) -> None: with client.with_streaming_response.list_buckets() as response: @@ -325,7 +305,6 @@ def test_streaming_response_list_buckets(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_objects(self, client: Telnyx) -> None: client_ = client.list_objects( @@ -333,7 +312,6 @@ def test_method_list_objects(self, client: Telnyx) -> None: ) assert_matches_type(ListObjectsResponse, client_, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_objects_with_all_params(self, client: Telnyx) -> None: client_ = client.list_objects( @@ -342,7 +320,6 @@ def test_method_list_objects_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ListObjectsResponse, client_, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list_objects(self, client: Telnyx) -> None: response = client.with_raw_response.list_objects( @@ -354,7 +331,6 @@ def test_raw_response_list_objects(self, client: Telnyx) -> None: client_ = response.parse() assert_matches_type(ListObjectsResponse, client_, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list_objects(self, client: Telnyx) -> None: with client.with_streaming_response.list_objects( @@ -368,7 +344,6 @@ def test_streaming_response_list_objects(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_list_objects(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `bucket_name` but received ''"): @@ -376,7 +351,6 @@ def test_path_params_list_objects(self, client: Telnyx) -> None: bucket_name="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_put_object(self, client: Telnyx) -> None: client_ = client.put_object( @@ -386,7 +360,6 @@ def test_method_put_object(self, client: Telnyx) -> None: ) assert client_ is None - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_put_object_with_all_params(self, client: Telnyx) -> None: client_ = client.put_object( @@ -398,7 +371,6 @@ def test_method_put_object_with_all_params(self, client: Telnyx) -> None: ) assert client_ is None - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_put_object(self, client: Telnyx) -> None: response = client.with_raw_response.put_object( @@ -412,7 +384,6 @@ def test_raw_response_put_object(self, client: Telnyx) -> None: client_ = response.parse() assert client_ is None - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_put_object(self, client: Telnyx) -> None: with client.with_streaming_response.put_object( @@ -428,7 +399,6 @@ def test_streaming_response_put_object(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_put_object(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `bucket_name` but received ''"): @@ -451,7 +421,6 @@ class TestAsyncClient: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_bucket(self, async_client: AsyncTelnyx) -> None: client = await async_client.create_bucket( @@ -459,7 +428,6 @@ async def test_method_create_bucket(self, async_client: AsyncTelnyx) -> None: ) assert client is None - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_bucket_with_all_params(self, async_client: AsyncTelnyx) -> None: client = await async_client.create_bucket( @@ -468,7 +436,6 @@ async def test_method_create_bucket_with_all_params(self, async_client: AsyncTel ) assert client is None - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create_bucket(self, async_client: AsyncTelnyx) -> None: response = await async_client.with_raw_response.create_bucket( @@ -480,7 +447,6 @@ async def test_raw_response_create_bucket(self, async_client: AsyncTelnyx) -> No client = await response.parse() assert client is None - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create_bucket(self, async_client: AsyncTelnyx) -> None: async with async_client.with_streaming_response.create_bucket( @@ -494,7 +460,6 @@ async def test_streaming_response_create_bucket(self, async_client: AsyncTelnyx) assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_create_bucket(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `bucket_name` but received ''"): @@ -502,7 +467,6 @@ async def test_path_params_create_bucket(self, async_client: AsyncTelnyx) -> Non bucket_name="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete_bucket(self, async_client: AsyncTelnyx) -> None: client = await async_client.delete_bucket( @@ -510,7 +474,6 @@ async def test_method_delete_bucket(self, async_client: AsyncTelnyx) -> None: ) assert client is None - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete_bucket(self, async_client: AsyncTelnyx) -> None: response = await async_client.with_raw_response.delete_bucket( @@ -522,7 +485,6 @@ async def test_raw_response_delete_bucket(self, async_client: AsyncTelnyx) -> No client = await response.parse() assert client is None - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete_bucket(self, async_client: AsyncTelnyx) -> None: async with async_client.with_streaming_response.delete_bucket( @@ -536,7 +498,6 @@ async def test_streaming_response_delete_bucket(self, async_client: AsyncTelnyx) assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete_bucket(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `bucket_name` but received ''"): @@ -544,7 +505,6 @@ async def test_path_params_delete_bucket(self, async_client: AsyncTelnyx) -> Non "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete_object(self, async_client: AsyncTelnyx) -> None: client = await async_client.delete_object( @@ -553,7 +513,6 @@ async def test_method_delete_object(self, async_client: AsyncTelnyx) -> None: ) assert client is None - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete_object(self, async_client: AsyncTelnyx) -> None: response = await async_client.with_raw_response.delete_object( @@ -566,7 +525,6 @@ async def test_raw_response_delete_object(self, async_client: AsyncTelnyx) -> No client = await response.parse() assert client is None - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete_object(self, async_client: AsyncTelnyx) -> None: async with async_client.with_streaming_response.delete_object( @@ -581,7 +539,6 @@ async def test_streaming_response_delete_object(self, async_client: AsyncTelnyx) assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete_object(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `bucket_name` but received ''"): @@ -596,7 +553,6 @@ async def test_path_params_delete_object(self, async_client: AsyncTelnyx) -> Non bucket_name="bucketName", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete_objects(self, async_client: AsyncTelnyx) -> None: client = await async_client.delete_objects( @@ -606,7 +562,6 @@ async def test_method_delete_objects(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(object, client, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete_objects(self, async_client: AsyncTelnyx) -> None: response = await async_client.with_raw_response.delete_objects( @@ -620,7 +575,6 @@ async def test_raw_response_delete_objects(self, async_client: AsyncTelnyx) -> N client = await response.parse() assert_matches_type(object, client, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete_objects(self, async_client: AsyncTelnyx) -> None: async with async_client.with_streaming_response.delete_objects( @@ -636,7 +590,6 @@ async def test_streaming_response_delete_objects(self, async_client: AsyncTelnyx assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete_objects(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `bucket_name` but received ''"): @@ -720,13 +673,11 @@ async def test_path_params_get_object(self, async_client: AsyncTelnyx) -> None: bucket_name="bucketName", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_buckets(self, async_client: AsyncTelnyx) -> None: client = await async_client.list_buckets() assert_matches_type(ListBucketsResponse, client, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list_buckets(self, async_client: AsyncTelnyx) -> None: response = await async_client.with_raw_response.list_buckets() @@ -736,7 +687,6 @@ async def test_raw_response_list_buckets(self, async_client: AsyncTelnyx) -> Non client = await response.parse() assert_matches_type(ListBucketsResponse, client, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list_buckets(self, async_client: AsyncTelnyx) -> None: async with async_client.with_streaming_response.list_buckets() as response: @@ -748,7 +698,6 @@ async def test_streaming_response_list_buckets(self, async_client: AsyncTelnyx) assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_objects(self, async_client: AsyncTelnyx) -> None: client = await async_client.list_objects( @@ -756,7 +705,6 @@ async def test_method_list_objects(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ListObjectsResponse, client, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_objects_with_all_params(self, async_client: AsyncTelnyx) -> None: client = await async_client.list_objects( @@ -765,7 +713,6 @@ async def test_method_list_objects_with_all_params(self, async_client: AsyncTeln ) assert_matches_type(ListObjectsResponse, client, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list_objects(self, async_client: AsyncTelnyx) -> None: response = await async_client.with_raw_response.list_objects( @@ -777,7 +724,6 @@ async def test_raw_response_list_objects(self, async_client: AsyncTelnyx) -> Non client = await response.parse() assert_matches_type(ListObjectsResponse, client, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list_objects(self, async_client: AsyncTelnyx) -> None: async with async_client.with_streaming_response.list_objects( @@ -791,7 +737,6 @@ async def test_streaming_response_list_objects(self, async_client: AsyncTelnyx) assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_list_objects(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `bucket_name` but received ''"): @@ -799,7 +744,6 @@ async def test_path_params_list_objects(self, async_client: AsyncTelnyx) -> None bucket_name="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_put_object(self, async_client: AsyncTelnyx) -> None: client = await async_client.put_object( @@ -809,7 +753,6 @@ async def test_method_put_object(self, async_client: AsyncTelnyx) -> None: ) assert client is None - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_put_object_with_all_params(self, async_client: AsyncTelnyx) -> None: client = await async_client.put_object( @@ -821,7 +764,6 @@ async def test_method_put_object_with_all_params(self, async_client: AsyncTelnyx ) assert client is None - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_put_object(self, async_client: AsyncTelnyx) -> None: response = await async_client.with_raw_response.put_object( @@ -835,7 +777,6 @@ async def test_raw_response_put_object(self, async_client: AsyncTelnyx) -> None: client = await response.parse() assert client is None - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_put_object(self, async_client: AsyncTelnyx) -> None: async with async_client.with_streaming_response.put_object( @@ -851,7 +792,6 @@ async def test_streaming_response_put_object(self, async_client: AsyncTelnyx) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_put_object(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `bucket_name` but received ''"): diff --git a/tests/api_resources/test_comments.py b/tests/api_resources/test_comments.py index f98b4f89..77af6a92 100644 --- a/tests/api_resources/test_comments.py +++ b/tests/api_resources/test_comments.py @@ -22,13 +22,11 @@ class TestComments: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: comment = client.comments.create() assert_matches_type(CommentCreateResponse, comment, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: comment = client.comments.create( @@ -38,7 +36,6 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(CommentCreateResponse, comment, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.comments.with_raw_response.create() @@ -48,7 +45,6 @@ def test_raw_response_create(self, client: Telnyx) -> None: comment = response.parse() assert_matches_type(CommentCreateResponse, comment, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.comments.with_streaming_response.create() as response: @@ -60,7 +56,6 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: comment = client.comments.retrieve( @@ -68,7 +63,6 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(CommentRetrieveResponse, comment, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.comments.with_raw_response.retrieve( @@ -80,7 +74,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: comment = response.parse() assert_matches_type(CommentRetrieveResponse, comment, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.comments.with_streaming_response.retrieve( @@ -94,7 +87,6 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -102,13 +94,11 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: comment = client.comments.list() assert_matches_type(CommentListResponse, comment, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: comment = client.comments.list( @@ -119,7 +109,6 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(CommentListResponse, comment, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.comments.with_raw_response.list() @@ -129,7 +118,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: comment = response.parse() assert_matches_type(CommentListResponse, comment, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.comments.with_streaming_response.list() as response: @@ -141,7 +129,6 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_mark_as_read(self, client: Telnyx) -> None: comment = client.comments.mark_as_read( @@ -149,7 +136,6 @@ def test_method_mark_as_read(self, client: Telnyx) -> None: ) assert_matches_type(CommentMarkAsReadResponse, comment, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_mark_as_read(self, client: Telnyx) -> None: response = client.comments.with_raw_response.mark_as_read( @@ -161,7 +147,6 @@ def test_raw_response_mark_as_read(self, client: Telnyx) -> None: comment = response.parse() assert_matches_type(CommentMarkAsReadResponse, comment, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_mark_as_read(self, client: Telnyx) -> None: with client.comments.with_streaming_response.mark_as_read( @@ -175,7 +160,6 @@ def test_streaming_response_mark_as_read(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_mark_as_read(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -189,13 +173,11 @@ class TestAsyncComments: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: comment = await async_client.comments.create() assert_matches_type(CommentCreateResponse, comment, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: comment = await async_client.comments.create( @@ -205,7 +187,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(CommentCreateResponse, comment, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.comments.with_raw_response.create() @@ -215,7 +196,6 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: comment = await response.parse() assert_matches_type(CommentCreateResponse, comment, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.comments.with_streaming_response.create() as response: @@ -227,7 +207,6 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: comment = await async_client.comments.retrieve( @@ -235,7 +214,6 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(CommentRetrieveResponse, comment, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.comments.with_raw_response.retrieve( @@ -247,7 +225,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: comment = await response.parse() assert_matches_type(CommentRetrieveResponse, comment, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.comments.with_streaming_response.retrieve( @@ -261,7 +238,6 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -269,13 +245,11 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: comment = await async_client.comments.list() assert_matches_type(CommentListResponse, comment, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: comment = await async_client.comments.list( @@ -286,7 +260,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(CommentListResponse, comment, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.comments.with_raw_response.list() @@ -296,7 +269,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: comment = await response.parse() assert_matches_type(CommentListResponse, comment, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.comments.with_streaming_response.list() as response: @@ -308,7 +280,6 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_mark_as_read(self, async_client: AsyncTelnyx) -> None: comment = await async_client.comments.mark_as_read( @@ -316,7 +287,6 @@ async def test_method_mark_as_read(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(CommentMarkAsReadResponse, comment, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_mark_as_read(self, async_client: AsyncTelnyx) -> None: response = await async_client.comments.with_raw_response.mark_as_read( @@ -328,7 +298,6 @@ async def test_raw_response_mark_as_read(self, async_client: AsyncTelnyx) -> Non comment = await response.parse() assert_matches_type(CommentMarkAsReadResponse, comment, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_mark_as_read(self, async_client: AsyncTelnyx) -> None: async with async_client.comments.with_streaming_response.mark_as_read( @@ -342,7 +311,6 @@ async def test_streaming_response_mark_as_read(self, async_client: AsyncTelnyx) assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_mark_as_read(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): diff --git a/tests/api_resources/test_conferences.py b/tests/api_resources/test_conferences.py index fef92623..90270e4b 100644 --- a/tests/api_resources/test_conferences.py +++ b/tests/api_resources/test_conferences.py @@ -22,7 +22,6 @@ class TestConferences: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: conference = client.conferences.create( @@ -31,7 +30,6 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(ConferenceCreateResponse, conference, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: conference = client.conferences.create( @@ -49,7 +47,6 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ConferenceCreateResponse, conference, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.conferences.with_raw_response.create( @@ -62,7 +59,6 @@ def test_raw_response_create(self, client: Telnyx) -> None: conference = response.parse() assert_matches_type(ConferenceCreateResponse, conference, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.conferences.with_streaming_response.create( @@ -77,7 +73,6 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: conference = client.conferences.retrieve( @@ -85,7 +80,6 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(ConferenceRetrieveResponse, conference, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.conferences.with_raw_response.retrieve( @@ -97,7 +91,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: conference = response.parse() assert_matches_type(ConferenceRetrieveResponse, conference, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.conferences.with_streaming_response.retrieve( @@ -111,7 +104,6 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -119,13 +111,11 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: conference = client.conferences.list() assert_matches_type(ConferenceListResponse, conference, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: conference = client.conferences.list( @@ -160,7 +150,6 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ConferenceListResponse, conference, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.conferences.with_raw_response.list() @@ -170,7 +159,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: conference = response.parse() assert_matches_type(ConferenceListResponse, conference, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.conferences.with_streaming_response.list() as response: @@ -182,7 +170,6 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_participants(self, client: Telnyx) -> None: conference = client.conferences.list_participants( @@ -190,7 +177,6 @@ def test_method_list_participants(self, client: Telnyx) -> None: ) assert_matches_type(ConferenceListParticipantsResponse, conference, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_participants_with_all_params(self, client: Telnyx) -> None: conference = client.conferences.list_participants( @@ -210,7 +196,6 @@ def test_method_list_participants_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ConferenceListParticipantsResponse, conference, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list_participants(self, client: Telnyx) -> None: response = client.conferences.with_raw_response.list_participants( @@ -222,7 +207,6 @@ def test_raw_response_list_participants(self, client: Telnyx) -> None: conference = response.parse() assert_matches_type(ConferenceListParticipantsResponse, conference, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list_participants(self, client: Telnyx) -> None: with client.conferences.with_streaming_response.list_participants( @@ -236,7 +220,6 @@ def test_streaming_response_list_participants(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_list_participants(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `conference_id` but received ''"): @@ -250,7 +233,6 @@ class TestAsyncConferences: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: conference = await async_client.conferences.create( @@ -259,7 +241,6 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ConferenceCreateResponse, conference, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: conference = await async_client.conferences.create( @@ -277,7 +258,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(ConferenceCreateResponse, conference, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.conferences.with_raw_response.create( @@ -290,7 +270,6 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: conference = await response.parse() assert_matches_type(ConferenceCreateResponse, conference, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.conferences.with_streaming_response.create( @@ -305,7 +284,6 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: conference = await async_client.conferences.retrieve( @@ -313,7 +291,6 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ConferenceRetrieveResponse, conference, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.conferences.with_raw_response.retrieve( @@ -325,7 +302,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: conference = await response.parse() assert_matches_type(ConferenceRetrieveResponse, conference, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.conferences.with_streaming_response.retrieve( @@ -339,7 +315,6 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -347,13 +322,11 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: conference = await async_client.conferences.list() assert_matches_type(ConferenceListResponse, conference, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: conference = await async_client.conferences.list( @@ -388,7 +361,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(ConferenceListResponse, conference, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.conferences.with_raw_response.list() @@ -398,7 +370,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: conference = await response.parse() assert_matches_type(ConferenceListResponse, conference, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.conferences.with_streaming_response.list() as response: @@ -410,7 +381,6 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_participants(self, async_client: AsyncTelnyx) -> None: conference = await async_client.conferences.list_participants( @@ -418,7 +388,6 @@ async def test_method_list_participants(self, async_client: AsyncTelnyx) -> None ) assert_matches_type(ConferenceListParticipantsResponse, conference, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_participants_with_all_params(self, async_client: AsyncTelnyx) -> None: conference = await async_client.conferences.list_participants( @@ -438,7 +407,6 @@ async def test_method_list_participants_with_all_params(self, async_client: Asyn ) assert_matches_type(ConferenceListParticipantsResponse, conference, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list_participants(self, async_client: AsyncTelnyx) -> None: response = await async_client.conferences.with_raw_response.list_participants( @@ -450,7 +418,6 @@ async def test_raw_response_list_participants(self, async_client: AsyncTelnyx) - conference = await response.parse() assert_matches_type(ConferenceListParticipantsResponse, conference, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list_participants(self, async_client: AsyncTelnyx) -> None: async with async_client.conferences.with_streaming_response.list_participants( @@ -464,7 +431,6 @@ async def test_streaming_response_list_participants(self, async_client: AsyncTel assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_list_participants(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `conference_id` but received ''"): diff --git a/tests/api_resources/test_connections.py b/tests/api_resources/test_connections.py index 9faa118c..afc43b46 100644 --- a/tests/api_resources/test_connections.py +++ b/tests/api_resources/test_connections.py @@ -21,7 +21,6 @@ class TestConnections: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: connection = client.connections.retrieve( @@ -29,7 +28,6 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(ConnectionRetrieveResponse, connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.connections.with_raw_response.retrieve( @@ -41,7 +39,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: connection = response.parse() assert_matches_type(ConnectionRetrieveResponse, connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.connections.with_streaming_response.retrieve( @@ -55,7 +52,6 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -63,13 +59,11 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: connection = client.connections.list() assert_matches_type(ConnectionListResponse, connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: connection = client.connections.list( @@ -86,7 +80,6 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ConnectionListResponse, connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.connections.with_raw_response.list() @@ -96,7 +89,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: connection = response.parse() assert_matches_type(ConnectionListResponse, connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.connections.with_streaming_response.list() as response: @@ -108,7 +100,6 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_active_calls(self, client: Telnyx) -> None: connection = client.connections.list_active_calls( @@ -116,7 +107,6 @@ def test_method_list_active_calls(self, client: Telnyx) -> None: ) assert_matches_type(ConnectionListActiveCallsResponse, connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_active_calls_with_all_params(self, client: Telnyx) -> None: connection = client.connections.list_active_calls( @@ -131,7 +121,6 @@ def test_method_list_active_calls_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ConnectionListActiveCallsResponse, connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list_active_calls(self, client: Telnyx) -> None: response = client.connections.with_raw_response.list_active_calls( @@ -143,7 +132,6 @@ def test_raw_response_list_active_calls(self, client: Telnyx) -> None: connection = response.parse() assert_matches_type(ConnectionListActiveCallsResponse, connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list_active_calls(self, client: Telnyx) -> None: with client.connections.with_streaming_response.list_active_calls( @@ -157,7 +145,6 @@ def test_streaming_response_list_active_calls(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_list_active_calls(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `connection_id` but received ''"): @@ -171,7 +158,6 @@ class TestAsyncConnections: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: connection = await async_client.connections.retrieve( @@ -179,7 +165,6 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ConnectionRetrieveResponse, connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.connections.with_raw_response.retrieve( @@ -191,7 +176,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: connection = await response.parse() assert_matches_type(ConnectionRetrieveResponse, connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.connections.with_streaming_response.retrieve( @@ -205,7 +189,6 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -213,13 +196,11 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: connection = await async_client.connections.list() assert_matches_type(ConnectionListResponse, connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: connection = await async_client.connections.list( @@ -236,7 +217,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(ConnectionListResponse, connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.connections.with_raw_response.list() @@ -246,7 +226,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: connection = await response.parse() assert_matches_type(ConnectionListResponse, connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.connections.with_streaming_response.list() as response: @@ -258,7 +237,6 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_active_calls(self, async_client: AsyncTelnyx) -> None: connection = await async_client.connections.list_active_calls( @@ -266,7 +244,6 @@ async def test_method_list_active_calls(self, async_client: AsyncTelnyx) -> None ) assert_matches_type(ConnectionListActiveCallsResponse, connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_active_calls_with_all_params(self, async_client: AsyncTelnyx) -> None: connection = await async_client.connections.list_active_calls( @@ -281,7 +258,6 @@ async def test_method_list_active_calls_with_all_params(self, async_client: Asyn ) assert_matches_type(ConnectionListActiveCallsResponse, connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list_active_calls(self, async_client: AsyncTelnyx) -> None: response = await async_client.connections.with_raw_response.list_active_calls( @@ -293,7 +269,6 @@ async def test_raw_response_list_active_calls(self, async_client: AsyncTelnyx) - connection = await response.parse() assert_matches_type(ConnectionListActiveCallsResponse, connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list_active_calls(self, async_client: AsyncTelnyx) -> None: async with async_client.connections.with_streaming_response.list_active_calls( @@ -307,7 +282,6 @@ async def test_streaming_response_list_active_calls(self, async_client: AsyncTel assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_list_active_calls(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `connection_id` but received ''"): diff --git a/tests/api_resources/test_country_coverage.py b/tests/api_resources/test_country_coverage.py index c6b5c5f4..8aa017b8 100644 --- a/tests/api_resources/test_country_coverage.py +++ b/tests/api_resources/test_country_coverage.py @@ -17,13 +17,11 @@ class TestCountryCoverage: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: country_coverage = client.country_coverage.retrieve() assert_matches_type(CountryCoverageRetrieveResponse, country_coverage, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.country_coverage.with_raw_response.retrieve() @@ -33,7 +31,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: country_coverage = response.parse() assert_matches_type(CountryCoverageRetrieveResponse, country_coverage, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.country_coverage.with_streaming_response.retrieve() as response: @@ -45,7 +42,6 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve_country(self, client: Telnyx) -> None: country_coverage = client.country_coverage.retrieve_country( @@ -53,7 +49,6 @@ def test_method_retrieve_country(self, client: Telnyx) -> None: ) assert_matches_type(CountryCoverageRetrieveCountryResponse, country_coverage, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve_country(self, client: Telnyx) -> None: response = client.country_coverage.with_raw_response.retrieve_country( @@ -65,7 +60,6 @@ def test_raw_response_retrieve_country(self, client: Telnyx) -> None: country_coverage = response.parse() assert_matches_type(CountryCoverageRetrieveCountryResponse, country_coverage, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve_country(self, client: Telnyx) -> None: with client.country_coverage.with_streaming_response.retrieve_country( @@ -79,7 +73,6 @@ def test_streaming_response_retrieve_country(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve_country(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `country_code` but received ''"): @@ -93,13 +86,11 @@ class TestAsyncCountryCoverage: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: country_coverage = await async_client.country_coverage.retrieve() assert_matches_type(CountryCoverageRetrieveResponse, country_coverage, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.country_coverage.with_raw_response.retrieve() @@ -109,7 +100,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: country_coverage = await response.parse() assert_matches_type(CountryCoverageRetrieveResponse, country_coverage, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.country_coverage.with_streaming_response.retrieve() as response: @@ -121,7 +111,6 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve_country(self, async_client: AsyncTelnyx) -> None: country_coverage = await async_client.country_coverage.retrieve_country( @@ -129,7 +118,6 @@ async def test_method_retrieve_country(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(CountryCoverageRetrieveCountryResponse, country_coverage, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve_country(self, async_client: AsyncTelnyx) -> None: response = await async_client.country_coverage.with_raw_response.retrieve_country( @@ -141,7 +129,6 @@ async def test_raw_response_retrieve_country(self, async_client: AsyncTelnyx) -> country_coverage = await response.parse() assert_matches_type(CountryCoverageRetrieveCountryResponse, country_coverage, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve_country(self, async_client: AsyncTelnyx) -> None: async with async_client.country_coverage.with_streaming_response.retrieve_country( @@ -155,7 +142,6 @@ async def test_streaming_response_retrieve_country(self, async_client: AsyncTeln assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve_country(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `country_code` but received ''"): diff --git a/tests/api_resources/test_credential_connections.py b/tests/api_resources/test_credential_connections.py index a34e5c15..093264a1 100644 --- a/tests/api_resources/test_credential_connections.py +++ b/tests/api_resources/test_credential_connections.py @@ -23,7 +23,6 @@ class TestCredentialConnections: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: credential_connection = client.credential_connections.create( @@ -33,7 +32,6 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(CredentialConnectionCreateResponse, credential_connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: credential_connection = client.credential_connections.create( @@ -87,7 +85,6 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(CredentialConnectionCreateResponse, credential_connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.credential_connections.with_raw_response.create( @@ -101,7 +98,6 @@ def test_raw_response_create(self, client: Telnyx) -> None: credential_connection = response.parse() assert_matches_type(CredentialConnectionCreateResponse, credential_connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.credential_connections.with_streaming_response.create( @@ -117,7 +113,6 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: credential_connection = client.credential_connections.retrieve( @@ -125,7 +120,6 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(CredentialConnectionRetrieveResponse, credential_connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.credential_connections.with_raw_response.retrieve( @@ -137,7 +131,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: credential_connection = response.parse() assert_matches_type(CredentialConnectionRetrieveResponse, credential_connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.credential_connections.with_streaming_response.retrieve( @@ -151,7 +144,6 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -159,7 +151,6 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update(self, client: Telnyx) -> None: credential_connection = client.credential_connections.update( @@ -167,7 +158,6 @@ def test_method_update(self, client: Telnyx) -> None: ) assert_matches_type(CredentialConnectionUpdateResponse, credential_connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_with_all_params(self, client: Telnyx) -> None: credential_connection = client.credential_connections.update( @@ -222,7 +212,6 @@ def test_method_update_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(CredentialConnectionUpdateResponse, credential_connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update(self, client: Telnyx) -> None: response = client.credential_connections.with_raw_response.update( @@ -234,7 +223,6 @@ def test_raw_response_update(self, client: Telnyx) -> None: credential_connection = response.parse() assert_matches_type(CredentialConnectionUpdateResponse, credential_connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update(self, client: Telnyx) -> None: with client.credential_connections.with_streaming_response.update( @@ -248,7 +236,6 @@ def test_streaming_response_update(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -256,13 +243,11 @@ def test_path_params_update(self, client: Telnyx) -> None: id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: credential_connection = client.credential_connections.list() assert_matches_type(CredentialConnectionListResponse, credential_connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: credential_connection = client.credential_connections.list( @@ -279,7 +264,6 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(CredentialConnectionListResponse, credential_connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.credential_connections.with_raw_response.list() @@ -289,7 +273,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: credential_connection = response.parse() assert_matches_type(CredentialConnectionListResponse, credential_connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.credential_connections.with_streaming_response.list() as response: @@ -301,7 +284,6 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: credential_connection = client.credential_connections.delete( @@ -309,7 +291,6 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert_matches_type(CredentialConnectionDeleteResponse, credential_connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.credential_connections.with_raw_response.delete( @@ -321,7 +302,6 @@ def test_raw_response_delete(self, client: Telnyx) -> None: credential_connection = response.parse() assert_matches_type(CredentialConnectionDeleteResponse, credential_connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.credential_connections.with_streaming_response.delete( @@ -335,7 +315,6 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -349,7 +328,6 @@ class TestAsyncCredentialConnections: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: credential_connection = await async_client.credential_connections.create( @@ -359,7 +337,6 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(CredentialConnectionCreateResponse, credential_connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: credential_connection = await async_client.credential_connections.create( @@ -413,7 +390,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(CredentialConnectionCreateResponse, credential_connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.credential_connections.with_raw_response.create( @@ -427,7 +403,6 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: credential_connection = await response.parse() assert_matches_type(CredentialConnectionCreateResponse, credential_connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.credential_connections.with_streaming_response.create( @@ -443,7 +418,6 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: credential_connection = await async_client.credential_connections.retrieve( @@ -451,7 +425,6 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(CredentialConnectionRetrieveResponse, credential_connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.credential_connections.with_raw_response.retrieve( @@ -463,7 +436,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: credential_connection = await response.parse() assert_matches_type(CredentialConnectionRetrieveResponse, credential_connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.credential_connections.with_streaming_response.retrieve( @@ -477,7 +449,6 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -485,7 +456,6 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update(self, async_client: AsyncTelnyx) -> None: credential_connection = await async_client.credential_connections.update( @@ -493,7 +463,6 @@ async def test_method_update(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(CredentialConnectionUpdateResponse, credential_connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> None: credential_connection = await async_client.credential_connections.update( @@ -548,7 +517,6 @@ async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(CredentialConnectionUpdateResponse, credential_connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: response = await async_client.credential_connections.with_raw_response.update( @@ -560,7 +528,6 @@ async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: credential_connection = await response.parse() assert_matches_type(CredentialConnectionUpdateResponse, credential_connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> None: async with async_client.credential_connections.with_streaming_response.update( @@ -574,7 +541,6 @@ async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -582,13 +548,11 @@ async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: credential_connection = await async_client.credential_connections.list() assert_matches_type(CredentialConnectionListResponse, credential_connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: credential_connection = await async_client.credential_connections.list( @@ -605,7 +569,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(CredentialConnectionListResponse, credential_connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.credential_connections.with_raw_response.list() @@ -615,7 +578,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: credential_connection = await response.parse() assert_matches_type(CredentialConnectionListResponse, credential_connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.credential_connections.with_streaming_response.list() as response: @@ -627,7 +589,6 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: credential_connection = await async_client.credential_connections.delete( @@ -635,7 +596,6 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(CredentialConnectionDeleteResponse, credential_connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.credential_connections.with_raw_response.delete( @@ -647,7 +607,6 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: credential_connection = await response.parse() assert_matches_type(CredentialConnectionDeleteResponse, credential_connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.credential_connections.with_streaming_response.delete( @@ -661,7 +620,6 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): diff --git a/tests/api_resources/test_custom_storage_credentials.py b/tests/api_resources/test_custom_storage_credentials.py index 02bed5a2..27fae352 100644 --- a/tests/api_resources/test_custom_storage_credentials.py +++ b/tests/api_resources/test_custom_storage_credentials.py @@ -21,7 +21,6 @@ class TestCustomStorageCredentials: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: custom_storage_credential = client.custom_storage_credentials.create( @@ -31,7 +30,6 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(CustomStorageCredentialCreateResponse, custom_storage_credential, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: custom_storage_credential = client.custom_storage_credentials.create( @@ -44,7 +42,6 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(CustomStorageCredentialCreateResponse, custom_storage_credential, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.custom_storage_credentials.with_raw_response.create( @@ -58,7 +55,6 @@ def test_raw_response_create(self, client: Telnyx) -> None: custom_storage_credential = response.parse() assert_matches_type(CustomStorageCredentialCreateResponse, custom_storage_credential, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.custom_storage_credentials.with_streaming_response.create( @@ -74,7 +70,6 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_create(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `connection_id` but received ''"): @@ -84,7 +79,6 @@ def test_path_params_create(self, client: Telnyx) -> None: configuration={}, ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: custom_storage_credential = client.custom_storage_credentials.retrieve( @@ -92,7 +86,6 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(CustomStorageCredentialRetrieveResponse, custom_storage_credential, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.custom_storage_credentials.with_raw_response.retrieve( @@ -104,7 +97,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: custom_storage_credential = response.parse() assert_matches_type(CustomStorageCredentialRetrieveResponse, custom_storage_credential, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.custom_storage_credentials.with_streaming_response.retrieve( @@ -118,7 +110,6 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `connection_id` but received ''"): @@ -126,7 +117,6 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update(self, client: Telnyx) -> None: custom_storage_credential = client.custom_storage_credentials.update( @@ -136,7 +126,6 @@ def test_method_update(self, client: Telnyx) -> None: ) assert_matches_type(CustomStorageCredentialUpdateResponse, custom_storage_credential, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_with_all_params(self, client: Telnyx) -> None: custom_storage_credential = client.custom_storage_credentials.update( @@ -149,7 +138,6 @@ def test_method_update_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(CustomStorageCredentialUpdateResponse, custom_storage_credential, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update(self, client: Telnyx) -> None: response = client.custom_storage_credentials.with_raw_response.update( @@ -163,7 +151,6 @@ def test_raw_response_update(self, client: Telnyx) -> None: custom_storage_credential = response.parse() assert_matches_type(CustomStorageCredentialUpdateResponse, custom_storage_credential, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update(self, client: Telnyx) -> None: with client.custom_storage_credentials.with_streaming_response.update( @@ -179,7 +166,6 @@ def test_streaming_response_update(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `connection_id` but received ''"): @@ -189,7 +175,6 @@ def test_path_params_update(self, client: Telnyx) -> None: configuration={}, ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: custom_storage_credential = client.custom_storage_credentials.delete( @@ -197,7 +182,6 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert custom_storage_credential is None - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.custom_storage_credentials.with_raw_response.delete( @@ -209,7 +193,6 @@ def test_raw_response_delete(self, client: Telnyx) -> None: custom_storage_credential = response.parse() assert custom_storage_credential is None - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.custom_storage_credentials.with_streaming_response.delete( @@ -223,7 +206,6 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `connection_id` but received ''"): @@ -237,7 +219,6 @@ class TestAsyncCustomStorageCredentials: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: custom_storage_credential = await async_client.custom_storage_credentials.create( @@ -247,7 +228,6 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(CustomStorageCredentialCreateResponse, custom_storage_credential, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: custom_storage_credential = await async_client.custom_storage_credentials.create( @@ -260,7 +240,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(CustomStorageCredentialCreateResponse, custom_storage_credential, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.custom_storage_credentials.with_raw_response.create( @@ -274,7 +253,6 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: custom_storage_credential = await response.parse() assert_matches_type(CustomStorageCredentialCreateResponse, custom_storage_credential, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.custom_storage_credentials.with_streaming_response.create( @@ -290,7 +268,6 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_create(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `connection_id` but received ''"): @@ -300,7 +277,6 @@ async def test_path_params_create(self, async_client: AsyncTelnyx) -> None: configuration={}, ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: custom_storage_credential = await async_client.custom_storage_credentials.retrieve( @@ -308,7 +284,6 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(CustomStorageCredentialRetrieveResponse, custom_storage_credential, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.custom_storage_credentials.with_raw_response.retrieve( @@ -320,7 +295,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: custom_storage_credential = await response.parse() assert_matches_type(CustomStorageCredentialRetrieveResponse, custom_storage_credential, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.custom_storage_credentials.with_streaming_response.retrieve( @@ -334,7 +308,6 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `connection_id` but received ''"): @@ -342,7 +315,6 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update(self, async_client: AsyncTelnyx) -> None: custom_storage_credential = await async_client.custom_storage_credentials.update( @@ -352,7 +324,6 @@ async def test_method_update(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(CustomStorageCredentialUpdateResponse, custom_storage_credential, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> None: custom_storage_credential = await async_client.custom_storage_credentials.update( @@ -365,7 +336,6 @@ async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(CustomStorageCredentialUpdateResponse, custom_storage_credential, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: response = await async_client.custom_storage_credentials.with_raw_response.update( @@ -379,7 +349,6 @@ async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: custom_storage_credential = await response.parse() assert_matches_type(CustomStorageCredentialUpdateResponse, custom_storage_credential, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> None: async with async_client.custom_storage_credentials.with_streaming_response.update( @@ -395,7 +364,6 @@ async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `connection_id` but received ''"): @@ -405,7 +373,6 @@ async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: configuration={}, ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: custom_storage_credential = await async_client.custom_storage_credentials.delete( @@ -413,7 +380,6 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert custom_storage_credential is None - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.custom_storage_credentials.with_raw_response.delete( @@ -425,7 +391,6 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: custom_storage_credential = await response.parse() assert custom_storage_credential is None - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.custom_storage_credentials.with_streaming_response.delete( @@ -439,7 +404,6 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `connection_id` but received ''"): diff --git a/tests/api_resources/test_customer_service_records.py b/tests/api_resources/test_customer_service_records.py index 466e0359..f08c5ac8 100644 --- a/tests/api_resources/test_customer_service_records.py +++ b/tests/api_resources/test_customer_service_records.py @@ -23,7 +23,6 @@ class TestCustomerServiceRecords: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: customer_service_record = client.customer_service_records.create( @@ -31,7 +30,6 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(CustomerServiceRecordCreateResponse, customer_service_record, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: customer_service_record = client.customer_service_records.create( @@ -52,7 +50,6 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(CustomerServiceRecordCreateResponse, customer_service_record, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.customer_service_records.with_raw_response.create( @@ -64,7 +61,6 @@ def test_raw_response_create(self, client: Telnyx) -> None: customer_service_record = response.parse() assert_matches_type(CustomerServiceRecordCreateResponse, customer_service_record, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.customer_service_records.with_streaming_response.create( @@ -78,7 +74,6 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: customer_service_record = client.customer_service_records.retrieve( @@ -86,7 +81,6 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(CustomerServiceRecordRetrieveResponse, customer_service_record, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.customer_service_records.with_raw_response.retrieve( @@ -98,7 +92,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: customer_service_record = response.parse() assert_matches_type(CustomerServiceRecordRetrieveResponse, customer_service_record, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.customer_service_records.with_streaming_response.retrieve( @@ -112,7 +105,6 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises( @@ -122,13 +114,11 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: customer_service_record = client.customer_service_records.list() assert_matches_type(CustomerServiceRecordListResponse, customer_service_record, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: customer_service_record = client.customer_service_records.list( @@ -154,7 +144,6 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(CustomerServiceRecordListResponse, customer_service_record, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.customer_service_records.with_raw_response.list() @@ -164,7 +153,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: customer_service_record = response.parse() assert_matches_type(CustomerServiceRecordListResponse, customer_service_record, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.customer_service_records.with_streaming_response.list() as response: @@ -176,7 +164,6 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_verify_phone_number_coverage(self, client: Telnyx) -> None: customer_service_record = client.customer_service_records.verify_phone_number_coverage( @@ -186,7 +173,6 @@ def test_method_verify_phone_number_coverage(self, client: Telnyx) -> None: CustomerServiceRecordVerifyPhoneNumberCoverageResponse, customer_service_record, path=["response"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_verify_phone_number_coverage(self, client: Telnyx) -> None: response = client.customer_service_records.with_raw_response.verify_phone_number_coverage( @@ -200,7 +186,6 @@ def test_raw_response_verify_phone_number_coverage(self, client: Telnyx) -> None CustomerServiceRecordVerifyPhoneNumberCoverageResponse, customer_service_record, path=["response"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_verify_phone_number_coverage(self, client: Telnyx) -> None: with client.customer_service_records.with_streaming_response.verify_phone_number_coverage( @@ -222,7 +207,6 @@ class TestAsyncCustomerServiceRecords: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: customer_service_record = await async_client.customer_service_records.create( @@ -230,7 +214,6 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(CustomerServiceRecordCreateResponse, customer_service_record, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: customer_service_record = await async_client.customer_service_records.create( @@ -251,7 +234,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(CustomerServiceRecordCreateResponse, customer_service_record, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.customer_service_records.with_raw_response.create( @@ -263,7 +245,6 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: customer_service_record = await response.parse() assert_matches_type(CustomerServiceRecordCreateResponse, customer_service_record, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.customer_service_records.with_streaming_response.create( @@ -277,7 +258,6 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: customer_service_record = await async_client.customer_service_records.retrieve( @@ -285,7 +265,6 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(CustomerServiceRecordRetrieveResponse, customer_service_record, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.customer_service_records.with_raw_response.retrieve( @@ -297,7 +276,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: customer_service_record = await response.parse() assert_matches_type(CustomerServiceRecordRetrieveResponse, customer_service_record, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.customer_service_records.with_streaming_response.retrieve( @@ -311,7 +289,6 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises( @@ -321,13 +298,11 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: customer_service_record = await async_client.customer_service_records.list() assert_matches_type(CustomerServiceRecordListResponse, customer_service_record, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: customer_service_record = await async_client.customer_service_records.list( @@ -353,7 +328,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(CustomerServiceRecordListResponse, customer_service_record, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.customer_service_records.with_raw_response.list() @@ -363,7 +337,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: customer_service_record = await response.parse() assert_matches_type(CustomerServiceRecordListResponse, customer_service_record, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.customer_service_records.with_streaming_response.list() as response: @@ -375,7 +348,6 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_verify_phone_number_coverage(self, async_client: AsyncTelnyx) -> None: customer_service_record = await async_client.customer_service_records.verify_phone_number_coverage( @@ -385,7 +357,6 @@ async def test_method_verify_phone_number_coverage(self, async_client: AsyncTeln CustomerServiceRecordVerifyPhoneNumberCoverageResponse, customer_service_record, path=["response"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_verify_phone_number_coverage(self, async_client: AsyncTelnyx) -> None: response = await async_client.customer_service_records.with_raw_response.verify_phone_number_coverage( @@ -399,7 +370,6 @@ async def test_raw_response_verify_phone_number_coverage(self, async_client: Asy CustomerServiceRecordVerifyPhoneNumberCoverageResponse, customer_service_record, path=["response"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_verify_phone_number_coverage(self, async_client: AsyncTelnyx) -> None: async with async_client.customer_service_records.with_streaming_response.verify_phone_number_coverage( diff --git a/tests/api_resources/test_detail_records.py b/tests/api_resources/test_detail_records.py index 5e608287..0613531b 100644 --- a/tests/api_resources/test_detail_records.py +++ b/tests/api_resources/test_detail_records.py @@ -17,13 +17,11 @@ class TestDetailRecords: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: detail_record = client.detail_records.list() assert_matches_type(DetailRecordListResponse, detail_record, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: detail_record = client.detail_records.list( @@ -39,7 +37,6 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(DetailRecordListResponse, detail_record, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.detail_records.with_raw_response.list() @@ -49,7 +46,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: detail_record = response.parse() assert_matches_type(DetailRecordListResponse, detail_record, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.detail_records.with_streaming_response.list() as response: @@ -67,13 +63,11 @@ class TestAsyncDetailRecords: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: detail_record = await async_client.detail_records.list() assert_matches_type(DetailRecordListResponse, detail_record, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: detail_record = await async_client.detail_records.list( @@ -89,7 +83,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(DetailRecordListResponse, detail_record, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.detail_records.with_raw_response.list() @@ -99,7 +92,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: detail_record = await response.parse() assert_matches_type(DetailRecordListResponse, detail_record, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.detail_records.with_streaming_response.list() as response: diff --git a/tests/api_resources/test_dialogflow_connections.py b/tests/api_resources/test_dialogflow_connections.py index b4ce9bfd..8ea31b1d 100644 --- a/tests/api_resources/test_dialogflow_connections.py +++ b/tests/api_resources/test_dialogflow_connections.py @@ -21,7 +21,6 @@ class TestDialogflowConnections: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: dialogflow_connection = client.dialogflow_connections.create( @@ -431,7 +430,6 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(DialogflowConnectionCreateResponse, dialogflow_connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: dialogflow_connection = client.dialogflow_connections.create( @@ -845,7 +843,6 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(DialogflowConnectionCreateResponse, dialogflow_connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.dialogflow_connections.with_raw_response.create( @@ -1259,7 +1256,6 @@ def test_raw_response_create(self, client: Telnyx) -> None: dialogflow_connection = response.parse() assert_matches_type(DialogflowConnectionCreateResponse, dialogflow_connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.dialogflow_connections.with_streaming_response.create( @@ -1675,7 +1671,6 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_create(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `connection_id` but received ''"): @@ -2085,7 +2080,6 @@ def test_path_params_create(self, client: Telnyx) -> None: }, ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: dialogflow_connection = client.dialogflow_connections.retrieve( @@ -2093,7 +2087,6 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(DialogflowConnectionRetrieveResponse, dialogflow_connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.dialogflow_connections.with_raw_response.retrieve( @@ -2105,7 +2098,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: dialogflow_connection = response.parse() assert_matches_type(DialogflowConnectionRetrieveResponse, dialogflow_connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.dialogflow_connections.with_streaming_response.retrieve( @@ -2119,7 +2111,6 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `connection_id` but received ''"): @@ -2127,7 +2118,6 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update(self, client: Telnyx) -> None: dialogflow_connection = client.dialogflow_connections.update( @@ -2537,7 +2527,6 @@ def test_method_update(self, client: Telnyx) -> None: ) assert_matches_type(DialogflowConnectionUpdateResponse, dialogflow_connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_with_all_params(self, client: Telnyx) -> None: dialogflow_connection = client.dialogflow_connections.update( @@ -2951,7 +2940,6 @@ def test_method_update_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(DialogflowConnectionUpdateResponse, dialogflow_connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update(self, client: Telnyx) -> None: response = client.dialogflow_connections.with_raw_response.update( @@ -3365,7 +3353,6 @@ def test_raw_response_update(self, client: Telnyx) -> None: dialogflow_connection = response.parse() assert_matches_type(DialogflowConnectionUpdateResponse, dialogflow_connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update(self, client: Telnyx) -> None: with client.dialogflow_connections.with_streaming_response.update( @@ -3781,7 +3768,6 @@ def test_streaming_response_update(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `connection_id` but received ''"): @@ -4191,7 +4177,6 @@ def test_path_params_update(self, client: Telnyx) -> None: }, ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: dialogflow_connection = client.dialogflow_connections.delete( @@ -4199,7 +4184,6 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert dialogflow_connection is None - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.dialogflow_connections.with_raw_response.delete( @@ -4211,7 +4195,6 @@ def test_raw_response_delete(self, client: Telnyx) -> None: dialogflow_connection = response.parse() assert dialogflow_connection is None - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.dialogflow_connections.with_streaming_response.delete( @@ -4225,7 +4208,6 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `connection_id` but received ''"): @@ -4239,7 +4221,6 @@ class TestAsyncDialogflowConnections: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: dialogflow_connection = await async_client.dialogflow_connections.create( @@ -4649,7 +4630,6 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(DialogflowConnectionCreateResponse, dialogflow_connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: dialogflow_connection = await async_client.dialogflow_connections.create( @@ -5063,7 +5043,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(DialogflowConnectionCreateResponse, dialogflow_connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.dialogflow_connections.with_raw_response.create( @@ -5477,7 +5456,6 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: dialogflow_connection = await response.parse() assert_matches_type(DialogflowConnectionCreateResponse, dialogflow_connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.dialogflow_connections.with_streaming_response.create( @@ -5893,7 +5871,6 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_create(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `connection_id` but received ''"): @@ -6303,7 +6280,6 @@ async def test_path_params_create(self, async_client: AsyncTelnyx) -> None: }, ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: dialogflow_connection = await async_client.dialogflow_connections.retrieve( @@ -6311,7 +6287,6 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(DialogflowConnectionRetrieveResponse, dialogflow_connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.dialogflow_connections.with_raw_response.retrieve( @@ -6323,7 +6298,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: dialogflow_connection = await response.parse() assert_matches_type(DialogflowConnectionRetrieveResponse, dialogflow_connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.dialogflow_connections.with_streaming_response.retrieve( @@ -6337,7 +6311,6 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `connection_id` but received ''"): @@ -6345,7 +6318,6 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update(self, async_client: AsyncTelnyx) -> None: dialogflow_connection = await async_client.dialogflow_connections.update( @@ -6755,7 +6727,6 @@ async def test_method_update(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(DialogflowConnectionUpdateResponse, dialogflow_connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> None: dialogflow_connection = await async_client.dialogflow_connections.update( @@ -7169,7 +7140,6 @@ async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(DialogflowConnectionUpdateResponse, dialogflow_connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: response = await async_client.dialogflow_connections.with_raw_response.update( @@ -7583,7 +7553,6 @@ async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: dialogflow_connection = await response.parse() assert_matches_type(DialogflowConnectionUpdateResponse, dialogflow_connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> None: async with async_client.dialogflow_connections.with_streaming_response.update( @@ -7999,7 +7968,6 @@ async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `connection_id` but received ''"): @@ -8409,7 +8377,6 @@ async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: }, ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: dialogflow_connection = await async_client.dialogflow_connections.delete( @@ -8417,7 +8384,6 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert dialogflow_connection is None - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.dialogflow_connections.with_raw_response.delete( @@ -8429,7 +8395,6 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: dialogflow_connection = await response.parse() assert dialogflow_connection is None - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.dialogflow_connections.with_streaming_response.delete( @@ -8443,7 +8408,6 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `connection_id` but received ''"): diff --git a/tests/api_resources/test_document_links.py b/tests/api_resources/test_document_links.py index 6c499aa8..6d9dab01 100644 --- a/tests/api_resources/test_document_links.py +++ b/tests/api_resources/test_document_links.py @@ -17,13 +17,11 @@ class TestDocumentLinks: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: document_link = client.document_links.list() assert_matches_type(DocumentLinkListResponse, document_link, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: document_link = client.document_links.list( @@ -38,7 +36,6 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(DocumentLinkListResponse, document_link, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.document_links.with_raw_response.list() @@ -48,7 +45,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: document_link = response.parse() assert_matches_type(DocumentLinkListResponse, document_link, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.document_links.with_streaming_response.list() as response: @@ -66,13 +62,11 @@ class TestAsyncDocumentLinks: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: document_link = await async_client.document_links.list() assert_matches_type(DocumentLinkListResponse, document_link, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: document_link = await async_client.document_links.list( @@ -87,7 +81,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(DocumentLinkListResponse, document_link, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.document_links.with_raw_response.list() @@ -97,7 +90,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: document_link = await response.parse() assert_matches_type(DocumentLinkListResponse, document_link, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.document_links.with_streaming_response.list() as response: diff --git a/tests/api_resources/test_documents.py b/tests/api_resources/test_documents.py index e2dae768..70996c7b 100644 --- a/tests/api_resources/test_documents.py +++ b/tests/api_resources/test_documents.py @@ -33,7 +33,6 @@ class TestDocuments: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: document = client.documents.retrieve( @@ -41,7 +40,6 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(DocumentRetrieveResponse, document, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.documents.with_raw_response.retrieve( @@ -53,7 +51,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: document = response.parse() assert_matches_type(DocumentRetrieveResponse, document, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.documents.with_streaming_response.retrieve( @@ -67,7 +64,6 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -75,7 +71,6 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update(self, client: Telnyx) -> None: document = client.documents.update( @@ -83,7 +78,6 @@ def test_method_update(self, client: Telnyx) -> None: ) assert_matches_type(DocumentUpdateResponse, document, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_with_all_params(self, client: Telnyx) -> None: document = client.documents.update( @@ -93,7 +87,6 @@ def test_method_update_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(DocumentUpdateResponse, document, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update(self, client: Telnyx) -> None: response = client.documents.with_raw_response.update( @@ -105,7 +98,6 @@ def test_raw_response_update(self, client: Telnyx) -> None: document = response.parse() assert_matches_type(DocumentUpdateResponse, document, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update(self, client: Telnyx) -> None: with client.documents.with_streaming_response.update( @@ -119,7 +111,6 @@ def test_streaming_response_update(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -127,13 +118,11 @@ def test_path_params_update(self, client: Telnyx) -> None: id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: document = client.documents.list() assert_matches_type(DocumentListResponse, document, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: document = client.documents.list( @@ -156,7 +145,6 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(DocumentListResponse, document, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.documents.with_raw_response.list() @@ -166,7 +154,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: document = response.parse() assert_matches_type(DocumentListResponse, document, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.documents.with_streaming_response.list() as response: @@ -178,7 +165,6 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: document = client.documents.delete( @@ -186,7 +172,6 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert_matches_type(DocumentDeleteResponse, document, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.documents.with_raw_response.delete( @@ -198,7 +183,6 @@ def test_raw_response_delete(self, client: Telnyx) -> None: document = response.parse() assert_matches_type(DocumentDeleteResponse, document, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.documents.with_streaming_response.delete( @@ -212,7 +196,6 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -276,7 +259,6 @@ def test_path_params_download(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_generate_download_link(self, client: Telnyx) -> None: document = client.documents.generate_download_link( @@ -284,7 +266,6 @@ def test_method_generate_download_link(self, client: Telnyx) -> None: ) assert_matches_type(DocumentGenerateDownloadLinkResponse, document, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_generate_download_link(self, client: Telnyx) -> None: response = client.documents.with_raw_response.generate_download_link( @@ -296,7 +277,6 @@ def test_raw_response_generate_download_link(self, client: Telnyx) -> None: document = response.parse() assert_matches_type(DocumentGenerateDownloadLinkResponse, document, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_generate_download_link(self, client: Telnyx) -> None: with client.documents.with_streaming_response.generate_download_link( @@ -310,7 +290,6 @@ def test_streaming_response_generate_download_link(self, client: Telnyx) -> None assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_generate_download_link(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -318,7 +297,6 @@ def test_path_params_generate_download_link(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_upload_overload_1(self, client: Telnyx) -> None: document = client.documents.upload( @@ -326,7 +304,6 @@ def test_method_upload_overload_1(self, client: Telnyx) -> None: ) assert_matches_type(DocumentUploadResponse, document, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_upload_with_all_params_overload_1(self, client: Telnyx) -> None: document = client.documents.upload( @@ -336,7 +313,6 @@ def test_method_upload_with_all_params_overload_1(self, client: Telnyx) -> None: ) assert_matches_type(DocumentUploadResponse, document, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_upload_overload_1(self, client: Telnyx) -> None: response = client.documents.with_raw_response.upload( @@ -348,7 +324,6 @@ def test_raw_response_upload_overload_1(self, client: Telnyx) -> None: document = response.parse() assert_matches_type(DocumentUploadResponse, document, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_upload_overload_1(self, client: Telnyx) -> None: with client.documents.with_streaming_response.upload( @@ -362,7 +337,6 @@ def test_streaming_response_upload_overload_1(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_upload_overload_2(self, client: Telnyx) -> None: document = client.documents.upload( @@ -370,7 +344,6 @@ def test_method_upload_overload_2(self, client: Telnyx) -> None: ) assert_matches_type(DocumentUploadResponse, document, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_upload_with_all_params_overload_2(self, client: Telnyx) -> None: document = client.documents.upload( @@ -380,7 +353,6 @@ def test_method_upload_with_all_params_overload_2(self, client: Telnyx) -> None: ) assert_matches_type(DocumentUploadResponse, document, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_upload_overload_2(self, client: Telnyx) -> None: response = client.documents.with_raw_response.upload( @@ -392,7 +364,6 @@ def test_raw_response_upload_overload_2(self, client: Telnyx) -> None: document = response.parse() assert_matches_type(DocumentUploadResponse, document, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_upload_overload_2(self, client: Telnyx) -> None: with client.documents.with_streaming_response.upload( @@ -412,7 +383,6 @@ class TestAsyncDocuments: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: document = await async_client.documents.retrieve( @@ -420,7 +390,6 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(DocumentRetrieveResponse, document, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.documents.with_raw_response.retrieve( @@ -432,7 +401,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: document = await response.parse() assert_matches_type(DocumentRetrieveResponse, document, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.documents.with_streaming_response.retrieve( @@ -446,7 +414,6 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -454,7 +421,6 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update(self, async_client: AsyncTelnyx) -> None: document = await async_client.documents.update( @@ -462,7 +428,6 @@ async def test_method_update(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(DocumentUpdateResponse, document, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> None: document = await async_client.documents.update( @@ -472,7 +437,6 @@ async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(DocumentUpdateResponse, document, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: response = await async_client.documents.with_raw_response.update( @@ -484,7 +448,6 @@ async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: document = await response.parse() assert_matches_type(DocumentUpdateResponse, document, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> None: async with async_client.documents.with_streaming_response.update( @@ -498,7 +461,6 @@ async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -506,13 +468,11 @@ async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: document = await async_client.documents.list() assert_matches_type(DocumentListResponse, document, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: document = await async_client.documents.list( @@ -535,7 +495,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(DocumentListResponse, document, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.documents.with_raw_response.list() @@ -545,7 +504,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: document = await response.parse() assert_matches_type(DocumentListResponse, document, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.documents.with_streaming_response.list() as response: @@ -557,7 +515,6 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: document = await async_client.documents.delete( @@ -565,7 +522,6 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(DocumentDeleteResponse, document, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.documents.with_raw_response.delete( @@ -577,7 +533,6 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: document = await response.parse() assert_matches_type(DocumentDeleteResponse, document, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.documents.with_streaming_response.delete( @@ -591,7 +546,6 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -655,7 +609,6 @@ async def test_path_params_download(self, async_client: AsyncTelnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_generate_download_link(self, async_client: AsyncTelnyx) -> None: document = await async_client.documents.generate_download_link( @@ -663,7 +616,6 @@ async def test_method_generate_download_link(self, async_client: AsyncTelnyx) -> ) assert_matches_type(DocumentGenerateDownloadLinkResponse, document, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_generate_download_link(self, async_client: AsyncTelnyx) -> None: response = await async_client.documents.with_raw_response.generate_download_link( @@ -675,7 +627,6 @@ async def test_raw_response_generate_download_link(self, async_client: AsyncTeln document = await response.parse() assert_matches_type(DocumentGenerateDownloadLinkResponse, document, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_generate_download_link(self, async_client: AsyncTelnyx) -> None: async with async_client.documents.with_streaming_response.generate_download_link( @@ -689,7 +640,6 @@ async def test_streaming_response_generate_download_link(self, async_client: Asy assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_generate_download_link(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -697,7 +647,6 @@ async def test_path_params_generate_download_link(self, async_client: AsyncTelny "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_upload_overload_1(self, async_client: AsyncTelnyx) -> None: document = await async_client.documents.upload( @@ -705,7 +654,6 @@ async def test_method_upload_overload_1(self, async_client: AsyncTelnyx) -> None ) assert_matches_type(DocumentUploadResponse, document, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_upload_with_all_params_overload_1(self, async_client: AsyncTelnyx) -> None: document = await async_client.documents.upload( @@ -715,7 +663,6 @@ async def test_method_upload_with_all_params_overload_1(self, async_client: Asyn ) assert_matches_type(DocumentUploadResponse, document, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_upload_overload_1(self, async_client: AsyncTelnyx) -> None: response = await async_client.documents.with_raw_response.upload( @@ -727,7 +674,6 @@ async def test_raw_response_upload_overload_1(self, async_client: AsyncTelnyx) - document = await response.parse() assert_matches_type(DocumentUploadResponse, document, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_upload_overload_1(self, async_client: AsyncTelnyx) -> None: async with async_client.documents.with_streaming_response.upload( @@ -741,7 +687,6 @@ async def test_streaming_response_upload_overload_1(self, async_client: AsyncTel assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_upload_overload_2(self, async_client: AsyncTelnyx) -> None: document = await async_client.documents.upload( @@ -749,7 +694,6 @@ async def test_method_upload_overload_2(self, async_client: AsyncTelnyx) -> None ) assert_matches_type(DocumentUploadResponse, document, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_upload_with_all_params_overload_2(self, async_client: AsyncTelnyx) -> None: document = await async_client.documents.upload( @@ -759,7 +703,6 @@ async def test_method_upload_with_all_params_overload_2(self, async_client: Asyn ) assert_matches_type(DocumentUploadResponse, document, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_upload_overload_2(self, async_client: AsyncTelnyx) -> None: response = await async_client.documents.with_raw_response.upload( @@ -771,7 +714,6 @@ async def test_raw_response_upload_overload_2(self, async_client: AsyncTelnyx) - document = await response.parse() assert_matches_type(DocumentUploadResponse, document, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_upload_overload_2(self, async_client: AsyncTelnyx) -> None: async with async_client.documents.with_streaming_response.upload( diff --git a/tests/api_resources/test_dynamic_emergency_addresses.py b/tests/api_resources/test_dynamic_emergency_addresses.py index f9548db4..496c168c 100644 --- a/tests/api_resources/test_dynamic_emergency_addresses.py +++ b/tests/api_resources/test_dynamic_emergency_addresses.py @@ -22,7 +22,6 @@ class TestDynamicEmergencyAddresses: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: dynamic_emergency_address = client.dynamic_emergency_addresses.create( @@ -35,7 +34,6 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(DynamicEmergencyAddressCreateResponse, dynamic_emergency_address, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: dynamic_emergency_address = client.dynamic_emergency_addresses.create( @@ -53,7 +51,6 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(DynamicEmergencyAddressCreateResponse, dynamic_emergency_address, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.dynamic_emergency_addresses.with_raw_response.create( @@ -70,7 +67,6 @@ def test_raw_response_create(self, client: Telnyx) -> None: dynamic_emergency_address = response.parse() assert_matches_type(DynamicEmergencyAddressCreateResponse, dynamic_emergency_address, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.dynamic_emergency_addresses.with_streaming_response.create( @@ -89,7 +85,6 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: dynamic_emergency_address = client.dynamic_emergency_addresses.retrieve( @@ -97,7 +92,6 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(DynamicEmergencyAddressRetrieveResponse, dynamic_emergency_address, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.dynamic_emergency_addresses.with_raw_response.retrieve( @@ -109,7 +103,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: dynamic_emergency_address = response.parse() assert_matches_type(DynamicEmergencyAddressRetrieveResponse, dynamic_emergency_address, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.dynamic_emergency_addresses.with_streaming_response.retrieve( @@ -123,7 +116,6 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -131,13 +123,11 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: dynamic_emergency_address = client.dynamic_emergency_addresses.list() assert_matches_type(DynamicEmergencyAddressListResponse, dynamic_emergency_address, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: dynamic_emergency_address = client.dynamic_emergency_addresses.list( @@ -152,7 +142,6 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(DynamicEmergencyAddressListResponse, dynamic_emergency_address, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.dynamic_emergency_addresses.with_raw_response.list() @@ -162,7 +151,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: dynamic_emergency_address = response.parse() assert_matches_type(DynamicEmergencyAddressListResponse, dynamic_emergency_address, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.dynamic_emergency_addresses.with_streaming_response.list() as response: @@ -174,7 +162,6 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: dynamic_emergency_address = client.dynamic_emergency_addresses.delete( @@ -182,7 +169,6 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert_matches_type(DynamicEmergencyAddressDeleteResponse, dynamic_emergency_address, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.dynamic_emergency_addresses.with_raw_response.delete( @@ -194,7 +180,6 @@ def test_raw_response_delete(self, client: Telnyx) -> None: dynamic_emergency_address = response.parse() assert_matches_type(DynamicEmergencyAddressDeleteResponse, dynamic_emergency_address, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.dynamic_emergency_addresses.with_streaming_response.delete( @@ -208,7 +193,6 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -222,7 +206,6 @@ class TestAsyncDynamicEmergencyAddresses: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: dynamic_emergency_address = await async_client.dynamic_emergency_addresses.create( @@ -235,7 +218,6 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(DynamicEmergencyAddressCreateResponse, dynamic_emergency_address, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: dynamic_emergency_address = await async_client.dynamic_emergency_addresses.create( @@ -253,7 +235,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(DynamicEmergencyAddressCreateResponse, dynamic_emergency_address, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.dynamic_emergency_addresses.with_raw_response.create( @@ -270,7 +251,6 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: dynamic_emergency_address = await response.parse() assert_matches_type(DynamicEmergencyAddressCreateResponse, dynamic_emergency_address, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.dynamic_emergency_addresses.with_streaming_response.create( @@ -289,7 +269,6 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: dynamic_emergency_address = await async_client.dynamic_emergency_addresses.retrieve( @@ -297,7 +276,6 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(DynamicEmergencyAddressRetrieveResponse, dynamic_emergency_address, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.dynamic_emergency_addresses.with_raw_response.retrieve( @@ -309,7 +287,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: dynamic_emergency_address = await response.parse() assert_matches_type(DynamicEmergencyAddressRetrieveResponse, dynamic_emergency_address, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.dynamic_emergency_addresses.with_streaming_response.retrieve( @@ -323,7 +300,6 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -331,13 +307,11 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: dynamic_emergency_address = await async_client.dynamic_emergency_addresses.list() assert_matches_type(DynamicEmergencyAddressListResponse, dynamic_emergency_address, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: dynamic_emergency_address = await async_client.dynamic_emergency_addresses.list( @@ -352,7 +326,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(DynamicEmergencyAddressListResponse, dynamic_emergency_address, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.dynamic_emergency_addresses.with_raw_response.list() @@ -362,7 +335,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: dynamic_emergency_address = await response.parse() assert_matches_type(DynamicEmergencyAddressListResponse, dynamic_emergency_address, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.dynamic_emergency_addresses.with_streaming_response.list() as response: @@ -374,7 +346,6 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: dynamic_emergency_address = await async_client.dynamic_emergency_addresses.delete( @@ -382,7 +353,6 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(DynamicEmergencyAddressDeleteResponse, dynamic_emergency_address, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.dynamic_emergency_addresses.with_raw_response.delete( @@ -394,7 +364,6 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: dynamic_emergency_address = await response.parse() assert_matches_type(DynamicEmergencyAddressDeleteResponse, dynamic_emergency_address, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.dynamic_emergency_addresses.with_streaming_response.delete( @@ -408,7 +377,6 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): diff --git a/tests/api_resources/test_dynamic_emergency_endpoints.py b/tests/api_resources/test_dynamic_emergency_endpoints.py index 1a5581ab..a4dfd000 100644 --- a/tests/api_resources/test_dynamic_emergency_endpoints.py +++ b/tests/api_resources/test_dynamic_emergency_endpoints.py @@ -22,7 +22,6 @@ class TestDynamicEmergencyEndpoints: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: dynamic_emergency_endpoint = client.dynamic_emergency_endpoints.create( @@ -32,7 +31,6 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(DynamicEmergencyEndpointCreateResponse, dynamic_emergency_endpoint, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.dynamic_emergency_endpoints.with_raw_response.create( @@ -46,7 +44,6 @@ def test_raw_response_create(self, client: Telnyx) -> None: dynamic_emergency_endpoint = response.parse() assert_matches_type(DynamicEmergencyEndpointCreateResponse, dynamic_emergency_endpoint, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.dynamic_emergency_endpoints.with_streaming_response.create( @@ -62,7 +59,6 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: dynamic_emergency_endpoint = client.dynamic_emergency_endpoints.retrieve( @@ -70,7 +66,6 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(DynamicEmergencyEndpointRetrieveResponse, dynamic_emergency_endpoint, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.dynamic_emergency_endpoints.with_raw_response.retrieve( @@ -82,7 +77,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: dynamic_emergency_endpoint = response.parse() assert_matches_type(DynamicEmergencyEndpointRetrieveResponse, dynamic_emergency_endpoint, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.dynamic_emergency_endpoints.with_streaming_response.retrieve( @@ -96,7 +90,6 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -104,13 +97,11 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: dynamic_emergency_endpoint = client.dynamic_emergency_endpoints.list() assert_matches_type(DynamicEmergencyEndpointListResponse, dynamic_emergency_endpoint, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: dynamic_emergency_endpoint = client.dynamic_emergency_endpoints.list( @@ -125,7 +116,6 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(DynamicEmergencyEndpointListResponse, dynamic_emergency_endpoint, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.dynamic_emergency_endpoints.with_raw_response.list() @@ -135,7 +125,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: dynamic_emergency_endpoint = response.parse() assert_matches_type(DynamicEmergencyEndpointListResponse, dynamic_emergency_endpoint, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.dynamic_emergency_endpoints.with_streaming_response.list() as response: @@ -147,7 +136,6 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: dynamic_emergency_endpoint = client.dynamic_emergency_endpoints.delete( @@ -155,7 +143,6 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert_matches_type(DynamicEmergencyEndpointDeleteResponse, dynamic_emergency_endpoint, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.dynamic_emergency_endpoints.with_raw_response.delete( @@ -167,7 +154,6 @@ def test_raw_response_delete(self, client: Telnyx) -> None: dynamic_emergency_endpoint = response.parse() assert_matches_type(DynamicEmergencyEndpointDeleteResponse, dynamic_emergency_endpoint, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.dynamic_emergency_endpoints.with_streaming_response.delete( @@ -181,7 +167,6 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -195,7 +180,6 @@ class TestAsyncDynamicEmergencyEndpoints: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: dynamic_emergency_endpoint = await async_client.dynamic_emergency_endpoints.create( @@ -205,7 +189,6 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(DynamicEmergencyEndpointCreateResponse, dynamic_emergency_endpoint, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.dynamic_emergency_endpoints.with_raw_response.create( @@ -219,7 +202,6 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: dynamic_emergency_endpoint = await response.parse() assert_matches_type(DynamicEmergencyEndpointCreateResponse, dynamic_emergency_endpoint, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.dynamic_emergency_endpoints.with_streaming_response.create( @@ -235,7 +217,6 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: dynamic_emergency_endpoint = await async_client.dynamic_emergency_endpoints.retrieve( @@ -243,7 +224,6 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(DynamicEmergencyEndpointRetrieveResponse, dynamic_emergency_endpoint, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.dynamic_emergency_endpoints.with_raw_response.retrieve( @@ -255,7 +235,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: dynamic_emergency_endpoint = await response.parse() assert_matches_type(DynamicEmergencyEndpointRetrieveResponse, dynamic_emergency_endpoint, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.dynamic_emergency_endpoints.with_streaming_response.retrieve( @@ -269,7 +248,6 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -277,13 +255,11 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: dynamic_emergency_endpoint = await async_client.dynamic_emergency_endpoints.list() assert_matches_type(DynamicEmergencyEndpointListResponse, dynamic_emergency_endpoint, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: dynamic_emergency_endpoint = await async_client.dynamic_emergency_endpoints.list( @@ -298,7 +274,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(DynamicEmergencyEndpointListResponse, dynamic_emergency_endpoint, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.dynamic_emergency_endpoints.with_raw_response.list() @@ -308,7 +283,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: dynamic_emergency_endpoint = await response.parse() assert_matches_type(DynamicEmergencyEndpointListResponse, dynamic_emergency_endpoint, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.dynamic_emergency_endpoints.with_streaming_response.list() as response: @@ -320,7 +294,6 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: dynamic_emergency_endpoint = await async_client.dynamic_emergency_endpoints.delete( @@ -328,7 +301,6 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(DynamicEmergencyEndpointDeleteResponse, dynamic_emergency_endpoint, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.dynamic_emergency_endpoints.with_raw_response.delete( @@ -340,7 +312,6 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: dynamic_emergency_endpoint = await response.parse() assert_matches_type(DynamicEmergencyEndpointDeleteResponse, dynamic_emergency_endpoint, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.dynamic_emergency_endpoints.with_streaming_response.delete( @@ -354,7 +325,6 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): diff --git a/tests/api_resources/test_enum.py b/tests/api_resources/test_enum.py index a1804b13..14fb92f1 100644 --- a/tests/api_resources/test_enum.py +++ b/tests/api_resources/test_enum.py @@ -17,7 +17,6 @@ class TestEnum: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: enum = client.enum.retrieve( @@ -25,7 +24,6 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(EnumRetrieveResponse, enum, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.enum.with_raw_response.retrieve( @@ -37,7 +35,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: enum = response.parse() assert_matches_type(EnumRetrieveResponse, enum, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.enum.with_streaming_response.retrieve( @@ -57,7 +54,6 @@ class TestAsyncEnum: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: enum = await async_client.enum.retrieve( @@ -65,7 +61,6 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(EnumRetrieveResponse, enum, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.enum.with_raw_response.retrieve( @@ -77,7 +72,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: enum = await response.parse() assert_matches_type(EnumRetrieveResponse, enum, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.enum.with_streaming_response.retrieve( diff --git a/tests/api_resources/test_external_connections.py b/tests/api_resources/test_external_connections.py index 0bbe5bba..56559aec 100644 --- a/tests/api_resources/test_external_connections.py +++ b/tests/api_resources/test_external_connections.py @@ -24,7 +24,6 @@ class TestExternalConnections: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: external_connection = client.external_connections.create( @@ -33,7 +32,6 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(ExternalConnectionCreateResponse, external_connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: external_connection = client.external_connections.create( @@ -51,7 +49,6 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ExternalConnectionCreateResponse, external_connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.external_connections.with_raw_response.create( @@ -64,7 +61,6 @@ def test_raw_response_create(self, client: Telnyx) -> None: external_connection = response.parse() assert_matches_type(ExternalConnectionCreateResponse, external_connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.external_connections.with_streaming_response.create( @@ -79,7 +75,6 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: external_connection = client.external_connections.retrieve( @@ -87,7 +82,6 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(ExternalConnectionRetrieveResponse, external_connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.external_connections.with_raw_response.retrieve( @@ -99,7 +93,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: external_connection = response.parse() assert_matches_type(ExternalConnectionRetrieveResponse, external_connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.external_connections.with_streaming_response.retrieve( @@ -113,7 +106,6 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -121,7 +113,6 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update(self, client: Telnyx) -> None: external_connection = client.external_connections.update( @@ -130,7 +121,6 @@ def test_method_update(self, client: Telnyx) -> None: ) assert_matches_type(ExternalConnectionUpdateResponse, external_connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_with_all_params(self, client: Telnyx) -> None: external_connection = client.external_connections.update( @@ -148,7 +138,6 @@ def test_method_update_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ExternalConnectionUpdateResponse, external_connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update(self, client: Telnyx) -> None: response = client.external_connections.with_raw_response.update( @@ -161,7 +150,6 @@ def test_raw_response_update(self, client: Telnyx) -> None: external_connection = response.parse() assert_matches_type(ExternalConnectionUpdateResponse, external_connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update(self, client: Telnyx) -> None: with client.external_connections.with_streaming_response.update( @@ -176,7 +164,6 @@ def test_streaming_response_update(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -185,13 +172,11 @@ def test_path_params_update(self, client: Telnyx) -> None: outbound={"outbound_voice_profile_id": "outbound_voice_profile_id"}, ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: external_connection = client.external_connections.list() assert_matches_type(ExternalConnectionListResponse, external_connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: external_connection = client.external_connections.list( @@ -209,7 +194,6 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ExternalConnectionListResponse, external_connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.external_connections.with_raw_response.list() @@ -219,7 +203,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: external_connection = response.parse() assert_matches_type(ExternalConnectionListResponse, external_connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.external_connections.with_streaming_response.list() as response: @@ -231,7 +214,6 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: external_connection = client.external_connections.delete( @@ -239,7 +221,6 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert_matches_type(ExternalConnectionDeleteResponse, external_connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.external_connections.with_raw_response.delete( @@ -251,7 +232,6 @@ def test_raw_response_delete(self, client: Telnyx) -> None: external_connection = response.parse() assert_matches_type(ExternalConnectionDeleteResponse, external_connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.external_connections.with_streaming_response.delete( @@ -265,7 +245,6 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -273,7 +252,6 @@ def test_path_params_delete(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_location(self, client: Telnyx) -> None: external_connection = client.external_connections.update_location( @@ -283,7 +261,6 @@ def test_method_update_location(self, client: Telnyx) -> None: ) assert_matches_type(ExternalConnectionUpdateLocationResponse, external_connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update_location(self, client: Telnyx) -> None: response = client.external_connections.with_raw_response.update_location( @@ -297,7 +274,6 @@ def test_raw_response_update_location(self, client: Telnyx) -> None: external_connection = response.parse() assert_matches_type(ExternalConnectionUpdateLocationResponse, external_connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update_location(self, client: Telnyx) -> None: with client.external_connections.with_streaming_response.update_location( @@ -313,7 +289,6 @@ def test_streaming_response_update_location(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update_location(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -336,7 +311,6 @@ class TestAsyncExternalConnections: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: external_connection = await async_client.external_connections.create( @@ -345,7 +319,6 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ExternalConnectionCreateResponse, external_connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: external_connection = await async_client.external_connections.create( @@ -363,7 +336,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(ExternalConnectionCreateResponse, external_connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.external_connections.with_raw_response.create( @@ -376,7 +348,6 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: external_connection = await response.parse() assert_matches_type(ExternalConnectionCreateResponse, external_connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.external_connections.with_streaming_response.create( @@ -391,7 +362,6 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: external_connection = await async_client.external_connections.retrieve( @@ -399,7 +369,6 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ExternalConnectionRetrieveResponse, external_connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.external_connections.with_raw_response.retrieve( @@ -411,7 +380,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: external_connection = await response.parse() assert_matches_type(ExternalConnectionRetrieveResponse, external_connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.external_connections.with_streaming_response.retrieve( @@ -425,7 +393,6 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -433,7 +400,6 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update(self, async_client: AsyncTelnyx) -> None: external_connection = await async_client.external_connections.update( @@ -442,7 +408,6 @@ async def test_method_update(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ExternalConnectionUpdateResponse, external_connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> None: external_connection = await async_client.external_connections.update( @@ -460,7 +425,6 @@ async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(ExternalConnectionUpdateResponse, external_connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: response = await async_client.external_connections.with_raw_response.update( @@ -473,7 +437,6 @@ async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: external_connection = await response.parse() assert_matches_type(ExternalConnectionUpdateResponse, external_connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> None: async with async_client.external_connections.with_streaming_response.update( @@ -488,7 +451,6 @@ async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -497,13 +459,11 @@ async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: outbound={"outbound_voice_profile_id": "outbound_voice_profile_id"}, ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: external_connection = await async_client.external_connections.list() assert_matches_type(ExternalConnectionListResponse, external_connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: external_connection = await async_client.external_connections.list( @@ -521,7 +481,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(ExternalConnectionListResponse, external_connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.external_connections.with_raw_response.list() @@ -531,7 +490,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: external_connection = await response.parse() assert_matches_type(ExternalConnectionListResponse, external_connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.external_connections.with_streaming_response.list() as response: @@ -543,7 +501,6 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: external_connection = await async_client.external_connections.delete( @@ -551,7 +508,6 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ExternalConnectionDeleteResponse, external_connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.external_connections.with_raw_response.delete( @@ -563,7 +519,6 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: external_connection = await response.parse() assert_matches_type(ExternalConnectionDeleteResponse, external_connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.external_connections.with_streaming_response.delete( @@ -577,7 +532,6 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -585,7 +539,6 @@ async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_location(self, async_client: AsyncTelnyx) -> None: external_connection = await async_client.external_connections.update_location( @@ -595,7 +548,6 @@ async def test_method_update_location(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ExternalConnectionUpdateLocationResponse, external_connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update_location(self, async_client: AsyncTelnyx) -> None: response = await async_client.external_connections.with_raw_response.update_location( @@ -609,7 +561,6 @@ async def test_raw_response_update_location(self, async_client: AsyncTelnyx) -> external_connection = await response.parse() assert_matches_type(ExternalConnectionUpdateLocationResponse, external_connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update_location(self, async_client: AsyncTelnyx) -> None: async with async_client.external_connections.with_streaming_response.update_location( @@ -625,7 +576,6 @@ async def test_streaming_response_update_location(self, async_client: AsyncTelny assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update_location(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): diff --git a/tests/api_resources/test_fax_applications.py b/tests/api_resources/test_fax_applications.py index c00af2f8..f849f1cf 100644 --- a/tests/api_resources/test_fax_applications.py +++ b/tests/api_resources/test_fax_applications.py @@ -23,7 +23,6 @@ class TestFaxApplications: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: fax_application = client.fax_applications.create( @@ -32,7 +31,6 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(FaxApplicationCreateResponse, fax_application, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: fax_application = client.fax_applications.create( @@ -55,7 +53,6 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(FaxApplicationCreateResponse, fax_application, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.fax_applications.with_raw_response.create( @@ -68,7 +65,6 @@ def test_raw_response_create(self, client: Telnyx) -> None: fax_application = response.parse() assert_matches_type(FaxApplicationCreateResponse, fax_application, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.fax_applications.with_streaming_response.create( @@ -83,7 +79,6 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: fax_application = client.fax_applications.retrieve( @@ -91,7 +86,6 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(FaxApplicationRetrieveResponse, fax_application, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.fax_applications.with_raw_response.retrieve( @@ -103,7 +97,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: fax_application = response.parse() assert_matches_type(FaxApplicationRetrieveResponse, fax_application, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.fax_applications.with_streaming_response.retrieve( @@ -117,7 +110,6 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -125,7 +117,6 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update(self, client: Telnyx) -> None: fax_application = client.fax_applications.update( @@ -135,7 +126,6 @@ def test_method_update(self, client: Telnyx) -> None: ) assert_matches_type(FaxApplicationUpdateResponse, fax_application, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_with_all_params(self, client: Telnyx) -> None: fax_application = client.fax_applications.update( @@ -160,7 +150,6 @@ def test_method_update_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(FaxApplicationUpdateResponse, fax_application, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update(self, client: Telnyx) -> None: response = client.fax_applications.with_raw_response.update( @@ -174,7 +163,6 @@ def test_raw_response_update(self, client: Telnyx) -> None: fax_application = response.parse() assert_matches_type(FaxApplicationUpdateResponse, fax_application, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update(self, client: Telnyx) -> None: with client.fax_applications.with_streaming_response.update( @@ -190,7 +178,6 @@ def test_streaming_response_update(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -200,13 +187,11 @@ def test_path_params_update(self, client: Telnyx) -> None: webhook_event_url="https://example.com", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: fax_application = client.fax_applications.list() assert_matches_type(FaxApplicationListResponse, fax_application, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: fax_application = client.fax_applications.list( @@ -222,7 +207,6 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(FaxApplicationListResponse, fax_application, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.fax_applications.with_raw_response.list() @@ -232,7 +216,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: fax_application = response.parse() assert_matches_type(FaxApplicationListResponse, fax_application, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.fax_applications.with_streaming_response.list() as response: @@ -244,7 +227,6 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: fax_application = client.fax_applications.delete( @@ -252,7 +234,6 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert_matches_type(FaxApplicationDeleteResponse, fax_application, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.fax_applications.with_raw_response.delete( @@ -264,7 +245,6 @@ def test_raw_response_delete(self, client: Telnyx) -> None: fax_application = response.parse() assert_matches_type(FaxApplicationDeleteResponse, fax_application, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.fax_applications.with_streaming_response.delete( @@ -278,7 +258,6 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -292,7 +271,6 @@ class TestAsyncFaxApplications: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: fax_application = await async_client.fax_applications.create( @@ -301,7 +279,6 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(FaxApplicationCreateResponse, fax_application, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: fax_application = await async_client.fax_applications.create( @@ -324,7 +301,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(FaxApplicationCreateResponse, fax_application, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.fax_applications.with_raw_response.create( @@ -337,7 +313,6 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: fax_application = await response.parse() assert_matches_type(FaxApplicationCreateResponse, fax_application, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.fax_applications.with_streaming_response.create( @@ -352,7 +327,6 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: fax_application = await async_client.fax_applications.retrieve( @@ -360,7 +334,6 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(FaxApplicationRetrieveResponse, fax_application, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.fax_applications.with_raw_response.retrieve( @@ -372,7 +345,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: fax_application = await response.parse() assert_matches_type(FaxApplicationRetrieveResponse, fax_application, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.fax_applications.with_streaming_response.retrieve( @@ -386,7 +358,6 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -394,7 +365,6 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update(self, async_client: AsyncTelnyx) -> None: fax_application = await async_client.fax_applications.update( @@ -404,7 +374,6 @@ async def test_method_update(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(FaxApplicationUpdateResponse, fax_application, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> None: fax_application = await async_client.fax_applications.update( @@ -429,7 +398,6 @@ async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(FaxApplicationUpdateResponse, fax_application, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: response = await async_client.fax_applications.with_raw_response.update( @@ -443,7 +411,6 @@ async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: fax_application = await response.parse() assert_matches_type(FaxApplicationUpdateResponse, fax_application, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> None: async with async_client.fax_applications.with_streaming_response.update( @@ -459,7 +426,6 @@ async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -469,13 +435,11 @@ async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: webhook_event_url="https://example.com", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: fax_application = await async_client.fax_applications.list() assert_matches_type(FaxApplicationListResponse, fax_application, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: fax_application = await async_client.fax_applications.list( @@ -491,7 +455,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(FaxApplicationListResponse, fax_application, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.fax_applications.with_raw_response.list() @@ -501,7 +464,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: fax_application = await response.parse() assert_matches_type(FaxApplicationListResponse, fax_application, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.fax_applications.with_streaming_response.list() as response: @@ -513,7 +475,6 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: fax_application = await async_client.fax_applications.delete( @@ -521,7 +482,6 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(FaxApplicationDeleteResponse, fax_application, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.fax_applications.with_raw_response.delete( @@ -533,7 +493,6 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: fax_application = await response.parse() assert_matches_type(FaxApplicationDeleteResponse, fax_application, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.fax_applications.with_streaming_response.delete( @@ -547,7 +506,6 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): diff --git a/tests/api_resources/test_faxes.py b/tests/api_resources/test_faxes.py index 6763c58e..43c1c78f 100644 --- a/tests/api_resources/test_faxes.py +++ b/tests/api_resources/test_faxes.py @@ -18,7 +18,6 @@ class TestFaxes: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: fax = client.faxes.create( @@ -28,7 +27,6 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(FaxCreateResponse, fax, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: fax = client.faxes.create( @@ -49,7 +47,6 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(FaxCreateResponse, fax, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.faxes.with_raw_response.create( @@ -63,7 +60,6 @@ def test_raw_response_create(self, client: Telnyx) -> None: fax = response.parse() assert_matches_type(FaxCreateResponse, fax, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.faxes.with_streaming_response.create( @@ -79,7 +75,6 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: fax = client.faxes.retrieve( @@ -87,7 +82,6 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(FaxRetrieveResponse, fax, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.faxes.with_raw_response.retrieve( @@ -99,7 +93,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: fax = response.parse() assert_matches_type(FaxRetrieveResponse, fax, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.faxes.with_streaming_response.retrieve( @@ -113,7 +106,6 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -121,13 +113,11 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: fax = client.faxes.list() assert_matches_type(FaxListResponse, fax, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: fax = client.faxes.list( @@ -149,7 +139,6 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(FaxListResponse, fax, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.faxes.with_raw_response.list() @@ -159,7 +148,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: fax = response.parse() assert_matches_type(FaxListResponse, fax, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.faxes.with_streaming_response.list() as response: @@ -171,7 +159,6 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: fax = client.faxes.delete( @@ -179,7 +166,6 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert fax is None - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.faxes.with_raw_response.delete( @@ -191,7 +177,6 @@ def test_raw_response_delete(self, client: Telnyx) -> None: fax = response.parse() assert fax is None - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.faxes.with_streaming_response.delete( @@ -205,7 +190,6 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -219,7 +203,6 @@ class TestAsyncFaxes: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: fax = await async_client.faxes.create( @@ -229,7 +212,6 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(FaxCreateResponse, fax, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: fax = await async_client.faxes.create( @@ -250,7 +232,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(FaxCreateResponse, fax, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.faxes.with_raw_response.create( @@ -264,7 +245,6 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: fax = await response.parse() assert_matches_type(FaxCreateResponse, fax, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.faxes.with_streaming_response.create( @@ -280,7 +260,6 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: fax = await async_client.faxes.retrieve( @@ -288,7 +267,6 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(FaxRetrieveResponse, fax, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.faxes.with_raw_response.retrieve( @@ -300,7 +278,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: fax = await response.parse() assert_matches_type(FaxRetrieveResponse, fax, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.faxes.with_streaming_response.retrieve( @@ -314,7 +291,6 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -322,13 +298,11 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: fax = await async_client.faxes.list() assert_matches_type(FaxListResponse, fax, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: fax = await async_client.faxes.list( @@ -350,7 +324,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(FaxListResponse, fax, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.faxes.with_raw_response.list() @@ -360,7 +333,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: fax = await response.parse() assert_matches_type(FaxListResponse, fax, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.faxes.with_streaming_response.list() as response: @@ -372,7 +344,6 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: fax = await async_client.faxes.delete( @@ -380,7 +351,6 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert fax is None - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.faxes.with_raw_response.delete( @@ -392,7 +362,6 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: fax = await response.parse() assert fax is None - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.faxes.with_streaming_response.delete( @@ -406,7 +375,6 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): diff --git a/tests/api_resources/test_fqdn_connections.py b/tests/api_resources/test_fqdn_connections.py index cda28eb7..a77b5ccd 100644 --- a/tests/api_resources/test_fqdn_connections.py +++ b/tests/api_resources/test_fqdn_connections.py @@ -23,7 +23,6 @@ class TestFqdnConnections: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: fqdn_connection = client.fqdn_connections.create( @@ -31,7 +30,6 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(FqdnConnectionCreateResponse, fqdn_connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: fqdn_connection = client.fqdn_connections.create( @@ -97,7 +95,6 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(FqdnConnectionCreateResponse, fqdn_connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.fqdn_connections.with_raw_response.create( @@ -109,7 +106,6 @@ def test_raw_response_create(self, client: Telnyx) -> None: fqdn_connection = response.parse() assert_matches_type(FqdnConnectionCreateResponse, fqdn_connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.fqdn_connections.with_streaming_response.create( @@ -123,7 +119,6 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: fqdn_connection = client.fqdn_connections.retrieve( @@ -131,7 +126,6 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(FqdnConnectionRetrieveResponse, fqdn_connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.fqdn_connections.with_raw_response.retrieve( @@ -143,7 +137,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: fqdn_connection = response.parse() assert_matches_type(FqdnConnectionRetrieveResponse, fqdn_connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.fqdn_connections.with_streaming_response.retrieve( @@ -157,7 +150,6 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -165,7 +157,6 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update(self, client: Telnyx) -> None: fqdn_connection = client.fqdn_connections.update( @@ -173,7 +164,6 @@ def test_method_update(self, client: Telnyx) -> None: ) assert_matches_type(FqdnConnectionUpdateResponse, fqdn_connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_with_all_params(self, client: Telnyx) -> None: fqdn_connection = client.fqdn_connections.update( @@ -239,7 +229,6 @@ def test_method_update_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(FqdnConnectionUpdateResponse, fqdn_connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update(self, client: Telnyx) -> None: response = client.fqdn_connections.with_raw_response.update( @@ -251,7 +240,6 @@ def test_raw_response_update(self, client: Telnyx) -> None: fqdn_connection = response.parse() assert_matches_type(FqdnConnectionUpdateResponse, fqdn_connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update(self, client: Telnyx) -> None: with client.fqdn_connections.with_streaming_response.update( @@ -265,7 +253,6 @@ def test_streaming_response_update(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -273,13 +260,11 @@ def test_path_params_update(self, client: Telnyx) -> None: id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: fqdn_connection = client.fqdn_connections.list() assert_matches_type(FqdnConnectionListResponse, fqdn_connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: fqdn_connection = client.fqdn_connections.list( @@ -296,7 +281,6 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(FqdnConnectionListResponse, fqdn_connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.fqdn_connections.with_raw_response.list() @@ -306,7 +290,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: fqdn_connection = response.parse() assert_matches_type(FqdnConnectionListResponse, fqdn_connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.fqdn_connections.with_streaming_response.list() as response: @@ -318,7 +301,6 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: fqdn_connection = client.fqdn_connections.delete( @@ -326,7 +308,6 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert_matches_type(FqdnConnectionDeleteResponse, fqdn_connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.fqdn_connections.with_raw_response.delete( @@ -338,7 +319,6 @@ def test_raw_response_delete(self, client: Telnyx) -> None: fqdn_connection = response.parse() assert_matches_type(FqdnConnectionDeleteResponse, fqdn_connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.fqdn_connections.with_streaming_response.delete( @@ -352,7 +332,6 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -366,7 +345,6 @@ class TestAsyncFqdnConnections: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: fqdn_connection = await async_client.fqdn_connections.create( @@ -374,7 +352,6 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(FqdnConnectionCreateResponse, fqdn_connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: fqdn_connection = await async_client.fqdn_connections.create( @@ -440,7 +417,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(FqdnConnectionCreateResponse, fqdn_connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.fqdn_connections.with_raw_response.create( @@ -452,7 +428,6 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: fqdn_connection = await response.parse() assert_matches_type(FqdnConnectionCreateResponse, fqdn_connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.fqdn_connections.with_streaming_response.create( @@ -466,7 +441,6 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: fqdn_connection = await async_client.fqdn_connections.retrieve( @@ -474,7 +448,6 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(FqdnConnectionRetrieveResponse, fqdn_connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.fqdn_connections.with_raw_response.retrieve( @@ -486,7 +459,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: fqdn_connection = await response.parse() assert_matches_type(FqdnConnectionRetrieveResponse, fqdn_connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.fqdn_connections.with_streaming_response.retrieve( @@ -500,7 +472,6 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -508,7 +479,6 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update(self, async_client: AsyncTelnyx) -> None: fqdn_connection = await async_client.fqdn_connections.update( @@ -516,7 +486,6 @@ async def test_method_update(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(FqdnConnectionUpdateResponse, fqdn_connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> None: fqdn_connection = await async_client.fqdn_connections.update( @@ -582,7 +551,6 @@ async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(FqdnConnectionUpdateResponse, fqdn_connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: response = await async_client.fqdn_connections.with_raw_response.update( @@ -594,7 +562,6 @@ async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: fqdn_connection = await response.parse() assert_matches_type(FqdnConnectionUpdateResponse, fqdn_connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> None: async with async_client.fqdn_connections.with_streaming_response.update( @@ -608,7 +575,6 @@ async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -616,13 +582,11 @@ async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: fqdn_connection = await async_client.fqdn_connections.list() assert_matches_type(FqdnConnectionListResponse, fqdn_connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: fqdn_connection = await async_client.fqdn_connections.list( @@ -639,7 +603,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(FqdnConnectionListResponse, fqdn_connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.fqdn_connections.with_raw_response.list() @@ -649,7 +612,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: fqdn_connection = await response.parse() assert_matches_type(FqdnConnectionListResponse, fqdn_connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.fqdn_connections.with_streaming_response.list() as response: @@ -661,7 +623,6 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: fqdn_connection = await async_client.fqdn_connections.delete( @@ -669,7 +630,6 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(FqdnConnectionDeleteResponse, fqdn_connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.fqdn_connections.with_raw_response.delete( @@ -681,7 +641,6 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: fqdn_connection = await response.parse() assert_matches_type(FqdnConnectionDeleteResponse, fqdn_connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.fqdn_connections.with_streaming_response.delete( @@ -695,7 +654,6 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): diff --git a/tests/api_resources/test_fqdns.py b/tests/api_resources/test_fqdns.py index d3cd7256..e7e637d1 100644 --- a/tests/api_resources/test_fqdns.py +++ b/tests/api_resources/test_fqdns.py @@ -23,7 +23,6 @@ class TestFqdns: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: fqdn = client.fqdns.create( @@ -33,7 +32,6 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(FqdnCreateResponse, fqdn, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: fqdn = client.fqdns.create( @@ -44,7 +42,6 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(FqdnCreateResponse, fqdn, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.fqdns.with_raw_response.create( @@ -58,7 +55,6 @@ def test_raw_response_create(self, client: Telnyx) -> None: fqdn = response.parse() assert_matches_type(FqdnCreateResponse, fqdn, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.fqdns.with_streaming_response.create( @@ -74,7 +70,6 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: fqdn = client.fqdns.retrieve( @@ -82,7 +77,6 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(FqdnRetrieveResponse, fqdn, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.fqdns.with_raw_response.retrieve( @@ -94,7 +88,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: fqdn = response.parse() assert_matches_type(FqdnRetrieveResponse, fqdn, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.fqdns.with_streaming_response.retrieve( @@ -108,7 +101,6 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -116,7 +108,6 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update(self, client: Telnyx) -> None: fqdn = client.fqdns.update( @@ -124,7 +115,6 @@ def test_method_update(self, client: Telnyx) -> None: ) assert_matches_type(FqdnUpdateResponse, fqdn, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_with_all_params(self, client: Telnyx) -> None: fqdn = client.fqdns.update( @@ -136,7 +126,6 @@ def test_method_update_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(FqdnUpdateResponse, fqdn, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update(self, client: Telnyx) -> None: response = client.fqdns.with_raw_response.update( @@ -148,7 +137,6 @@ def test_raw_response_update(self, client: Telnyx) -> None: fqdn = response.parse() assert_matches_type(FqdnUpdateResponse, fqdn, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update(self, client: Telnyx) -> None: with client.fqdns.with_streaming_response.update( @@ -162,7 +150,6 @@ def test_streaming_response_update(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -170,13 +157,11 @@ def test_path_params_update(self, client: Telnyx) -> None: id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: fqdn = client.fqdns.list() assert_matches_type(FqdnListResponse, fqdn, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: fqdn = client.fqdns.list( @@ -193,7 +178,6 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(FqdnListResponse, fqdn, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.fqdns.with_raw_response.list() @@ -203,7 +187,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: fqdn = response.parse() assert_matches_type(FqdnListResponse, fqdn, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.fqdns.with_streaming_response.list() as response: @@ -215,7 +198,6 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: fqdn = client.fqdns.delete( @@ -223,7 +205,6 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert_matches_type(FqdnDeleteResponse, fqdn, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.fqdns.with_raw_response.delete( @@ -235,7 +216,6 @@ def test_raw_response_delete(self, client: Telnyx) -> None: fqdn = response.parse() assert_matches_type(FqdnDeleteResponse, fqdn, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.fqdns.with_streaming_response.delete( @@ -249,7 +229,6 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -263,7 +242,6 @@ class TestAsyncFqdns: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: fqdn = await async_client.fqdns.create( @@ -273,7 +251,6 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(FqdnCreateResponse, fqdn, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: fqdn = await async_client.fqdns.create( @@ -284,7 +261,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(FqdnCreateResponse, fqdn, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.fqdns.with_raw_response.create( @@ -298,7 +274,6 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: fqdn = await response.parse() assert_matches_type(FqdnCreateResponse, fqdn, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.fqdns.with_streaming_response.create( @@ -314,7 +289,6 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: fqdn = await async_client.fqdns.retrieve( @@ -322,7 +296,6 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(FqdnRetrieveResponse, fqdn, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.fqdns.with_raw_response.retrieve( @@ -334,7 +307,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: fqdn = await response.parse() assert_matches_type(FqdnRetrieveResponse, fqdn, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.fqdns.with_streaming_response.retrieve( @@ -348,7 +320,6 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -356,7 +327,6 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update(self, async_client: AsyncTelnyx) -> None: fqdn = await async_client.fqdns.update( @@ -364,7 +334,6 @@ async def test_method_update(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(FqdnUpdateResponse, fqdn, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> None: fqdn = await async_client.fqdns.update( @@ -376,7 +345,6 @@ async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(FqdnUpdateResponse, fqdn, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: response = await async_client.fqdns.with_raw_response.update( @@ -388,7 +356,6 @@ async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: fqdn = await response.parse() assert_matches_type(FqdnUpdateResponse, fqdn, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> None: async with async_client.fqdns.with_streaming_response.update( @@ -402,7 +369,6 @@ async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -410,13 +376,11 @@ async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: fqdn = await async_client.fqdns.list() assert_matches_type(FqdnListResponse, fqdn, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: fqdn = await async_client.fqdns.list( @@ -433,7 +397,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(FqdnListResponse, fqdn, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.fqdns.with_raw_response.list() @@ -443,7 +406,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: fqdn = await response.parse() assert_matches_type(FqdnListResponse, fqdn, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.fqdns.with_streaming_response.list() as response: @@ -455,7 +417,6 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: fqdn = await async_client.fqdns.delete( @@ -463,7 +424,6 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(FqdnDeleteResponse, fqdn, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.fqdns.with_raw_response.delete( @@ -475,7 +435,6 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: fqdn = await response.parse() assert_matches_type(FqdnDeleteResponse, fqdn, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.fqdns.with_streaming_response.delete( @@ -489,7 +448,6 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): diff --git a/tests/api_resources/test_global_ip_allowed_ports.py b/tests/api_resources/test_global_ip_allowed_ports.py index 96cc5f7b..86452ede 100644 --- a/tests/api_resources/test_global_ip_allowed_ports.py +++ b/tests/api_resources/test_global_ip_allowed_ports.py @@ -17,13 +17,11 @@ class TestGlobalIPAllowedPorts: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: global_ip_allowed_port = client.global_ip_allowed_ports.list() assert_matches_type(GlobalIPAllowedPortListResponse, global_ip_allowed_port, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.global_ip_allowed_ports.with_raw_response.list() @@ -33,7 +31,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: global_ip_allowed_port = response.parse() assert_matches_type(GlobalIPAllowedPortListResponse, global_ip_allowed_port, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.global_ip_allowed_ports.with_streaming_response.list() as response: @@ -51,13 +48,11 @@ class TestAsyncGlobalIPAllowedPorts: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: global_ip_allowed_port = await async_client.global_ip_allowed_ports.list() assert_matches_type(GlobalIPAllowedPortListResponse, global_ip_allowed_port, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.global_ip_allowed_ports.with_raw_response.list() @@ -67,7 +62,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: global_ip_allowed_port = await response.parse() assert_matches_type(GlobalIPAllowedPortListResponse, global_ip_allowed_port, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.global_ip_allowed_ports.with_streaming_response.list() as response: diff --git a/tests/api_resources/test_global_ip_assignment_health.py b/tests/api_resources/test_global_ip_assignment_health.py index 8b2bafa6..27d928bf 100644 --- a/tests/api_resources/test_global_ip_assignment_health.py +++ b/tests/api_resources/test_global_ip_assignment_health.py @@ -17,13 +17,11 @@ class TestGlobalIPAssignmentHealth: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: global_ip_assignment_health = client.global_ip_assignment_health.retrieve() assert_matches_type(GlobalIPAssignmentHealthRetrieveResponse, global_ip_assignment_health, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve_with_all_params(self, client: Telnyx) -> None: global_ip_assignment_health = client.global_ip_assignment_health.retrieve( @@ -34,7 +32,6 @@ def test_method_retrieve_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(GlobalIPAssignmentHealthRetrieveResponse, global_ip_assignment_health, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.global_ip_assignment_health.with_raw_response.retrieve() @@ -44,7 +41,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: global_ip_assignment_health = response.parse() assert_matches_type(GlobalIPAssignmentHealthRetrieveResponse, global_ip_assignment_health, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.global_ip_assignment_health.with_streaming_response.retrieve() as response: @@ -64,13 +60,11 @@ class TestAsyncGlobalIPAssignmentHealth: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: global_ip_assignment_health = await async_client.global_ip_assignment_health.retrieve() assert_matches_type(GlobalIPAssignmentHealthRetrieveResponse, global_ip_assignment_health, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve_with_all_params(self, async_client: AsyncTelnyx) -> None: global_ip_assignment_health = await async_client.global_ip_assignment_health.retrieve( @@ -81,7 +75,6 @@ async def test_method_retrieve_with_all_params(self, async_client: AsyncTelnyx) ) assert_matches_type(GlobalIPAssignmentHealthRetrieveResponse, global_ip_assignment_health, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.global_ip_assignment_health.with_raw_response.retrieve() @@ -91,7 +84,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: global_ip_assignment_health = await response.parse() assert_matches_type(GlobalIPAssignmentHealthRetrieveResponse, global_ip_assignment_health, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.global_ip_assignment_health.with_streaming_response.retrieve() as response: diff --git a/tests/api_resources/test_global_ip_assignments.py b/tests/api_resources/test_global_ip_assignments.py index 756a80b2..ddd57b80 100644 --- a/tests/api_resources/test_global_ip_assignments.py +++ b/tests/api_resources/test_global_ip_assignments.py @@ -23,13 +23,11 @@ class TestGlobalIPAssignments: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: global_ip_assignment = client.global_ip_assignments.create() assert_matches_type(GlobalIPAssignmentCreateResponse, global_ip_assignment, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: global_ip_assignment = client.global_ip_assignments.create( @@ -39,7 +37,6 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(GlobalIPAssignmentCreateResponse, global_ip_assignment, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.global_ip_assignments.with_raw_response.create() @@ -49,7 +46,6 @@ def test_raw_response_create(self, client: Telnyx) -> None: global_ip_assignment = response.parse() assert_matches_type(GlobalIPAssignmentCreateResponse, global_ip_assignment, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.global_ip_assignments.with_streaming_response.create() as response: @@ -61,7 +57,6 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: global_ip_assignment = client.global_ip_assignments.retrieve( @@ -69,7 +64,6 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(GlobalIPAssignmentRetrieveResponse, global_ip_assignment, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.global_ip_assignments.with_raw_response.retrieve( @@ -81,7 +75,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: global_ip_assignment = response.parse() assert_matches_type(GlobalIPAssignmentRetrieveResponse, global_ip_assignment, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.global_ip_assignments.with_streaming_response.retrieve( @@ -95,7 +88,6 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -103,7 +95,6 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update(self, client: Telnyx) -> None: global_ip_assignment = client.global_ip_assignments.update( @@ -112,7 +103,6 @@ def test_method_update(self, client: Telnyx) -> None: ) assert_matches_type(GlobalIPAssignmentUpdateResponse, global_ip_assignment, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_with_all_params(self, client: Telnyx) -> None: global_ip_assignment = client.global_ip_assignments.update( @@ -124,7 +114,6 @@ def test_method_update_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(GlobalIPAssignmentUpdateResponse, global_ip_assignment, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update(self, client: Telnyx) -> None: response = client.global_ip_assignments.with_raw_response.update( @@ -137,7 +126,6 @@ def test_raw_response_update(self, client: Telnyx) -> None: global_ip_assignment = response.parse() assert_matches_type(GlobalIPAssignmentUpdateResponse, global_ip_assignment, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update(self, client: Telnyx) -> None: with client.global_ip_assignments.with_streaming_response.update( @@ -152,7 +140,6 @@ def test_streaming_response_update(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -161,13 +148,11 @@ def test_path_params_update(self, client: Telnyx) -> None: body={}, ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: global_ip_assignment = client.global_ip_assignments.list() assert_matches_type(GlobalIPAssignmentListResponse, global_ip_assignment, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: global_ip_assignment = client.global_ip_assignments.list( @@ -178,7 +163,6 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(GlobalIPAssignmentListResponse, global_ip_assignment, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.global_ip_assignments.with_raw_response.list() @@ -188,7 +172,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: global_ip_assignment = response.parse() assert_matches_type(GlobalIPAssignmentListResponse, global_ip_assignment, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.global_ip_assignments.with_streaming_response.list() as response: @@ -200,7 +183,6 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: global_ip_assignment = client.global_ip_assignments.delete( @@ -208,7 +190,6 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert_matches_type(GlobalIPAssignmentDeleteResponse, global_ip_assignment, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.global_ip_assignments.with_raw_response.delete( @@ -220,7 +201,6 @@ def test_raw_response_delete(self, client: Telnyx) -> None: global_ip_assignment = response.parse() assert_matches_type(GlobalIPAssignmentDeleteResponse, global_ip_assignment, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.global_ip_assignments.with_streaming_response.delete( @@ -234,7 +214,6 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -248,13 +227,11 @@ class TestAsyncGlobalIPAssignments: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: global_ip_assignment = await async_client.global_ip_assignments.create() assert_matches_type(GlobalIPAssignmentCreateResponse, global_ip_assignment, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: global_ip_assignment = await async_client.global_ip_assignments.create( @@ -264,7 +241,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(GlobalIPAssignmentCreateResponse, global_ip_assignment, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.global_ip_assignments.with_raw_response.create() @@ -274,7 +250,6 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: global_ip_assignment = await response.parse() assert_matches_type(GlobalIPAssignmentCreateResponse, global_ip_assignment, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.global_ip_assignments.with_streaming_response.create() as response: @@ -286,7 +261,6 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: global_ip_assignment = await async_client.global_ip_assignments.retrieve( @@ -294,7 +268,6 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(GlobalIPAssignmentRetrieveResponse, global_ip_assignment, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.global_ip_assignments.with_raw_response.retrieve( @@ -306,7 +279,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: global_ip_assignment = await response.parse() assert_matches_type(GlobalIPAssignmentRetrieveResponse, global_ip_assignment, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.global_ip_assignments.with_streaming_response.retrieve( @@ -320,7 +292,6 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -328,7 +299,6 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update(self, async_client: AsyncTelnyx) -> None: global_ip_assignment = await async_client.global_ip_assignments.update( @@ -337,7 +307,6 @@ async def test_method_update(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(GlobalIPAssignmentUpdateResponse, global_ip_assignment, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> None: global_ip_assignment = await async_client.global_ip_assignments.update( @@ -349,7 +318,6 @@ async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(GlobalIPAssignmentUpdateResponse, global_ip_assignment, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: response = await async_client.global_ip_assignments.with_raw_response.update( @@ -362,7 +330,6 @@ async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: global_ip_assignment = await response.parse() assert_matches_type(GlobalIPAssignmentUpdateResponse, global_ip_assignment, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> None: async with async_client.global_ip_assignments.with_streaming_response.update( @@ -377,7 +344,6 @@ async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -386,13 +352,11 @@ async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: body={}, ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: global_ip_assignment = await async_client.global_ip_assignments.list() assert_matches_type(GlobalIPAssignmentListResponse, global_ip_assignment, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: global_ip_assignment = await async_client.global_ip_assignments.list( @@ -403,7 +367,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(GlobalIPAssignmentListResponse, global_ip_assignment, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.global_ip_assignments.with_raw_response.list() @@ -413,7 +376,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: global_ip_assignment = await response.parse() assert_matches_type(GlobalIPAssignmentListResponse, global_ip_assignment, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.global_ip_assignments.with_streaming_response.list() as response: @@ -425,7 +387,6 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: global_ip_assignment = await async_client.global_ip_assignments.delete( @@ -433,7 +394,6 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(GlobalIPAssignmentDeleteResponse, global_ip_assignment, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.global_ip_assignments.with_raw_response.delete( @@ -445,7 +405,6 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: global_ip_assignment = await response.parse() assert_matches_type(GlobalIPAssignmentDeleteResponse, global_ip_assignment, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.global_ip_assignments.with_streaming_response.delete( @@ -459,7 +418,6 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): diff --git a/tests/api_resources/test_global_ip_assignments_usage.py b/tests/api_resources/test_global_ip_assignments_usage.py index f200f8c0..7c77b87d 100644 --- a/tests/api_resources/test_global_ip_assignments_usage.py +++ b/tests/api_resources/test_global_ip_assignments_usage.py @@ -17,13 +17,11 @@ class TestGlobalIPAssignmentsUsage: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: global_ip_assignments_usage = client.global_ip_assignments_usage.retrieve() assert_matches_type(GlobalIPAssignmentsUsageRetrieveResponse, global_ip_assignments_usage, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve_with_all_params(self, client: Telnyx) -> None: global_ip_assignments_usage = client.global_ip_assignments_usage.retrieve( @@ -34,7 +32,6 @@ def test_method_retrieve_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(GlobalIPAssignmentsUsageRetrieveResponse, global_ip_assignments_usage, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.global_ip_assignments_usage.with_raw_response.retrieve() @@ -44,7 +41,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: global_ip_assignments_usage = response.parse() assert_matches_type(GlobalIPAssignmentsUsageRetrieveResponse, global_ip_assignments_usage, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.global_ip_assignments_usage.with_streaming_response.retrieve() as response: @@ -64,13 +60,11 @@ class TestAsyncGlobalIPAssignmentsUsage: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: global_ip_assignments_usage = await async_client.global_ip_assignments_usage.retrieve() assert_matches_type(GlobalIPAssignmentsUsageRetrieveResponse, global_ip_assignments_usage, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve_with_all_params(self, async_client: AsyncTelnyx) -> None: global_ip_assignments_usage = await async_client.global_ip_assignments_usage.retrieve( @@ -81,7 +75,6 @@ async def test_method_retrieve_with_all_params(self, async_client: AsyncTelnyx) ) assert_matches_type(GlobalIPAssignmentsUsageRetrieveResponse, global_ip_assignments_usage, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.global_ip_assignments_usage.with_raw_response.retrieve() @@ -91,7 +84,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: global_ip_assignments_usage = await response.parse() assert_matches_type(GlobalIPAssignmentsUsageRetrieveResponse, global_ip_assignments_usage, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.global_ip_assignments_usage.with_streaming_response.retrieve() as response: diff --git a/tests/api_resources/test_global_ip_health_check_types.py b/tests/api_resources/test_global_ip_health_check_types.py index db1855b7..3c52ba78 100644 --- a/tests/api_resources/test_global_ip_health_check_types.py +++ b/tests/api_resources/test_global_ip_health_check_types.py @@ -17,13 +17,11 @@ class TestGlobalIPHealthCheckTypes: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: global_ip_health_check_type = client.global_ip_health_check_types.list() assert_matches_type(GlobalIPHealthCheckTypeListResponse, global_ip_health_check_type, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.global_ip_health_check_types.with_raw_response.list() @@ -33,7 +31,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: global_ip_health_check_type = response.parse() assert_matches_type(GlobalIPHealthCheckTypeListResponse, global_ip_health_check_type, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.global_ip_health_check_types.with_streaming_response.list() as response: @@ -51,13 +48,11 @@ class TestAsyncGlobalIPHealthCheckTypes: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: global_ip_health_check_type = await async_client.global_ip_health_check_types.list() assert_matches_type(GlobalIPHealthCheckTypeListResponse, global_ip_health_check_type, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.global_ip_health_check_types.with_raw_response.list() @@ -67,7 +62,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: global_ip_health_check_type = await response.parse() assert_matches_type(GlobalIPHealthCheckTypeListResponse, global_ip_health_check_type, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.global_ip_health_check_types.with_streaming_response.list() as response: diff --git a/tests/api_resources/test_global_ip_health_checks.py b/tests/api_resources/test_global_ip_health_checks.py index 39b834f9..e640b0c4 100644 --- a/tests/api_resources/test_global_ip_health_checks.py +++ b/tests/api_resources/test_global_ip_health_checks.py @@ -22,13 +22,11 @@ class TestGlobalIPHealthChecks: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: global_ip_health_check = client.global_ip_health_checks.create() assert_matches_type(GlobalIPHealthCheckCreateResponse, global_ip_health_check, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: global_ip_health_check = client.global_ip_health_checks.create( @@ -41,7 +39,6 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(GlobalIPHealthCheckCreateResponse, global_ip_health_check, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.global_ip_health_checks.with_raw_response.create() @@ -51,7 +48,6 @@ def test_raw_response_create(self, client: Telnyx) -> None: global_ip_health_check = response.parse() assert_matches_type(GlobalIPHealthCheckCreateResponse, global_ip_health_check, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.global_ip_health_checks.with_streaming_response.create() as response: @@ -63,7 +59,6 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: global_ip_health_check = client.global_ip_health_checks.retrieve( @@ -71,7 +66,6 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(GlobalIPHealthCheckRetrieveResponse, global_ip_health_check, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.global_ip_health_checks.with_raw_response.retrieve( @@ -83,7 +77,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: global_ip_health_check = response.parse() assert_matches_type(GlobalIPHealthCheckRetrieveResponse, global_ip_health_check, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.global_ip_health_checks.with_streaming_response.retrieve( @@ -97,7 +90,6 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -105,13 +97,11 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: global_ip_health_check = client.global_ip_health_checks.list() assert_matches_type(GlobalIPHealthCheckListResponse, global_ip_health_check, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: global_ip_health_check = client.global_ip_health_checks.list( @@ -122,7 +112,6 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(GlobalIPHealthCheckListResponse, global_ip_health_check, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.global_ip_health_checks.with_raw_response.list() @@ -132,7 +121,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: global_ip_health_check = response.parse() assert_matches_type(GlobalIPHealthCheckListResponse, global_ip_health_check, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.global_ip_health_checks.with_streaming_response.list() as response: @@ -144,7 +132,6 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: global_ip_health_check = client.global_ip_health_checks.delete( @@ -152,7 +139,6 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert_matches_type(GlobalIPHealthCheckDeleteResponse, global_ip_health_check, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.global_ip_health_checks.with_raw_response.delete( @@ -164,7 +150,6 @@ def test_raw_response_delete(self, client: Telnyx) -> None: global_ip_health_check = response.parse() assert_matches_type(GlobalIPHealthCheckDeleteResponse, global_ip_health_check, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.global_ip_health_checks.with_streaming_response.delete( @@ -178,7 +163,6 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -192,13 +176,11 @@ class TestAsyncGlobalIPHealthChecks: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: global_ip_health_check = await async_client.global_ip_health_checks.create() assert_matches_type(GlobalIPHealthCheckCreateResponse, global_ip_health_check, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: global_ip_health_check = await async_client.global_ip_health_checks.create( @@ -211,7 +193,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(GlobalIPHealthCheckCreateResponse, global_ip_health_check, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.global_ip_health_checks.with_raw_response.create() @@ -221,7 +202,6 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: global_ip_health_check = await response.parse() assert_matches_type(GlobalIPHealthCheckCreateResponse, global_ip_health_check, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.global_ip_health_checks.with_streaming_response.create() as response: @@ -233,7 +213,6 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: global_ip_health_check = await async_client.global_ip_health_checks.retrieve( @@ -241,7 +220,6 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(GlobalIPHealthCheckRetrieveResponse, global_ip_health_check, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.global_ip_health_checks.with_raw_response.retrieve( @@ -253,7 +231,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: global_ip_health_check = await response.parse() assert_matches_type(GlobalIPHealthCheckRetrieveResponse, global_ip_health_check, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.global_ip_health_checks.with_streaming_response.retrieve( @@ -267,7 +244,6 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -275,13 +251,11 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: global_ip_health_check = await async_client.global_ip_health_checks.list() assert_matches_type(GlobalIPHealthCheckListResponse, global_ip_health_check, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: global_ip_health_check = await async_client.global_ip_health_checks.list( @@ -292,7 +266,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(GlobalIPHealthCheckListResponse, global_ip_health_check, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.global_ip_health_checks.with_raw_response.list() @@ -302,7 +275,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: global_ip_health_check = await response.parse() assert_matches_type(GlobalIPHealthCheckListResponse, global_ip_health_check, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.global_ip_health_checks.with_streaming_response.list() as response: @@ -314,7 +286,6 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: global_ip_health_check = await async_client.global_ip_health_checks.delete( @@ -322,7 +293,6 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(GlobalIPHealthCheckDeleteResponse, global_ip_health_check, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.global_ip_health_checks.with_raw_response.delete( @@ -334,7 +304,6 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: global_ip_health_check = await response.parse() assert_matches_type(GlobalIPHealthCheckDeleteResponse, global_ip_health_check, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.global_ip_health_checks.with_streaming_response.delete( @@ -348,7 +317,6 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): diff --git a/tests/api_resources/test_global_ip_latency.py b/tests/api_resources/test_global_ip_latency.py index 57cf97ff..32e5594f 100644 --- a/tests/api_resources/test_global_ip_latency.py +++ b/tests/api_resources/test_global_ip_latency.py @@ -17,13 +17,11 @@ class TestGlobalIPLatency: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: global_ip_latency = client.global_ip_latency.retrieve() assert_matches_type(GlobalIPLatencyRetrieveResponse, global_ip_latency, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve_with_all_params(self, client: Telnyx) -> None: global_ip_latency = client.global_ip_latency.retrieve( @@ -31,7 +29,6 @@ def test_method_retrieve_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(GlobalIPLatencyRetrieveResponse, global_ip_latency, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.global_ip_latency.with_raw_response.retrieve() @@ -41,7 +38,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: global_ip_latency = response.parse() assert_matches_type(GlobalIPLatencyRetrieveResponse, global_ip_latency, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.global_ip_latency.with_streaming_response.retrieve() as response: @@ -59,13 +55,11 @@ class TestAsyncGlobalIPLatency: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: global_ip_latency = await async_client.global_ip_latency.retrieve() assert_matches_type(GlobalIPLatencyRetrieveResponse, global_ip_latency, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve_with_all_params(self, async_client: AsyncTelnyx) -> None: global_ip_latency = await async_client.global_ip_latency.retrieve( @@ -73,7 +67,6 @@ async def test_method_retrieve_with_all_params(self, async_client: AsyncTelnyx) ) assert_matches_type(GlobalIPLatencyRetrieveResponse, global_ip_latency, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.global_ip_latency.with_raw_response.retrieve() @@ -83,7 +76,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: global_ip_latency = await response.parse() assert_matches_type(GlobalIPLatencyRetrieveResponse, global_ip_latency, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.global_ip_latency.with_streaming_response.retrieve() as response: diff --git a/tests/api_resources/test_global_ip_protocols.py b/tests/api_resources/test_global_ip_protocols.py index a6f34061..9838b3ba 100644 --- a/tests/api_resources/test_global_ip_protocols.py +++ b/tests/api_resources/test_global_ip_protocols.py @@ -17,13 +17,11 @@ class TestGlobalIPProtocols: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: global_ip_protocol = client.global_ip_protocols.list() assert_matches_type(GlobalIPProtocolListResponse, global_ip_protocol, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.global_ip_protocols.with_raw_response.list() @@ -33,7 +31,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: global_ip_protocol = response.parse() assert_matches_type(GlobalIPProtocolListResponse, global_ip_protocol, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.global_ip_protocols.with_streaming_response.list() as response: @@ -51,13 +48,11 @@ class TestAsyncGlobalIPProtocols: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: global_ip_protocol = await async_client.global_ip_protocols.list() assert_matches_type(GlobalIPProtocolListResponse, global_ip_protocol, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.global_ip_protocols.with_raw_response.list() @@ -67,7 +62,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: global_ip_protocol = await response.parse() assert_matches_type(GlobalIPProtocolListResponse, global_ip_protocol, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.global_ip_protocols.with_streaming_response.list() as response: diff --git a/tests/api_resources/test_global_ip_usage.py b/tests/api_resources/test_global_ip_usage.py index 4e5b600d..8e9d35fe 100644 --- a/tests/api_resources/test_global_ip_usage.py +++ b/tests/api_resources/test_global_ip_usage.py @@ -17,13 +17,11 @@ class TestGlobalIPUsage: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: global_ip_usage = client.global_ip_usage.retrieve() assert_matches_type(GlobalIPUsageRetrieveResponse, global_ip_usage, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve_with_all_params(self, client: Telnyx) -> None: global_ip_usage = client.global_ip_usage.retrieve( @@ -31,7 +29,6 @@ def test_method_retrieve_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(GlobalIPUsageRetrieveResponse, global_ip_usage, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.global_ip_usage.with_raw_response.retrieve() @@ -41,7 +38,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: global_ip_usage = response.parse() assert_matches_type(GlobalIPUsageRetrieveResponse, global_ip_usage, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.global_ip_usage.with_streaming_response.retrieve() as response: @@ -59,13 +55,11 @@ class TestAsyncGlobalIPUsage: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: global_ip_usage = await async_client.global_ip_usage.retrieve() assert_matches_type(GlobalIPUsageRetrieveResponse, global_ip_usage, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve_with_all_params(self, async_client: AsyncTelnyx) -> None: global_ip_usage = await async_client.global_ip_usage.retrieve( @@ -73,7 +67,6 @@ async def test_method_retrieve_with_all_params(self, async_client: AsyncTelnyx) ) assert_matches_type(GlobalIPUsageRetrieveResponse, global_ip_usage, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.global_ip_usage.with_raw_response.retrieve() @@ -83,7 +76,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: global_ip_usage = await response.parse() assert_matches_type(GlobalIPUsageRetrieveResponse, global_ip_usage, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.global_ip_usage.with_streaming_response.retrieve() as response: diff --git a/tests/api_resources/test_global_ips.py b/tests/api_resources/test_global_ips.py index 38ddb59c..c1a22b57 100644 --- a/tests/api_resources/test_global_ips.py +++ b/tests/api_resources/test_global_ips.py @@ -22,13 +22,11 @@ class TestGlobalIPs: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: global_ip = client.global_ips.create() assert_matches_type(GlobalIPCreateResponse, global_ip, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: global_ip = client.global_ips.create( @@ -41,7 +39,6 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(GlobalIPCreateResponse, global_ip, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.global_ips.with_raw_response.create() @@ -51,7 +48,6 @@ def test_raw_response_create(self, client: Telnyx) -> None: global_ip = response.parse() assert_matches_type(GlobalIPCreateResponse, global_ip, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.global_ips.with_streaming_response.create() as response: @@ -63,7 +59,6 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: global_ip = client.global_ips.retrieve( @@ -71,7 +66,6 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(GlobalIPRetrieveResponse, global_ip, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.global_ips.with_raw_response.retrieve( @@ -83,7 +77,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: global_ip = response.parse() assert_matches_type(GlobalIPRetrieveResponse, global_ip, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.global_ips.with_streaming_response.retrieve( @@ -97,7 +90,6 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -105,13 +97,11 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: global_ip = client.global_ips.list() assert_matches_type(GlobalIPListResponse, global_ip, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: global_ip = client.global_ips.list( @@ -122,7 +112,6 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(GlobalIPListResponse, global_ip, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.global_ips.with_raw_response.list() @@ -132,7 +121,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: global_ip = response.parse() assert_matches_type(GlobalIPListResponse, global_ip, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.global_ips.with_streaming_response.list() as response: @@ -144,7 +132,6 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: global_ip = client.global_ips.delete( @@ -152,7 +139,6 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert_matches_type(GlobalIPDeleteResponse, global_ip, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.global_ips.with_raw_response.delete( @@ -164,7 +150,6 @@ def test_raw_response_delete(self, client: Telnyx) -> None: global_ip = response.parse() assert_matches_type(GlobalIPDeleteResponse, global_ip, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.global_ips.with_streaming_response.delete( @@ -178,7 +163,6 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -192,13 +176,11 @@ class TestAsyncGlobalIPs: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: global_ip = await async_client.global_ips.create() assert_matches_type(GlobalIPCreateResponse, global_ip, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: global_ip = await async_client.global_ips.create( @@ -211,7 +193,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(GlobalIPCreateResponse, global_ip, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.global_ips.with_raw_response.create() @@ -221,7 +202,6 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: global_ip = await response.parse() assert_matches_type(GlobalIPCreateResponse, global_ip, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.global_ips.with_streaming_response.create() as response: @@ -233,7 +213,6 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: global_ip = await async_client.global_ips.retrieve( @@ -241,7 +220,6 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(GlobalIPRetrieveResponse, global_ip, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.global_ips.with_raw_response.retrieve( @@ -253,7 +231,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: global_ip = await response.parse() assert_matches_type(GlobalIPRetrieveResponse, global_ip, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.global_ips.with_streaming_response.retrieve( @@ -267,7 +244,6 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -275,13 +251,11 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: global_ip = await async_client.global_ips.list() assert_matches_type(GlobalIPListResponse, global_ip, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: global_ip = await async_client.global_ips.list( @@ -292,7 +266,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(GlobalIPListResponse, global_ip, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.global_ips.with_raw_response.list() @@ -302,7 +275,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: global_ip = await response.parse() assert_matches_type(GlobalIPListResponse, global_ip, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.global_ips.with_streaming_response.list() as response: @@ -314,7 +286,6 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: global_ip = await async_client.global_ips.delete( @@ -322,7 +293,6 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(GlobalIPDeleteResponse, global_ip, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.global_ips.with_raw_response.delete( @@ -334,7 +304,6 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: global_ip = await response.parse() assert_matches_type(GlobalIPDeleteResponse, global_ip, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.global_ips.with_streaming_response.delete( @@ -348,7 +317,6 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): diff --git a/tests/api_resources/test_inbound_channels.py b/tests/api_resources/test_inbound_channels.py index a24b6c56..288efbe2 100644 --- a/tests/api_resources/test_inbound_channels.py +++ b/tests/api_resources/test_inbound_channels.py @@ -17,7 +17,6 @@ class TestInboundChannels: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update(self, client: Telnyx) -> None: inbound_channel = client.inbound_channels.update( @@ -25,7 +24,6 @@ def test_method_update(self, client: Telnyx) -> None: ) assert_matches_type(InboundChannelUpdateResponse, inbound_channel, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update(self, client: Telnyx) -> None: response = client.inbound_channels.with_raw_response.update( @@ -37,7 +35,6 @@ def test_raw_response_update(self, client: Telnyx) -> None: inbound_channel = response.parse() assert_matches_type(InboundChannelUpdateResponse, inbound_channel, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update(self, client: Telnyx) -> None: with client.inbound_channels.with_streaming_response.update( @@ -51,13 +48,11 @@ def test_streaming_response_update(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: inbound_channel = client.inbound_channels.list() assert_matches_type(InboundChannelListResponse, inbound_channel, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.inbound_channels.with_raw_response.list() @@ -67,7 +62,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: inbound_channel = response.parse() assert_matches_type(InboundChannelListResponse, inbound_channel, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.inbound_channels.with_streaming_response.list() as response: @@ -85,7 +79,6 @@ class TestAsyncInboundChannels: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update(self, async_client: AsyncTelnyx) -> None: inbound_channel = await async_client.inbound_channels.update( @@ -93,7 +86,6 @@ async def test_method_update(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(InboundChannelUpdateResponse, inbound_channel, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: response = await async_client.inbound_channels.with_raw_response.update( @@ -105,7 +97,6 @@ async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: inbound_channel = await response.parse() assert_matches_type(InboundChannelUpdateResponse, inbound_channel, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> None: async with async_client.inbound_channels.with_streaming_response.update( @@ -119,13 +110,11 @@ async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: inbound_channel = await async_client.inbound_channels.list() assert_matches_type(InboundChannelListResponse, inbound_channel, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.inbound_channels.with_raw_response.list() @@ -135,7 +124,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: inbound_channel = await response.parse() assert_matches_type(InboundChannelListResponse, inbound_channel, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.inbound_channels.with_streaming_response.list() as response: diff --git a/tests/api_resources/test_integration_secrets.py b/tests/api_resources/test_integration_secrets.py index 633b4815..64f8b991 100644 --- a/tests/api_resources/test_integration_secrets.py +++ b/tests/api_resources/test_integration_secrets.py @@ -20,7 +20,6 @@ class TestIntegrationSecrets: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: integration_secret = client.integration_secrets.create( @@ -29,7 +28,6 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(IntegrationSecretCreateResponse, integration_secret, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: integration_secret = client.integration_secrets.create( @@ -41,7 +39,6 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(IntegrationSecretCreateResponse, integration_secret, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.integration_secrets.with_raw_response.create( @@ -54,7 +51,6 @@ def test_raw_response_create(self, client: Telnyx) -> None: integration_secret = response.parse() assert_matches_type(IntegrationSecretCreateResponse, integration_secret, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.integration_secrets.with_streaming_response.create( @@ -69,13 +65,11 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: integration_secret = client.integration_secrets.list() assert_matches_type(IntegrationSecretListResponse, integration_secret, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: integration_secret = client.integration_secrets.list( @@ -87,7 +81,6 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(IntegrationSecretListResponse, integration_secret, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.integration_secrets.with_raw_response.list() @@ -97,7 +90,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: integration_secret = response.parse() assert_matches_type(IntegrationSecretListResponse, integration_secret, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.integration_secrets.with_streaming_response.list() as response: @@ -109,7 +101,6 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: integration_secret = client.integration_secrets.delete( @@ -117,7 +108,6 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert integration_secret is None - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.integration_secrets.with_raw_response.delete( @@ -129,7 +119,6 @@ def test_raw_response_delete(self, client: Telnyx) -> None: integration_secret = response.parse() assert integration_secret is None - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.integration_secrets.with_streaming_response.delete( @@ -143,7 +132,6 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -157,7 +145,6 @@ class TestAsyncIntegrationSecrets: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: integration_secret = await async_client.integration_secrets.create( @@ -166,7 +153,6 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(IntegrationSecretCreateResponse, integration_secret, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: integration_secret = await async_client.integration_secrets.create( @@ -178,7 +164,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(IntegrationSecretCreateResponse, integration_secret, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.integration_secrets.with_raw_response.create( @@ -191,7 +176,6 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: integration_secret = await response.parse() assert_matches_type(IntegrationSecretCreateResponse, integration_secret, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.integration_secrets.with_streaming_response.create( @@ -206,13 +190,11 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: integration_secret = await async_client.integration_secrets.list() assert_matches_type(IntegrationSecretListResponse, integration_secret, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: integration_secret = await async_client.integration_secrets.list( @@ -224,7 +206,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(IntegrationSecretListResponse, integration_secret, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.integration_secrets.with_raw_response.list() @@ -234,7 +215,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: integration_secret = await response.parse() assert_matches_type(IntegrationSecretListResponse, integration_secret, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.integration_secrets.with_streaming_response.list() as response: @@ -246,7 +226,6 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: integration_secret = await async_client.integration_secrets.delete( @@ -254,7 +233,6 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert integration_secret is None - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.integration_secrets.with_raw_response.delete( @@ -266,7 +244,6 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: integration_secret = await response.parse() assert integration_secret is None - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.integration_secrets.with_streaming_response.delete( @@ -280,7 +257,6 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): diff --git a/tests/api_resources/test_inventory_coverage.py b/tests/api_resources/test_inventory_coverage.py index 26d4257f..b63c43a0 100644 --- a/tests/api_resources/test_inventory_coverage.py +++ b/tests/api_resources/test_inventory_coverage.py @@ -17,13 +17,11 @@ class TestInventoryCoverage: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: inventory_coverage = client.inventory_coverage.list() assert_matches_type(InventoryCoverageListResponse, inventory_coverage, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: inventory_coverage = client.inventory_coverage.list( @@ -40,7 +38,6 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(InventoryCoverageListResponse, inventory_coverage, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.inventory_coverage.with_raw_response.list() @@ -50,7 +47,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: inventory_coverage = response.parse() assert_matches_type(InventoryCoverageListResponse, inventory_coverage, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.inventory_coverage.with_streaming_response.list() as response: @@ -68,13 +64,11 @@ class TestAsyncInventoryCoverage: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: inventory_coverage = await async_client.inventory_coverage.list() assert_matches_type(InventoryCoverageListResponse, inventory_coverage, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: inventory_coverage = await async_client.inventory_coverage.list( @@ -91,7 +85,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(InventoryCoverageListResponse, inventory_coverage, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.inventory_coverage.with_raw_response.list() @@ -101,7 +94,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: inventory_coverage = await response.parse() assert_matches_type(InventoryCoverageListResponse, inventory_coverage, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.inventory_coverage.with_streaming_response.list() as response: diff --git a/tests/api_resources/test_invoices.py b/tests/api_resources/test_invoices.py index 2ad20f35..fcf130b1 100644 --- a/tests/api_resources/test_invoices.py +++ b/tests/api_resources/test_invoices.py @@ -17,7 +17,6 @@ class TestInvoices: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: invoice = client.invoices.retrieve( @@ -25,7 +24,6 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(InvoiceRetrieveResponse, invoice, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve_with_all_params(self, client: Telnyx) -> None: invoice = client.invoices.retrieve( @@ -34,7 +32,6 @@ def test_method_retrieve_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(InvoiceRetrieveResponse, invoice, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.invoices.with_raw_response.retrieve( @@ -46,7 +43,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: invoice = response.parse() assert_matches_type(InvoiceRetrieveResponse, invoice, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.invoices.with_streaming_response.retrieve( @@ -60,7 +56,6 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -68,13 +63,11 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: invoice = client.invoices.list() assert_matches_type(InvoiceListResponse, invoice, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: invoice = client.invoices.list( @@ -86,7 +79,6 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(InvoiceListResponse, invoice, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.invoices.with_raw_response.list() @@ -96,7 +88,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: invoice = response.parse() assert_matches_type(InvoiceListResponse, invoice, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.invoices.with_streaming_response.list() as response: @@ -114,7 +105,6 @@ class TestAsyncInvoices: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: invoice = await async_client.invoices.retrieve( @@ -122,7 +112,6 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(InvoiceRetrieveResponse, invoice, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve_with_all_params(self, async_client: AsyncTelnyx) -> None: invoice = await async_client.invoices.retrieve( @@ -131,7 +120,6 @@ async def test_method_retrieve_with_all_params(self, async_client: AsyncTelnyx) ) assert_matches_type(InvoiceRetrieveResponse, invoice, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.invoices.with_raw_response.retrieve( @@ -143,7 +131,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: invoice = await response.parse() assert_matches_type(InvoiceRetrieveResponse, invoice, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.invoices.with_streaming_response.retrieve( @@ -157,7 +144,6 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -165,13 +151,11 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: invoice = await async_client.invoices.list() assert_matches_type(InvoiceListResponse, invoice, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: invoice = await async_client.invoices.list( @@ -183,7 +167,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(InvoiceListResponse, invoice, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.invoices.with_raw_response.list() @@ -193,7 +176,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: invoice = await response.parse() assert_matches_type(InvoiceListResponse, invoice, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.invoices.with_streaming_response.list() as response: diff --git a/tests/api_resources/test_ip_connections.py b/tests/api_resources/test_ip_connections.py index d822b947..cc86102d 100644 --- a/tests/api_resources/test_ip_connections.py +++ b/tests/api_resources/test_ip_connections.py @@ -23,13 +23,11 @@ class TestIPConnections: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: ip_connection = client.ip_connections.create() assert_matches_type(IPConnectionCreateResponse, ip_connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: ip_connection = client.ip_connections.create( @@ -88,7 +86,6 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(IPConnectionCreateResponse, ip_connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.ip_connections.with_raw_response.create() @@ -98,7 +95,6 @@ def test_raw_response_create(self, client: Telnyx) -> None: ip_connection = response.parse() assert_matches_type(IPConnectionCreateResponse, ip_connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.ip_connections.with_streaming_response.create() as response: @@ -110,7 +106,6 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: ip_connection = client.ip_connections.retrieve( @@ -118,7 +113,6 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(IPConnectionRetrieveResponse, ip_connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.ip_connections.with_raw_response.retrieve( @@ -130,7 +124,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: ip_connection = response.parse() assert_matches_type(IPConnectionRetrieveResponse, ip_connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.ip_connections.with_streaming_response.retrieve( @@ -144,7 +137,6 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -152,7 +144,6 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update(self, client: Telnyx) -> None: ip_connection = client.ip_connections.update( @@ -160,7 +151,6 @@ def test_method_update(self, client: Telnyx) -> None: ) assert_matches_type(IPConnectionUpdateResponse, ip_connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_with_all_params(self, client: Telnyx) -> None: ip_connection = client.ip_connections.update( @@ -223,7 +213,6 @@ def test_method_update_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(IPConnectionUpdateResponse, ip_connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update(self, client: Telnyx) -> None: response = client.ip_connections.with_raw_response.update( @@ -235,7 +224,6 @@ def test_raw_response_update(self, client: Telnyx) -> None: ip_connection = response.parse() assert_matches_type(IPConnectionUpdateResponse, ip_connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update(self, client: Telnyx) -> None: with client.ip_connections.with_streaming_response.update( @@ -249,7 +237,6 @@ def test_streaming_response_update(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -257,13 +244,11 @@ def test_path_params_update(self, client: Telnyx) -> None: id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: ip_connection = client.ip_connections.list() assert_matches_type(IPConnectionListResponse, ip_connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: ip_connection = client.ip_connections.list( @@ -280,7 +265,6 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(IPConnectionListResponse, ip_connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.ip_connections.with_raw_response.list() @@ -290,7 +274,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: ip_connection = response.parse() assert_matches_type(IPConnectionListResponse, ip_connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.ip_connections.with_streaming_response.list() as response: @@ -302,7 +285,6 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: ip_connection = client.ip_connections.delete( @@ -310,7 +292,6 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert_matches_type(IPConnectionDeleteResponse, ip_connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.ip_connections.with_raw_response.delete( @@ -322,7 +303,6 @@ def test_raw_response_delete(self, client: Telnyx) -> None: ip_connection = response.parse() assert_matches_type(IPConnectionDeleteResponse, ip_connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.ip_connections.with_streaming_response.delete( @@ -336,7 +316,6 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -350,13 +329,11 @@ class TestAsyncIPConnections: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: ip_connection = await async_client.ip_connections.create() assert_matches_type(IPConnectionCreateResponse, ip_connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: ip_connection = await async_client.ip_connections.create( @@ -415,7 +392,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(IPConnectionCreateResponse, ip_connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.ip_connections.with_raw_response.create() @@ -425,7 +401,6 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: ip_connection = await response.parse() assert_matches_type(IPConnectionCreateResponse, ip_connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.ip_connections.with_streaming_response.create() as response: @@ -437,7 +412,6 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ip_connection = await async_client.ip_connections.retrieve( @@ -445,7 +419,6 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(IPConnectionRetrieveResponse, ip_connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.ip_connections.with_raw_response.retrieve( @@ -457,7 +430,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: ip_connection = await response.parse() assert_matches_type(IPConnectionRetrieveResponse, ip_connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.ip_connections.with_streaming_response.retrieve( @@ -471,7 +443,6 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -479,7 +450,6 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update(self, async_client: AsyncTelnyx) -> None: ip_connection = await async_client.ip_connections.update( @@ -487,7 +457,6 @@ async def test_method_update(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(IPConnectionUpdateResponse, ip_connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> None: ip_connection = await async_client.ip_connections.update( @@ -550,7 +519,6 @@ async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(IPConnectionUpdateResponse, ip_connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: response = await async_client.ip_connections.with_raw_response.update( @@ -562,7 +530,6 @@ async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: ip_connection = await response.parse() assert_matches_type(IPConnectionUpdateResponse, ip_connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> None: async with async_client.ip_connections.with_streaming_response.update( @@ -576,7 +543,6 @@ async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -584,13 +550,11 @@ async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: ip_connection = await async_client.ip_connections.list() assert_matches_type(IPConnectionListResponse, ip_connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: ip_connection = await async_client.ip_connections.list( @@ -607,7 +571,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(IPConnectionListResponse, ip_connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.ip_connections.with_raw_response.list() @@ -617,7 +580,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: ip_connection = await response.parse() assert_matches_type(IPConnectionListResponse, ip_connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.ip_connections.with_streaming_response.list() as response: @@ -629,7 +591,6 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ip_connection = await async_client.ip_connections.delete( @@ -637,7 +598,6 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(IPConnectionDeleteResponse, ip_connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.ip_connections.with_raw_response.delete( @@ -649,7 +609,6 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: ip_connection = await response.parse() assert_matches_type(IPConnectionDeleteResponse, ip_connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.ip_connections.with_streaming_response.delete( @@ -663,7 +622,6 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): diff --git a/tests/api_resources/test_ips.py b/tests/api_resources/test_ips.py index e4fec699..2f505585 100644 --- a/tests/api_resources/test_ips.py +++ b/tests/api_resources/test_ips.py @@ -23,7 +23,6 @@ class TestIPs: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: ip = client.ips.create( @@ -31,7 +30,6 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(IPCreateResponse, ip, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: ip = client.ips.create( @@ -41,7 +39,6 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(IPCreateResponse, ip, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.ips.with_raw_response.create( @@ -53,7 +50,6 @@ def test_raw_response_create(self, client: Telnyx) -> None: ip = response.parse() assert_matches_type(IPCreateResponse, ip, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.ips.with_streaming_response.create( @@ -67,7 +63,6 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: ip = client.ips.retrieve( @@ -75,7 +70,6 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(IPRetrieveResponse, ip, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.ips.with_raw_response.retrieve( @@ -87,7 +81,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: ip = response.parse() assert_matches_type(IPRetrieveResponse, ip, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.ips.with_streaming_response.retrieve( @@ -101,7 +94,6 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -109,7 +101,6 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update(self, client: Telnyx) -> None: ip = client.ips.update( @@ -118,7 +109,6 @@ def test_method_update(self, client: Telnyx) -> None: ) assert_matches_type(IPUpdateResponse, ip, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_with_all_params(self, client: Telnyx) -> None: ip = client.ips.update( @@ -129,7 +119,6 @@ def test_method_update_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(IPUpdateResponse, ip, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update(self, client: Telnyx) -> None: response = client.ips.with_raw_response.update( @@ -142,7 +131,6 @@ def test_raw_response_update(self, client: Telnyx) -> None: ip = response.parse() assert_matches_type(IPUpdateResponse, ip, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update(self, client: Telnyx) -> None: with client.ips.with_streaming_response.update( @@ -157,7 +145,6 @@ def test_streaming_response_update(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -166,13 +153,11 @@ def test_path_params_update(self, client: Telnyx) -> None: ip_address="192.168.0.0", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: ip = client.ips.list() assert_matches_type(IPListResponse, ip, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: ip = client.ips.list( @@ -188,7 +173,6 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(IPListResponse, ip, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.ips.with_raw_response.list() @@ -198,7 +182,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: ip = response.parse() assert_matches_type(IPListResponse, ip, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.ips.with_streaming_response.list() as response: @@ -210,7 +193,6 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: ip = client.ips.delete( @@ -218,7 +200,6 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert_matches_type(IPDeleteResponse, ip, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.ips.with_raw_response.delete( @@ -230,7 +211,6 @@ def test_raw_response_delete(self, client: Telnyx) -> None: ip = response.parse() assert_matches_type(IPDeleteResponse, ip, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.ips.with_streaming_response.delete( @@ -244,7 +224,6 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -258,7 +237,6 @@ class TestAsyncIPs: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: ip = await async_client.ips.create( @@ -266,7 +244,6 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(IPCreateResponse, ip, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: ip = await async_client.ips.create( @@ -276,7 +253,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(IPCreateResponse, ip, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.ips.with_raw_response.create( @@ -288,7 +264,6 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: ip = await response.parse() assert_matches_type(IPCreateResponse, ip, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.ips.with_streaming_response.create( @@ -302,7 +277,6 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ip = await async_client.ips.retrieve( @@ -310,7 +284,6 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(IPRetrieveResponse, ip, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.ips.with_raw_response.retrieve( @@ -322,7 +295,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: ip = await response.parse() assert_matches_type(IPRetrieveResponse, ip, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.ips.with_streaming_response.retrieve( @@ -336,7 +308,6 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -344,7 +315,6 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update(self, async_client: AsyncTelnyx) -> None: ip = await async_client.ips.update( @@ -353,7 +323,6 @@ async def test_method_update(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(IPUpdateResponse, ip, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> None: ip = await async_client.ips.update( @@ -364,7 +333,6 @@ async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(IPUpdateResponse, ip, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: response = await async_client.ips.with_raw_response.update( @@ -377,7 +345,6 @@ async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: ip = await response.parse() assert_matches_type(IPUpdateResponse, ip, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> None: async with async_client.ips.with_streaming_response.update( @@ -392,7 +359,6 @@ async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -401,13 +367,11 @@ async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: ip_address="192.168.0.0", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: ip = await async_client.ips.list() assert_matches_type(IPListResponse, ip, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: ip = await async_client.ips.list( @@ -423,7 +387,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(IPListResponse, ip, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.ips.with_raw_response.list() @@ -433,7 +396,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: ip = await response.parse() assert_matches_type(IPListResponse, ip, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.ips.with_streaming_response.list() as response: @@ -445,7 +407,6 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ip = await async_client.ips.delete( @@ -453,7 +414,6 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(IPDeleteResponse, ip, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.ips.with_raw_response.delete( @@ -465,7 +425,6 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: ip = await response.parse() assert_matches_type(IPDeleteResponse, ip, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.ips.with_streaming_response.delete( @@ -479,7 +438,6 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): diff --git a/tests/api_resources/test_ledger_billing_group_reports.py b/tests/api_resources/test_ledger_billing_group_reports.py index bafd5dea..c5538625 100644 --- a/tests/api_resources/test_ledger_billing_group_reports.py +++ b/tests/api_resources/test_ledger_billing_group_reports.py @@ -20,13 +20,11 @@ class TestLedgerBillingGroupReports: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: ledger_billing_group_report = client.ledger_billing_group_reports.create() assert_matches_type(LedgerBillingGroupReportCreateResponse, ledger_billing_group_report, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: ledger_billing_group_report = client.ledger_billing_group_reports.create( @@ -35,7 +33,6 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(LedgerBillingGroupReportCreateResponse, ledger_billing_group_report, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.ledger_billing_group_reports.with_raw_response.create() @@ -45,7 +42,6 @@ def test_raw_response_create(self, client: Telnyx) -> None: ledger_billing_group_report = response.parse() assert_matches_type(LedgerBillingGroupReportCreateResponse, ledger_billing_group_report, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.ledger_billing_group_reports.with_streaming_response.create() as response: @@ -57,7 +53,6 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: ledger_billing_group_report = client.ledger_billing_group_reports.retrieve( @@ -65,7 +60,6 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(LedgerBillingGroupReportRetrieveResponse, ledger_billing_group_report, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.ledger_billing_group_reports.with_raw_response.retrieve( @@ -77,7 +71,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: ledger_billing_group_report = response.parse() assert_matches_type(LedgerBillingGroupReportRetrieveResponse, ledger_billing_group_report, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.ledger_billing_group_reports.with_streaming_response.retrieve( @@ -93,7 +86,6 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -107,13 +99,11 @@ class TestAsyncLedgerBillingGroupReports: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: ledger_billing_group_report = await async_client.ledger_billing_group_reports.create() assert_matches_type(LedgerBillingGroupReportCreateResponse, ledger_billing_group_report, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: ledger_billing_group_report = await async_client.ledger_billing_group_reports.create( @@ -122,7 +112,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(LedgerBillingGroupReportCreateResponse, ledger_billing_group_report, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.ledger_billing_group_reports.with_raw_response.create() @@ -132,7 +121,6 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: ledger_billing_group_report = await response.parse() assert_matches_type(LedgerBillingGroupReportCreateResponse, ledger_billing_group_report, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.ledger_billing_group_reports.with_streaming_response.create() as response: @@ -144,7 +132,6 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ledger_billing_group_report = await async_client.ledger_billing_group_reports.retrieve( @@ -152,7 +139,6 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(LedgerBillingGroupReportRetrieveResponse, ledger_billing_group_report, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.ledger_billing_group_reports.with_raw_response.retrieve( @@ -164,7 +150,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: ledger_billing_group_report = await response.parse() assert_matches_type(LedgerBillingGroupReportRetrieveResponse, ledger_billing_group_report, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.ledger_billing_group_reports.with_streaming_response.retrieve( @@ -180,7 +165,6 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): diff --git a/tests/api_resources/test_list.py b/tests/api_resources/test_list.py index 1d3874eb..b847d1a0 100644 --- a/tests/api_resources/test_list.py +++ b/tests/api_resources/test_list.py @@ -17,13 +17,11 @@ class TestList: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve_all(self, client: Telnyx) -> None: list_ = client.list.retrieve_all() assert_matches_type(ListRetrieveAllResponse, list_, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve_all(self, client: Telnyx) -> None: response = client.list.with_raw_response.retrieve_all() @@ -33,7 +31,6 @@ def test_raw_response_retrieve_all(self, client: Telnyx) -> None: list_ = response.parse() assert_matches_type(ListRetrieveAllResponse, list_, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve_all(self, client: Telnyx) -> None: with client.list.with_streaming_response.retrieve_all() as response: @@ -45,7 +42,6 @@ def test_streaming_response_retrieve_all(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve_by_zone(self, client: Telnyx) -> None: list_ = client.list.retrieve_by_zone( @@ -53,7 +49,6 @@ def test_method_retrieve_by_zone(self, client: Telnyx) -> None: ) assert_matches_type(ListRetrieveByZoneResponse, list_, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve_by_zone(self, client: Telnyx) -> None: response = client.list.with_raw_response.retrieve_by_zone( @@ -65,7 +60,6 @@ def test_raw_response_retrieve_by_zone(self, client: Telnyx) -> None: list_ = response.parse() assert_matches_type(ListRetrieveByZoneResponse, list_, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve_by_zone(self, client: Telnyx) -> None: with client.list.with_streaming_response.retrieve_by_zone( @@ -79,7 +73,6 @@ def test_streaming_response_retrieve_by_zone(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve_by_zone(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `channel_zone_id` but received ''"): @@ -93,13 +86,11 @@ class TestAsyncList: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve_all(self, async_client: AsyncTelnyx) -> None: list_ = await async_client.list.retrieve_all() assert_matches_type(ListRetrieveAllResponse, list_, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve_all(self, async_client: AsyncTelnyx) -> None: response = await async_client.list.with_raw_response.retrieve_all() @@ -109,7 +100,6 @@ async def test_raw_response_retrieve_all(self, async_client: AsyncTelnyx) -> Non list_ = await response.parse() assert_matches_type(ListRetrieveAllResponse, list_, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve_all(self, async_client: AsyncTelnyx) -> None: async with async_client.list.with_streaming_response.retrieve_all() as response: @@ -121,7 +111,6 @@ async def test_streaming_response_retrieve_all(self, async_client: AsyncTelnyx) assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve_by_zone(self, async_client: AsyncTelnyx) -> None: list_ = await async_client.list.retrieve_by_zone( @@ -129,7 +118,6 @@ async def test_method_retrieve_by_zone(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ListRetrieveByZoneResponse, list_, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve_by_zone(self, async_client: AsyncTelnyx) -> None: response = await async_client.list.with_raw_response.retrieve_by_zone( @@ -141,7 +129,6 @@ async def test_raw_response_retrieve_by_zone(self, async_client: AsyncTelnyx) -> list_ = await response.parse() assert_matches_type(ListRetrieveByZoneResponse, list_, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve_by_zone(self, async_client: AsyncTelnyx) -> None: async with async_client.list.with_streaming_response.retrieve_by_zone( @@ -155,7 +142,6 @@ async def test_streaming_response_retrieve_by_zone(self, async_client: AsyncTeln assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve_by_zone(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `channel_zone_id` but received ''"): diff --git a/tests/api_resources/test_managed_accounts.py b/tests/api_resources/test_managed_accounts.py index ca56f6ac..a2a9d350 100644 --- a/tests/api_resources/test_managed_accounts.py +++ b/tests/api_resources/test_managed_accounts.py @@ -24,7 +24,6 @@ class TestManagedAccounts: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: managed_account = client.managed_accounts.create( @@ -32,7 +31,6 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(ManagedAccountCreateResponse, managed_account, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: managed_account = client.managed_accounts.create( @@ -44,7 +42,6 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ManagedAccountCreateResponse, managed_account, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.managed_accounts.with_raw_response.create( @@ -56,7 +53,6 @@ def test_raw_response_create(self, client: Telnyx) -> None: managed_account = response.parse() assert_matches_type(ManagedAccountCreateResponse, managed_account, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.managed_accounts.with_streaming_response.create( @@ -70,7 +66,6 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: managed_account = client.managed_accounts.retrieve( @@ -78,7 +73,6 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(ManagedAccountRetrieveResponse, managed_account, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.managed_accounts.with_raw_response.retrieve( @@ -90,7 +84,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: managed_account = response.parse() assert_matches_type(ManagedAccountRetrieveResponse, managed_account, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.managed_accounts.with_streaming_response.retrieve( @@ -104,7 +97,6 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -112,7 +104,6 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update(self, client: Telnyx) -> None: managed_account = client.managed_accounts.update( @@ -120,7 +111,6 @@ def test_method_update(self, client: Telnyx) -> None: ) assert_matches_type(ManagedAccountUpdateResponse, managed_account, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_with_all_params(self, client: Telnyx) -> None: managed_account = client.managed_accounts.update( @@ -129,7 +119,6 @@ def test_method_update_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ManagedAccountUpdateResponse, managed_account, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update(self, client: Telnyx) -> None: response = client.managed_accounts.with_raw_response.update( @@ -141,7 +130,6 @@ def test_raw_response_update(self, client: Telnyx) -> None: managed_account = response.parse() assert_matches_type(ManagedAccountUpdateResponse, managed_account, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update(self, client: Telnyx) -> None: with client.managed_accounts.with_streaming_response.update( @@ -155,7 +143,6 @@ def test_streaming_response_update(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -163,13 +150,11 @@ def test_path_params_update(self, client: Telnyx) -> None: id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: managed_account = client.managed_accounts.list() assert_matches_type(ManagedAccountListResponse, managed_account, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: managed_account = client.managed_accounts.list( @@ -192,7 +177,6 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ManagedAccountListResponse, managed_account, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.managed_accounts.with_raw_response.list() @@ -202,7 +186,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: managed_account = response.parse() assert_matches_type(ManagedAccountListResponse, managed_account, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.managed_accounts.with_streaming_response.list() as response: @@ -214,7 +197,6 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_get_allocatable_global_outbound_channels(self, client: Telnyx) -> None: managed_account = client.managed_accounts.get_allocatable_global_outbound_channels() @@ -222,7 +204,6 @@ def test_method_get_allocatable_global_outbound_channels(self, client: Telnyx) - ManagedAccountGetAllocatableGlobalOutboundChannelsResponse, managed_account, path=["response"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_get_allocatable_global_outbound_channels(self, client: Telnyx) -> None: response = client.managed_accounts.with_raw_response.get_allocatable_global_outbound_channels() @@ -234,7 +215,6 @@ def test_raw_response_get_allocatable_global_outbound_channels(self, client: Tel ManagedAccountGetAllocatableGlobalOutboundChannelsResponse, managed_account, path=["response"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_get_allocatable_global_outbound_channels(self, client: Telnyx) -> None: with client.managed_accounts.with_streaming_response.get_allocatable_global_outbound_channels() as response: @@ -248,7 +228,6 @@ def test_streaming_response_get_allocatable_global_outbound_channels(self, clien assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_global_channel_limit(self, client: Telnyx) -> None: managed_account = client.managed_accounts.update_global_channel_limit( @@ -256,7 +235,6 @@ def test_method_update_global_channel_limit(self, client: Telnyx) -> None: ) assert_matches_type(ManagedAccountUpdateGlobalChannelLimitResponse, managed_account, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_global_channel_limit_with_all_params(self, client: Telnyx) -> None: managed_account = client.managed_accounts.update_global_channel_limit( @@ -265,7 +243,6 @@ def test_method_update_global_channel_limit_with_all_params(self, client: Telnyx ) assert_matches_type(ManagedAccountUpdateGlobalChannelLimitResponse, managed_account, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update_global_channel_limit(self, client: Telnyx) -> None: response = client.managed_accounts.with_raw_response.update_global_channel_limit( @@ -277,7 +254,6 @@ def test_raw_response_update_global_channel_limit(self, client: Telnyx) -> None: managed_account = response.parse() assert_matches_type(ManagedAccountUpdateGlobalChannelLimitResponse, managed_account, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update_global_channel_limit(self, client: Telnyx) -> None: with client.managed_accounts.with_streaming_response.update_global_channel_limit( @@ -291,7 +267,6 @@ def test_streaming_response_update_global_channel_limit(self, client: Telnyx) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update_global_channel_limit(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -305,7 +280,6 @@ class TestAsyncManagedAccounts: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: managed_account = await async_client.managed_accounts.create( @@ -313,7 +287,6 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ManagedAccountCreateResponse, managed_account, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: managed_account = await async_client.managed_accounts.create( @@ -325,7 +298,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(ManagedAccountCreateResponse, managed_account, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.managed_accounts.with_raw_response.create( @@ -337,7 +309,6 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: managed_account = await response.parse() assert_matches_type(ManagedAccountCreateResponse, managed_account, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.managed_accounts.with_streaming_response.create( @@ -351,7 +322,6 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: managed_account = await async_client.managed_accounts.retrieve( @@ -359,7 +329,6 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ManagedAccountRetrieveResponse, managed_account, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.managed_accounts.with_raw_response.retrieve( @@ -371,7 +340,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: managed_account = await response.parse() assert_matches_type(ManagedAccountRetrieveResponse, managed_account, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.managed_accounts.with_streaming_response.retrieve( @@ -385,7 +353,6 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -393,7 +360,6 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update(self, async_client: AsyncTelnyx) -> None: managed_account = await async_client.managed_accounts.update( @@ -401,7 +367,6 @@ async def test_method_update(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ManagedAccountUpdateResponse, managed_account, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> None: managed_account = await async_client.managed_accounts.update( @@ -410,7 +375,6 @@ async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(ManagedAccountUpdateResponse, managed_account, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: response = await async_client.managed_accounts.with_raw_response.update( @@ -422,7 +386,6 @@ async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: managed_account = await response.parse() assert_matches_type(ManagedAccountUpdateResponse, managed_account, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> None: async with async_client.managed_accounts.with_streaming_response.update( @@ -436,7 +399,6 @@ async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -444,13 +406,11 @@ async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: managed_account = await async_client.managed_accounts.list() assert_matches_type(ManagedAccountListResponse, managed_account, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: managed_account = await async_client.managed_accounts.list( @@ -473,7 +433,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(ManagedAccountListResponse, managed_account, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.managed_accounts.with_raw_response.list() @@ -483,7 +442,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: managed_account = await response.parse() assert_matches_type(ManagedAccountListResponse, managed_account, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.managed_accounts.with_streaming_response.list() as response: @@ -495,7 +453,6 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_get_allocatable_global_outbound_channels(self, async_client: AsyncTelnyx) -> None: managed_account = await async_client.managed_accounts.get_allocatable_global_outbound_channels() @@ -503,7 +460,6 @@ async def test_method_get_allocatable_global_outbound_channels(self, async_clien ManagedAccountGetAllocatableGlobalOutboundChannelsResponse, managed_account, path=["response"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_get_allocatable_global_outbound_channels(self, async_client: AsyncTelnyx) -> None: response = await async_client.managed_accounts.with_raw_response.get_allocatable_global_outbound_channels() @@ -515,7 +471,6 @@ async def test_raw_response_get_allocatable_global_outbound_channels(self, async ManagedAccountGetAllocatableGlobalOutboundChannelsResponse, managed_account, path=["response"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_get_allocatable_global_outbound_channels(self, async_client: AsyncTelnyx) -> None: async with ( @@ -531,7 +486,6 @@ async def test_streaming_response_get_allocatable_global_outbound_channels(self, assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_global_channel_limit(self, async_client: AsyncTelnyx) -> None: managed_account = await async_client.managed_accounts.update_global_channel_limit( @@ -539,7 +493,6 @@ async def test_method_update_global_channel_limit(self, async_client: AsyncTelny ) assert_matches_type(ManagedAccountUpdateGlobalChannelLimitResponse, managed_account, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_global_channel_limit_with_all_params(self, async_client: AsyncTelnyx) -> None: managed_account = await async_client.managed_accounts.update_global_channel_limit( @@ -548,7 +501,6 @@ async def test_method_update_global_channel_limit_with_all_params(self, async_cl ) assert_matches_type(ManagedAccountUpdateGlobalChannelLimitResponse, managed_account, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update_global_channel_limit(self, async_client: AsyncTelnyx) -> None: response = await async_client.managed_accounts.with_raw_response.update_global_channel_limit( @@ -560,7 +512,6 @@ async def test_raw_response_update_global_channel_limit(self, async_client: Asyn managed_account = await response.parse() assert_matches_type(ManagedAccountUpdateGlobalChannelLimitResponse, managed_account, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update_global_channel_limit(self, async_client: AsyncTelnyx) -> None: async with async_client.managed_accounts.with_streaming_response.update_global_channel_limit( @@ -574,7 +525,6 @@ async def test_streaming_response_update_global_channel_limit(self, async_client assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update_global_channel_limit(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): diff --git a/tests/api_resources/test_media.py b/tests/api_resources/test_media.py index c6c1340f..99a9108c 100644 --- a/tests/api_resources/test_media.py +++ b/tests/api_resources/test_media.py @@ -30,7 +30,6 @@ class TestMedia: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: media = client.media.retrieve( @@ -38,7 +37,6 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(MediaRetrieveResponse, media, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.media.with_raw_response.retrieve( @@ -50,7 +48,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: media = response.parse() assert_matches_type(MediaRetrieveResponse, media, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.media.with_streaming_response.retrieve( @@ -64,7 +61,6 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `media_name` but received ''"): @@ -72,7 +68,6 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update(self, client: Telnyx) -> None: media = client.media.update( @@ -80,7 +75,6 @@ def test_method_update(self, client: Telnyx) -> None: ) assert_matches_type(MediaUpdateResponse, media, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_with_all_params(self, client: Telnyx) -> None: media = client.media.update( @@ -90,7 +84,6 @@ def test_method_update_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(MediaUpdateResponse, media, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update(self, client: Telnyx) -> None: response = client.media.with_raw_response.update( @@ -102,7 +95,6 @@ def test_raw_response_update(self, client: Telnyx) -> None: media = response.parse() assert_matches_type(MediaUpdateResponse, media, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update(self, client: Telnyx) -> None: with client.media.with_streaming_response.update( @@ -116,7 +108,6 @@ def test_streaming_response_update(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `media_name` but received ''"): @@ -124,13 +115,11 @@ def test_path_params_update(self, client: Telnyx) -> None: media_name="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: media = client.media.list() assert_matches_type(MediaListResponse, media, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: media = client.media.list( @@ -138,7 +127,6 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(MediaListResponse, media, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.media.with_raw_response.list() @@ -148,7 +136,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: media = response.parse() assert_matches_type(MediaListResponse, media, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.media.with_streaming_response.list() as response: @@ -160,7 +147,6 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: media = client.media.delete( @@ -168,7 +154,6 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert media is None - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.media.with_raw_response.delete( @@ -180,7 +165,6 @@ def test_raw_response_delete(self, client: Telnyx) -> None: media = response.parse() assert media is None - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.media.with_streaming_response.delete( @@ -194,7 +178,6 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `media_name` but received ''"): @@ -252,7 +235,6 @@ def test_path_params_download(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_upload(self, client: Telnyx) -> None: media = client.media.upload( @@ -260,7 +242,6 @@ def test_method_upload(self, client: Telnyx) -> None: ) assert_matches_type(MediaUploadResponse, media, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_upload_with_all_params(self, client: Telnyx) -> None: media = client.media.upload( @@ -270,7 +251,6 @@ def test_method_upload_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(MediaUploadResponse, media, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_upload(self, client: Telnyx) -> None: response = client.media.with_raw_response.upload( @@ -282,7 +262,6 @@ def test_raw_response_upload(self, client: Telnyx) -> None: media = response.parse() assert_matches_type(MediaUploadResponse, media, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_upload(self, client: Telnyx) -> None: with client.media.with_streaming_response.upload( @@ -302,7 +281,6 @@ class TestAsyncMedia: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: media = await async_client.media.retrieve( @@ -310,7 +288,6 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(MediaRetrieveResponse, media, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.media.with_raw_response.retrieve( @@ -322,7 +299,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: media = await response.parse() assert_matches_type(MediaRetrieveResponse, media, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.media.with_streaming_response.retrieve( @@ -336,7 +312,6 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `media_name` but received ''"): @@ -344,7 +319,6 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update(self, async_client: AsyncTelnyx) -> None: media = await async_client.media.update( @@ -352,7 +326,6 @@ async def test_method_update(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(MediaUpdateResponse, media, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> None: media = await async_client.media.update( @@ -362,7 +335,6 @@ async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(MediaUpdateResponse, media, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: response = await async_client.media.with_raw_response.update( @@ -374,7 +346,6 @@ async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: media = await response.parse() assert_matches_type(MediaUpdateResponse, media, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> None: async with async_client.media.with_streaming_response.update( @@ -388,7 +359,6 @@ async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `media_name` but received ''"): @@ -396,13 +366,11 @@ async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: media_name="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: media = await async_client.media.list() assert_matches_type(MediaListResponse, media, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: media = await async_client.media.list( @@ -410,7 +378,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(MediaListResponse, media, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.media.with_raw_response.list() @@ -420,7 +387,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: media = await response.parse() assert_matches_type(MediaListResponse, media, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.media.with_streaming_response.list() as response: @@ -432,7 +398,6 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: media = await async_client.media.delete( @@ -440,7 +405,6 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert media is None - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.media.with_raw_response.delete( @@ -452,7 +416,6 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: media = await response.parse() assert media is None - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.media.with_streaming_response.delete( @@ -466,7 +429,6 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `media_name` but received ''"): @@ -524,7 +486,6 @@ async def test_path_params_download(self, async_client: AsyncTelnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_upload(self, async_client: AsyncTelnyx) -> None: media = await async_client.media.upload( @@ -532,7 +493,6 @@ async def test_method_upload(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(MediaUploadResponse, media, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_upload_with_all_params(self, async_client: AsyncTelnyx) -> None: media = await async_client.media.upload( @@ -542,7 +502,6 @@ async def test_method_upload_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(MediaUploadResponse, media, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_upload(self, async_client: AsyncTelnyx) -> None: response = await async_client.media.with_raw_response.upload( @@ -554,7 +513,6 @@ async def test_raw_response_upload(self, async_client: AsyncTelnyx) -> None: media = await response.parse() assert_matches_type(MediaUploadResponse, media, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_upload(self, async_client: AsyncTelnyx) -> None: async with async_client.media.with_streaming_response.upload( diff --git a/tests/api_resources/test_messages.py b/tests/api_resources/test_messages.py index 21fa5beb..3c1a8533 100644 --- a/tests/api_resources/test_messages.py +++ b/tests/api_resources/test_messages.py @@ -27,7 +27,6 @@ class TestMessages: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: message = client.messages.retrieve( @@ -35,7 +34,6 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(MessageRetrieveResponse, message, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.messages.with_raw_response.retrieve( @@ -47,7 +45,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: message = response.parse() assert_matches_type(MessageRetrieveResponse, message, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.messages.with_streaming_response.retrieve( @@ -61,7 +58,6 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -69,7 +65,6 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_cancel_scheduled(self, client: Telnyx) -> None: message = client.messages.cancel_scheduled( @@ -77,7 +72,6 @@ def test_method_cancel_scheduled(self, client: Telnyx) -> None: ) assert_matches_type(MessageCancelScheduledResponse, message, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_cancel_scheduled(self, client: Telnyx) -> None: response = client.messages.with_raw_response.cancel_scheduled( @@ -89,7 +83,6 @@ def test_raw_response_cancel_scheduled(self, client: Telnyx) -> None: message = response.parse() assert_matches_type(MessageCancelScheduledResponse, message, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_cancel_scheduled(self, client: Telnyx) -> None: with client.messages.with_streaming_response.cancel_scheduled( @@ -103,7 +96,6 @@ def test_streaming_response_cancel_scheduled(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_cancel_scheduled(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -111,7 +103,6 @@ def test_path_params_cancel_scheduled(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_schedule(self, client: Telnyx) -> None: message = client.messages.schedule( @@ -119,7 +110,6 @@ def test_method_schedule(self, client: Telnyx) -> None: ) assert_matches_type(MessageScheduleResponse, message, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_schedule_with_all_params(self, client: Telnyx) -> None: message = client.messages.schedule( @@ -138,7 +128,6 @@ def test_method_schedule_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(MessageScheduleResponse, message, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_schedule(self, client: Telnyx) -> None: response = client.messages.with_raw_response.schedule( @@ -150,7 +139,6 @@ def test_raw_response_schedule(self, client: Telnyx) -> None: message = response.parse() assert_matches_type(MessageScheduleResponse, message, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_schedule(self, client: Telnyx) -> None: with client.messages.with_streaming_response.schedule( @@ -164,7 +152,6 @@ def test_streaming_response_schedule(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_send(self, client: Telnyx) -> None: message = client.messages.send( @@ -172,7 +159,6 @@ def test_method_send(self, client: Telnyx) -> None: ) assert_matches_type(MessageSendResponse, message, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_send_with_all_params(self, client: Telnyx) -> None: message = client.messages.send( @@ -191,7 +177,6 @@ def test_method_send_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(MessageSendResponse, message, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_send(self, client: Telnyx) -> None: response = client.messages.with_raw_response.send( @@ -203,7 +188,6 @@ def test_raw_response_send(self, client: Telnyx) -> None: message = response.parse() assert_matches_type(MessageSendResponse, message, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_send(self, client: Telnyx) -> None: with client.messages.with_streaming_response.send( @@ -217,7 +201,6 @@ def test_streaming_response_send(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_send_group_mms(self, client: Telnyx) -> None: message = client.messages.send_group_mms( @@ -226,7 +209,6 @@ def test_method_send_group_mms(self, client: Telnyx) -> None: ) assert_matches_type(MessageSendGroupMmsResponse, message, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_send_group_mms_with_all_params(self, client: Telnyx) -> None: message = client.messages.send_group_mms( @@ -241,7 +223,6 @@ def test_method_send_group_mms_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(MessageSendGroupMmsResponse, message, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_send_group_mms(self, client: Telnyx) -> None: response = client.messages.with_raw_response.send_group_mms( @@ -254,7 +235,6 @@ def test_raw_response_send_group_mms(self, client: Telnyx) -> None: message = response.parse() assert_matches_type(MessageSendGroupMmsResponse, message, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_send_group_mms(self, client: Telnyx) -> None: with client.messages.with_streaming_response.send_group_mms( @@ -269,7 +249,6 @@ def test_streaming_response_send_group_mms(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_send_long_code(self, client: Telnyx) -> None: message = client.messages.send_long_code( @@ -278,7 +257,6 @@ def test_method_send_long_code(self, client: Telnyx) -> None: ) assert_matches_type(MessageSendLongCodeResponse, message, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_send_long_code_with_all_params(self, client: Telnyx) -> None: message = client.messages.send_long_code( @@ -295,7 +273,6 @@ def test_method_send_long_code_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(MessageSendLongCodeResponse, message, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_send_long_code(self, client: Telnyx) -> None: response = client.messages.with_raw_response.send_long_code( @@ -308,7 +285,6 @@ def test_raw_response_send_long_code(self, client: Telnyx) -> None: message = response.parse() assert_matches_type(MessageSendLongCodeResponse, message, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_send_long_code(self, client: Telnyx) -> None: with client.messages.with_streaming_response.send_long_code( @@ -323,7 +299,6 @@ def test_streaming_response_send_long_code(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_send_number_pool(self, client: Telnyx) -> None: message = client.messages.send_number_pool( @@ -332,7 +307,6 @@ def test_method_send_number_pool(self, client: Telnyx) -> None: ) assert_matches_type(MessageSendNumberPoolResponse, message, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_send_number_pool_with_all_params(self, client: Telnyx) -> None: message = client.messages.send_number_pool( @@ -349,7 +323,6 @@ def test_method_send_number_pool_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(MessageSendNumberPoolResponse, message, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_send_number_pool(self, client: Telnyx) -> None: response = client.messages.with_raw_response.send_number_pool( @@ -362,7 +335,6 @@ def test_raw_response_send_number_pool(self, client: Telnyx) -> None: message = response.parse() assert_matches_type(MessageSendNumberPoolResponse, message, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_send_number_pool(self, client: Telnyx) -> None: with client.messages.with_streaming_response.send_number_pool( @@ -377,7 +349,6 @@ def test_streaming_response_send_number_pool(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_send_short_code(self, client: Telnyx) -> None: message = client.messages.send_short_code( @@ -386,7 +357,6 @@ def test_method_send_short_code(self, client: Telnyx) -> None: ) assert_matches_type(MessageSendShortCodeResponse, message, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_send_short_code_with_all_params(self, client: Telnyx) -> None: message = client.messages.send_short_code( @@ -403,7 +373,6 @@ def test_method_send_short_code_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(MessageSendShortCodeResponse, message, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_send_short_code(self, client: Telnyx) -> None: response = client.messages.with_raw_response.send_short_code( @@ -416,7 +385,6 @@ def test_raw_response_send_short_code(self, client: Telnyx) -> None: message = response.parse() assert_matches_type(MessageSendShortCodeResponse, message, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_send_short_code(self, client: Telnyx) -> None: with client.messages.with_streaming_response.send_short_code( @@ -437,7 +405,6 @@ class TestAsyncMessages: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: message = await async_client.messages.retrieve( @@ -445,7 +412,6 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(MessageRetrieveResponse, message, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.messages.with_raw_response.retrieve( @@ -457,7 +423,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: message = await response.parse() assert_matches_type(MessageRetrieveResponse, message, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.messages.with_streaming_response.retrieve( @@ -471,7 +436,6 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -479,7 +443,6 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_cancel_scheduled(self, async_client: AsyncTelnyx) -> None: message = await async_client.messages.cancel_scheduled( @@ -487,7 +450,6 @@ async def test_method_cancel_scheduled(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(MessageCancelScheduledResponse, message, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_cancel_scheduled(self, async_client: AsyncTelnyx) -> None: response = await async_client.messages.with_raw_response.cancel_scheduled( @@ -499,7 +461,6 @@ async def test_raw_response_cancel_scheduled(self, async_client: AsyncTelnyx) -> message = await response.parse() assert_matches_type(MessageCancelScheduledResponse, message, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_cancel_scheduled(self, async_client: AsyncTelnyx) -> None: async with async_client.messages.with_streaming_response.cancel_scheduled( @@ -513,7 +474,6 @@ async def test_streaming_response_cancel_scheduled(self, async_client: AsyncTeln assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_cancel_scheduled(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -521,7 +481,6 @@ async def test_path_params_cancel_scheduled(self, async_client: AsyncTelnyx) -> "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_schedule(self, async_client: AsyncTelnyx) -> None: message = await async_client.messages.schedule( @@ -529,7 +488,6 @@ async def test_method_schedule(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(MessageScheduleResponse, message, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_schedule_with_all_params(self, async_client: AsyncTelnyx) -> None: message = await async_client.messages.schedule( @@ -548,7 +506,6 @@ async def test_method_schedule_with_all_params(self, async_client: AsyncTelnyx) ) assert_matches_type(MessageScheduleResponse, message, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_schedule(self, async_client: AsyncTelnyx) -> None: response = await async_client.messages.with_raw_response.schedule( @@ -560,7 +517,6 @@ async def test_raw_response_schedule(self, async_client: AsyncTelnyx) -> None: message = await response.parse() assert_matches_type(MessageScheduleResponse, message, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_schedule(self, async_client: AsyncTelnyx) -> None: async with async_client.messages.with_streaming_response.schedule( @@ -574,7 +530,6 @@ async def test_streaming_response_schedule(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_send(self, async_client: AsyncTelnyx) -> None: message = await async_client.messages.send( @@ -582,7 +537,6 @@ async def test_method_send(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(MessageSendResponse, message, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_send_with_all_params(self, async_client: AsyncTelnyx) -> None: message = await async_client.messages.send( @@ -601,7 +555,6 @@ async def test_method_send_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(MessageSendResponse, message, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_send(self, async_client: AsyncTelnyx) -> None: response = await async_client.messages.with_raw_response.send( @@ -613,7 +566,6 @@ async def test_raw_response_send(self, async_client: AsyncTelnyx) -> None: message = await response.parse() assert_matches_type(MessageSendResponse, message, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_send(self, async_client: AsyncTelnyx) -> None: async with async_client.messages.with_streaming_response.send( @@ -627,7 +579,6 @@ async def test_streaming_response_send(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_send_group_mms(self, async_client: AsyncTelnyx) -> None: message = await async_client.messages.send_group_mms( @@ -636,7 +587,6 @@ async def test_method_send_group_mms(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(MessageSendGroupMmsResponse, message, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_send_group_mms_with_all_params(self, async_client: AsyncTelnyx) -> None: message = await async_client.messages.send_group_mms( @@ -651,7 +601,6 @@ async def test_method_send_group_mms_with_all_params(self, async_client: AsyncTe ) assert_matches_type(MessageSendGroupMmsResponse, message, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_send_group_mms(self, async_client: AsyncTelnyx) -> None: response = await async_client.messages.with_raw_response.send_group_mms( @@ -664,7 +613,6 @@ async def test_raw_response_send_group_mms(self, async_client: AsyncTelnyx) -> N message = await response.parse() assert_matches_type(MessageSendGroupMmsResponse, message, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_send_group_mms(self, async_client: AsyncTelnyx) -> None: async with async_client.messages.with_streaming_response.send_group_mms( @@ -679,7 +627,6 @@ async def test_streaming_response_send_group_mms(self, async_client: AsyncTelnyx assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_send_long_code(self, async_client: AsyncTelnyx) -> None: message = await async_client.messages.send_long_code( @@ -688,7 +635,6 @@ async def test_method_send_long_code(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(MessageSendLongCodeResponse, message, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_send_long_code_with_all_params(self, async_client: AsyncTelnyx) -> None: message = await async_client.messages.send_long_code( @@ -705,7 +651,6 @@ async def test_method_send_long_code_with_all_params(self, async_client: AsyncTe ) assert_matches_type(MessageSendLongCodeResponse, message, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_send_long_code(self, async_client: AsyncTelnyx) -> None: response = await async_client.messages.with_raw_response.send_long_code( @@ -718,7 +663,6 @@ async def test_raw_response_send_long_code(self, async_client: AsyncTelnyx) -> N message = await response.parse() assert_matches_type(MessageSendLongCodeResponse, message, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_send_long_code(self, async_client: AsyncTelnyx) -> None: async with async_client.messages.with_streaming_response.send_long_code( @@ -733,7 +677,6 @@ async def test_streaming_response_send_long_code(self, async_client: AsyncTelnyx assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_send_number_pool(self, async_client: AsyncTelnyx) -> None: message = await async_client.messages.send_number_pool( @@ -742,7 +685,6 @@ async def test_method_send_number_pool(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(MessageSendNumberPoolResponse, message, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_send_number_pool_with_all_params(self, async_client: AsyncTelnyx) -> None: message = await async_client.messages.send_number_pool( @@ -759,7 +701,6 @@ async def test_method_send_number_pool_with_all_params(self, async_client: Async ) assert_matches_type(MessageSendNumberPoolResponse, message, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_send_number_pool(self, async_client: AsyncTelnyx) -> None: response = await async_client.messages.with_raw_response.send_number_pool( @@ -772,7 +713,6 @@ async def test_raw_response_send_number_pool(self, async_client: AsyncTelnyx) -> message = await response.parse() assert_matches_type(MessageSendNumberPoolResponse, message, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_send_number_pool(self, async_client: AsyncTelnyx) -> None: async with async_client.messages.with_streaming_response.send_number_pool( @@ -787,7 +727,6 @@ async def test_streaming_response_send_number_pool(self, async_client: AsyncTeln assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_send_short_code(self, async_client: AsyncTelnyx) -> None: message = await async_client.messages.send_short_code( @@ -796,7 +735,6 @@ async def test_method_send_short_code(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(MessageSendShortCodeResponse, message, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_send_short_code_with_all_params(self, async_client: AsyncTelnyx) -> None: message = await async_client.messages.send_short_code( @@ -813,7 +751,6 @@ async def test_method_send_short_code_with_all_params(self, async_client: AsyncT ) assert_matches_type(MessageSendShortCodeResponse, message, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_send_short_code(self, async_client: AsyncTelnyx) -> None: response = await async_client.messages.with_raw_response.send_short_code( @@ -826,7 +763,6 @@ async def test_raw_response_send_short_code(self, async_client: AsyncTelnyx) -> message = await response.parse() assert_matches_type(MessageSendShortCodeResponse, message, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_send_short_code(self, async_client: AsyncTelnyx) -> None: async with async_client.messages.with_streaming_response.send_short_code( diff --git a/tests/api_resources/test_messaging_hosted_number_orders.py b/tests/api_resources/test_messaging_hosted_number_orders.py index b51dad59..13da8e22 100644 --- a/tests/api_resources/test_messaging_hosted_number_orders.py +++ b/tests/api_resources/test_messaging_hosted_number_orders.py @@ -25,13 +25,11 @@ class TestMessagingHostedNumberOrders: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: messaging_hosted_number_order = client.messaging_hosted_number_orders.create() assert_matches_type(MessagingHostedNumberOrderCreateResponse, messaging_hosted_number_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: messaging_hosted_number_order = client.messaging_hosted_number_orders.create( @@ -40,7 +38,6 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(MessagingHostedNumberOrderCreateResponse, messaging_hosted_number_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.messaging_hosted_number_orders.with_raw_response.create() @@ -50,7 +47,6 @@ def test_raw_response_create(self, client: Telnyx) -> None: messaging_hosted_number_order = response.parse() assert_matches_type(MessagingHostedNumberOrderCreateResponse, messaging_hosted_number_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.messaging_hosted_number_orders.with_streaming_response.create() as response: @@ -64,7 +60,6 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: messaging_hosted_number_order = client.messaging_hosted_number_orders.retrieve( @@ -74,7 +69,6 @@ def test_method_retrieve(self, client: Telnyx) -> None: MessagingHostedNumberOrderRetrieveResponse, messaging_hosted_number_order, path=["response"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.messaging_hosted_number_orders.with_raw_response.retrieve( @@ -88,7 +82,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: MessagingHostedNumberOrderRetrieveResponse, messaging_hosted_number_order, path=["response"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.messaging_hosted_number_orders.with_streaming_response.retrieve( @@ -104,7 +97,6 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -112,13 +104,11 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: messaging_hosted_number_order = client.messaging_hosted_number_orders.list() assert_matches_type(MessagingHostedNumberOrderListResponse, messaging_hosted_number_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: messaging_hosted_number_order = client.messaging_hosted_number_orders.list( @@ -129,7 +119,6 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(MessagingHostedNumberOrderListResponse, messaging_hosted_number_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.messaging_hosted_number_orders.with_raw_response.list() @@ -139,7 +128,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: messaging_hosted_number_order = response.parse() assert_matches_type(MessagingHostedNumberOrderListResponse, messaging_hosted_number_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.messaging_hosted_number_orders.with_streaming_response.list() as response: @@ -153,7 +141,6 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: messaging_hosted_number_order = client.messaging_hosted_number_orders.delete( @@ -161,7 +148,6 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert_matches_type(MessagingHostedNumberOrderDeleteResponse, messaging_hosted_number_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.messaging_hosted_number_orders.with_raw_response.delete( @@ -173,7 +159,6 @@ def test_raw_response_delete(self, client: Telnyx) -> None: messaging_hosted_number_order = response.parse() assert_matches_type(MessagingHostedNumberOrderDeleteResponse, messaging_hosted_number_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.messaging_hosted_number_orders.with_streaming_response.delete( @@ -189,7 +174,6 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -197,7 +181,6 @@ def test_path_params_delete(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_check_eligibility(self, client: Telnyx) -> None: messaging_hosted_number_order = client.messaging_hosted_number_orders.check_eligibility( @@ -207,7 +190,6 @@ def test_method_check_eligibility(self, client: Telnyx) -> None: MessagingHostedNumberOrderCheckEligibilityResponse, messaging_hosted_number_order, path=["response"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_check_eligibility(self, client: Telnyx) -> None: response = client.messaging_hosted_number_orders.with_raw_response.check_eligibility( @@ -221,7 +203,6 @@ def test_raw_response_check_eligibility(self, client: Telnyx) -> None: MessagingHostedNumberOrderCheckEligibilityResponse, messaging_hosted_number_order, path=["response"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_check_eligibility(self, client: Telnyx) -> None: with client.messaging_hosted_number_orders.with_streaming_response.check_eligibility( @@ -237,7 +218,6 @@ def test_streaming_response_check_eligibility(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_verification_codes(self, client: Telnyx) -> None: messaging_hosted_number_order = client.messaging_hosted_number_orders.create_verification_codes( @@ -249,7 +229,6 @@ def test_method_create_verification_codes(self, client: Telnyx) -> None: MessagingHostedNumberOrderCreateVerificationCodesResponse, messaging_hosted_number_order, path=["response"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create_verification_codes(self, client: Telnyx) -> None: response = client.messaging_hosted_number_orders.with_raw_response.create_verification_codes( @@ -265,7 +244,6 @@ def test_raw_response_create_verification_codes(self, client: Telnyx) -> None: MessagingHostedNumberOrderCreateVerificationCodesResponse, messaging_hosted_number_order, path=["response"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create_verification_codes(self, client: Telnyx) -> None: with client.messaging_hosted_number_orders.with_streaming_response.create_verification_codes( @@ -285,7 +263,6 @@ def test_streaming_response_create_verification_codes(self, client: Telnyx) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_create_verification_codes(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -295,7 +272,6 @@ def test_path_params_create_verification_codes(self, client: Telnyx) -> None: verification_method="sms", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_validate_codes(self, client: Telnyx) -> None: messaging_hosted_number_order = client.messaging_hosted_number_orders.validate_codes( @@ -311,7 +287,6 @@ def test_method_validate_codes(self, client: Telnyx) -> None: MessagingHostedNumberOrderValidateCodesResponse, messaging_hosted_number_order, path=["response"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_validate_codes(self, client: Telnyx) -> None: response = client.messaging_hosted_number_orders.with_raw_response.validate_codes( @@ -331,7 +306,6 @@ def test_raw_response_validate_codes(self, client: Telnyx) -> None: MessagingHostedNumberOrderValidateCodesResponse, messaging_hosted_number_order, path=["response"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_validate_codes(self, client: Telnyx) -> None: with client.messaging_hosted_number_orders.with_streaming_response.validate_codes( @@ -353,7 +327,6 @@ def test_streaming_response_validate_codes(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_validate_codes(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -373,13 +346,11 @@ class TestAsyncMessagingHostedNumberOrders: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: messaging_hosted_number_order = await async_client.messaging_hosted_number_orders.create() assert_matches_type(MessagingHostedNumberOrderCreateResponse, messaging_hosted_number_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: messaging_hosted_number_order = await async_client.messaging_hosted_number_orders.create( @@ -388,7 +359,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(MessagingHostedNumberOrderCreateResponse, messaging_hosted_number_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.messaging_hosted_number_orders.with_raw_response.create() @@ -398,7 +368,6 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: messaging_hosted_number_order = await response.parse() assert_matches_type(MessagingHostedNumberOrderCreateResponse, messaging_hosted_number_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.messaging_hosted_number_orders.with_streaming_response.create() as response: @@ -412,7 +381,6 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: messaging_hosted_number_order = await async_client.messaging_hosted_number_orders.retrieve( @@ -422,7 +390,6 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: MessagingHostedNumberOrderRetrieveResponse, messaging_hosted_number_order, path=["response"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.messaging_hosted_number_orders.with_raw_response.retrieve( @@ -436,7 +403,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: MessagingHostedNumberOrderRetrieveResponse, messaging_hosted_number_order, path=["response"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.messaging_hosted_number_orders.with_streaming_response.retrieve( @@ -452,7 +418,6 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -460,13 +425,11 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: messaging_hosted_number_order = await async_client.messaging_hosted_number_orders.list() assert_matches_type(MessagingHostedNumberOrderListResponse, messaging_hosted_number_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: messaging_hosted_number_order = await async_client.messaging_hosted_number_orders.list( @@ -477,7 +440,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(MessagingHostedNumberOrderListResponse, messaging_hosted_number_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.messaging_hosted_number_orders.with_raw_response.list() @@ -487,7 +449,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: messaging_hosted_number_order = await response.parse() assert_matches_type(MessagingHostedNumberOrderListResponse, messaging_hosted_number_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.messaging_hosted_number_orders.with_streaming_response.list() as response: @@ -501,7 +462,6 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: messaging_hosted_number_order = await async_client.messaging_hosted_number_orders.delete( @@ -509,7 +469,6 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(MessagingHostedNumberOrderDeleteResponse, messaging_hosted_number_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.messaging_hosted_number_orders.with_raw_response.delete( @@ -521,7 +480,6 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: messaging_hosted_number_order = await response.parse() assert_matches_type(MessagingHostedNumberOrderDeleteResponse, messaging_hosted_number_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.messaging_hosted_number_orders.with_streaming_response.delete( @@ -537,7 +495,6 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -545,7 +502,6 @@ async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_check_eligibility(self, async_client: AsyncTelnyx) -> None: messaging_hosted_number_order = await async_client.messaging_hosted_number_orders.check_eligibility( @@ -555,7 +511,6 @@ async def test_method_check_eligibility(self, async_client: AsyncTelnyx) -> None MessagingHostedNumberOrderCheckEligibilityResponse, messaging_hosted_number_order, path=["response"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_check_eligibility(self, async_client: AsyncTelnyx) -> None: response = await async_client.messaging_hosted_number_orders.with_raw_response.check_eligibility( @@ -569,7 +524,6 @@ async def test_raw_response_check_eligibility(self, async_client: AsyncTelnyx) - MessagingHostedNumberOrderCheckEligibilityResponse, messaging_hosted_number_order, path=["response"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_check_eligibility(self, async_client: AsyncTelnyx) -> None: async with async_client.messaging_hosted_number_orders.with_streaming_response.check_eligibility( @@ -585,7 +539,6 @@ async def test_streaming_response_check_eligibility(self, async_client: AsyncTel assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_verification_codes(self, async_client: AsyncTelnyx) -> None: messaging_hosted_number_order = await async_client.messaging_hosted_number_orders.create_verification_codes( @@ -597,7 +550,6 @@ async def test_method_create_verification_codes(self, async_client: AsyncTelnyx) MessagingHostedNumberOrderCreateVerificationCodesResponse, messaging_hosted_number_order, path=["response"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create_verification_codes(self, async_client: AsyncTelnyx) -> None: response = await async_client.messaging_hosted_number_orders.with_raw_response.create_verification_codes( @@ -613,7 +565,6 @@ async def test_raw_response_create_verification_codes(self, async_client: AsyncT MessagingHostedNumberOrderCreateVerificationCodesResponse, messaging_hosted_number_order, path=["response"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create_verification_codes(self, async_client: AsyncTelnyx) -> None: async with async_client.messaging_hosted_number_orders.with_streaming_response.create_verification_codes( @@ -633,7 +584,6 @@ async def test_streaming_response_create_verification_codes(self, async_client: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_create_verification_codes(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -643,7 +593,6 @@ async def test_path_params_create_verification_codes(self, async_client: AsyncTe verification_method="sms", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_validate_codes(self, async_client: AsyncTelnyx) -> None: messaging_hosted_number_order = await async_client.messaging_hosted_number_orders.validate_codes( @@ -659,7 +608,6 @@ async def test_method_validate_codes(self, async_client: AsyncTelnyx) -> None: MessagingHostedNumberOrderValidateCodesResponse, messaging_hosted_number_order, path=["response"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_validate_codes(self, async_client: AsyncTelnyx) -> None: response = await async_client.messaging_hosted_number_orders.with_raw_response.validate_codes( @@ -679,7 +627,6 @@ async def test_raw_response_validate_codes(self, async_client: AsyncTelnyx) -> N MessagingHostedNumberOrderValidateCodesResponse, messaging_hosted_number_order, path=["response"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_validate_codes(self, async_client: AsyncTelnyx) -> None: async with async_client.messaging_hosted_number_orders.with_streaming_response.validate_codes( @@ -701,7 +648,6 @@ async def test_streaming_response_validate_codes(self, async_client: AsyncTelnyx assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_validate_codes(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): diff --git a/tests/api_resources/test_messaging_hosted_numbers.py b/tests/api_resources/test_messaging_hosted_numbers.py index d6e8d2ff..c17d29b1 100644 --- a/tests/api_resources/test_messaging_hosted_numbers.py +++ b/tests/api_resources/test_messaging_hosted_numbers.py @@ -17,7 +17,6 @@ class TestMessagingHostedNumbers: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: messaging_hosted_number = client.messaging_hosted_numbers.delete( @@ -25,7 +24,6 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert_matches_type(MessagingHostedNumberDeleteResponse, messaging_hosted_number, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.messaging_hosted_numbers.with_raw_response.delete( @@ -37,7 +35,6 @@ def test_raw_response_delete(self, client: Telnyx) -> None: messaging_hosted_number = response.parse() assert_matches_type(MessagingHostedNumberDeleteResponse, messaging_hosted_number, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.messaging_hosted_numbers.with_streaming_response.delete( @@ -51,7 +48,6 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -65,7 +61,6 @@ class TestAsyncMessagingHostedNumbers: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: messaging_hosted_number = await async_client.messaging_hosted_numbers.delete( @@ -73,7 +68,6 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(MessagingHostedNumberDeleteResponse, messaging_hosted_number, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.messaging_hosted_numbers.with_raw_response.delete( @@ -85,7 +79,6 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: messaging_hosted_number = await response.parse() assert_matches_type(MessagingHostedNumberDeleteResponse, messaging_hosted_number, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.messaging_hosted_numbers.with_streaming_response.delete( @@ -99,7 +92,6 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): diff --git a/tests/api_resources/test_messaging_numbers_bulk_updates.py b/tests/api_resources/test_messaging_numbers_bulk_updates.py index 5991d6a8..4c1b3ad8 100644 --- a/tests/api_resources/test_messaging_numbers_bulk_updates.py +++ b/tests/api_resources/test_messaging_numbers_bulk_updates.py @@ -20,7 +20,6 @@ class TestMessagingNumbersBulkUpdates: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: messaging_numbers_bulk_update = client.messaging_numbers_bulk_updates.create( @@ -29,7 +28,6 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(MessagingNumbersBulkUpdateCreateResponse, messaging_numbers_bulk_update, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.messaging_numbers_bulk_updates.with_raw_response.create( @@ -42,7 +40,6 @@ def test_raw_response_create(self, client: Telnyx) -> None: messaging_numbers_bulk_update = response.parse() assert_matches_type(MessagingNumbersBulkUpdateCreateResponse, messaging_numbers_bulk_update, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.messaging_numbers_bulk_updates.with_streaming_response.create( @@ -59,7 +56,6 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: messaging_numbers_bulk_update = client.messaging_numbers_bulk_updates.retrieve( @@ -69,7 +65,6 @@ def test_method_retrieve(self, client: Telnyx) -> None: MessagingNumbersBulkUpdateRetrieveResponse, messaging_numbers_bulk_update, path=["response"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.messaging_numbers_bulk_updates.with_raw_response.retrieve( @@ -83,7 +78,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: MessagingNumbersBulkUpdateRetrieveResponse, messaging_numbers_bulk_update, path=["response"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.messaging_numbers_bulk_updates.with_streaming_response.retrieve( @@ -99,7 +93,6 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `order_id` but received ''"): @@ -113,7 +106,6 @@ class TestAsyncMessagingNumbersBulkUpdates: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: messaging_numbers_bulk_update = await async_client.messaging_numbers_bulk_updates.create( @@ -122,7 +114,6 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(MessagingNumbersBulkUpdateCreateResponse, messaging_numbers_bulk_update, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.messaging_numbers_bulk_updates.with_raw_response.create( @@ -135,7 +126,6 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: messaging_numbers_bulk_update = await response.parse() assert_matches_type(MessagingNumbersBulkUpdateCreateResponse, messaging_numbers_bulk_update, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.messaging_numbers_bulk_updates.with_streaming_response.create( @@ -152,7 +142,6 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: messaging_numbers_bulk_update = await async_client.messaging_numbers_bulk_updates.retrieve( @@ -162,7 +151,6 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: MessagingNumbersBulkUpdateRetrieveResponse, messaging_numbers_bulk_update, path=["response"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.messaging_numbers_bulk_updates.with_raw_response.retrieve( @@ -176,7 +164,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: MessagingNumbersBulkUpdateRetrieveResponse, messaging_numbers_bulk_update, path=["response"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.messaging_numbers_bulk_updates.with_streaming_response.retrieve( @@ -192,7 +179,6 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `order_id` but received ''"): diff --git a/tests/api_resources/test_messaging_optouts.py b/tests/api_resources/test_messaging_optouts.py index 771cb261..27f935e7 100644 --- a/tests/api_resources/test_messaging_optouts.py +++ b/tests/api_resources/test_messaging_optouts.py @@ -18,13 +18,11 @@ class TestMessagingOptouts: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: messaging_optout = client.messaging_optouts.list() assert_matches_type(MessagingOptoutListResponse, messaging_optout, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: messaging_optout = client.messaging_optouts.list( @@ -44,7 +42,6 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(MessagingOptoutListResponse, messaging_optout, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.messaging_optouts.with_raw_response.list() @@ -54,7 +51,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: messaging_optout = response.parse() assert_matches_type(MessagingOptoutListResponse, messaging_optout, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.messaging_optouts.with_streaming_response.list() as response: @@ -72,13 +68,11 @@ class TestAsyncMessagingOptouts: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: messaging_optout = await async_client.messaging_optouts.list() assert_matches_type(MessagingOptoutListResponse, messaging_optout, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: messaging_optout = await async_client.messaging_optouts.list( @@ -98,7 +92,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(MessagingOptoutListResponse, messaging_optout, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.messaging_optouts.with_raw_response.list() @@ -108,7 +101,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: messaging_optout = await response.parse() assert_matches_type(MessagingOptoutListResponse, messaging_optout, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.messaging_optouts.with_streaming_response.list() as response: diff --git a/tests/api_resources/test_messaging_profiles.py b/tests/api_resources/test_messaging_profiles.py index fdb96a8c..856c5fe0 100644 --- a/tests/api_resources/test_messaging_profiles.py +++ b/tests/api_resources/test_messaging_profiles.py @@ -25,7 +25,6 @@ class TestMessagingProfiles: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: messaging_profile = client.messaging_profiles.create( @@ -34,7 +33,6 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(MessagingProfileCreateResponse, messaging_profile, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: messaging_profile = client.messaging_profiles.create( @@ -65,7 +63,6 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(MessagingProfileCreateResponse, messaging_profile, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.messaging_profiles.with_raw_response.create( @@ -78,7 +75,6 @@ def test_raw_response_create(self, client: Telnyx) -> None: messaging_profile = response.parse() assert_matches_type(MessagingProfileCreateResponse, messaging_profile, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.messaging_profiles.with_streaming_response.create( @@ -93,7 +89,6 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: messaging_profile = client.messaging_profiles.retrieve( @@ -101,7 +96,6 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(MessagingProfileRetrieveResponse, messaging_profile, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.messaging_profiles.with_raw_response.retrieve( @@ -113,7 +107,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: messaging_profile = response.parse() assert_matches_type(MessagingProfileRetrieveResponse, messaging_profile, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.messaging_profiles.with_streaming_response.retrieve( @@ -127,7 +120,6 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -135,7 +127,6 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update(self, client: Telnyx) -> None: messaging_profile = client.messaging_profiles.update( @@ -143,7 +134,6 @@ def test_method_update(self, client: Telnyx) -> None: ) assert_matches_type(MessagingProfileUpdateResponse, messaging_profile, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_with_all_params(self, client: Telnyx) -> None: messaging_profile = client.messaging_profiles.update( @@ -176,7 +166,6 @@ def test_method_update_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(MessagingProfileUpdateResponse, messaging_profile, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update(self, client: Telnyx) -> None: response = client.messaging_profiles.with_raw_response.update( @@ -188,7 +177,6 @@ def test_raw_response_update(self, client: Telnyx) -> None: messaging_profile = response.parse() assert_matches_type(MessagingProfileUpdateResponse, messaging_profile, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update(self, client: Telnyx) -> None: with client.messaging_profiles.with_streaming_response.update( @@ -202,7 +190,6 @@ def test_streaming_response_update(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -210,13 +197,11 @@ def test_path_params_update(self, client: Telnyx) -> None: id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: messaging_profile = client.messaging_profiles.list() assert_matches_type(MessagingProfileListResponse, messaging_profile, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: messaging_profile = client.messaging_profiles.list( @@ -228,7 +213,6 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(MessagingProfileListResponse, messaging_profile, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.messaging_profiles.with_raw_response.list() @@ -238,7 +222,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: messaging_profile = response.parse() assert_matches_type(MessagingProfileListResponse, messaging_profile, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.messaging_profiles.with_streaming_response.list() as response: @@ -250,7 +233,6 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: messaging_profile = client.messaging_profiles.delete( @@ -258,7 +240,6 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert_matches_type(MessagingProfileDeleteResponse, messaging_profile, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.messaging_profiles.with_raw_response.delete( @@ -270,7 +251,6 @@ def test_raw_response_delete(self, client: Telnyx) -> None: messaging_profile = response.parse() assert_matches_type(MessagingProfileDeleteResponse, messaging_profile, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.messaging_profiles.with_streaming_response.delete( @@ -284,7 +264,6 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -292,7 +271,6 @@ def test_path_params_delete(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_phone_numbers(self, client: Telnyx) -> None: messaging_profile = client.messaging_profiles.list_phone_numbers( @@ -300,7 +278,6 @@ def test_method_list_phone_numbers(self, client: Telnyx) -> None: ) assert_matches_type(MessagingProfileListPhoneNumbersResponse, messaging_profile, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_phone_numbers_with_all_params(self, client: Telnyx) -> None: messaging_profile = client.messaging_profiles.list_phone_numbers( @@ -312,7 +289,6 @@ def test_method_list_phone_numbers_with_all_params(self, client: Telnyx) -> None ) assert_matches_type(MessagingProfileListPhoneNumbersResponse, messaging_profile, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list_phone_numbers(self, client: Telnyx) -> None: response = client.messaging_profiles.with_raw_response.list_phone_numbers( @@ -324,7 +300,6 @@ def test_raw_response_list_phone_numbers(self, client: Telnyx) -> None: messaging_profile = response.parse() assert_matches_type(MessagingProfileListPhoneNumbersResponse, messaging_profile, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list_phone_numbers(self, client: Telnyx) -> None: with client.messaging_profiles.with_streaming_response.list_phone_numbers( @@ -338,7 +313,6 @@ def test_streaming_response_list_phone_numbers(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_list_phone_numbers(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -346,7 +320,6 @@ def test_path_params_list_phone_numbers(self, client: Telnyx) -> None: id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_short_codes(self, client: Telnyx) -> None: messaging_profile = client.messaging_profiles.list_short_codes( @@ -354,7 +327,6 @@ def test_method_list_short_codes(self, client: Telnyx) -> None: ) assert_matches_type(MessagingProfileListShortCodesResponse, messaging_profile, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_short_codes_with_all_params(self, client: Telnyx) -> None: messaging_profile = client.messaging_profiles.list_short_codes( @@ -366,7 +338,6 @@ def test_method_list_short_codes_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(MessagingProfileListShortCodesResponse, messaging_profile, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list_short_codes(self, client: Telnyx) -> None: response = client.messaging_profiles.with_raw_response.list_short_codes( @@ -378,7 +349,6 @@ def test_raw_response_list_short_codes(self, client: Telnyx) -> None: messaging_profile = response.parse() assert_matches_type(MessagingProfileListShortCodesResponse, messaging_profile, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list_short_codes(self, client: Telnyx) -> None: with client.messaging_profiles.with_streaming_response.list_short_codes( @@ -392,7 +362,6 @@ def test_streaming_response_list_short_codes(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_list_short_codes(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -406,7 +375,6 @@ class TestAsyncMessagingProfiles: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: messaging_profile = await async_client.messaging_profiles.create( @@ -415,7 +383,6 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(MessagingProfileCreateResponse, messaging_profile, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: messaging_profile = await async_client.messaging_profiles.create( @@ -446,7 +413,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(MessagingProfileCreateResponse, messaging_profile, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.messaging_profiles.with_raw_response.create( @@ -459,7 +425,6 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: messaging_profile = await response.parse() assert_matches_type(MessagingProfileCreateResponse, messaging_profile, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.messaging_profiles.with_streaming_response.create( @@ -474,7 +439,6 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: messaging_profile = await async_client.messaging_profiles.retrieve( @@ -482,7 +446,6 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(MessagingProfileRetrieveResponse, messaging_profile, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.messaging_profiles.with_raw_response.retrieve( @@ -494,7 +457,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: messaging_profile = await response.parse() assert_matches_type(MessagingProfileRetrieveResponse, messaging_profile, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.messaging_profiles.with_streaming_response.retrieve( @@ -508,7 +470,6 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -516,7 +477,6 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update(self, async_client: AsyncTelnyx) -> None: messaging_profile = await async_client.messaging_profiles.update( @@ -524,7 +484,6 @@ async def test_method_update(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(MessagingProfileUpdateResponse, messaging_profile, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> None: messaging_profile = await async_client.messaging_profiles.update( @@ -557,7 +516,6 @@ async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(MessagingProfileUpdateResponse, messaging_profile, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: response = await async_client.messaging_profiles.with_raw_response.update( @@ -569,7 +527,6 @@ async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: messaging_profile = await response.parse() assert_matches_type(MessagingProfileUpdateResponse, messaging_profile, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> None: async with async_client.messaging_profiles.with_streaming_response.update( @@ -583,7 +540,6 @@ async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -591,13 +547,11 @@ async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: messaging_profile = await async_client.messaging_profiles.list() assert_matches_type(MessagingProfileListResponse, messaging_profile, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: messaging_profile = await async_client.messaging_profiles.list( @@ -609,7 +563,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(MessagingProfileListResponse, messaging_profile, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.messaging_profiles.with_raw_response.list() @@ -619,7 +572,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: messaging_profile = await response.parse() assert_matches_type(MessagingProfileListResponse, messaging_profile, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.messaging_profiles.with_streaming_response.list() as response: @@ -631,7 +583,6 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: messaging_profile = await async_client.messaging_profiles.delete( @@ -639,7 +590,6 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(MessagingProfileDeleteResponse, messaging_profile, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.messaging_profiles.with_raw_response.delete( @@ -651,7 +601,6 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: messaging_profile = await response.parse() assert_matches_type(MessagingProfileDeleteResponse, messaging_profile, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.messaging_profiles.with_streaming_response.delete( @@ -665,7 +614,6 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -673,7 +621,6 @@ async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_phone_numbers(self, async_client: AsyncTelnyx) -> None: messaging_profile = await async_client.messaging_profiles.list_phone_numbers( @@ -681,7 +628,6 @@ async def test_method_list_phone_numbers(self, async_client: AsyncTelnyx) -> Non ) assert_matches_type(MessagingProfileListPhoneNumbersResponse, messaging_profile, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_phone_numbers_with_all_params(self, async_client: AsyncTelnyx) -> None: messaging_profile = await async_client.messaging_profiles.list_phone_numbers( @@ -693,7 +639,6 @@ async def test_method_list_phone_numbers_with_all_params(self, async_client: Asy ) assert_matches_type(MessagingProfileListPhoneNumbersResponse, messaging_profile, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list_phone_numbers(self, async_client: AsyncTelnyx) -> None: response = await async_client.messaging_profiles.with_raw_response.list_phone_numbers( @@ -705,7 +650,6 @@ async def test_raw_response_list_phone_numbers(self, async_client: AsyncTelnyx) messaging_profile = await response.parse() assert_matches_type(MessagingProfileListPhoneNumbersResponse, messaging_profile, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list_phone_numbers(self, async_client: AsyncTelnyx) -> None: async with async_client.messaging_profiles.with_streaming_response.list_phone_numbers( @@ -719,7 +663,6 @@ async def test_streaming_response_list_phone_numbers(self, async_client: AsyncTe assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_list_phone_numbers(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -727,7 +670,6 @@ async def test_path_params_list_phone_numbers(self, async_client: AsyncTelnyx) - id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_short_codes(self, async_client: AsyncTelnyx) -> None: messaging_profile = await async_client.messaging_profiles.list_short_codes( @@ -735,7 +677,6 @@ async def test_method_list_short_codes(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(MessagingProfileListShortCodesResponse, messaging_profile, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_short_codes_with_all_params(self, async_client: AsyncTelnyx) -> None: messaging_profile = await async_client.messaging_profiles.list_short_codes( @@ -747,7 +688,6 @@ async def test_method_list_short_codes_with_all_params(self, async_client: Async ) assert_matches_type(MessagingProfileListShortCodesResponse, messaging_profile, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list_short_codes(self, async_client: AsyncTelnyx) -> None: response = await async_client.messaging_profiles.with_raw_response.list_short_codes( @@ -759,7 +699,6 @@ async def test_raw_response_list_short_codes(self, async_client: AsyncTelnyx) -> messaging_profile = await response.parse() assert_matches_type(MessagingProfileListShortCodesResponse, messaging_profile, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list_short_codes(self, async_client: AsyncTelnyx) -> None: async with async_client.messaging_profiles.with_streaming_response.list_short_codes( @@ -773,7 +712,6 @@ async def test_streaming_response_list_short_codes(self, async_client: AsyncTeln assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_list_short_codes(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): diff --git a/tests/api_resources/test_messaging_url_domains.py b/tests/api_resources/test_messaging_url_domains.py index 9e80053d..b419f095 100644 --- a/tests/api_resources/test_messaging_url_domains.py +++ b/tests/api_resources/test_messaging_url_domains.py @@ -17,13 +17,11 @@ class TestMessagingURLDomains: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: messaging_url_domain = client.messaging_url_domains.list() assert_matches_type(MessagingURLDomainListResponse, messaging_url_domain, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: messaging_url_domain = client.messaging_url_domains.list( @@ -34,7 +32,6 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(MessagingURLDomainListResponse, messaging_url_domain, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.messaging_url_domains.with_raw_response.list() @@ -44,7 +41,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: messaging_url_domain = response.parse() assert_matches_type(MessagingURLDomainListResponse, messaging_url_domain, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.messaging_url_domains.with_streaming_response.list() as response: @@ -62,13 +58,11 @@ class TestAsyncMessagingURLDomains: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: messaging_url_domain = await async_client.messaging_url_domains.list() assert_matches_type(MessagingURLDomainListResponse, messaging_url_domain, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: messaging_url_domain = await async_client.messaging_url_domains.list( @@ -79,7 +73,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(MessagingURLDomainListResponse, messaging_url_domain, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.messaging_url_domains.with_raw_response.list() @@ -89,7 +82,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: messaging_url_domain = await response.parse() assert_matches_type(MessagingURLDomainListResponse, messaging_url_domain, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.messaging_url_domains.with_streaming_response.list() as response: diff --git a/tests/api_resources/test_messsages.py b/tests/api_resources/test_messsages.py index 66ddf264..921877cf 100644 --- a/tests/api_resources/test_messsages.py +++ b/tests/api_resources/test_messsages.py @@ -18,7 +18,6 @@ class TestMesssages: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_rcs(self, client: Telnyx) -> None: messsage = client.messsages.rcs( @@ -29,7 +28,6 @@ def test_method_rcs(self, client: Telnyx) -> None: ) assert_matches_type(MesssageRcsResponse, messsage, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_rcs_with_all_params(self, client: Telnyx) -> None: messsage = client.messsages.rcs( @@ -204,7 +202,6 @@ def test_method_rcs_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(MesssageRcsResponse, messsage, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_rcs(self, client: Telnyx) -> None: response = client.messsages.with_raw_response.rcs( @@ -219,7 +216,6 @@ def test_raw_response_rcs(self, client: Telnyx) -> None: messsage = response.parse() assert_matches_type(MesssageRcsResponse, messsage, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_rcs(self, client: Telnyx) -> None: with client.messsages.with_streaming_response.rcs( @@ -242,7 +238,6 @@ class TestAsyncMesssages: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_rcs(self, async_client: AsyncTelnyx) -> None: messsage = await async_client.messsages.rcs( @@ -253,7 +248,6 @@ async def test_method_rcs(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(MesssageRcsResponse, messsage, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_rcs_with_all_params(self, async_client: AsyncTelnyx) -> None: messsage = await async_client.messsages.rcs( @@ -428,7 +422,6 @@ async def test_method_rcs_with_all_params(self, async_client: AsyncTelnyx) -> No ) assert_matches_type(MesssageRcsResponse, messsage, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_rcs(self, async_client: AsyncTelnyx) -> None: response = await async_client.messsages.with_raw_response.rcs( @@ -443,7 +436,6 @@ async def test_raw_response_rcs(self, async_client: AsyncTelnyx) -> None: messsage = await response.parse() assert_matches_type(MesssageRcsResponse, messsage, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_rcs(self, async_client: AsyncTelnyx) -> None: async with async_client.messsages.with_streaming_response.rcs( diff --git a/tests/api_resources/test_mobile_network_operators.py b/tests/api_resources/test_mobile_network_operators.py index dda6d7e5..e5761f81 100644 --- a/tests/api_resources/test_mobile_network_operators.py +++ b/tests/api_resources/test_mobile_network_operators.py @@ -17,13 +17,11 @@ class TestMobileNetworkOperators: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: mobile_network_operator = client.mobile_network_operators.list() assert_matches_type(MobileNetworkOperatorListResponse, mobile_network_operator, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: mobile_network_operator = client.mobile_network_operators.list( @@ -46,7 +44,6 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(MobileNetworkOperatorListResponse, mobile_network_operator, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.mobile_network_operators.with_raw_response.list() @@ -56,7 +53,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: mobile_network_operator = response.parse() assert_matches_type(MobileNetworkOperatorListResponse, mobile_network_operator, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.mobile_network_operators.with_streaming_response.list() as response: @@ -74,13 +70,11 @@ class TestAsyncMobileNetworkOperators: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: mobile_network_operator = await async_client.mobile_network_operators.list() assert_matches_type(MobileNetworkOperatorListResponse, mobile_network_operator, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: mobile_network_operator = await async_client.mobile_network_operators.list( @@ -103,7 +97,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(MobileNetworkOperatorListResponse, mobile_network_operator, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.mobile_network_operators.with_raw_response.list() @@ -113,7 +106,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: mobile_network_operator = await response.parse() assert_matches_type(MobileNetworkOperatorListResponse, mobile_network_operator, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.mobile_network_operators.with_streaming_response.list() as response: diff --git a/tests/api_resources/test_mobile_push_credentials.py b/tests/api_resources/test_mobile_push_credentials.py index dfa11670..19dc29e2 100644 --- a/tests/api_resources/test_mobile_push_credentials.py +++ b/tests/api_resources/test_mobile_push_credentials.py @@ -20,7 +20,6 @@ class TestMobilePushCredentials: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_overload_1(self, client: Telnyx) -> None: mobile_push_credential = client.mobile_push_credentials.create( @@ -31,7 +30,6 @@ def test_method_create_overload_1(self, client: Telnyx) -> None: ) assert_matches_type(PushCredentialResponse, mobile_push_credential, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create_overload_1(self, client: Telnyx) -> None: response = client.mobile_push_credentials.with_raw_response.create( @@ -46,7 +44,6 @@ def test_raw_response_create_overload_1(self, client: Telnyx) -> None: mobile_push_credential = response.parse() assert_matches_type(PushCredentialResponse, mobile_push_credential, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create_overload_1(self, client: Telnyx) -> None: with client.mobile_push_credentials.with_streaming_response.create( @@ -63,7 +60,6 @@ def test_streaming_response_create_overload_1(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_overload_2(self, client: Telnyx) -> None: mobile_push_credential = client.mobile_push_credentials.create( @@ -76,7 +72,6 @@ def test_method_create_overload_2(self, client: Telnyx) -> None: ) assert_matches_type(PushCredentialResponse, mobile_push_credential, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create_overload_2(self, client: Telnyx) -> None: response = client.mobile_push_credentials.with_raw_response.create( @@ -93,7 +88,6 @@ def test_raw_response_create_overload_2(self, client: Telnyx) -> None: mobile_push_credential = response.parse() assert_matches_type(PushCredentialResponse, mobile_push_credential, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create_overload_2(self, client: Telnyx) -> None: with client.mobile_push_credentials.with_streaming_response.create( @@ -112,7 +106,6 @@ def test_streaming_response_create_overload_2(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: mobile_push_credential = client.mobile_push_credentials.retrieve( @@ -120,7 +113,6 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(PushCredentialResponse, mobile_push_credential, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.mobile_push_credentials.with_raw_response.retrieve( @@ -132,7 +124,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: mobile_push_credential = response.parse() assert_matches_type(PushCredentialResponse, mobile_push_credential, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.mobile_push_credentials.with_streaming_response.retrieve( @@ -146,7 +137,6 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `push_credential_id` but received ''"): @@ -154,13 +144,11 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: mobile_push_credential = client.mobile_push_credentials.list() assert_matches_type(MobilePushCredentialListResponse, mobile_push_credential, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: mobile_push_credential = client.mobile_push_credentials.list( @@ -175,7 +163,6 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(MobilePushCredentialListResponse, mobile_push_credential, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.mobile_push_credentials.with_raw_response.list() @@ -185,7 +172,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: mobile_push_credential = response.parse() assert_matches_type(MobilePushCredentialListResponse, mobile_push_credential, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.mobile_push_credentials.with_streaming_response.list() as response: @@ -197,7 +183,6 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: mobile_push_credential = client.mobile_push_credentials.delete( @@ -205,7 +190,6 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert mobile_push_credential is None - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.mobile_push_credentials.with_raw_response.delete( @@ -217,7 +201,6 @@ def test_raw_response_delete(self, client: Telnyx) -> None: mobile_push_credential = response.parse() assert mobile_push_credential is None - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.mobile_push_credentials.with_streaming_response.delete( @@ -231,7 +214,6 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `push_credential_id` but received ''"): @@ -245,7 +227,6 @@ class TestAsyncMobilePushCredentials: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_overload_1(self, async_client: AsyncTelnyx) -> None: mobile_push_credential = await async_client.mobile_push_credentials.create( @@ -256,7 +237,6 @@ async def test_method_create_overload_1(self, async_client: AsyncTelnyx) -> None ) assert_matches_type(PushCredentialResponse, mobile_push_credential, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create_overload_1(self, async_client: AsyncTelnyx) -> None: response = await async_client.mobile_push_credentials.with_raw_response.create( @@ -271,7 +251,6 @@ async def test_raw_response_create_overload_1(self, async_client: AsyncTelnyx) - mobile_push_credential = await response.parse() assert_matches_type(PushCredentialResponse, mobile_push_credential, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create_overload_1(self, async_client: AsyncTelnyx) -> None: async with async_client.mobile_push_credentials.with_streaming_response.create( @@ -288,7 +267,6 @@ async def test_streaming_response_create_overload_1(self, async_client: AsyncTel assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_overload_2(self, async_client: AsyncTelnyx) -> None: mobile_push_credential = await async_client.mobile_push_credentials.create( @@ -301,7 +279,6 @@ async def test_method_create_overload_2(self, async_client: AsyncTelnyx) -> None ) assert_matches_type(PushCredentialResponse, mobile_push_credential, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create_overload_2(self, async_client: AsyncTelnyx) -> None: response = await async_client.mobile_push_credentials.with_raw_response.create( @@ -318,7 +295,6 @@ async def test_raw_response_create_overload_2(self, async_client: AsyncTelnyx) - mobile_push_credential = await response.parse() assert_matches_type(PushCredentialResponse, mobile_push_credential, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create_overload_2(self, async_client: AsyncTelnyx) -> None: async with async_client.mobile_push_credentials.with_streaming_response.create( @@ -337,7 +313,6 @@ async def test_streaming_response_create_overload_2(self, async_client: AsyncTel assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: mobile_push_credential = await async_client.mobile_push_credentials.retrieve( @@ -345,7 +320,6 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(PushCredentialResponse, mobile_push_credential, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.mobile_push_credentials.with_raw_response.retrieve( @@ -357,7 +331,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: mobile_push_credential = await response.parse() assert_matches_type(PushCredentialResponse, mobile_push_credential, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.mobile_push_credentials.with_streaming_response.retrieve( @@ -371,7 +344,6 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `push_credential_id` but received ''"): @@ -379,13 +351,11 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: mobile_push_credential = await async_client.mobile_push_credentials.list() assert_matches_type(MobilePushCredentialListResponse, mobile_push_credential, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: mobile_push_credential = await async_client.mobile_push_credentials.list( @@ -400,7 +370,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(MobilePushCredentialListResponse, mobile_push_credential, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.mobile_push_credentials.with_raw_response.list() @@ -410,7 +379,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: mobile_push_credential = await response.parse() assert_matches_type(MobilePushCredentialListResponse, mobile_push_credential, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.mobile_push_credentials.with_streaming_response.list() as response: @@ -422,7 +390,6 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: mobile_push_credential = await async_client.mobile_push_credentials.delete( @@ -430,7 +397,6 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert mobile_push_credential is None - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.mobile_push_credentials.with_raw_response.delete( @@ -442,7 +408,6 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: mobile_push_credential = await response.parse() assert mobile_push_credential is None - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.mobile_push_credentials.with_streaming_response.delete( @@ -456,7 +421,6 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `push_credential_id` but received ''"): diff --git a/tests/api_resources/test_network_coverage.py b/tests/api_resources/test_network_coverage.py index 323ffc4d..b4e517a0 100644 --- a/tests/api_resources/test_network_coverage.py +++ b/tests/api_resources/test_network_coverage.py @@ -17,13 +17,11 @@ class TestNetworkCoverage: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: network_coverage = client.network_coverage.list() assert_matches_type(NetworkCoverageListResponse, network_coverage, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: network_coverage = client.network_coverage.list( @@ -41,7 +39,6 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(NetworkCoverageListResponse, network_coverage, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.network_coverage.with_raw_response.list() @@ -51,7 +48,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: network_coverage = response.parse() assert_matches_type(NetworkCoverageListResponse, network_coverage, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.network_coverage.with_streaming_response.list() as response: @@ -69,13 +65,11 @@ class TestAsyncNetworkCoverage: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: network_coverage = await async_client.network_coverage.list() assert_matches_type(NetworkCoverageListResponse, network_coverage, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: network_coverage = await async_client.network_coverage.list( @@ -93,7 +87,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(NetworkCoverageListResponse, network_coverage, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.network_coverage.with_raw_response.list() @@ -103,7 +96,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: network_coverage = await response.parse() assert_matches_type(NetworkCoverageListResponse, network_coverage, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.network_coverage.with_streaming_response.list() as response: diff --git a/tests/api_resources/test_networks.py b/tests/api_resources/test_networks.py index dd2c8c17..41433bf3 100644 --- a/tests/api_resources/test_networks.py +++ b/tests/api_resources/test_networks.py @@ -24,7 +24,6 @@ class TestNetworks: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: network = client.networks.create( @@ -32,7 +31,6 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(NetworkCreateResponse, network, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.networks.with_raw_response.create( @@ -44,7 +42,6 @@ def test_raw_response_create(self, client: Telnyx) -> None: network = response.parse() assert_matches_type(NetworkCreateResponse, network, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.networks.with_streaming_response.create( @@ -58,7 +55,6 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: network = client.networks.retrieve( @@ -66,7 +62,6 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(NetworkRetrieveResponse, network, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.networks.with_raw_response.retrieve( @@ -78,7 +73,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: network = response.parse() assert_matches_type(NetworkRetrieveResponse, network, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.networks.with_streaming_response.retrieve( @@ -92,7 +86,6 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -100,7 +93,6 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update(self, client: Telnyx) -> None: network = client.networks.update( @@ -109,7 +101,6 @@ def test_method_update(self, client: Telnyx) -> None: ) assert_matches_type(NetworkUpdateResponse, network, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update(self, client: Telnyx) -> None: response = client.networks.with_raw_response.update( @@ -122,7 +113,6 @@ def test_raw_response_update(self, client: Telnyx) -> None: network = response.parse() assert_matches_type(NetworkUpdateResponse, network, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update(self, client: Telnyx) -> None: with client.networks.with_streaming_response.update( @@ -137,7 +127,6 @@ def test_streaming_response_update(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -146,13 +135,11 @@ def test_path_params_update(self, client: Telnyx) -> None: name="test network", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: network = client.networks.list() assert_matches_type(NetworkListResponse, network, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: network = client.networks.list( @@ -164,7 +151,6 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(NetworkListResponse, network, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.networks.with_raw_response.list() @@ -174,7 +160,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: network = response.parse() assert_matches_type(NetworkListResponse, network, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.networks.with_streaming_response.list() as response: @@ -186,7 +171,6 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: network = client.networks.delete( @@ -194,7 +178,6 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert_matches_type(NetworkDeleteResponse, network, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.networks.with_raw_response.delete( @@ -206,7 +189,6 @@ def test_raw_response_delete(self, client: Telnyx) -> None: network = response.parse() assert_matches_type(NetworkDeleteResponse, network, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.networks.with_streaming_response.delete( @@ -220,7 +202,6 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -228,7 +209,6 @@ def test_path_params_delete(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_interfaces(self, client: Telnyx) -> None: network = client.networks.list_interfaces( @@ -236,7 +216,6 @@ def test_method_list_interfaces(self, client: Telnyx) -> None: ) assert_matches_type(NetworkListInterfacesResponse, network, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_interfaces_with_all_params(self, client: Telnyx) -> None: network = client.networks.list_interfaces( @@ -252,7 +231,6 @@ def test_method_list_interfaces_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(NetworkListInterfacesResponse, network, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list_interfaces(self, client: Telnyx) -> None: response = client.networks.with_raw_response.list_interfaces( @@ -264,7 +242,6 @@ def test_raw_response_list_interfaces(self, client: Telnyx) -> None: network = response.parse() assert_matches_type(NetworkListInterfacesResponse, network, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list_interfaces(self, client: Telnyx) -> None: with client.networks.with_streaming_response.list_interfaces( @@ -278,7 +255,6 @@ def test_streaming_response_list_interfaces(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_list_interfaces(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -292,7 +268,6 @@ class TestAsyncNetworks: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: network = await async_client.networks.create( @@ -300,7 +275,6 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(NetworkCreateResponse, network, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.networks.with_raw_response.create( @@ -312,7 +286,6 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: network = await response.parse() assert_matches_type(NetworkCreateResponse, network, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.networks.with_streaming_response.create( @@ -326,7 +299,6 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: network = await async_client.networks.retrieve( @@ -334,7 +306,6 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(NetworkRetrieveResponse, network, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.networks.with_raw_response.retrieve( @@ -346,7 +317,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: network = await response.parse() assert_matches_type(NetworkRetrieveResponse, network, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.networks.with_streaming_response.retrieve( @@ -360,7 +330,6 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -368,7 +337,6 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update(self, async_client: AsyncTelnyx) -> None: network = await async_client.networks.update( @@ -377,7 +345,6 @@ async def test_method_update(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(NetworkUpdateResponse, network, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: response = await async_client.networks.with_raw_response.update( @@ -390,7 +357,6 @@ async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: network = await response.parse() assert_matches_type(NetworkUpdateResponse, network, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> None: async with async_client.networks.with_streaming_response.update( @@ -405,7 +371,6 @@ async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -414,13 +379,11 @@ async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: name="test network", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: network = await async_client.networks.list() assert_matches_type(NetworkListResponse, network, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: network = await async_client.networks.list( @@ -432,7 +395,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(NetworkListResponse, network, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.networks.with_raw_response.list() @@ -442,7 +404,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: network = await response.parse() assert_matches_type(NetworkListResponse, network, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.networks.with_streaming_response.list() as response: @@ -454,7 +415,6 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: network = await async_client.networks.delete( @@ -462,7 +422,6 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(NetworkDeleteResponse, network, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.networks.with_raw_response.delete( @@ -474,7 +433,6 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: network = await response.parse() assert_matches_type(NetworkDeleteResponse, network, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.networks.with_streaming_response.delete( @@ -488,7 +446,6 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -496,7 +453,6 @@ async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_interfaces(self, async_client: AsyncTelnyx) -> None: network = await async_client.networks.list_interfaces( @@ -504,7 +460,6 @@ async def test_method_list_interfaces(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(NetworkListInterfacesResponse, network, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_interfaces_with_all_params(self, async_client: AsyncTelnyx) -> None: network = await async_client.networks.list_interfaces( @@ -520,7 +475,6 @@ async def test_method_list_interfaces_with_all_params(self, async_client: AsyncT ) assert_matches_type(NetworkListInterfacesResponse, network, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list_interfaces(self, async_client: AsyncTelnyx) -> None: response = await async_client.networks.with_raw_response.list_interfaces( @@ -532,7 +486,6 @@ async def test_raw_response_list_interfaces(self, async_client: AsyncTelnyx) -> network = await response.parse() assert_matches_type(NetworkListInterfacesResponse, network, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list_interfaces(self, async_client: AsyncTelnyx) -> None: async with async_client.networks.with_streaming_response.list_interfaces( @@ -546,7 +499,6 @@ async def test_streaming_response_list_interfaces(self, async_client: AsyncTelny assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_list_interfaces(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): diff --git a/tests/api_resources/test_notification_channels.py b/tests/api_resources/test_notification_channels.py index 46e7efd3..97f30a7f 100644 --- a/tests/api_resources/test_notification_channels.py +++ b/tests/api_resources/test_notification_channels.py @@ -23,13 +23,11 @@ class TestNotificationChannels: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: notification_channel = client.notification_channels.create() assert_matches_type(NotificationChannelCreateResponse, notification_channel, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: notification_channel = client.notification_channels.create( @@ -39,7 +37,6 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(NotificationChannelCreateResponse, notification_channel, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.notification_channels.with_raw_response.create() @@ -49,7 +46,6 @@ def test_raw_response_create(self, client: Telnyx) -> None: notification_channel = response.parse() assert_matches_type(NotificationChannelCreateResponse, notification_channel, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.notification_channels.with_streaming_response.create() as response: @@ -61,7 +57,6 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: notification_channel = client.notification_channels.retrieve( @@ -69,7 +64,6 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(NotificationChannelRetrieveResponse, notification_channel, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.notification_channels.with_raw_response.retrieve( @@ -81,7 +75,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: notification_channel = response.parse() assert_matches_type(NotificationChannelRetrieveResponse, notification_channel, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.notification_channels.with_streaming_response.retrieve( @@ -95,7 +88,6 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -103,7 +95,6 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update(self, client: Telnyx) -> None: notification_channel = client.notification_channels.update( @@ -111,7 +102,6 @@ def test_method_update(self, client: Telnyx) -> None: ) assert_matches_type(NotificationChannelUpdateResponse, notification_channel, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_with_all_params(self, client: Telnyx) -> None: notification_channel = client.notification_channels.update( @@ -122,7 +112,6 @@ def test_method_update_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(NotificationChannelUpdateResponse, notification_channel, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update(self, client: Telnyx) -> None: response = client.notification_channels.with_raw_response.update( @@ -134,7 +123,6 @@ def test_raw_response_update(self, client: Telnyx) -> None: notification_channel = response.parse() assert_matches_type(NotificationChannelUpdateResponse, notification_channel, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update(self, client: Telnyx) -> None: with client.notification_channels.with_streaming_response.update( @@ -148,7 +136,6 @@ def test_streaming_response_update(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -156,13 +143,11 @@ def test_path_params_update(self, client: Telnyx) -> None: id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: notification_channel = client.notification_channels.list() assert_matches_type(NotificationChannelListResponse, notification_channel, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: notification_channel = client.notification_channels.list( @@ -181,7 +166,6 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(NotificationChannelListResponse, notification_channel, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.notification_channels.with_raw_response.list() @@ -191,7 +175,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: notification_channel = response.parse() assert_matches_type(NotificationChannelListResponse, notification_channel, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.notification_channels.with_streaming_response.list() as response: @@ -203,7 +186,6 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: notification_channel = client.notification_channels.delete( @@ -211,7 +193,6 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert_matches_type(NotificationChannelDeleteResponse, notification_channel, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.notification_channels.with_raw_response.delete( @@ -223,7 +204,6 @@ def test_raw_response_delete(self, client: Telnyx) -> None: notification_channel = response.parse() assert_matches_type(NotificationChannelDeleteResponse, notification_channel, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.notification_channels.with_streaming_response.delete( @@ -237,7 +217,6 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -251,13 +230,11 @@ class TestAsyncNotificationChannels: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: notification_channel = await async_client.notification_channels.create() assert_matches_type(NotificationChannelCreateResponse, notification_channel, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: notification_channel = await async_client.notification_channels.create( @@ -267,7 +244,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(NotificationChannelCreateResponse, notification_channel, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.notification_channels.with_raw_response.create() @@ -277,7 +253,6 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: notification_channel = await response.parse() assert_matches_type(NotificationChannelCreateResponse, notification_channel, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.notification_channels.with_streaming_response.create() as response: @@ -289,7 +264,6 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: notification_channel = await async_client.notification_channels.retrieve( @@ -297,7 +271,6 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(NotificationChannelRetrieveResponse, notification_channel, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.notification_channels.with_raw_response.retrieve( @@ -309,7 +282,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: notification_channel = await response.parse() assert_matches_type(NotificationChannelRetrieveResponse, notification_channel, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.notification_channels.with_streaming_response.retrieve( @@ -323,7 +295,6 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -331,7 +302,6 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update(self, async_client: AsyncTelnyx) -> None: notification_channel = await async_client.notification_channels.update( @@ -339,7 +309,6 @@ async def test_method_update(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(NotificationChannelUpdateResponse, notification_channel, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> None: notification_channel = await async_client.notification_channels.update( @@ -350,7 +319,6 @@ async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(NotificationChannelUpdateResponse, notification_channel, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: response = await async_client.notification_channels.with_raw_response.update( @@ -362,7 +330,6 @@ async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: notification_channel = await response.parse() assert_matches_type(NotificationChannelUpdateResponse, notification_channel, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> None: async with async_client.notification_channels.with_streaming_response.update( @@ -376,7 +343,6 @@ async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -384,13 +350,11 @@ async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: notification_channel = await async_client.notification_channels.list() assert_matches_type(NotificationChannelListResponse, notification_channel, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: notification_channel = await async_client.notification_channels.list( @@ -409,7 +373,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(NotificationChannelListResponse, notification_channel, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.notification_channels.with_raw_response.list() @@ -419,7 +382,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: notification_channel = await response.parse() assert_matches_type(NotificationChannelListResponse, notification_channel, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.notification_channels.with_streaming_response.list() as response: @@ -431,7 +393,6 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: notification_channel = await async_client.notification_channels.delete( @@ -439,7 +400,6 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(NotificationChannelDeleteResponse, notification_channel, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.notification_channels.with_raw_response.delete( @@ -451,7 +411,6 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: notification_channel = await response.parse() assert_matches_type(NotificationChannelDeleteResponse, notification_channel, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.notification_channels.with_streaming_response.delete( @@ -465,7 +424,6 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): diff --git a/tests/api_resources/test_notification_event_conditions.py b/tests/api_resources/test_notification_event_conditions.py index 56bc86d2..873e7bb7 100644 --- a/tests/api_resources/test_notification_event_conditions.py +++ b/tests/api_resources/test_notification_event_conditions.py @@ -17,13 +17,11 @@ class TestNotificationEventConditions: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: notification_event_condition = client.notification_event_conditions.list() assert_matches_type(NotificationEventConditionListResponse, notification_event_condition, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: notification_event_condition = client.notification_event_conditions.list( @@ -42,7 +40,6 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(NotificationEventConditionListResponse, notification_event_condition, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.notification_event_conditions.with_raw_response.list() @@ -52,7 +49,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: notification_event_condition = response.parse() assert_matches_type(NotificationEventConditionListResponse, notification_event_condition, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.notification_event_conditions.with_streaming_response.list() as response: @@ -70,13 +66,11 @@ class TestAsyncNotificationEventConditions: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: notification_event_condition = await async_client.notification_event_conditions.list() assert_matches_type(NotificationEventConditionListResponse, notification_event_condition, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: notification_event_condition = await async_client.notification_event_conditions.list( @@ -95,7 +89,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(NotificationEventConditionListResponse, notification_event_condition, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.notification_event_conditions.with_raw_response.list() @@ -105,7 +98,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: notification_event_condition = await response.parse() assert_matches_type(NotificationEventConditionListResponse, notification_event_condition, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.notification_event_conditions.with_streaming_response.list() as response: diff --git a/tests/api_resources/test_notification_events.py b/tests/api_resources/test_notification_events.py index f15d46ae..4882840f 100644 --- a/tests/api_resources/test_notification_events.py +++ b/tests/api_resources/test_notification_events.py @@ -17,13 +17,11 @@ class TestNotificationEvents: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: notification_event = client.notification_events.list() assert_matches_type(NotificationEventListResponse, notification_event, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: notification_event = client.notification_events.list( @@ -34,7 +32,6 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(NotificationEventListResponse, notification_event, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.notification_events.with_raw_response.list() @@ -44,7 +41,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: notification_event = response.parse() assert_matches_type(NotificationEventListResponse, notification_event, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.notification_events.with_streaming_response.list() as response: @@ -62,13 +58,11 @@ class TestAsyncNotificationEvents: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: notification_event = await async_client.notification_events.list() assert_matches_type(NotificationEventListResponse, notification_event, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: notification_event = await async_client.notification_events.list( @@ -79,7 +73,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(NotificationEventListResponse, notification_event, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.notification_events.with_raw_response.list() @@ -89,7 +82,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: notification_event = await response.parse() assert_matches_type(NotificationEventListResponse, notification_event, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.notification_events.with_streaming_response.list() as response: diff --git a/tests/api_resources/test_notification_profiles.py b/tests/api_resources/test_notification_profiles.py index 641f06d3..6f854426 100644 --- a/tests/api_resources/test_notification_profiles.py +++ b/tests/api_resources/test_notification_profiles.py @@ -23,13 +23,11 @@ class TestNotificationProfiles: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: notification_profile = client.notification_profiles.create() assert_matches_type(NotificationProfileCreateResponse, notification_profile, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: notification_profile = client.notification_profiles.create( @@ -37,7 +35,6 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(NotificationProfileCreateResponse, notification_profile, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.notification_profiles.with_raw_response.create() @@ -47,7 +44,6 @@ def test_raw_response_create(self, client: Telnyx) -> None: notification_profile = response.parse() assert_matches_type(NotificationProfileCreateResponse, notification_profile, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.notification_profiles.with_streaming_response.create() as response: @@ -59,7 +55,6 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: notification_profile = client.notification_profiles.retrieve( @@ -67,7 +62,6 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(NotificationProfileRetrieveResponse, notification_profile, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.notification_profiles.with_raw_response.retrieve( @@ -79,7 +73,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: notification_profile = response.parse() assert_matches_type(NotificationProfileRetrieveResponse, notification_profile, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.notification_profiles.with_streaming_response.retrieve( @@ -93,7 +86,6 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -101,7 +93,6 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update(self, client: Telnyx) -> None: notification_profile = client.notification_profiles.update( @@ -109,7 +100,6 @@ def test_method_update(self, client: Telnyx) -> None: ) assert_matches_type(NotificationProfileUpdateResponse, notification_profile, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_with_all_params(self, client: Telnyx) -> None: notification_profile = client.notification_profiles.update( @@ -118,7 +108,6 @@ def test_method_update_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(NotificationProfileUpdateResponse, notification_profile, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update(self, client: Telnyx) -> None: response = client.notification_profiles.with_raw_response.update( @@ -130,7 +119,6 @@ def test_raw_response_update(self, client: Telnyx) -> None: notification_profile = response.parse() assert_matches_type(NotificationProfileUpdateResponse, notification_profile, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update(self, client: Telnyx) -> None: with client.notification_profiles.with_streaming_response.update( @@ -144,7 +132,6 @@ def test_streaming_response_update(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -152,13 +139,11 @@ def test_path_params_update(self, client: Telnyx) -> None: id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: notification_profile = client.notification_profiles.list() assert_matches_type(NotificationProfileListResponse, notification_profile, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: notification_profile = client.notification_profiles.list( @@ -169,7 +154,6 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(NotificationProfileListResponse, notification_profile, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.notification_profiles.with_raw_response.list() @@ -179,7 +163,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: notification_profile = response.parse() assert_matches_type(NotificationProfileListResponse, notification_profile, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.notification_profiles.with_streaming_response.list() as response: @@ -191,7 +174,6 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: notification_profile = client.notification_profiles.delete( @@ -199,7 +181,6 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert_matches_type(NotificationProfileDeleteResponse, notification_profile, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.notification_profiles.with_raw_response.delete( @@ -211,7 +192,6 @@ def test_raw_response_delete(self, client: Telnyx) -> None: notification_profile = response.parse() assert_matches_type(NotificationProfileDeleteResponse, notification_profile, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.notification_profiles.with_streaming_response.delete( @@ -225,7 +205,6 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -239,13 +218,11 @@ class TestAsyncNotificationProfiles: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: notification_profile = await async_client.notification_profiles.create() assert_matches_type(NotificationProfileCreateResponse, notification_profile, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: notification_profile = await async_client.notification_profiles.create( @@ -253,7 +230,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(NotificationProfileCreateResponse, notification_profile, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.notification_profiles.with_raw_response.create() @@ -263,7 +239,6 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: notification_profile = await response.parse() assert_matches_type(NotificationProfileCreateResponse, notification_profile, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.notification_profiles.with_streaming_response.create() as response: @@ -275,7 +250,6 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: notification_profile = await async_client.notification_profiles.retrieve( @@ -283,7 +257,6 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(NotificationProfileRetrieveResponse, notification_profile, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.notification_profiles.with_raw_response.retrieve( @@ -295,7 +268,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: notification_profile = await response.parse() assert_matches_type(NotificationProfileRetrieveResponse, notification_profile, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.notification_profiles.with_streaming_response.retrieve( @@ -309,7 +281,6 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -317,7 +288,6 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update(self, async_client: AsyncTelnyx) -> None: notification_profile = await async_client.notification_profiles.update( @@ -325,7 +295,6 @@ async def test_method_update(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(NotificationProfileUpdateResponse, notification_profile, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> None: notification_profile = await async_client.notification_profiles.update( @@ -334,7 +303,6 @@ async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(NotificationProfileUpdateResponse, notification_profile, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: response = await async_client.notification_profiles.with_raw_response.update( @@ -346,7 +314,6 @@ async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: notification_profile = await response.parse() assert_matches_type(NotificationProfileUpdateResponse, notification_profile, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> None: async with async_client.notification_profiles.with_streaming_response.update( @@ -360,7 +327,6 @@ async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -368,13 +334,11 @@ async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: notification_profile = await async_client.notification_profiles.list() assert_matches_type(NotificationProfileListResponse, notification_profile, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: notification_profile = await async_client.notification_profiles.list( @@ -385,7 +349,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(NotificationProfileListResponse, notification_profile, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.notification_profiles.with_raw_response.list() @@ -395,7 +358,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: notification_profile = await response.parse() assert_matches_type(NotificationProfileListResponse, notification_profile, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.notification_profiles.with_streaming_response.list() as response: @@ -407,7 +369,6 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: notification_profile = await async_client.notification_profiles.delete( @@ -415,7 +376,6 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(NotificationProfileDeleteResponse, notification_profile, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.notification_profiles.with_raw_response.delete( @@ -427,7 +387,6 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: notification_profile = await response.parse() assert_matches_type(NotificationProfileDeleteResponse, notification_profile, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.notification_profiles.with_streaming_response.delete( @@ -441,7 +400,6 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): diff --git a/tests/api_resources/test_notification_settings.py b/tests/api_resources/test_notification_settings.py index de1c8941..f4fb6676 100644 --- a/tests/api_resources/test_notification_settings.py +++ b/tests/api_resources/test_notification_settings.py @@ -22,13 +22,11 @@ class TestNotificationSettings: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: notification_setting = client.notification_settings.create() assert_matches_type(NotificationSettingCreateResponse, notification_setting, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: notification_setting = client.notification_settings.create( @@ -44,7 +42,6 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(NotificationSettingCreateResponse, notification_setting, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.notification_settings.with_raw_response.create() @@ -54,7 +51,6 @@ def test_raw_response_create(self, client: Telnyx) -> None: notification_setting = response.parse() assert_matches_type(NotificationSettingCreateResponse, notification_setting, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.notification_settings.with_streaming_response.create() as response: @@ -66,7 +62,6 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: notification_setting = client.notification_settings.retrieve( @@ -74,7 +69,6 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(NotificationSettingRetrieveResponse, notification_setting, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.notification_settings.with_raw_response.retrieve( @@ -86,7 +80,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: notification_setting = response.parse() assert_matches_type(NotificationSettingRetrieveResponse, notification_setting, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.notification_settings.with_streaming_response.retrieve( @@ -100,7 +93,6 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -108,13 +100,11 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: notification_setting = client.notification_settings.list() assert_matches_type(NotificationSettingListResponse, notification_setting, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: notification_setting = client.notification_settings.list( @@ -133,7 +123,6 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(NotificationSettingListResponse, notification_setting, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.notification_settings.with_raw_response.list() @@ -143,7 +132,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: notification_setting = response.parse() assert_matches_type(NotificationSettingListResponse, notification_setting, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.notification_settings.with_streaming_response.list() as response: @@ -155,7 +143,6 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: notification_setting = client.notification_settings.delete( @@ -163,7 +150,6 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert_matches_type(NotificationSettingDeleteResponse, notification_setting, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.notification_settings.with_raw_response.delete( @@ -175,7 +161,6 @@ def test_raw_response_delete(self, client: Telnyx) -> None: notification_setting = response.parse() assert_matches_type(NotificationSettingDeleteResponse, notification_setting, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.notification_settings.with_streaming_response.delete( @@ -189,7 +174,6 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -203,13 +187,11 @@ class TestAsyncNotificationSettings: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: notification_setting = await async_client.notification_settings.create() assert_matches_type(NotificationSettingCreateResponse, notification_setting, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: notification_setting = await async_client.notification_settings.create( @@ -225,7 +207,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(NotificationSettingCreateResponse, notification_setting, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.notification_settings.with_raw_response.create() @@ -235,7 +216,6 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: notification_setting = await response.parse() assert_matches_type(NotificationSettingCreateResponse, notification_setting, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.notification_settings.with_streaming_response.create() as response: @@ -247,7 +227,6 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: notification_setting = await async_client.notification_settings.retrieve( @@ -255,7 +234,6 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(NotificationSettingRetrieveResponse, notification_setting, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.notification_settings.with_raw_response.retrieve( @@ -267,7 +245,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: notification_setting = await response.parse() assert_matches_type(NotificationSettingRetrieveResponse, notification_setting, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.notification_settings.with_streaming_response.retrieve( @@ -281,7 +258,6 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -289,13 +265,11 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: notification_setting = await async_client.notification_settings.list() assert_matches_type(NotificationSettingListResponse, notification_setting, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: notification_setting = await async_client.notification_settings.list( @@ -314,7 +288,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(NotificationSettingListResponse, notification_setting, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.notification_settings.with_raw_response.list() @@ -324,7 +297,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: notification_setting = await response.parse() assert_matches_type(NotificationSettingListResponse, notification_setting, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.notification_settings.with_streaming_response.list() as response: @@ -336,7 +308,6 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: notification_setting = await async_client.notification_settings.delete( @@ -344,7 +315,6 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(NotificationSettingDeleteResponse, notification_setting, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.notification_settings.with_raw_response.delete( @@ -356,7 +326,6 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: notification_setting = await response.parse() assert_matches_type(NotificationSettingDeleteResponse, notification_setting, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.notification_settings.with_streaming_response.delete( @@ -370,7 +339,6 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): diff --git a/tests/api_resources/test_number_block_orders.py b/tests/api_resources/test_number_block_orders.py index 59fa4d54..9f125d8d 100644 --- a/tests/api_resources/test_number_block_orders.py +++ b/tests/api_resources/test_number_block_orders.py @@ -21,7 +21,6 @@ class TestNumberBlockOrders: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: number_block_order = client.number_block_orders.create( @@ -30,7 +29,6 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(NumberBlockOrderCreateResponse, number_block_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: number_block_order = client.number_block_orders.create( @@ -42,7 +40,6 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(NumberBlockOrderCreateResponse, number_block_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.number_block_orders.with_raw_response.create( @@ -55,7 +52,6 @@ def test_raw_response_create(self, client: Telnyx) -> None: number_block_order = response.parse() assert_matches_type(NumberBlockOrderCreateResponse, number_block_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.number_block_orders.with_streaming_response.create( @@ -70,7 +66,6 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: number_block_order = client.number_block_orders.retrieve( @@ -78,7 +73,6 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(NumberBlockOrderRetrieveResponse, number_block_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.number_block_orders.with_raw_response.retrieve( @@ -90,7 +84,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: number_block_order = response.parse() assert_matches_type(NumberBlockOrderRetrieveResponse, number_block_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.number_block_orders.with_streaming_response.retrieve( @@ -104,7 +97,6 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `number_block_order_id` but received ''"): @@ -112,13 +104,11 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: number_block_order = client.number_block_orders.list() assert_matches_type(NumberBlockOrderListResponse, number_block_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: number_block_order = client.number_block_orders.list( @@ -137,7 +127,6 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(NumberBlockOrderListResponse, number_block_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.number_block_orders.with_raw_response.list() @@ -147,7 +136,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: number_block_order = response.parse() assert_matches_type(NumberBlockOrderListResponse, number_block_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.number_block_orders.with_streaming_response.list() as response: @@ -165,7 +153,6 @@ class TestAsyncNumberBlockOrders: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: number_block_order = await async_client.number_block_orders.create( @@ -174,7 +161,6 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(NumberBlockOrderCreateResponse, number_block_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: number_block_order = await async_client.number_block_orders.create( @@ -186,7 +172,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(NumberBlockOrderCreateResponse, number_block_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.number_block_orders.with_raw_response.create( @@ -199,7 +184,6 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: number_block_order = await response.parse() assert_matches_type(NumberBlockOrderCreateResponse, number_block_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.number_block_orders.with_streaming_response.create( @@ -214,7 +198,6 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: number_block_order = await async_client.number_block_orders.retrieve( @@ -222,7 +205,6 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(NumberBlockOrderRetrieveResponse, number_block_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.number_block_orders.with_raw_response.retrieve( @@ -234,7 +216,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: number_block_order = await response.parse() assert_matches_type(NumberBlockOrderRetrieveResponse, number_block_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.number_block_orders.with_streaming_response.retrieve( @@ -248,7 +229,6 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `number_block_order_id` but received ''"): @@ -256,13 +236,11 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: number_block_order = await async_client.number_block_orders.list() assert_matches_type(NumberBlockOrderListResponse, number_block_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: number_block_order = await async_client.number_block_orders.list( @@ -281,7 +259,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(NumberBlockOrderListResponse, number_block_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.number_block_orders.with_raw_response.list() @@ -291,7 +268,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: number_block_order = await response.parse() assert_matches_type(NumberBlockOrderListResponse, number_block_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.number_block_orders.with_streaming_response.list() as response: diff --git a/tests/api_resources/test_number_lookup.py b/tests/api_resources/test_number_lookup.py index 39b9d4ea..d3aad833 100644 --- a/tests/api_resources/test_number_lookup.py +++ b/tests/api_resources/test_number_lookup.py @@ -17,7 +17,6 @@ class TestNumberLookup: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: number_lookup = client.number_lookup.retrieve( @@ -25,7 +24,6 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(NumberLookupRetrieveResponse, number_lookup, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve_with_all_params(self, client: Telnyx) -> None: number_lookup = client.number_lookup.retrieve( @@ -34,7 +32,6 @@ def test_method_retrieve_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(NumberLookupRetrieveResponse, number_lookup, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.number_lookup.with_raw_response.retrieve( @@ -46,7 +43,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: number_lookup = response.parse() assert_matches_type(NumberLookupRetrieveResponse, number_lookup, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.number_lookup.with_streaming_response.retrieve( @@ -60,7 +56,6 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `phone_number` but received ''"): @@ -74,7 +69,6 @@ class TestAsyncNumberLookup: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: number_lookup = await async_client.number_lookup.retrieve( @@ -82,7 +76,6 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(NumberLookupRetrieveResponse, number_lookup, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve_with_all_params(self, async_client: AsyncTelnyx) -> None: number_lookup = await async_client.number_lookup.retrieve( @@ -91,7 +84,6 @@ async def test_method_retrieve_with_all_params(self, async_client: AsyncTelnyx) ) assert_matches_type(NumberLookupRetrieveResponse, number_lookup, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.number_lookup.with_raw_response.retrieve( @@ -103,7 +95,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: number_lookup = await response.parse() assert_matches_type(NumberLookupRetrieveResponse, number_lookup, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.number_lookup.with_streaming_response.retrieve( @@ -117,7 +108,6 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `phone_number` but received ''"): diff --git a/tests/api_resources/test_number_order_phone_numbers.py b/tests/api_resources/test_number_order_phone_numbers.py index 95ed29ba..6ae6eaa7 100644 --- a/tests/api_resources/test_number_order_phone_numbers.py +++ b/tests/api_resources/test_number_order_phone_numbers.py @@ -22,7 +22,6 @@ class TestNumberOrderPhoneNumbers: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: number_order_phone_number = client.number_order_phone_numbers.retrieve( @@ -30,7 +29,6 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(NumberOrderPhoneNumberRetrieveResponse, number_order_phone_number, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.number_order_phone_numbers.with_raw_response.retrieve( @@ -42,7 +40,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: number_order_phone_number = response.parse() assert_matches_type(NumberOrderPhoneNumberRetrieveResponse, number_order_phone_number, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.number_order_phone_numbers.with_streaming_response.retrieve( @@ -56,7 +53,6 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises( @@ -66,13 +62,11 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: number_order_phone_number = client.number_order_phone_numbers.list() assert_matches_type(NumberOrderPhoneNumberListResponse, number_order_phone_number, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: number_order_phone_number = client.number_order_phone_numbers.list( @@ -80,7 +74,6 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(NumberOrderPhoneNumberListResponse, number_order_phone_number, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.number_order_phone_numbers.with_raw_response.list() @@ -90,7 +83,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: number_order_phone_number = response.parse() assert_matches_type(NumberOrderPhoneNumberListResponse, number_order_phone_number, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.number_order_phone_numbers.with_streaming_response.list() as response: @@ -102,7 +94,6 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_requirement_group(self, client: Telnyx) -> None: number_order_phone_number = client.number_order_phone_numbers.update_requirement_group( @@ -113,7 +104,6 @@ def test_method_update_requirement_group(self, client: Telnyx) -> None: NumberOrderPhoneNumberUpdateRequirementGroupResponse, number_order_phone_number, path=["response"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update_requirement_group(self, client: Telnyx) -> None: response = client.number_order_phone_numbers.with_raw_response.update_requirement_group( @@ -128,7 +118,6 @@ def test_raw_response_update_requirement_group(self, client: Telnyx) -> None: NumberOrderPhoneNumberUpdateRequirementGroupResponse, number_order_phone_number, path=["response"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update_requirement_group(self, client: Telnyx) -> None: with client.number_order_phone_numbers.with_streaming_response.update_requirement_group( @@ -145,7 +134,6 @@ def test_streaming_response_update_requirement_group(self, client: Telnyx) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update_requirement_group(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -154,7 +142,6 @@ def test_path_params_update_requirement_group(self, client: Telnyx) -> None: requirement_group_id="182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_requirements(self, client: Telnyx) -> None: number_order_phone_number = client.number_order_phone_numbers.update_requirements( @@ -164,7 +151,6 @@ def test_method_update_requirements(self, client: Telnyx) -> None: NumberOrderPhoneNumberUpdateRequirementsResponse, number_order_phone_number, path=["response"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_requirements_with_all_params(self, client: Telnyx) -> None: number_order_phone_number = client.number_order_phone_numbers.update_requirements( @@ -180,7 +166,6 @@ def test_method_update_requirements_with_all_params(self, client: Telnyx) -> Non NumberOrderPhoneNumberUpdateRequirementsResponse, number_order_phone_number, path=["response"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update_requirements(self, client: Telnyx) -> None: response = client.number_order_phone_numbers.with_raw_response.update_requirements( @@ -194,7 +179,6 @@ def test_raw_response_update_requirements(self, client: Telnyx) -> None: NumberOrderPhoneNumberUpdateRequirementsResponse, number_order_phone_number, path=["response"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update_requirements(self, client: Telnyx) -> None: with client.number_order_phone_numbers.with_streaming_response.update_requirements( @@ -210,7 +194,6 @@ def test_streaming_response_update_requirements(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update_requirements(self, client: Telnyx) -> None: with pytest.raises( @@ -226,7 +209,6 @@ class TestAsyncNumberOrderPhoneNumbers: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: number_order_phone_number = await async_client.number_order_phone_numbers.retrieve( @@ -234,7 +216,6 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(NumberOrderPhoneNumberRetrieveResponse, number_order_phone_number, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.number_order_phone_numbers.with_raw_response.retrieve( @@ -246,7 +227,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: number_order_phone_number = await response.parse() assert_matches_type(NumberOrderPhoneNumberRetrieveResponse, number_order_phone_number, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.number_order_phone_numbers.with_streaming_response.retrieve( @@ -260,7 +240,6 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises( @@ -270,13 +249,11 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: number_order_phone_number = await async_client.number_order_phone_numbers.list() assert_matches_type(NumberOrderPhoneNumberListResponse, number_order_phone_number, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: number_order_phone_number = await async_client.number_order_phone_numbers.list( @@ -284,7 +261,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(NumberOrderPhoneNumberListResponse, number_order_phone_number, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.number_order_phone_numbers.with_raw_response.list() @@ -294,7 +270,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: number_order_phone_number = await response.parse() assert_matches_type(NumberOrderPhoneNumberListResponse, number_order_phone_number, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.number_order_phone_numbers.with_streaming_response.list() as response: @@ -306,7 +281,6 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_requirement_group(self, async_client: AsyncTelnyx) -> None: number_order_phone_number = await async_client.number_order_phone_numbers.update_requirement_group( @@ -317,7 +291,6 @@ async def test_method_update_requirement_group(self, async_client: AsyncTelnyx) NumberOrderPhoneNumberUpdateRequirementGroupResponse, number_order_phone_number, path=["response"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update_requirement_group(self, async_client: AsyncTelnyx) -> None: response = await async_client.number_order_phone_numbers.with_raw_response.update_requirement_group( @@ -332,7 +305,6 @@ async def test_raw_response_update_requirement_group(self, async_client: AsyncTe NumberOrderPhoneNumberUpdateRequirementGroupResponse, number_order_phone_number, path=["response"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update_requirement_group(self, async_client: AsyncTelnyx) -> None: async with async_client.number_order_phone_numbers.with_streaming_response.update_requirement_group( @@ -349,7 +321,6 @@ async def test_streaming_response_update_requirement_group(self, async_client: A assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update_requirement_group(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -358,7 +329,6 @@ async def test_path_params_update_requirement_group(self, async_client: AsyncTel requirement_group_id="182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_requirements(self, async_client: AsyncTelnyx) -> None: number_order_phone_number = await async_client.number_order_phone_numbers.update_requirements( @@ -368,7 +338,6 @@ async def test_method_update_requirements(self, async_client: AsyncTelnyx) -> No NumberOrderPhoneNumberUpdateRequirementsResponse, number_order_phone_number, path=["response"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_requirements_with_all_params(self, async_client: AsyncTelnyx) -> None: number_order_phone_number = await async_client.number_order_phone_numbers.update_requirements( @@ -384,7 +353,6 @@ async def test_method_update_requirements_with_all_params(self, async_client: As NumberOrderPhoneNumberUpdateRequirementsResponse, number_order_phone_number, path=["response"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update_requirements(self, async_client: AsyncTelnyx) -> None: response = await async_client.number_order_phone_numbers.with_raw_response.update_requirements( @@ -398,7 +366,6 @@ async def test_raw_response_update_requirements(self, async_client: AsyncTelnyx) NumberOrderPhoneNumberUpdateRequirementsResponse, number_order_phone_number, path=["response"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update_requirements(self, async_client: AsyncTelnyx) -> None: async with async_client.number_order_phone_numbers.with_streaming_response.update_requirements( @@ -414,7 +381,6 @@ async def test_streaming_response_update_requirements(self, async_client: AsyncT assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update_requirements(self, async_client: AsyncTelnyx) -> None: with pytest.raises( diff --git a/tests/api_resources/test_number_orders.py b/tests/api_resources/test_number_orders.py index 421973d7..28221c75 100644 --- a/tests/api_resources/test_number_orders.py +++ b/tests/api_resources/test_number_orders.py @@ -22,13 +22,11 @@ class TestNumberOrders: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: number_order = client.number_orders.create() assert_matches_type(NumberOrderCreateResponse, number_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: number_order = client.number_orders.create( @@ -51,7 +49,6 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(NumberOrderCreateResponse, number_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.number_orders.with_raw_response.create() @@ -61,7 +58,6 @@ def test_raw_response_create(self, client: Telnyx) -> None: number_order = response.parse() assert_matches_type(NumberOrderCreateResponse, number_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.number_orders.with_streaming_response.create() as response: @@ -73,7 +69,6 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: number_order = client.number_orders.retrieve( @@ -81,7 +76,6 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(NumberOrderRetrieveResponse, number_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.number_orders.with_raw_response.retrieve( @@ -93,7 +87,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: number_order = response.parse() assert_matches_type(NumberOrderRetrieveResponse, number_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.number_orders.with_streaming_response.retrieve( @@ -107,7 +100,6 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `number_order_id` but received ''"): @@ -115,7 +107,6 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update(self, client: Telnyx) -> None: number_order = client.number_orders.update( @@ -123,7 +114,6 @@ def test_method_update(self, client: Telnyx) -> None: ) assert_matches_type(NumberOrderUpdateResponse, number_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_with_all_params(self, client: Telnyx) -> None: number_order = client.number_orders.update( @@ -138,7 +128,6 @@ def test_method_update_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(NumberOrderUpdateResponse, number_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update(self, client: Telnyx) -> None: response = client.number_orders.with_raw_response.update( @@ -150,7 +139,6 @@ def test_raw_response_update(self, client: Telnyx) -> None: number_order = response.parse() assert_matches_type(NumberOrderUpdateResponse, number_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update(self, client: Telnyx) -> None: with client.number_orders.with_streaming_response.update( @@ -164,7 +152,6 @@ def test_streaming_response_update(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `number_order_id` but received ''"): @@ -172,13 +159,11 @@ def test_path_params_update(self, client: Telnyx) -> None: number_order_id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: number_order = client.number_orders.list() assert_matches_type(NumberOrderListResponse, number_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: number_order = client.number_orders.list( @@ -199,7 +184,6 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(NumberOrderListResponse, number_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.number_orders.with_raw_response.list() @@ -209,7 +193,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: number_order = response.parse() assert_matches_type(NumberOrderListResponse, number_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.number_orders.with_streaming_response.list() as response: @@ -227,13 +210,11 @@ class TestAsyncNumberOrders: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: number_order = await async_client.number_orders.create() assert_matches_type(NumberOrderCreateResponse, number_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: number_order = await async_client.number_orders.create( @@ -256,7 +237,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(NumberOrderCreateResponse, number_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.number_orders.with_raw_response.create() @@ -266,7 +246,6 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: number_order = await response.parse() assert_matches_type(NumberOrderCreateResponse, number_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.number_orders.with_streaming_response.create() as response: @@ -278,7 +257,6 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: number_order = await async_client.number_orders.retrieve( @@ -286,7 +264,6 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(NumberOrderRetrieveResponse, number_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.number_orders.with_raw_response.retrieve( @@ -298,7 +275,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: number_order = await response.parse() assert_matches_type(NumberOrderRetrieveResponse, number_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.number_orders.with_streaming_response.retrieve( @@ -312,7 +288,6 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `number_order_id` but received ''"): @@ -320,7 +295,6 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update(self, async_client: AsyncTelnyx) -> None: number_order = await async_client.number_orders.update( @@ -328,7 +302,6 @@ async def test_method_update(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(NumberOrderUpdateResponse, number_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> None: number_order = await async_client.number_orders.update( @@ -343,7 +316,6 @@ async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(NumberOrderUpdateResponse, number_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: response = await async_client.number_orders.with_raw_response.update( @@ -355,7 +327,6 @@ async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: number_order = await response.parse() assert_matches_type(NumberOrderUpdateResponse, number_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> None: async with async_client.number_orders.with_streaming_response.update( @@ -369,7 +340,6 @@ async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `number_order_id` but received ''"): @@ -377,13 +347,11 @@ async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: number_order_id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: number_order = await async_client.number_orders.list() assert_matches_type(NumberOrderListResponse, number_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: number_order = await async_client.number_orders.list( @@ -404,7 +372,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(NumberOrderListResponse, number_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.number_orders.with_raw_response.list() @@ -414,7 +381,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: number_order = await response.parse() assert_matches_type(NumberOrderListResponse, number_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.number_orders.with_streaming_response.list() as response: diff --git a/tests/api_resources/test_number_reservations.py b/tests/api_resources/test_number_reservations.py index 4218c909..484c7319 100644 --- a/tests/api_resources/test_number_reservations.py +++ b/tests/api_resources/test_number_reservations.py @@ -21,13 +21,11 @@ class TestNumberReservations: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: number_reservation = client.number_reservations.create() assert_matches_type(NumberReservationCreateResponse, number_reservation, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: number_reservation = client.number_reservations.create( @@ -36,7 +34,6 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(NumberReservationCreateResponse, number_reservation, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.number_reservations.with_raw_response.create() @@ -46,7 +43,6 @@ def test_raw_response_create(self, client: Telnyx) -> None: number_reservation = response.parse() assert_matches_type(NumberReservationCreateResponse, number_reservation, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.number_reservations.with_streaming_response.create() as response: @@ -58,7 +54,6 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: number_reservation = client.number_reservations.retrieve( @@ -66,7 +61,6 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(NumberReservationRetrieveResponse, number_reservation, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.number_reservations.with_raw_response.retrieve( @@ -78,7 +72,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: number_reservation = response.parse() assert_matches_type(NumberReservationRetrieveResponse, number_reservation, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.number_reservations.with_streaming_response.retrieve( @@ -92,7 +85,6 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `number_reservation_id` but received ''"): @@ -100,13 +92,11 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: number_reservation = client.number_reservations.list() assert_matches_type(NumberReservationListResponse, number_reservation, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: number_reservation = client.number_reservations.list( @@ -126,7 +116,6 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(NumberReservationListResponse, number_reservation, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.number_reservations.with_raw_response.list() @@ -136,7 +125,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: number_reservation = response.parse() assert_matches_type(NumberReservationListResponse, number_reservation, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.number_reservations.with_streaming_response.list() as response: @@ -154,13 +142,11 @@ class TestAsyncNumberReservations: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: number_reservation = await async_client.number_reservations.create() assert_matches_type(NumberReservationCreateResponse, number_reservation, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: number_reservation = await async_client.number_reservations.create( @@ -169,7 +155,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(NumberReservationCreateResponse, number_reservation, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.number_reservations.with_raw_response.create() @@ -179,7 +164,6 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: number_reservation = await response.parse() assert_matches_type(NumberReservationCreateResponse, number_reservation, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.number_reservations.with_streaming_response.create() as response: @@ -191,7 +175,6 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: number_reservation = await async_client.number_reservations.retrieve( @@ -199,7 +182,6 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(NumberReservationRetrieveResponse, number_reservation, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.number_reservations.with_raw_response.retrieve( @@ -211,7 +193,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: number_reservation = await response.parse() assert_matches_type(NumberReservationRetrieveResponse, number_reservation, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.number_reservations.with_streaming_response.retrieve( @@ -225,7 +206,6 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `number_reservation_id` but received ''"): @@ -233,13 +213,11 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: number_reservation = await async_client.number_reservations.list() assert_matches_type(NumberReservationListResponse, number_reservation, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: number_reservation = await async_client.number_reservations.list( @@ -259,7 +237,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(NumberReservationListResponse, number_reservation, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.number_reservations.with_raw_response.list() @@ -269,7 +246,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: number_reservation = await response.parse() assert_matches_type(NumberReservationListResponse, number_reservation, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.number_reservations.with_streaming_response.list() as response: diff --git a/tests/api_resources/test_numbers_features.py b/tests/api_resources/test_numbers_features.py index f8fbf68f..800c674b 100644 --- a/tests/api_resources/test_numbers_features.py +++ b/tests/api_resources/test_numbers_features.py @@ -17,7 +17,6 @@ class TestNumbersFeatures: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: numbers_feature = client.numbers_features.create( @@ -25,7 +24,6 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(NumbersFeatureCreateResponse, numbers_feature, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.numbers_features.with_raw_response.create( @@ -37,7 +35,6 @@ def test_raw_response_create(self, client: Telnyx) -> None: numbers_feature = response.parse() assert_matches_type(NumbersFeatureCreateResponse, numbers_feature, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.numbers_features.with_streaming_response.create( @@ -57,7 +54,6 @@ class TestAsyncNumbersFeatures: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: numbers_feature = await async_client.numbers_features.create( @@ -65,7 +61,6 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(NumbersFeatureCreateResponse, numbers_feature, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.numbers_features.with_raw_response.create( @@ -77,7 +72,6 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: numbers_feature = await response.parse() assert_matches_type(NumbersFeatureCreateResponse, numbers_feature, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.numbers_features.with_streaming_response.create( diff --git a/tests/api_resources/test_ota_updates.py b/tests/api_resources/test_ota_updates.py index b05d90d2..4c19736c 100644 --- a/tests/api_resources/test_ota_updates.py +++ b/tests/api_resources/test_ota_updates.py @@ -17,7 +17,6 @@ class TestOtaUpdates: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: ota_update = client.ota_updates.retrieve( @@ -25,7 +24,6 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(OtaUpdateRetrieveResponse, ota_update, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.ota_updates.with_raw_response.retrieve( @@ -37,7 +35,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: ota_update = response.parse() assert_matches_type(OtaUpdateRetrieveResponse, ota_update, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.ota_updates.with_streaming_response.retrieve( @@ -51,7 +48,6 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -59,13 +55,11 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: ota_update = client.ota_updates.list() assert_matches_type(OtaUpdateListResponse, ota_update, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: ota_update = client.ota_updates.list( @@ -81,7 +75,6 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(OtaUpdateListResponse, ota_update, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.ota_updates.with_raw_response.list() @@ -91,7 +84,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: ota_update = response.parse() assert_matches_type(OtaUpdateListResponse, ota_update, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.ota_updates.with_streaming_response.list() as response: @@ -109,7 +101,6 @@ class TestAsyncOtaUpdates: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ota_update = await async_client.ota_updates.retrieve( @@ -117,7 +108,6 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(OtaUpdateRetrieveResponse, ota_update, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.ota_updates.with_raw_response.retrieve( @@ -129,7 +119,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: ota_update = await response.parse() assert_matches_type(OtaUpdateRetrieveResponse, ota_update, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.ota_updates.with_streaming_response.retrieve( @@ -143,7 +132,6 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -151,13 +139,11 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: ota_update = await async_client.ota_updates.list() assert_matches_type(OtaUpdateListResponse, ota_update, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: ota_update = await async_client.ota_updates.list( @@ -173,7 +159,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(OtaUpdateListResponse, ota_update, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.ota_updates.with_raw_response.list() @@ -183,7 +168,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: ota_update = await response.parse() assert_matches_type(OtaUpdateListResponse, ota_update, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.ota_updates.with_streaming_response.list() as response: diff --git a/tests/api_resources/test_outbound_voice_profiles.py b/tests/api_resources/test_outbound_voice_profiles.py index c8ce242c..a5ed5cfd 100644 --- a/tests/api_resources/test_outbound_voice_profiles.py +++ b/tests/api_resources/test_outbound_voice_profiles.py @@ -23,7 +23,6 @@ class TestOutboundVoiceProfiles: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: outbound_voice_profile = client.outbound_voice_profiles.create( @@ -31,7 +30,6 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(OutboundVoiceProfileCreateResponse, outbound_voice_profile, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: outbound_voice_profile = client.outbound_voice_profiles.create( @@ -56,7 +54,6 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(OutboundVoiceProfileCreateResponse, outbound_voice_profile, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.outbound_voice_profiles.with_raw_response.create( @@ -68,7 +65,6 @@ def test_raw_response_create(self, client: Telnyx) -> None: outbound_voice_profile = response.parse() assert_matches_type(OutboundVoiceProfileCreateResponse, outbound_voice_profile, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.outbound_voice_profiles.with_streaming_response.create( @@ -82,7 +78,6 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: outbound_voice_profile = client.outbound_voice_profiles.retrieve( @@ -90,7 +85,6 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(OutboundVoiceProfileRetrieveResponse, outbound_voice_profile, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.outbound_voice_profiles.with_raw_response.retrieve( @@ -102,7 +96,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: outbound_voice_profile = response.parse() assert_matches_type(OutboundVoiceProfileRetrieveResponse, outbound_voice_profile, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.outbound_voice_profiles.with_streaming_response.retrieve( @@ -116,7 +109,6 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -124,7 +116,6 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update(self, client: Telnyx) -> None: outbound_voice_profile = client.outbound_voice_profiles.update( @@ -133,7 +124,6 @@ def test_method_update(self, client: Telnyx) -> None: ) assert_matches_type(OutboundVoiceProfileUpdateResponse, outbound_voice_profile, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_with_all_params(self, client: Telnyx) -> None: outbound_voice_profile = client.outbound_voice_profiles.update( @@ -159,7 +149,6 @@ def test_method_update_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(OutboundVoiceProfileUpdateResponse, outbound_voice_profile, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update(self, client: Telnyx) -> None: response = client.outbound_voice_profiles.with_raw_response.update( @@ -172,7 +161,6 @@ def test_raw_response_update(self, client: Telnyx) -> None: outbound_voice_profile = response.parse() assert_matches_type(OutboundVoiceProfileUpdateResponse, outbound_voice_profile, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update(self, client: Telnyx) -> None: with client.outbound_voice_profiles.with_streaming_response.update( @@ -187,7 +175,6 @@ def test_streaming_response_update(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -196,13 +183,11 @@ def test_path_params_update(self, client: Telnyx) -> None: name="office", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: outbound_voice_profile = client.outbound_voice_profiles.list() assert_matches_type(OutboundVoiceProfileListResponse, outbound_voice_profile, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: outbound_voice_profile = client.outbound_voice_profiles.list( @@ -215,7 +200,6 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(OutboundVoiceProfileListResponse, outbound_voice_profile, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.outbound_voice_profiles.with_raw_response.list() @@ -225,7 +209,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: outbound_voice_profile = response.parse() assert_matches_type(OutboundVoiceProfileListResponse, outbound_voice_profile, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.outbound_voice_profiles.with_streaming_response.list() as response: @@ -237,7 +220,6 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: outbound_voice_profile = client.outbound_voice_profiles.delete( @@ -245,7 +227,6 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert_matches_type(OutboundVoiceProfileDeleteResponse, outbound_voice_profile, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.outbound_voice_profiles.with_raw_response.delete( @@ -257,7 +238,6 @@ def test_raw_response_delete(self, client: Telnyx) -> None: outbound_voice_profile = response.parse() assert_matches_type(OutboundVoiceProfileDeleteResponse, outbound_voice_profile, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.outbound_voice_profiles.with_streaming_response.delete( @@ -271,7 +251,6 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -285,7 +264,6 @@ class TestAsyncOutboundVoiceProfiles: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: outbound_voice_profile = await async_client.outbound_voice_profiles.create( @@ -293,7 +271,6 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(OutboundVoiceProfileCreateResponse, outbound_voice_profile, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: outbound_voice_profile = await async_client.outbound_voice_profiles.create( @@ -318,7 +295,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(OutboundVoiceProfileCreateResponse, outbound_voice_profile, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.outbound_voice_profiles.with_raw_response.create( @@ -330,7 +306,6 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: outbound_voice_profile = await response.parse() assert_matches_type(OutboundVoiceProfileCreateResponse, outbound_voice_profile, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.outbound_voice_profiles.with_streaming_response.create( @@ -344,7 +319,6 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: outbound_voice_profile = await async_client.outbound_voice_profiles.retrieve( @@ -352,7 +326,6 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(OutboundVoiceProfileRetrieveResponse, outbound_voice_profile, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.outbound_voice_profiles.with_raw_response.retrieve( @@ -364,7 +337,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: outbound_voice_profile = await response.parse() assert_matches_type(OutboundVoiceProfileRetrieveResponse, outbound_voice_profile, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.outbound_voice_profiles.with_streaming_response.retrieve( @@ -378,7 +350,6 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -386,7 +357,6 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update(self, async_client: AsyncTelnyx) -> None: outbound_voice_profile = await async_client.outbound_voice_profiles.update( @@ -395,7 +365,6 @@ async def test_method_update(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(OutboundVoiceProfileUpdateResponse, outbound_voice_profile, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> None: outbound_voice_profile = await async_client.outbound_voice_profiles.update( @@ -421,7 +390,6 @@ async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(OutboundVoiceProfileUpdateResponse, outbound_voice_profile, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: response = await async_client.outbound_voice_profiles.with_raw_response.update( @@ -434,7 +402,6 @@ async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: outbound_voice_profile = await response.parse() assert_matches_type(OutboundVoiceProfileUpdateResponse, outbound_voice_profile, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> None: async with async_client.outbound_voice_profiles.with_streaming_response.update( @@ -449,7 +416,6 @@ async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -458,13 +424,11 @@ async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: name="office", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: outbound_voice_profile = await async_client.outbound_voice_profiles.list() assert_matches_type(OutboundVoiceProfileListResponse, outbound_voice_profile, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: outbound_voice_profile = await async_client.outbound_voice_profiles.list( @@ -477,7 +441,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(OutboundVoiceProfileListResponse, outbound_voice_profile, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.outbound_voice_profiles.with_raw_response.list() @@ -487,7 +450,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: outbound_voice_profile = await response.parse() assert_matches_type(OutboundVoiceProfileListResponse, outbound_voice_profile, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.outbound_voice_profiles.with_streaming_response.list() as response: @@ -499,7 +461,6 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: outbound_voice_profile = await async_client.outbound_voice_profiles.delete( @@ -507,7 +468,6 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(OutboundVoiceProfileDeleteResponse, outbound_voice_profile, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.outbound_voice_profiles.with_raw_response.delete( @@ -519,7 +479,6 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: outbound_voice_profile = await response.parse() assert_matches_type(OutboundVoiceProfileDeleteResponse, outbound_voice_profile, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.outbound_voice_profiles.with_streaming_response.delete( @@ -533,7 +492,6 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): diff --git a/tests/api_resources/test_partner_campaigns.py b/tests/api_resources/test_partner_campaigns.py index 56b96282..349a05d0 100644 --- a/tests/api_resources/test_partner_campaigns.py +++ b/tests/api_resources/test_partner_campaigns.py @@ -22,7 +22,6 @@ class TestPartnerCampaigns: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: partner_campaign = client.partner_campaigns.retrieve( @@ -30,7 +29,6 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(TelnyxDownstreamCampaign, partner_campaign, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.partner_campaigns.with_raw_response.retrieve( @@ -42,7 +40,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: partner_campaign = response.parse() assert_matches_type(TelnyxDownstreamCampaign, partner_campaign, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.partner_campaigns.with_streaming_response.retrieve( @@ -56,7 +53,6 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `campaign_id` but received ''"): @@ -64,7 +60,6 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update(self, client: Telnyx) -> None: partner_campaign = client.partner_campaigns.update( @@ -72,7 +67,6 @@ def test_method_update(self, client: Telnyx) -> None: ) assert_matches_type(TelnyxDownstreamCampaign, partner_campaign, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_with_all_params(self, client: Telnyx) -> None: partner_campaign = client.partner_campaigns.update( @@ -82,7 +76,6 @@ def test_method_update_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(TelnyxDownstreamCampaign, partner_campaign, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update(self, client: Telnyx) -> None: response = client.partner_campaigns.with_raw_response.update( @@ -94,7 +87,6 @@ def test_raw_response_update(self, client: Telnyx) -> None: partner_campaign = response.parse() assert_matches_type(TelnyxDownstreamCampaign, partner_campaign, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update(self, client: Telnyx) -> None: with client.partner_campaigns.with_streaming_response.update( @@ -108,7 +100,6 @@ def test_streaming_response_update(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `campaign_id` but received ''"): @@ -116,13 +107,11 @@ def test_path_params_update(self, client: Telnyx) -> None: campaign_id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: partner_campaign = client.partner_campaigns.list() assert_matches_type(PartnerCampaignListResponse, partner_campaign, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: partner_campaign = client.partner_campaigns.list( @@ -132,7 +121,6 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(PartnerCampaignListResponse, partner_campaign, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.partner_campaigns.with_raw_response.list() @@ -142,7 +130,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: partner_campaign = response.parse() assert_matches_type(PartnerCampaignListResponse, partner_campaign, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.partner_campaigns.with_streaming_response.list() as response: @@ -154,13 +141,11 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_shared_by_me(self, client: Telnyx) -> None: partner_campaign = client.partner_campaigns.list_shared_by_me() assert_matches_type(PartnerCampaignListSharedByMeResponse, partner_campaign, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_shared_by_me_with_all_params(self, client: Telnyx) -> None: partner_campaign = client.partner_campaigns.list_shared_by_me( @@ -169,7 +154,6 @@ def test_method_list_shared_by_me_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(PartnerCampaignListSharedByMeResponse, partner_campaign, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list_shared_by_me(self, client: Telnyx) -> None: response = client.partner_campaigns.with_raw_response.list_shared_by_me() @@ -179,7 +163,6 @@ def test_raw_response_list_shared_by_me(self, client: Telnyx) -> None: partner_campaign = response.parse() assert_matches_type(PartnerCampaignListSharedByMeResponse, partner_campaign, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list_shared_by_me(self, client: Telnyx) -> None: with client.partner_campaigns.with_streaming_response.list_shared_by_me() as response: @@ -191,7 +174,6 @@ def test_streaming_response_list_shared_by_me(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve_sharing_status(self, client: Telnyx) -> None: partner_campaign = client.partner_campaigns.retrieve_sharing_status( @@ -199,7 +181,6 @@ def test_method_retrieve_sharing_status(self, client: Telnyx) -> None: ) assert_matches_type(PartnerCampaignRetrieveSharingStatusResponse, partner_campaign, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve_sharing_status(self, client: Telnyx) -> None: response = client.partner_campaigns.with_raw_response.retrieve_sharing_status( @@ -211,7 +192,6 @@ def test_raw_response_retrieve_sharing_status(self, client: Telnyx) -> None: partner_campaign = response.parse() assert_matches_type(PartnerCampaignRetrieveSharingStatusResponse, partner_campaign, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve_sharing_status(self, client: Telnyx) -> None: with client.partner_campaigns.with_streaming_response.retrieve_sharing_status( @@ -225,7 +205,6 @@ def test_streaming_response_retrieve_sharing_status(self, client: Telnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve_sharing_status(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `campaign_id` but received ''"): @@ -239,7 +218,6 @@ class TestAsyncPartnerCampaigns: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: partner_campaign = await async_client.partner_campaigns.retrieve( @@ -247,7 +225,6 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(TelnyxDownstreamCampaign, partner_campaign, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.partner_campaigns.with_raw_response.retrieve( @@ -259,7 +236,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: partner_campaign = await response.parse() assert_matches_type(TelnyxDownstreamCampaign, partner_campaign, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.partner_campaigns.with_streaming_response.retrieve( @@ -273,7 +249,6 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `campaign_id` but received ''"): @@ -281,7 +256,6 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update(self, async_client: AsyncTelnyx) -> None: partner_campaign = await async_client.partner_campaigns.update( @@ -289,7 +263,6 @@ async def test_method_update(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(TelnyxDownstreamCampaign, partner_campaign, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> None: partner_campaign = await async_client.partner_campaigns.update( @@ -299,7 +272,6 @@ async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(TelnyxDownstreamCampaign, partner_campaign, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: response = await async_client.partner_campaigns.with_raw_response.update( @@ -311,7 +283,6 @@ async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: partner_campaign = await response.parse() assert_matches_type(TelnyxDownstreamCampaign, partner_campaign, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> None: async with async_client.partner_campaigns.with_streaming_response.update( @@ -325,7 +296,6 @@ async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `campaign_id` but received ''"): @@ -333,13 +303,11 @@ async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: campaign_id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: partner_campaign = await async_client.partner_campaigns.list() assert_matches_type(PartnerCampaignListResponse, partner_campaign, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: partner_campaign = await async_client.partner_campaigns.list( @@ -349,7 +317,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(PartnerCampaignListResponse, partner_campaign, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.partner_campaigns.with_raw_response.list() @@ -359,7 +326,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: partner_campaign = await response.parse() assert_matches_type(PartnerCampaignListResponse, partner_campaign, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.partner_campaigns.with_streaming_response.list() as response: @@ -371,13 +337,11 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_shared_by_me(self, async_client: AsyncTelnyx) -> None: partner_campaign = await async_client.partner_campaigns.list_shared_by_me() assert_matches_type(PartnerCampaignListSharedByMeResponse, partner_campaign, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_shared_by_me_with_all_params(self, async_client: AsyncTelnyx) -> None: partner_campaign = await async_client.partner_campaigns.list_shared_by_me( @@ -386,7 +350,6 @@ async def test_method_list_shared_by_me_with_all_params(self, async_client: Asyn ) assert_matches_type(PartnerCampaignListSharedByMeResponse, partner_campaign, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list_shared_by_me(self, async_client: AsyncTelnyx) -> None: response = await async_client.partner_campaigns.with_raw_response.list_shared_by_me() @@ -396,7 +359,6 @@ async def test_raw_response_list_shared_by_me(self, async_client: AsyncTelnyx) - partner_campaign = await response.parse() assert_matches_type(PartnerCampaignListSharedByMeResponse, partner_campaign, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list_shared_by_me(self, async_client: AsyncTelnyx) -> None: async with async_client.partner_campaigns.with_streaming_response.list_shared_by_me() as response: @@ -408,7 +370,6 @@ async def test_streaming_response_list_shared_by_me(self, async_client: AsyncTel assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve_sharing_status(self, async_client: AsyncTelnyx) -> None: partner_campaign = await async_client.partner_campaigns.retrieve_sharing_status( @@ -416,7 +377,6 @@ async def test_method_retrieve_sharing_status(self, async_client: AsyncTelnyx) - ) assert_matches_type(PartnerCampaignRetrieveSharingStatusResponse, partner_campaign, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve_sharing_status(self, async_client: AsyncTelnyx) -> None: response = await async_client.partner_campaigns.with_raw_response.retrieve_sharing_status( @@ -428,7 +388,6 @@ async def test_raw_response_retrieve_sharing_status(self, async_client: AsyncTel partner_campaign = await response.parse() assert_matches_type(PartnerCampaignRetrieveSharingStatusResponse, partner_campaign, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve_sharing_status(self, async_client: AsyncTelnyx) -> None: async with async_client.partner_campaigns.with_streaming_response.retrieve_sharing_status( @@ -442,7 +401,6 @@ async def test_streaming_response_retrieve_sharing_status(self, async_client: As assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve_sharing_status(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `campaign_id` but received ''"): diff --git a/tests/api_resources/test_phone_number_assignment_by_profile.py b/tests/api_resources/test_phone_number_assignment_by_profile.py index 3f220343..8391188b 100644 --- a/tests/api_resources/test_phone_number_assignment_by_profile.py +++ b/tests/api_resources/test_phone_number_assignment_by_profile.py @@ -21,7 +21,6 @@ class TestPhoneNumberAssignmentByProfile: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_assign(self, client: Telnyx) -> None: phone_number_assignment_by_profile = client.phone_number_assignment_by_profile.assign( @@ -31,7 +30,6 @@ def test_method_assign(self, client: Telnyx) -> None: PhoneNumberAssignmentByProfileAssignResponse, phone_number_assignment_by_profile, path=["response"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_assign_with_all_params(self, client: Telnyx) -> None: phone_number_assignment_by_profile = client.phone_number_assignment_by_profile.assign( @@ -43,7 +41,6 @@ def test_method_assign_with_all_params(self, client: Telnyx) -> None: PhoneNumberAssignmentByProfileAssignResponse, phone_number_assignment_by_profile, path=["response"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_assign(self, client: Telnyx) -> None: response = client.phone_number_assignment_by_profile.with_raw_response.assign( @@ -57,7 +54,6 @@ def test_raw_response_assign(self, client: Telnyx) -> None: PhoneNumberAssignmentByProfileAssignResponse, phone_number_assignment_by_profile, path=["response"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_assign(self, client: Telnyx) -> None: with client.phone_number_assignment_by_profile.with_streaming_response.assign( @@ -73,7 +69,6 @@ def test_streaming_response_assign(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve_phone_number_status(self, client: Telnyx) -> None: phone_number_assignment_by_profile = client.phone_number_assignment_by_profile.retrieve_phone_number_status( @@ -85,7 +80,6 @@ def test_method_retrieve_phone_number_status(self, client: Telnyx) -> None: path=["response"], ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve_phone_number_status_with_all_params(self, client: Telnyx) -> None: phone_number_assignment_by_profile = client.phone_number_assignment_by_profile.retrieve_phone_number_status( @@ -99,7 +93,6 @@ def test_method_retrieve_phone_number_status_with_all_params(self, client: Telny path=["response"], ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve_phone_number_status(self, client: Telnyx) -> None: response = client.phone_number_assignment_by_profile.with_raw_response.retrieve_phone_number_status( @@ -115,7 +108,6 @@ def test_raw_response_retrieve_phone_number_status(self, client: Telnyx) -> None path=["response"], ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve_phone_number_status(self, client: Telnyx) -> None: with client.phone_number_assignment_by_profile.with_streaming_response.retrieve_phone_number_status( @@ -133,7 +125,6 @@ def test_streaming_response_retrieve_phone_number_status(self, client: Telnyx) - assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve_phone_number_status(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `task_id` but received ''"): @@ -141,7 +132,6 @@ def test_path_params_retrieve_phone_number_status(self, client: Telnyx) -> None: task_id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve_status(self, client: Telnyx) -> None: phone_number_assignment_by_profile = client.phone_number_assignment_by_profile.retrieve_status( @@ -151,7 +141,6 @@ def test_method_retrieve_status(self, client: Telnyx) -> None: PhoneNumberAssignmentByProfileRetrieveStatusResponse, phone_number_assignment_by_profile, path=["response"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve_status(self, client: Telnyx) -> None: response = client.phone_number_assignment_by_profile.with_raw_response.retrieve_status( @@ -165,7 +154,6 @@ def test_raw_response_retrieve_status(self, client: Telnyx) -> None: PhoneNumberAssignmentByProfileRetrieveStatusResponse, phone_number_assignment_by_profile, path=["response"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve_status(self, client: Telnyx) -> None: with client.phone_number_assignment_by_profile.with_streaming_response.retrieve_status( @@ -183,7 +171,6 @@ def test_streaming_response_retrieve_status(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve_status(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `task_id` but received ''"): @@ -197,7 +184,6 @@ class TestAsyncPhoneNumberAssignmentByProfile: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_assign(self, async_client: AsyncTelnyx) -> None: phone_number_assignment_by_profile = await async_client.phone_number_assignment_by_profile.assign( @@ -207,7 +193,6 @@ async def test_method_assign(self, async_client: AsyncTelnyx) -> None: PhoneNumberAssignmentByProfileAssignResponse, phone_number_assignment_by_profile, path=["response"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_assign_with_all_params(self, async_client: AsyncTelnyx) -> None: phone_number_assignment_by_profile = await async_client.phone_number_assignment_by_profile.assign( @@ -219,7 +204,6 @@ async def test_method_assign_with_all_params(self, async_client: AsyncTelnyx) -> PhoneNumberAssignmentByProfileAssignResponse, phone_number_assignment_by_profile, path=["response"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_assign(self, async_client: AsyncTelnyx) -> None: response = await async_client.phone_number_assignment_by_profile.with_raw_response.assign( @@ -233,7 +217,6 @@ async def test_raw_response_assign(self, async_client: AsyncTelnyx) -> None: PhoneNumberAssignmentByProfileAssignResponse, phone_number_assignment_by_profile, path=["response"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_assign(self, async_client: AsyncTelnyx) -> None: async with async_client.phone_number_assignment_by_profile.with_streaming_response.assign( @@ -249,7 +232,6 @@ async def test_streaming_response_assign(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve_phone_number_status(self, async_client: AsyncTelnyx) -> None: phone_number_assignment_by_profile = ( @@ -263,7 +245,6 @@ async def test_method_retrieve_phone_number_status(self, async_client: AsyncTeln path=["response"], ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve_phone_number_status_with_all_params(self, async_client: AsyncTelnyx) -> None: phone_number_assignment_by_profile = ( @@ -279,7 +260,6 @@ async def test_method_retrieve_phone_number_status_with_all_params(self, async_c path=["response"], ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve_phone_number_status(self, async_client: AsyncTelnyx) -> None: response = await async_client.phone_number_assignment_by_profile.with_raw_response.retrieve_phone_number_status( @@ -295,7 +275,6 @@ async def test_raw_response_retrieve_phone_number_status(self, async_client: Asy path=["response"], ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve_phone_number_status(self, async_client: AsyncTelnyx) -> None: async with async_client.phone_number_assignment_by_profile.with_streaming_response.retrieve_phone_number_status( @@ -313,7 +292,6 @@ async def test_streaming_response_retrieve_phone_number_status(self, async_clien assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve_phone_number_status(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `task_id` but received ''"): @@ -321,7 +299,6 @@ async def test_path_params_retrieve_phone_number_status(self, async_client: Asyn task_id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve_status(self, async_client: AsyncTelnyx) -> None: phone_number_assignment_by_profile = await async_client.phone_number_assignment_by_profile.retrieve_status( @@ -331,7 +308,6 @@ async def test_method_retrieve_status(self, async_client: AsyncTelnyx) -> None: PhoneNumberAssignmentByProfileRetrieveStatusResponse, phone_number_assignment_by_profile, path=["response"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve_status(self, async_client: AsyncTelnyx) -> None: response = await async_client.phone_number_assignment_by_profile.with_raw_response.retrieve_status( @@ -345,7 +321,6 @@ async def test_raw_response_retrieve_status(self, async_client: AsyncTelnyx) -> PhoneNumberAssignmentByProfileRetrieveStatusResponse, phone_number_assignment_by_profile, path=["response"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve_status(self, async_client: AsyncTelnyx) -> None: async with async_client.phone_number_assignment_by_profile.with_streaming_response.retrieve_status( @@ -363,7 +338,6 @@ async def test_streaming_response_retrieve_status(self, async_client: AsyncTelny assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve_status(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `task_id` but received ''"): diff --git a/tests/api_resources/test_phone_number_campaigns.py b/tests/api_resources/test_phone_number_campaigns.py index ee865c0b..3b9d9c9e 100644 --- a/tests/api_resources/test_phone_number_campaigns.py +++ b/tests/api_resources/test_phone_number_campaigns.py @@ -20,7 +20,6 @@ class TestPhoneNumberCampaigns: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: phone_number_campaign = client.phone_number_campaigns.create( @@ -29,7 +28,6 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(PhoneNumberCampaign, phone_number_campaign, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.phone_number_campaigns.with_raw_response.create( @@ -42,7 +40,6 @@ def test_raw_response_create(self, client: Telnyx) -> None: phone_number_campaign = response.parse() assert_matches_type(PhoneNumberCampaign, phone_number_campaign, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.phone_number_campaigns.with_streaming_response.create( @@ -57,7 +54,6 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: phone_number_campaign = client.phone_number_campaigns.retrieve( @@ -65,7 +61,6 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(PhoneNumberCampaign, phone_number_campaign, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.phone_number_campaigns.with_raw_response.retrieve( @@ -77,7 +72,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: phone_number_campaign = response.parse() assert_matches_type(PhoneNumberCampaign, phone_number_campaign, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.phone_number_campaigns.with_streaming_response.retrieve( @@ -91,7 +85,6 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `phone_number` but received ''"): @@ -99,7 +92,6 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update(self, client: Telnyx) -> None: phone_number_campaign = client.phone_number_campaigns.update( @@ -109,7 +101,6 @@ def test_method_update(self, client: Telnyx) -> None: ) assert_matches_type(PhoneNumberCampaign, phone_number_campaign, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update(self, client: Telnyx) -> None: response = client.phone_number_campaigns.with_raw_response.update( @@ -123,7 +114,6 @@ def test_raw_response_update(self, client: Telnyx) -> None: phone_number_campaign = response.parse() assert_matches_type(PhoneNumberCampaign, phone_number_campaign, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update(self, client: Telnyx) -> None: with client.phone_number_campaigns.with_streaming_response.update( @@ -139,7 +129,6 @@ def test_streaming_response_update(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `path_phone_number` but received ''"): @@ -149,13 +138,11 @@ def test_path_params_update(self, client: Telnyx) -> None: body_phone_number="+18005550199", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: phone_number_campaign = client.phone_number_campaigns.list() assert_matches_type(PhoneNumberCampaignListResponse, phone_number_campaign, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: phone_number_campaign = client.phone_number_campaigns.list( @@ -171,7 +158,6 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(PhoneNumberCampaignListResponse, phone_number_campaign, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.phone_number_campaigns.with_raw_response.list() @@ -181,7 +167,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: phone_number_campaign = response.parse() assert_matches_type(PhoneNumberCampaignListResponse, phone_number_campaign, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.phone_number_campaigns.with_streaming_response.list() as response: @@ -193,7 +178,6 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: phone_number_campaign = client.phone_number_campaigns.delete( @@ -201,7 +185,6 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert_matches_type(PhoneNumberCampaign, phone_number_campaign, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.phone_number_campaigns.with_raw_response.delete( @@ -213,7 +196,6 @@ def test_raw_response_delete(self, client: Telnyx) -> None: phone_number_campaign = response.parse() assert_matches_type(PhoneNumberCampaign, phone_number_campaign, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.phone_number_campaigns.with_streaming_response.delete( @@ -227,7 +209,6 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `phone_number` but received ''"): @@ -241,7 +222,6 @@ class TestAsyncPhoneNumberCampaigns: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: phone_number_campaign = await async_client.phone_number_campaigns.create( @@ -250,7 +230,6 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(PhoneNumberCampaign, phone_number_campaign, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.phone_number_campaigns.with_raw_response.create( @@ -263,7 +242,6 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: phone_number_campaign = await response.parse() assert_matches_type(PhoneNumberCampaign, phone_number_campaign, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.phone_number_campaigns.with_streaming_response.create( @@ -278,7 +256,6 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: phone_number_campaign = await async_client.phone_number_campaigns.retrieve( @@ -286,7 +263,6 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(PhoneNumberCampaign, phone_number_campaign, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.phone_number_campaigns.with_raw_response.retrieve( @@ -298,7 +274,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: phone_number_campaign = await response.parse() assert_matches_type(PhoneNumberCampaign, phone_number_campaign, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.phone_number_campaigns.with_streaming_response.retrieve( @@ -312,7 +287,6 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `phone_number` but received ''"): @@ -320,7 +294,6 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update(self, async_client: AsyncTelnyx) -> None: phone_number_campaign = await async_client.phone_number_campaigns.update( @@ -330,7 +303,6 @@ async def test_method_update(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(PhoneNumberCampaign, phone_number_campaign, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: response = await async_client.phone_number_campaigns.with_raw_response.update( @@ -344,7 +316,6 @@ async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: phone_number_campaign = await response.parse() assert_matches_type(PhoneNumberCampaign, phone_number_campaign, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> None: async with async_client.phone_number_campaigns.with_streaming_response.update( @@ -360,7 +331,6 @@ async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `path_phone_number` but received ''"): @@ -370,13 +340,11 @@ async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: body_phone_number="+18005550199", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: phone_number_campaign = await async_client.phone_number_campaigns.list() assert_matches_type(PhoneNumberCampaignListResponse, phone_number_campaign, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: phone_number_campaign = await async_client.phone_number_campaigns.list( @@ -392,7 +360,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(PhoneNumberCampaignListResponse, phone_number_campaign, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.phone_number_campaigns.with_raw_response.list() @@ -402,7 +369,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: phone_number_campaign = await response.parse() assert_matches_type(PhoneNumberCampaignListResponse, phone_number_campaign, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.phone_number_campaigns.with_streaming_response.list() as response: @@ -414,7 +380,6 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: phone_number_campaign = await async_client.phone_number_campaigns.delete( @@ -422,7 +387,6 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(PhoneNumberCampaign, phone_number_campaign, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.phone_number_campaigns.with_raw_response.delete( @@ -434,7 +398,6 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: phone_number_campaign = await response.parse() assert_matches_type(PhoneNumberCampaign, phone_number_campaign, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.phone_number_campaigns.with_streaming_response.delete( @@ -448,7 +411,6 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `phone_number` but received ''"): diff --git a/tests/api_resources/test_phone_numbers.py b/tests/api_resources/test_phone_numbers.py index 0cb71e23..24deb45c 100644 --- a/tests/api_resources/test_phone_numbers.py +++ b/tests/api_resources/test_phone_numbers.py @@ -23,7 +23,6 @@ class TestPhoneNumbers: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: phone_number = client.phone_numbers.retrieve( @@ -31,7 +30,6 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(PhoneNumberRetrieveResponse, phone_number, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.phone_numbers.with_raw_response.retrieve( @@ -43,7 +41,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: phone_number = response.parse() assert_matches_type(PhoneNumberRetrieveResponse, phone_number, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.phone_numbers.with_streaming_response.retrieve( @@ -57,7 +54,6 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -65,7 +61,6 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update(self, client: Telnyx) -> None: phone_number = client.phone_numbers.update( @@ -73,7 +68,6 @@ def test_method_update(self, client: Telnyx) -> None: ) assert_matches_type(PhoneNumberUpdateResponse, phone_number, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_with_all_params(self, client: Telnyx) -> None: phone_number = client.phone_numbers.update( @@ -87,7 +81,6 @@ def test_method_update_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(PhoneNumberUpdateResponse, phone_number, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update(self, client: Telnyx) -> None: response = client.phone_numbers.with_raw_response.update( @@ -99,7 +92,6 @@ def test_raw_response_update(self, client: Telnyx) -> None: phone_number = response.parse() assert_matches_type(PhoneNumberUpdateResponse, phone_number, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update(self, client: Telnyx) -> None: with client.phone_numbers.with_streaming_response.update( @@ -113,7 +105,6 @@ def test_streaming_response_update(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -121,13 +112,11 @@ def test_path_params_update(self, client: Telnyx) -> None: id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: phone_number = client.phone_numbers.list() assert_matches_type(PhoneNumberListResponse, phone_number, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: phone_number = client.phone_numbers.list( @@ -158,7 +147,6 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(PhoneNumberListResponse, phone_number, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.phone_numbers.with_raw_response.list() @@ -168,7 +156,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: phone_number = response.parse() assert_matches_type(PhoneNumberListResponse, phone_number, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.phone_numbers.with_streaming_response.list() as response: @@ -180,7 +167,6 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: phone_number = client.phone_numbers.delete( @@ -188,7 +174,6 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert_matches_type(PhoneNumberDeleteResponse, phone_number, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.phone_numbers.with_raw_response.delete( @@ -200,7 +185,6 @@ def test_raw_response_delete(self, client: Telnyx) -> None: phone_number = response.parse() assert_matches_type(PhoneNumberDeleteResponse, phone_number, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.phone_numbers.with_streaming_response.delete( @@ -214,7 +198,6 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -222,13 +205,11 @@ def test_path_params_delete(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_slim_list(self, client: Telnyx) -> None: phone_number = client.phone_numbers.slim_list() assert_matches_type(PhoneNumberSlimListResponse, phone_number, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_slim_list_with_all_params(self, client: Telnyx) -> None: phone_number = client.phone_numbers.slim_list( @@ -261,7 +242,6 @@ def test_method_slim_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(PhoneNumberSlimListResponse, phone_number, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_slim_list(self, client: Telnyx) -> None: response = client.phone_numbers.with_raw_response.slim_list() @@ -271,7 +251,6 @@ def test_raw_response_slim_list(self, client: Telnyx) -> None: phone_number = response.parse() assert_matches_type(PhoneNumberSlimListResponse, phone_number, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_slim_list(self, client: Telnyx) -> None: with client.phone_numbers.with_streaming_response.slim_list() as response: @@ -289,7 +268,6 @@ class TestAsyncPhoneNumbers: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: phone_number = await async_client.phone_numbers.retrieve( @@ -297,7 +275,6 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(PhoneNumberRetrieveResponse, phone_number, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.phone_numbers.with_raw_response.retrieve( @@ -309,7 +286,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: phone_number = await response.parse() assert_matches_type(PhoneNumberRetrieveResponse, phone_number, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.phone_numbers.with_streaming_response.retrieve( @@ -323,7 +299,6 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -331,7 +306,6 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update(self, async_client: AsyncTelnyx) -> None: phone_number = await async_client.phone_numbers.update( @@ -339,7 +313,6 @@ async def test_method_update(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(PhoneNumberUpdateResponse, phone_number, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> None: phone_number = await async_client.phone_numbers.update( @@ -353,7 +326,6 @@ async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(PhoneNumberUpdateResponse, phone_number, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: response = await async_client.phone_numbers.with_raw_response.update( @@ -365,7 +337,6 @@ async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: phone_number = await response.parse() assert_matches_type(PhoneNumberUpdateResponse, phone_number, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> None: async with async_client.phone_numbers.with_streaming_response.update( @@ -379,7 +350,6 @@ async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -387,13 +357,11 @@ async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: phone_number = await async_client.phone_numbers.list() assert_matches_type(PhoneNumberListResponse, phone_number, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: phone_number = await async_client.phone_numbers.list( @@ -424,7 +392,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(PhoneNumberListResponse, phone_number, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.phone_numbers.with_raw_response.list() @@ -434,7 +401,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: phone_number = await response.parse() assert_matches_type(PhoneNumberListResponse, phone_number, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.phone_numbers.with_streaming_response.list() as response: @@ -446,7 +412,6 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: phone_number = await async_client.phone_numbers.delete( @@ -454,7 +419,6 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(PhoneNumberDeleteResponse, phone_number, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.phone_numbers.with_raw_response.delete( @@ -466,7 +430,6 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: phone_number = await response.parse() assert_matches_type(PhoneNumberDeleteResponse, phone_number, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.phone_numbers.with_streaming_response.delete( @@ -480,7 +443,6 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -488,13 +450,11 @@ async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_slim_list(self, async_client: AsyncTelnyx) -> None: phone_number = await async_client.phone_numbers.slim_list() assert_matches_type(PhoneNumberSlimListResponse, phone_number, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_slim_list_with_all_params(self, async_client: AsyncTelnyx) -> None: phone_number = await async_client.phone_numbers.slim_list( @@ -527,7 +487,6 @@ async def test_method_slim_list_with_all_params(self, async_client: AsyncTelnyx) ) assert_matches_type(PhoneNumberSlimListResponse, phone_number, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_slim_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.phone_numbers.with_raw_response.slim_list() @@ -537,7 +496,6 @@ async def test_raw_response_slim_list(self, async_client: AsyncTelnyx) -> None: phone_number = await response.parse() assert_matches_type(PhoneNumberSlimListResponse, phone_number, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_slim_list(self, async_client: AsyncTelnyx) -> None: async with async_client.phone_numbers.with_streaming_response.slim_list() as response: diff --git a/tests/api_resources/test_phone_numbers_regulatory_requirements.py b/tests/api_resources/test_phone_numbers_regulatory_requirements.py index bbe01a9c..3d0eead8 100644 --- a/tests/api_resources/test_phone_numbers_regulatory_requirements.py +++ b/tests/api_resources/test_phone_numbers_regulatory_requirements.py @@ -19,7 +19,6 @@ class TestPhoneNumbersRegulatoryRequirements: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: phone_numbers_regulatory_requirement = client.phone_numbers_regulatory_requirements.retrieve() @@ -27,7 +26,6 @@ def test_method_retrieve(self, client: Telnyx) -> None: PhoneNumbersRegulatoryRequirementRetrieveResponse, phone_numbers_regulatory_requirement, path=["response"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve_with_all_params(self, client: Telnyx) -> None: phone_numbers_regulatory_requirement = client.phone_numbers_regulatory_requirements.retrieve( @@ -37,7 +35,6 @@ def test_method_retrieve_with_all_params(self, client: Telnyx) -> None: PhoneNumbersRegulatoryRequirementRetrieveResponse, phone_numbers_regulatory_requirement, path=["response"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.phone_numbers_regulatory_requirements.with_raw_response.retrieve() @@ -49,7 +46,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: PhoneNumbersRegulatoryRequirementRetrieveResponse, phone_numbers_regulatory_requirement, path=["response"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.phone_numbers_regulatory_requirements.with_streaming_response.retrieve() as response: @@ -71,7 +67,6 @@ class TestAsyncPhoneNumbersRegulatoryRequirements: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: phone_numbers_regulatory_requirement = await async_client.phone_numbers_regulatory_requirements.retrieve() @@ -79,7 +74,6 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: PhoneNumbersRegulatoryRequirementRetrieveResponse, phone_numbers_regulatory_requirement, path=["response"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve_with_all_params(self, async_client: AsyncTelnyx) -> None: phone_numbers_regulatory_requirement = await async_client.phone_numbers_regulatory_requirements.retrieve( @@ -89,7 +83,6 @@ async def test_method_retrieve_with_all_params(self, async_client: AsyncTelnyx) PhoneNumbersRegulatoryRequirementRetrieveResponse, phone_numbers_regulatory_requirement, path=["response"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.phone_numbers_regulatory_requirements.with_raw_response.retrieve() @@ -101,7 +94,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: PhoneNumbersRegulatoryRequirementRetrieveResponse, phone_numbers_regulatory_requirement, path=["response"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.phone_numbers_regulatory_requirements.with_streaming_response.retrieve() as response: diff --git a/tests/api_resources/test_portability_checks.py b/tests/api_resources/test_portability_checks.py index f1b9eea9..6d2e69fc 100644 --- a/tests/api_resources/test_portability_checks.py +++ b/tests/api_resources/test_portability_checks.py @@ -17,13 +17,11 @@ class TestPortabilityChecks: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_run(self, client: Telnyx) -> None: portability_check = client.portability_checks.run() assert_matches_type(PortabilityCheckRunResponse, portability_check, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_run_with_all_params(self, client: Telnyx) -> None: portability_check = client.portability_checks.run( @@ -31,7 +29,6 @@ def test_method_run_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(PortabilityCheckRunResponse, portability_check, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_run(self, client: Telnyx) -> None: response = client.portability_checks.with_raw_response.run() @@ -41,7 +38,6 @@ def test_raw_response_run(self, client: Telnyx) -> None: portability_check = response.parse() assert_matches_type(PortabilityCheckRunResponse, portability_check, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_run(self, client: Telnyx) -> None: with client.portability_checks.with_streaming_response.run() as response: @@ -59,13 +55,11 @@ class TestAsyncPortabilityChecks: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_run(self, async_client: AsyncTelnyx) -> None: portability_check = await async_client.portability_checks.run() assert_matches_type(PortabilityCheckRunResponse, portability_check, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_run_with_all_params(self, async_client: AsyncTelnyx) -> None: portability_check = await async_client.portability_checks.run( @@ -73,7 +67,6 @@ async def test_method_run_with_all_params(self, async_client: AsyncTelnyx) -> No ) assert_matches_type(PortabilityCheckRunResponse, portability_check, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_run(self, async_client: AsyncTelnyx) -> None: response = await async_client.portability_checks.with_raw_response.run() @@ -83,7 +76,6 @@ async def test_raw_response_run(self, async_client: AsyncTelnyx) -> None: portability_check = await response.parse() assert_matches_type(PortabilityCheckRunResponse, portability_check, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_run(self, async_client: AsyncTelnyx) -> None: async with async_client.portability_checks.with_streaming_response.run() as response: diff --git a/tests/api_resources/test_porting.py b/tests/api_resources/test_porting.py index c233dcbe..87565104 100644 --- a/tests/api_resources/test_porting.py +++ b/tests/api_resources/test_porting.py @@ -17,13 +17,11 @@ class TestPorting: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_uk_carriers(self, client: Telnyx) -> None: porting = client.porting.list_uk_carriers() assert_matches_type(PortingListUkCarriersResponse, porting, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list_uk_carriers(self, client: Telnyx) -> None: response = client.porting.with_raw_response.list_uk_carriers() @@ -33,7 +31,6 @@ def test_raw_response_list_uk_carriers(self, client: Telnyx) -> None: porting = response.parse() assert_matches_type(PortingListUkCarriersResponse, porting, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list_uk_carriers(self, client: Telnyx) -> None: with client.porting.with_streaming_response.list_uk_carriers() as response: @@ -51,13 +48,11 @@ class TestAsyncPorting: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_uk_carriers(self, async_client: AsyncTelnyx) -> None: porting = await async_client.porting.list_uk_carriers() assert_matches_type(PortingListUkCarriersResponse, porting, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list_uk_carriers(self, async_client: AsyncTelnyx) -> None: response = await async_client.porting.with_raw_response.list_uk_carriers() @@ -67,7 +62,6 @@ async def test_raw_response_list_uk_carriers(self, async_client: AsyncTelnyx) -> porting = await response.parse() assert_matches_type(PortingListUkCarriersResponse, porting, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list_uk_carriers(self, async_client: AsyncTelnyx) -> None: async with async_client.porting.with_streaming_response.list_uk_carriers() as response: diff --git a/tests/api_resources/test_porting_orders.py b/tests/api_resources/test_porting_orders.py index d5f8df72..c54c8fcf 100644 --- a/tests/api_resources/test_porting_orders.py +++ b/tests/api_resources/test_porting_orders.py @@ -35,7 +35,6 @@ class TestPortingOrders: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: porting_order = client.porting_orders.create( @@ -43,7 +42,6 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(PortingOrderCreateResponse, porting_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: porting_order = client.porting_orders.create( @@ -52,7 +50,6 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(PortingOrderCreateResponse, porting_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.porting_orders.with_raw_response.create( @@ -64,7 +61,6 @@ def test_raw_response_create(self, client: Telnyx) -> None: porting_order = response.parse() assert_matches_type(PortingOrderCreateResponse, porting_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.porting_orders.with_streaming_response.create( @@ -78,7 +74,6 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: porting_order = client.porting_orders.retrieve( @@ -86,7 +81,6 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(PortingOrderRetrieveResponse, porting_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve_with_all_params(self, client: Telnyx) -> None: porting_order = client.porting_orders.retrieve( @@ -95,7 +89,6 @@ def test_method_retrieve_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(PortingOrderRetrieveResponse, porting_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.porting_orders.with_raw_response.retrieve( @@ -107,7 +100,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: porting_order = response.parse() assert_matches_type(PortingOrderRetrieveResponse, porting_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.porting_orders.with_streaming_response.retrieve( @@ -121,7 +113,6 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -129,7 +120,6 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update(self, client: Telnyx) -> None: porting_order = client.porting_orders.update( @@ -137,7 +127,6 @@ def test_method_update(self, client: Telnyx) -> None: ) assert_matches_type(PortingOrderUpdateResponse, porting_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_with_all_params(self, client: Telnyx) -> None: porting_order = client.porting_orders.update( @@ -195,7 +184,6 @@ def test_method_update_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(PortingOrderUpdateResponse, porting_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update(self, client: Telnyx) -> None: response = client.porting_orders.with_raw_response.update( @@ -207,7 +195,6 @@ def test_raw_response_update(self, client: Telnyx) -> None: porting_order = response.parse() assert_matches_type(PortingOrderUpdateResponse, porting_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update(self, client: Telnyx) -> None: with client.porting_orders.with_streaming_response.update( @@ -221,7 +208,6 @@ def test_streaming_response_update(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -229,13 +215,11 @@ def test_path_params_update(self, client: Telnyx) -> None: id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: porting_order = client.porting_orders.list() assert_matches_type(PortingOrderListResponse, porting_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: porting_order = client.porting_orders.list( @@ -263,7 +247,6 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(PortingOrderListResponse, porting_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.porting_orders.with_raw_response.list() @@ -273,7 +256,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: porting_order = response.parse() assert_matches_type(PortingOrderListResponse, porting_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.porting_orders.with_streaming_response.list() as response: @@ -285,7 +267,6 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: porting_order = client.porting_orders.delete( @@ -293,7 +274,6 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert porting_order is None - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.porting_orders.with_raw_response.delete( @@ -305,7 +285,6 @@ def test_raw_response_delete(self, client: Telnyx) -> None: porting_order = response.parse() assert porting_order is None - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.porting_orders.with_streaming_response.delete( @@ -319,7 +298,6 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -327,7 +305,6 @@ def test_path_params_delete(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve_allowed_foc_windows(self, client: Telnyx) -> None: porting_order = client.porting_orders.retrieve_allowed_foc_windows( @@ -335,7 +312,6 @@ def test_method_retrieve_allowed_foc_windows(self, client: Telnyx) -> None: ) assert_matches_type(PortingOrderRetrieveAllowedFocWindowsResponse, porting_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve_allowed_foc_windows(self, client: Telnyx) -> None: response = client.porting_orders.with_raw_response.retrieve_allowed_foc_windows( @@ -347,7 +323,6 @@ def test_raw_response_retrieve_allowed_foc_windows(self, client: Telnyx) -> None porting_order = response.parse() assert_matches_type(PortingOrderRetrieveAllowedFocWindowsResponse, porting_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve_allowed_foc_windows(self, client: Telnyx) -> None: with client.porting_orders.with_streaming_response.retrieve_allowed_foc_windows( @@ -361,7 +336,6 @@ def test_streaming_response_retrieve_allowed_foc_windows(self, client: Telnyx) - assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve_allowed_foc_windows(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -369,13 +343,11 @@ def test_path_params_retrieve_allowed_foc_windows(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve_exception_types(self, client: Telnyx) -> None: porting_order = client.porting_orders.retrieve_exception_types() assert_matches_type(PortingOrderRetrieveExceptionTypesResponse, porting_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve_exception_types(self, client: Telnyx) -> None: response = client.porting_orders.with_raw_response.retrieve_exception_types() @@ -385,7 +357,6 @@ def test_raw_response_retrieve_exception_types(self, client: Telnyx) -> None: porting_order = response.parse() assert_matches_type(PortingOrderRetrieveExceptionTypesResponse, porting_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve_exception_types(self, client: Telnyx) -> None: with client.porting_orders.with_streaming_response.retrieve_exception_types() as response: @@ -468,7 +439,6 @@ def test_path_params_retrieve_loa_template(self, client: Telnyx) -> None: id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve_requirements(self, client: Telnyx) -> None: porting_order = client.porting_orders.retrieve_requirements( @@ -476,7 +446,6 @@ def test_method_retrieve_requirements(self, client: Telnyx) -> None: ) assert_matches_type(PortingOrderRetrieveRequirementsResponse, porting_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve_requirements_with_all_params(self, client: Telnyx) -> None: porting_order = client.porting_orders.retrieve_requirements( @@ -488,7 +457,6 @@ def test_method_retrieve_requirements_with_all_params(self, client: Telnyx) -> N ) assert_matches_type(PortingOrderRetrieveRequirementsResponse, porting_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve_requirements(self, client: Telnyx) -> None: response = client.porting_orders.with_raw_response.retrieve_requirements( @@ -500,7 +468,6 @@ def test_raw_response_retrieve_requirements(self, client: Telnyx) -> None: porting_order = response.parse() assert_matches_type(PortingOrderRetrieveRequirementsResponse, porting_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve_requirements(self, client: Telnyx) -> None: with client.porting_orders.with_streaming_response.retrieve_requirements( @@ -514,7 +481,6 @@ def test_streaming_response_retrieve_requirements(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve_requirements(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -522,7 +488,6 @@ def test_path_params_retrieve_requirements(self, client: Telnyx) -> None: id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve_sub_request(self, client: Telnyx) -> None: porting_order = client.porting_orders.retrieve_sub_request( @@ -530,7 +495,6 @@ def test_method_retrieve_sub_request(self, client: Telnyx) -> None: ) assert_matches_type(PortingOrderRetrieveSubRequestResponse, porting_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve_sub_request(self, client: Telnyx) -> None: response = client.porting_orders.with_raw_response.retrieve_sub_request( @@ -542,7 +506,6 @@ def test_raw_response_retrieve_sub_request(self, client: Telnyx) -> None: porting_order = response.parse() assert_matches_type(PortingOrderRetrieveSubRequestResponse, porting_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve_sub_request(self, client: Telnyx) -> None: with client.porting_orders.with_streaming_response.retrieve_sub_request( @@ -556,7 +519,6 @@ def test_streaming_response_retrieve_sub_request(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve_sub_request(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -570,7 +532,6 @@ class TestAsyncPortingOrders: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: porting_order = await async_client.porting_orders.create( @@ -578,7 +539,6 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(PortingOrderCreateResponse, porting_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: porting_order = await async_client.porting_orders.create( @@ -587,7 +547,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(PortingOrderCreateResponse, porting_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.porting_orders.with_raw_response.create( @@ -599,7 +558,6 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: porting_order = await response.parse() assert_matches_type(PortingOrderCreateResponse, porting_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.porting_orders.with_streaming_response.create( @@ -613,7 +571,6 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: porting_order = await async_client.porting_orders.retrieve( @@ -621,7 +578,6 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(PortingOrderRetrieveResponse, porting_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve_with_all_params(self, async_client: AsyncTelnyx) -> None: porting_order = await async_client.porting_orders.retrieve( @@ -630,7 +586,6 @@ async def test_method_retrieve_with_all_params(self, async_client: AsyncTelnyx) ) assert_matches_type(PortingOrderRetrieveResponse, porting_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.porting_orders.with_raw_response.retrieve( @@ -642,7 +597,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: porting_order = await response.parse() assert_matches_type(PortingOrderRetrieveResponse, porting_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.porting_orders.with_streaming_response.retrieve( @@ -656,7 +610,6 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -664,7 +617,6 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update(self, async_client: AsyncTelnyx) -> None: porting_order = await async_client.porting_orders.update( @@ -672,7 +624,6 @@ async def test_method_update(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(PortingOrderUpdateResponse, porting_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> None: porting_order = await async_client.porting_orders.update( @@ -730,7 +681,6 @@ async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(PortingOrderUpdateResponse, porting_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: response = await async_client.porting_orders.with_raw_response.update( @@ -742,7 +692,6 @@ async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: porting_order = await response.parse() assert_matches_type(PortingOrderUpdateResponse, porting_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> None: async with async_client.porting_orders.with_streaming_response.update( @@ -756,7 +705,6 @@ async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -764,13 +712,11 @@ async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: porting_order = await async_client.porting_orders.list() assert_matches_type(PortingOrderListResponse, porting_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: porting_order = await async_client.porting_orders.list( @@ -798,7 +744,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(PortingOrderListResponse, porting_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.porting_orders.with_raw_response.list() @@ -808,7 +753,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: porting_order = await response.parse() assert_matches_type(PortingOrderListResponse, porting_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.porting_orders.with_streaming_response.list() as response: @@ -820,7 +764,6 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: porting_order = await async_client.porting_orders.delete( @@ -828,7 +771,6 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert porting_order is None - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.porting_orders.with_raw_response.delete( @@ -840,7 +782,6 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: porting_order = await response.parse() assert porting_order is None - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.porting_orders.with_streaming_response.delete( @@ -854,7 +795,6 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -862,7 +802,6 @@ async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve_allowed_foc_windows(self, async_client: AsyncTelnyx) -> None: porting_order = await async_client.porting_orders.retrieve_allowed_foc_windows( @@ -870,7 +809,6 @@ async def test_method_retrieve_allowed_foc_windows(self, async_client: AsyncTeln ) assert_matches_type(PortingOrderRetrieveAllowedFocWindowsResponse, porting_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve_allowed_foc_windows(self, async_client: AsyncTelnyx) -> None: response = await async_client.porting_orders.with_raw_response.retrieve_allowed_foc_windows( @@ -882,7 +820,6 @@ async def test_raw_response_retrieve_allowed_foc_windows(self, async_client: Asy porting_order = await response.parse() assert_matches_type(PortingOrderRetrieveAllowedFocWindowsResponse, porting_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve_allowed_foc_windows(self, async_client: AsyncTelnyx) -> None: async with async_client.porting_orders.with_streaming_response.retrieve_allowed_foc_windows( @@ -896,7 +833,6 @@ async def test_streaming_response_retrieve_allowed_foc_windows(self, async_clien assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve_allowed_foc_windows(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -904,13 +840,11 @@ async def test_path_params_retrieve_allowed_foc_windows(self, async_client: Asyn "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve_exception_types(self, async_client: AsyncTelnyx) -> None: porting_order = await async_client.porting_orders.retrieve_exception_types() assert_matches_type(PortingOrderRetrieveExceptionTypesResponse, porting_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve_exception_types(self, async_client: AsyncTelnyx) -> None: response = await async_client.porting_orders.with_raw_response.retrieve_exception_types() @@ -920,7 +854,6 @@ async def test_raw_response_retrieve_exception_types(self, async_client: AsyncTe porting_order = await response.parse() assert_matches_type(PortingOrderRetrieveExceptionTypesResponse, porting_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve_exception_types(self, async_client: AsyncTelnyx) -> None: async with async_client.porting_orders.with_streaming_response.retrieve_exception_types() as response: @@ -1007,7 +940,6 @@ async def test_path_params_retrieve_loa_template(self, async_client: AsyncTelnyx id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve_requirements(self, async_client: AsyncTelnyx) -> None: porting_order = await async_client.porting_orders.retrieve_requirements( @@ -1015,7 +947,6 @@ async def test_method_retrieve_requirements(self, async_client: AsyncTelnyx) -> ) assert_matches_type(PortingOrderRetrieveRequirementsResponse, porting_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve_requirements_with_all_params(self, async_client: AsyncTelnyx) -> None: porting_order = await async_client.porting_orders.retrieve_requirements( @@ -1027,7 +958,6 @@ async def test_method_retrieve_requirements_with_all_params(self, async_client: ) assert_matches_type(PortingOrderRetrieveRequirementsResponse, porting_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve_requirements(self, async_client: AsyncTelnyx) -> None: response = await async_client.porting_orders.with_raw_response.retrieve_requirements( @@ -1039,7 +969,6 @@ async def test_raw_response_retrieve_requirements(self, async_client: AsyncTelny porting_order = await response.parse() assert_matches_type(PortingOrderRetrieveRequirementsResponse, porting_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve_requirements(self, async_client: AsyncTelnyx) -> None: async with async_client.porting_orders.with_streaming_response.retrieve_requirements( @@ -1053,7 +982,6 @@ async def test_streaming_response_retrieve_requirements(self, async_client: Asyn assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve_requirements(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -1061,7 +989,6 @@ async def test_path_params_retrieve_requirements(self, async_client: AsyncTelnyx id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve_sub_request(self, async_client: AsyncTelnyx) -> None: porting_order = await async_client.porting_orders.retrieve_sub_request( @@ -1069,7 +996,6 @@ async def test_method_retrieve_sub_request(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(PortingOrderRetrieveSubRequestResponse, porting_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve_sub_request(self, async_client: AsyncTelnyx) -> None: response = await async_client.porting_orders.with_raw_response.retrieve_sub_request( @@ -1081,7 +1007,6 @@ async def test_raw_response_retrieve_sub_request(self, async_client: AsyncTelnyx porting_order = await response.parse() assert_matches_type(PortingOrderRetrieveSubRequestResponse, porting_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve_sub_request(self, async_client: AsyncTelnyx) -> None: async with async_client.porting_orders.with_streaming_response.retrieve_sub_request( @@ -1095,7 +1020,6 @@ async def test_streaming_response_retrieve_sub_request(self, async_client: Async assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve_sub_request(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): diff --git a/tests/api_resources/test_porting_phone_numbers.py b/tests/api_resources/test_porting_phone_numbers.py index 479f123d..885b83f6 100644 --- a/tests/api_resources/test_porting_phone_numbers.py +++ b/tests/api_resources/test_porting_phone_numbers.py @@ -17,13 +17,11 @@ class TestPortingPhoneNumbers: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: porting_phone_number = client.porting_phone_numbers.list() assert_matches_type(PortingPhoneNumberListResponse, porting_phone_number, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: porting_phone_number = client.porting_phone_numbers.list( @@ -35,7 +33,6 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(PortingPhoneNumberListResponse, porting_phone_number, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.porting_phone_numbers.with_raw_response.list() @@ -45,7 +42,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: porting_phone_number = response.parse() assert_matches_type(PortingPhoneNumberListResponse, porting_phone_number, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.porting_phone_numbers.with_streaming_response.list() as response: @@ -63,13 +59,11 @@ class TestAsyncPortingPhoneNumbers: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: porting_phone_number = await async_client.porting_phone_numbers.list() assert_matches_type(PortingPhoneNumberListResponse, porting_phone_number, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: porting_phone_number = await async_client.porting_phone_numbers.list( @@ -81,7 +75,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(PortingPhoneNumberListResponse, porting_phone_number, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.porting_phone_numbers.with_raw_response.list() @@ -91,7 +84,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: porting_phone_number = await response.parse() assert_matches_type(PortingPhoneNumberListResponse, porting_phone_number, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.porting_phone_numbers.with_streaming_response.list() as response: diff --git a/tests/api_resources/test_portouts.py b/tests/api_resources/test_portouts.py index 95f537d0..4346991d 100644 --- a/tests/api_resources/test_portouts.py +++ b/tests/api_resources/test_portouts.py @@ -23,7 +23,6 @@ class TestPortouts: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: portout = client.portouts.retrieve( @@ -31,7 +30,6 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(PortoutRetrieveResponse, portout, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.portouts.with_raw_response.retrieve( @@ -43,7 +41,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: portout = response.parse() assert_matches_type(PortoutRetrieveResponse, portout, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.portouts.with_streaming_response.retrieve( @@ -57,7 +54,6 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -65,13 +61,11 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: portout = client.portouts.list() assert_matches_type(PortoutListResponse, portout, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: portout = client.portouts.list( @@ -102,7 +96,6 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(PortoutListResponse, portout, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.portouts.with_raw_response.list() @@ -112,7 +105,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: portout = response.parse() assert_matches_type(PortoutListResponse, portout, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.portouts.with_streaming_response.list() as response: @@ -124,7 +116,6 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_rejection_codes(self, client: Telnyx) -> None: portout = client.portouts.list_rejection_codes( @@ -132,7 +123,6 @@ def test_method_list_rejection_codes(self, client: Telnyx) -> None: ) assert_matches_type(PortoutListRejectionCodesResponse, portout, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_rejection_codes_with_all_params(self, client: Telnyx) -> None: portout = client.portouts.list_rejection_codes( @@ -141,7 +131,6 @@ def test_method_list_rejection_codes_with_all_params(self, client: Telnyx) -> No ) assert_matches_type(PortoutListRejectionCodesResponse, portout, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list_rejection_codes(self, client: Telnyx) -> None: response = client.portouts.with_raw_response.list_rejection_codes( @@ -153,7 +142,6 @@ def test_raw_response_list_rejection_codes(self, client: Telnyx) -> None: portout = response.parse() assert_matches_type(PortoutListRejectionCodesResponse, portout, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list_rejection_codes(self, client: Telnyx) -> None: with client.portouts.with_streaming_response.list_rejection_codes( @@ -167,7 +155,6 @@ def test_streaming_response_list_rejection_codes(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_list_rejection_codes(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `portout_id` but received ''"): @@ -175,7 +162,6 @@ def test_path_params_list_rejection_codes(self, client: Telnyx) -> None: portout_id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_status(self, client: Telnyx) -> None: portout = client.portouts.update_status( @@ -185,7 +171,6 @@ def test_method_update_status(self, client: Telnyx) -> None: ) assert_matches_type(PortoutUpdateStatusResponse, portout, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_status_with_all_params(self, client: Telnyx) -> None: portout = client.portouts.update_status( @@ -196,7 +181,6 @@ def test_method_update_status_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(PortoutUpdateStatusResponse, portout, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update_status(self, client: Telnyx) -> None: response = client.portouts.with_raw_response.update_status( @@ -210,7 +194,6 @@ def test_raw_response_update_status(self, client: Telnyx) -> None: portout = response.parse() assert_matches_type(PortoutUpdateStatusResponse, portout, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update_status(self, client: Telnyx) -> None: with client.portouts.with_streaming_response.update_status( @@ -226,7 +209,6 @@ def test_streaming_response_update_status(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update_status(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -242,7 +224,6 @@ class TestAsyncPortouts: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: portout = await async_client.portouts.retrieve( @@ -250,7 +231,6 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(PortoutRetrieveResponse, portout, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.portouts.with_raw_response.retrieve( @@ -262,7 +242,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: portout = await response.parse() assert_matches_type(PortoutRetrieveResponse, portout, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.portouts.with_streaming_response.retrieve( @@ -276,7 +255,6 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -284,13 +262,11 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: portout = await async_client.portouts.list() assert_matches_type(PortoutListResponse, portout, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: portout = await async_client.portouts.list( @@ -321,7 +297,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(PortoutListResponse, portout, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.portouts.with_raw_response.list() @@ -331,7 +306,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: portout = await response.parse() assert_matches_type(PortoutListResponse, portout, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.portouts.with_streaming_response.list() as response: @@ -343,7 +317,6 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_rejection_codes(self, async_client: AsyncTelnyx) -> None: portout = await async_client.portouts.list_rejection_codes( @@ -351,7 +324,6 @@ async def test_method_list_rejection_codes(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(PortoutListRejectionCodesResponse, portout, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_rejection_codes_with_all_params(self, async_client: AsyncTelnyx) -> None: portout = await async_client.portouts.list_rejection_codes( @@ -360,7 +332,6 @@ async def test_method_list_rejection_codes_with_all_params(self, async_client: A ) assert_matches_type(PortoutListRejectionCodesResponse, portout, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list_rejection_codes(self, async_client: AsyncTelnyx) -> None: response = await async_client.portouts.with_raw_response.list_rejection_codes( @@ -372,7 +343,6 @@ async def test_raw_response_list_rejection_codes(self, async_client: AsyncTelnyx portout = await response.parse() assert_matches_type(PortoutListRejectionCodesResponse, portout, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list_rejection_codes(self, async_client: AsyncTelnyx) -> None: async with async_client.portouts.with_streaming_response.list_rejection_codes( @@ -386,7 +356,6 @@ async def test_streaming_response_list_rejection_codes(self, async_client: Async assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_list_rejection_codes(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `portout_id` but received ''"): @@ -394,7 +363,6 @@ async def test_path_params_list_rejection_codes(self, async_client: AsyncTelnyx) portout_id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_status(self, async_client: AsyncTelnyx) -> None: portout = await async_client.portouts.update_status( @@ -404,7 +372,6 @@ async def test_method_update_status(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(PortoutUpdateStatusResponse, portout, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_status_with_all_params(self, async_client: AsyncTelnyx) -> None: portout = await async_client.portouts.update_status( @@ -415,7 +382,6 @@ async def test_method_update_status_with_all_params(self, async_client: AsyncTel ) assert_matches_type(PortoutUpdateStatusResponse, portout, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update_status(self, async_client: AsyncTelnyx) -> None: response = await async_client.portouts.with_raw_response.update_status( @@ -429,7 +395,6 @@ async def test_raw_response_update_status(self, async_client: AsyncTelnyx) -> No portout = await response.parse() assert_matches_type(PortoutUpdateStatusResponse, portout, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update_status(self, async_client: AsyncTelnyx) -> None: async with async_client.portouts.with_streaming_response.update_status( @@ -445,7 +410,6 @@ async def test_streaming_response_update_status(self, async_client: AsyncTelnyx) assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update_status(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): diff --git a/tests/api_resources/test_private_wireless_gateways.py b/tests/api_resources/test_private_wireless_gateways.py index eeda662d..dfb860af 100644 --- a/tests/api_resources/test_private_wireless_gateways.py +++ b/tests/api_resources/test_private_wireless_gateways.py @@ -22,7 +22,6 @@ class TestPrivateWirelessGateways: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: private_wireless_gateway = client.private_wireless_gateways.create( @@ -31,7 +30,6 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(PrivateWirelessGatewayCreateResponse, private_wireless_gateway, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: private_wireless_gateway = client.private_wireless_gateways.create( @@ -41,7 +39,6 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(PrivateWirelessGatewayCreateResponse, private_wireless_gateway, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.private_wireless_gateways.with_raw_response.create( @@ -54,7 +51,6 @@ def test_raw_response_create(self, client: Telnyx) -> None: private_wireless_gateway = response.parse() assert_matches_type(PrivateWirelessGatewayCreateResponse, private_wireless_gateway, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.private_wireless_gateways.with_streaming_response.create( @@ -69,7 +65,6 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: private_wireless_gateway = client.private_wireless_gateways.retrieve( @@ -77,7 +72,6 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(PrivateWirelessGatewayRetrieveResponse, private_wireless_gateway, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.private_wireless_gateways.with_raw_response.retrieve( @@ -89,7 +83,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: private_wireless_gateway = response.parse() assert_matches_type(PrivateWirelessGatewayRetrieveResponse, private_wireless_gateway, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.private_wireless_gateways.with_streaming_response.retrieve( @@ -103,7 +96,6 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -111,13 +103,11 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: private_wireless_gateway = client.private_wireless_gateways.list() assert_matches_type(PrivateWirelessGatewayListResponse, private_wireless_gateway, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: private_wireless_gateway = client.private_wireless_gateways.list( @@ -131,7 +121,6 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(PrivateWirelessGatewayListResponse, private_wireless_gateway, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.private_wireless_gateways.with_raw_response.list() @@ -141,7 +130,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: private_wireless_gateway = response.parse() assert_matches_type(PrivateWirelessGatewayListResponse, private_wireless_gateway, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.private_wireless_gateways.with_streaming_response.list() as response: @@ -153,7 +141,6 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: private_wireless_gateway = client.private_wireless_gateways.delete( @@ -161,7 +148,6 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert_matches_type(PrivateWirelessGatewayDeleteResponse, private_wireless_gateway, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.private_wireless_gateways.with_raw_response.delete( @@ -173,7 +159,6 @@ def test_raw_response_delete(self, client: Telnyx) -> None: private_wireless_gateway = response.parse() assert_matches_type(PrivateWirelessGatewayDeleteResponse, private_wireless_gateway, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.private_wireless_gateways.with_streaming_response.delete( @@ -187,7 +172,6 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -201,7 +185,6 @@ class TestAsyncPrivateWirelessGateways: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: private_wireless_gateway = await async_client.private_wireless_gateways.create( @@ -210,7 +193,6 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(PrivateWirelessGatewayCreateResponse, private_wireless_gateway, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: private_wireless_gateway = await async_client.private_wireless_gateways.create( @@ -220,7 +202,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(PrivateWirelessGatewayCreateResponse, private_wireless_gateway, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.private_wireless_gateways.with_raw_response.create( @@ -233,7 +214,6 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: private_wireless_gateway = await response.parse() assert_matches_type(PrivateWirelessGatewayCreateResponse, private_wireless_gateway, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.private_wireless_gateways.with_streaming_response.create( @@ -248,7 +228,6 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: private_wireless_gateway = await async_client.private_wireless_gateways.retrieve( @@ -256,7 +235,6 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(PrivateWirelessGatewayRetrieveResponse, private_wireless_gateway, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.private_wireless_gateways.with_raw_response.retrieve( @@ -268,7 +246,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: private_wireless_gateway = await response.parse() assert_matches_type(PrivateWirelessGatewayRetrieveResponse, private_wireless_gateway, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.private_wireless_gateways.with_streaming_response.retrieve( @@ -282,7 +259,6 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -290,13 +266,11 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: private_wireless_gateway = await async_client.private_wireless_gateways.list() assert_matches_type(PrivateWirelessGatewayListResponse, private_wireless_gateway, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: private_wireless_gateway = await async_client.private_wireless_gateways.list( @@ -310,7 +284,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(PrivateWirelessGatewayListResponse, private_wireless_gateway, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.private_wireless_gateways.with_raw_response.list() @@ -320,7 +293,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: private_wireless_gateway = await response.parse() assert_matches_type(PrivateWirelessGatewayListResponse, private_wireless_gateway, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.private_wireless_gateways.with_streaming_response.list() as response: @@ -332,7 +304,6 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: private_wireless_gateway = await async_client.private_wireless_gateways.delete( @@ -340,7 +311,6 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(PrivateWirelessGatewayDeleteResponse, private_wireless_gateway, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.private_wireless_gateways.with_raw_response.delete( @@ -352,7 +322,6 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: private_wireless_gateway = await response.parse() assert_matches_type(PrivateWirelessGatewayDeleteResponse, private_wireless_gateway, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.private_wireless_gateways.with_streaming_response.delete( @@ -366,7 +335,6 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): diff --git a/tests/api_resources/test_public_internet_gateways.py b/tests/api_resources/test_public_internet_gateways.py index b1546719..6ef12390 100644 --- a/tests/api_resources/test_public_internet_gateways.py +++ b/tests/api_resources/test_public_internet_gateways.py @@ -22,13 +22,11 @@ class TestPublicInternetGateways: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: public_internet_gateway = client.public_internet_gateways.create() assert_matches_type(PublicInternetGatewayCreateResponse, public_internet_gateway, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: public_internet_gateway = client.public_internet_gateways.create( @@ -38,7 +36,6 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(PublicInternetGatewayCreateResponse, public_internet_gateway, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.public_internet_gateways.with_raw_response.create() @@ -48,7 +45,6 @@ def test_raw_response_create(self, client: Telnyx) -> None: public_internet_gateway = response.parse() assert_matches_type(PublicInternetGatewayCreateResponse, public_internet_gateway, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.public_internet_gateways.with_streaming_response.create() as response: @@ -60,7 +56,6 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: public_internet_gateway = client.public_internet_gateways.retrieve( @@ -68,7 +63,6 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(PublicInternetGatewayRetrieveResponse, public_internet_gateway, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.public_internet_gateways.with_raw_response.retrieve( @@ -80,7 +74,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: public_internet_gateway = response.parse() assert_matches_type(PublicInternetGatewayRetrieveResponse, public_internet_gateway, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.public_internet_gateways.with_streaming_response.retrieve( @@ -94,7 +87,6 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -102,13 +94,11 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: public_internet_gateway = client.public_internet_gateways.list() assert_matches_type(PublicInternetGatewayListResponse, public_internet_gateway, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: public_internet_gateway = client.public_internet_gateways.list( @@ -120,7 +110,6 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(PublicInternetGatewayListResponse, public_internet_gateway, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.public_internet_gateways.with_raw_response.list() @@ -130,7 +119,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: public_internet_gateway = response.parse() assert_matches_type(PublicInternetGatewayListResponse, public_internet_gateway, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.public_internet_gateways.with_streaming_response.list() as response: @@ -142,7 +130,6 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: public_internet_gateway = client.public_internet_gateways.delete( @@ -150,7 +137,6 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert_matches_type(PublicInternetGatewayDeleteResponse, public_internet_gateway, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.public_internet_gateways.with_raw_response.delete( @@ -162,7 +148,6 @@ def test_raw_response_delete(self, client: Telnyx) -> None: public_internet_gateway = response.parse() assert_matches_type(PublicInternetGatewayDeleteResponse, public_internet_gateway, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.public_internet_gateways.with_streaming_response.delete( @@ -176,7 +161,6 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -190,13 +174,11 @@ class TestAsyncPublicInternetGateways: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: public_internet_gateway = await async_client.public_internet_gateways.create() assert_matches_type(PublicInternetGatewayCreateResponse, public_internet_gateway, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: public_internet_gateway = await async_client.public_internet_gateways.create( @@ -206,7 +188,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(PublicInternetGatewayCreateResponse, public_internet_gateway, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.public_internet_gateways.with_raw_response.create() @@ -216,7 +197,6 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: public_internet_gateway = await response.parse() assert_matches_type(PublicInternetGatewayCreateResponse, public_internet_gateway, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.public_internet_gateways.with_streaming_response.create() as response: @@ -228,7 +208,6 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: public_internet_gateway = await async_client.public_internet_gateways.retrieve( @@ -236,7 +215,6 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(PublicInternetGatewayRetrieveResponse, public_internet_gateway, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.public_internet_gateways.with_raw_response.retrieve( @@ -248,7 +226,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: public_internet_gateway = await response.parse() assert_matches_type(PublicInternetGatewayRetrieveResponse, public_internet_gateway, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.public_internet_gateways.with_streaming_response.retrieve( @@ -262,7 +239,6 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -270,13 +246,11 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: public_internet_gateway = await async_client.public_internet_gateways.list() assert_matches_type(PublicInternetGatewayListResponse, public_internet_gateway, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: public_internet_gateway = await async_client.public_internet_gateways.list( @@ -288,7 +262,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(PublicInternetGatewayListResponse, public_internet_gateway, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.public_internet_gateways.with_raw_response.list() @@ -298,7 +271,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: public_internet_gateway = await response.parse() assert_matches_type(PublicInternetGatewayListResponse, public_internet_gateway, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.public_internet_gateways.with_streaming_response.list() as response: @@ -310,7 +282,6 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: public_internet_gateway = await async_client.public_internet_gateways.delete( @@ -318,7 +289,6 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(PublicInternetGatewayDeleteResponse, public_internet_gateway, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.public_internet_gateways.with_raw_response.delete( @@ -330,7 +300,6 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: public_internet_gateway = await response.parse() assert_matches_type(PublicInternetGatewayDeleteResponse, public_internet_gateway, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.public_internet_gateways.with_streaming_response.delete( @@ -344,7 +313,6 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): diff --git a/tests/api_resources/test_queues.py b/tests/api_resources/test_queues.py index ee8fd98d..5a439f87 100644 --- a/tests/api_resources/test_queues.py +++ b/tests/api_resources/test_queues.py @@ -17,7 +17,6 @@ class TestQueues: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: queue = client.queues.retrieve( @@ -25,7 +24,6 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(QueueRetrieveResponse, queue, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.queues.with_raw_response.retrieve( @@ -37,7 +35,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: queue = response.parse() assert_matches_type(QueueRetrieveResponse, queue, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.queues.with_streaming_response.retrieve( @@ -51,7 +48,6 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `queue_name` but received ''"): @@ -65,7 +61,6 @@ class TestAsyncQueues: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: queue = await async_client.queues.retrieve( @@ -73,7 +68,6 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(QueueRetrieveResponse, queue, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.queues.with_raw_response.retrieve( @@ -85,7 +79,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: queue = await response.parse() assert_matches_type(QueueRetrieveResponse, queue, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.queues.with_streaming_response.retrieve( @@ -99,7 +92,6 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `queue_name` but received ''"): diff --git a/tests/api_resources/test_recording_transcriptions.py b/tests/api_resources/test_recording_transcriptions.py index 599c4c9d..3b7c9450 100644 --- a/tests/api_resources/test_recording_transcriptions.py +++ b/tests/api_resources/test_recording_transcriptions.py @@ -21,7 +21,6 @@ class TestRecordingTranscriptions: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: recording_transcription = client.recording_transcriptions.retrieve( @@ -29,7 +28,6 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(RecordingTranscriptionRetrieveResponse, recording_transcription, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.recording_transcriptions.with_raw_response.retrieve( @@ -41,7 +39,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: recording_transcription = response.parse() assert_matches_type(RecordingTranscriptionRetrieveResponse, recording_transcription, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.recording_transcriptions.with_streaming_response.retrieve( @@ -55,7 +52,6 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises( @@ -65,13 +61,11 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: recording_transcription = client.recording_transcriptions.list() assert_matches_type(RecordingTranscriptionListResponse, recording_transcription, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.recording_transcriptions.with_raw_response.list() @@ -81,7 +75,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: recording_transcription = response.parse() assert_matches_type(RecordingTranscriptionListResponse, recording_transcription, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.recording_transcriptions.with_streaming_response.list() as response: @@ -93,7 +86,6 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: recording_transcription = client.recording_transcriptions.delete( @@ -101,7 +93,6 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert_matches_type(RecordingTranscriptionDeleteResponse, recording_transcription, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.recording_transcriptions.with_raw_response.delete( @@ -113,7 +104,6 @@ def test_raw_response_delete(self, client: Telnyx) -> None: recording_transcription = response.parse() assert_matches_type(RecordingTranscriptionDeleteResponse, recording_transcription, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.recording_transcriptions.with_streaming_response.delete( @@ -127,7 +117,6 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises( @@ -143,7 +132,6 @@ class TestAsyncRecordingTranscriptions: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: recording_transcription = await async_client.recording_transcriptions.retrieve( @@ -151,7 +139,6 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(RecordingTranscriptionRetrieveResponse, recording_transcription, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.recording_transcriptions.with_raw_response.retrieve( @@ -163,7 +150,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: recording_transcription = await response.parse() assert_matches_type(RecordingTranscriptionRetrieveResponse, recording_transcription, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.recording_transcriptions.with_streaming_response.retrieve( @@ -177,7 +163,6 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises( @@ -187,13 +172,11 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: recording_transcription = await async_client.recording_transcriptions.list() assert_matches_type(RecordingTranscriptionListResponse, recording_transcription, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.recording_transcriptions.with_raw_response.list() @@ -203,7 +186,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: recording_transcription = await response.parse() assert_matches_type(RecordingTranscriptionListResponse, recording_transcription, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.recording_transcriptions.with_streaming_response.list() as response: @@ -215,7 +197,6 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: recording_transcription = await async_client.recording_transcriptions.delete( @@ -223,7 +204,6 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(RecordingTranscriptionDeleteResponse, recording_transcription, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.recording_transcriptions.with_raw_response.delete( @@ -235,7 +215,6 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: recording_transcription = await response.parse() assert_matches_type(RecordingTranscriptionDeleteResponse, recording_transcription, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.recording_transcriptions.with_streaming_response.delete( @@ -249,7 +228,6 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises( diff --git a/tests/api_resources/test_recordings.py b/tests/api_resources/test_recordings.py index 6e18c2b0..51600be4 100644 --- a/tests/api_resources/test_recordings.py +++ b/tests/api_resources/test_recordings.py @@ -21,7 +21,6 @@ class TestRecordings: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: recording = client.recordings.retrieve( @@ -29,7 +28,6 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(RecordingRetrieveResponse, recording, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.recordings.with_raw_response.retrieve( @@ -41,7 +39,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: recording = response.parse() assert_matches_type(RecordingRetrieveResponse, recording, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.recordings.with_streaming_response.retrieve( @@ -55,7 +52,6 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `recording_id` but received ''"): @@ -63,13 +59,11 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: recording = client.recordings.list() assert_matches_type(RecordingListResponse, recording, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: recording = client.recordings.list( @@ -92,7 +86,6 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(RecordingListResponse, recording, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.recordings.with_raw_response.list() @@ -102,7 +95,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: recording = response.parse() assert_matches_type(RecordingListResponse, recording, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.recordings.with_streaming_response.list() as response: @@ -114,7 +106,6 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: recording = client.recordings.delete( @@ -122,7 +113,6 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert_matches_type(RecordingDeleteResponse, recording, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.recordings.with_raw_response.delete( @@ -134,7 +124,6 @@ def test_raw_response_delete(self, client: Telnyx) -> None: recording = response.parse() assert_matches_type(RecordingDeleteResponse, recording, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.recordings.with_streaming_response.delete( @@ -148,7 +137,6 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `recording_id` but received ''"): @@ -162,7 +150,6 @@ class TestAsyncRecordings: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: recording = await async_client.recordings.retrieve( @@ -170,7 +157,6 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(RecordingRetrieveResponse, recording, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.recordings.with_raw_response.retrieve( @@ -182,7 +168,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: recording = await response.parse() assert_matches_type(RecordingRetrieveResponse, recording, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.recordings.with_streaming_response.retrieve( @@ -196,7 +181,6 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `recording_id` but received ''"): @@ -204,13 +188,11 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: recording = await async_client.recordings.list() assert_matches_type(RecordingListResponse, recording, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: recording = await async_client.recordings.list( @@ -233,7 +215,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(RecordingListResponse, recording, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.recordings.with_raw_response.list() @@ -243,7 +224,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: recording = await response.parse() assert_matches_type(RecordingListResponse, recording, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.recordings.with_streaming_response.list() as response: @@ -255,7 +235,6 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: recording = await async_client.recordings.delete( @@ -263,7 +242,6 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(RecordingDeleteResponse, recording, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.recordings.with_raw_response.delete( @@ -275,7 +253,6 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: recording = await response.parse() assert_matches_type(RecordingDeleteResponse, recording, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.recordings.with_streaming_response.delete( @@ -289,7 +266,6 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `recording_id` but received ''"): diff --git a/tests/api_resources/test_regions.py b/tests/api_resources/test_regions.py index 3f994d14..eca920da 100644 --- a/tests/api_resources/test_regions.py +++ b/tests/api_resources/test_regions.py @@ -17,13 +17,11 @@ class TestRegions: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: region = client.regions.list() assert_matches_type(RegionListResponse, region, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.regions.with_raw_response.list() @@ -33,7 +31,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: region = response.parse() assert_matches_type(RegionListResponse, region, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.regions.with_streaming_response.list() as response: @@ -51,13 +48,11 @@ class TestAsyncRegions: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: region = await async_client.regions.list() assert_matches_type(RegionListResponse, region, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.regions.with_raw_response.list() @@ -67,7 +62,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: region = await response.parse() assert_matches_type(RegionListResponse, region, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.regions.with_streaming_response.list() as response: diff --git a/tests/api_resources/test_regulatory_requirements.py b/tests/api_resources/test_regulatory_requirements.py index 0a4924d0..34741fa0 100644 --- a/tests/api_resources/test_regulatory_requirements.py +++ b/tests/api_resources/test_regulatory_requirements.py @@ -17,13 +17,11 @@ class TestRegulatoryRequirements: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: regulatory_requirement = client.regulatory_requirements.retrieve() assert_matches_type(RegulatoryRequirementRetrieveResponse, regulatory_requirement, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve_with_all_params(self, client: Telnyx) -> None: regulatory_requirement = client.regulatory_requirements.retrieve( @@ -37,7 +35,6 @@ def test_method_retrieve_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(RegulatoryRequirementRetrieveResponse, regulatory_requirement, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.regulatory_requirements.with_raw_response.retrieve() @@ -47,7 +44,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: regulatory_requirement = response.parse() assert_matches_type(RegulatoryRequirementRetrieveResponse, regulatory_requirement, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.regulatory_requirements.with_streaming_response.retrieve() as response: @@ -65,13 +61,11 @@ class TestAsyncRegulatoryRequirements: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: regulatory_requirement = await async_client.regulatory_requirements.retrieve() assert_matches_type(RegulatoryRequirementRetrieveResponse, regulatory_requirement, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve_with_all_params(self, async_client: AsyncTelnyx) -> None: regulatory_requirement = await async_client.regulatory_requirements.retrieve( @@ -85,7 +79,6 @@ async def test_method_retrieve_with_all_params(self, async_client: AsyncTelnyx) ) assert_matches_type(RegulatoryRequirementRetrieveResponse, regulatory_requirement, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.regulatory_requirements.with_raw_response.retrieve() @@ -95,7 +88,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: regulatory_requirement = await response.parse() assert_matches_type(RegulatoryRequirementRetrieveResponse, regulatory_requirement, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.regulatory_requirements.with_streaming_response.retrieve() as response: diff --git a/tests/api_resources/test_reports.py b/tests/api_resources/test_reports.py index c93803b9..4eeb2070 100644 --- a/tests/api_resources/test_reports.py +++ b/tests/api_resources/test_reports.py @@ -20,13 +20,11 @@ class TestReports: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_mdrs(self, client: Telnyx) -> None: report = client.reports.list_mdrs() assert_matches_type(ReportListMdrsResponse, report, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_mdrs_with_all_params(self, client: Telnyx) -> None: report = client.reports.list_mdrs( @@ -42,7 +40,6 @@ def test_method_list_mdrs_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ReportListMdrsResponse, report, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list_mdrs(self, client: Telnyx) -> None: response = client.reports.with_raw_response.list_mdrs() @@ -52,7 +49,6 @@ def test_raw_response_list_mdrs(self, client: Telnyx) -> None: report = response.parse() assert_matches_type(ReportListMdrsResponse, report, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list_mdrs(self, client: Telnyx) -> None: with client.reports.with_streaming_response.list_mdrs() as response: @@ -64,13 +60,11 @@ def test_streaming_response_list_mdrs(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_wdrs(self, client: Telnyx) -> None: report = client.reports.list_wdrs() assert_matches_type(ReportListWdrsResponse, report, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_wdrs_with_all_params(self, client: Telnyx) -> None: report = client.reports.list_wdrs( @@ -92,7 +86,6 @@ def test_method_list_wdrs_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ReportListWdrsResponse, report, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list_wdrs(self, client: Telnyx) -> None: response = client.reports.with_raw_response.list_wdrs() @@ -102,7 +95,6 @@ def test_raw_response_list_wdrs(self, client: Telnyx) -> None: report = response.parse() assert_matches_type(ReportListWdrsResponse, report, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list_wdrs(self, client: Telnyx) -> None: with client.reports.with_streaming_response.list_wdrs() as response: @@ -120,13 +112,11 @@ class TestAsyncReports: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_mdrs(self, async_client: AsyncTelnyx) -> None: report = await async_client.reports.list_mdrs() assert_matches_type(ReportListMdrsResponse, report, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_mdrs_with_all_params(self, async_client: AsyncTelnyx) -> None: report = await async_client.reports.list_mdrs( @@ -142,7 +132,6 @@ async def test_method_list_mdrs_with_all_params(self, async_client: AsyncTelnyx) ) assert_matches_type(ReportListMdrsResponse, report, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list_mdrs(self, async_client: AsyncTelnyx) -> None: response = await async_client.reports.with_raw_response.list_mdrs() @@ -152,7 +141,6 @@ async def test_raw_response_list_mdrs(self, async_client: AsyncTelnyx) -> None: report = await response.parse() assert_matches_type(ReportListMdrsResponse, report, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list_mdrs(self, async_client: AsyncTelnyx) -> None: async with async_client.reports.with_streaming_response.list_mdrs() as response: @@ -164,13 +152,11 @@ async def test_streaming_response_list_mdrs(self, async_client: AsyncTelnyx) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_wdrs(self, async_client: AsyncTelnyx) -> None: report = await async_client.reports.list_wdrs() assert_matches_type(ReportListWdrsResponse, report, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_wdrs_with_all_params(self, async_client: AsyncTelnyx) -> None: report = await async_client.reports.list_wdrs( @@ -192,7 +178,6 @@ async def test_method_list_wdrs_with_all_params(self, async_client: AsyncTelnyx) ) assert_matches_type(ReportListWdrsResponse, report, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list_wdrs(self, async_client: AsyncTelnyx) -> None: response = await async_client.reports.with_raw_response.list_wdrs() @@ -202,7 +187,6 @@ async def test_raw_response_list_wdrs(self, async_client: AsyncTelnyx) -> None: report = await response.parse() assert_matches_type(ReportListWdrsResponse, report, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list_wdrs(self, async_client: AsyncTelnyx) -> None: async with async_client.reports.with_streaming_response.list_wdrs() as response: diff --git a/tests/api_resources/test_requirement_groups.py b/tests/api_resources/test_requirement_groups.py index bd83ef79..2fe1ad99 100644 --- a/tests/api_resources/test_requirement_groups.py +++ b/tests/api_resources/test_requirement_groups.py @@ -20,7 +20,6 @@ class TestRequirementGroups: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: requirement_group = client.requirement_groups.create( @@ -30,7 +29,6 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(RequirementGroup, requirement_group, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: requirement_group = client.requirement_groups.create( @@ -47,7 +45,6 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(RequirementGroup, requirement_group, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.requirement_groups.with_raw_response.create( @@ -61,7 +58,6 @@ def test_raw_response_create(self, client: Telnyx) -> None: requirement_group = response.parse() assert_matches_type(RequirementGroup, requirement_group, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.requirement_groups.with_streaming_response.create( @@ -77,7 +73,6 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: requirement_group = client.requirement_groups.retrieve( @@ -85,7 +80,6 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(RequirementGroup, requirement_group, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.requirement_groups.with_raw_response.retrieve( @@ -97,7 +91,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: requirement_group = response.parse() assert_matches_type(RequirementGroup, requirement_group, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.requirement_groups.with_streaming_response.retrieve( @@ -111,7 +104,6 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -119,7 +111,6 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update(self, client: Telnyx) -> None: requirement_group = client.requirement_groups.update( @@ -127,7 +118,6 @@ def test_method_update(self, client: Telnyx) -> None: ) assert_matches_type(RequirementGroup, requirement_group, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_with_all_params(self, client: Telnyx) -> None: requirement_group = client.requirement_groups.update( @@ -142,7 +132,6 @@ def test_method_update_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(RequirementGroup, requirement_group, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update(self, client: Telnyx) -> None: response = client.requirement_groups.with_raw_response.update( @@ -154,7 +143,6 @@ def test_raw_response_update(self, client: Telnyx) -> None: requirement_group = response.parse() assert_matches_type(RequirementGroup, requirement_group, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update(self, client: Telnyx) -> None: with client.requirement_groups.with_streaming_response.update( @@ -168,7 +156,6 @@ def test_streaming_response_update(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -176,13 +163,11 @@ def test_path_params_update(self, client: Telnyx) -> None: id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: requirement_group = client.requirement_groups.list() assert_matches_type(RequirementGroupListResponse, requirement_group, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: requirement_group = client.requirement_groups.list( @@ -196,7 +181,6 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(RequirementGroupListResponse, requirement_group, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.requirement_groups.with_raw_response.list() @@ -206,7 +190,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: requirement_group = response.parse() assert_matches_type(RequirementGroupListResponse, requirement_group, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.requirement_groups.with_streaming_response.list() as response: @@ -218,7 +201,6 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: requirement_group = client.requirement_groups.delete( @@ -226,7 +208,6 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert_matches_type(RequirementGroup, requirement_group, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.requirement_groups.with_raw_response.delete( @@ -238,7 +219,6 @@ def test_raw_response_delete(self, client: Telnyx) -> None: requirement_group = response.parse() assert_matches_type(RequirementGroup, requirement_group, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.requirement_groups.with_streaming_response.delete( @@ -252,7 +232,6 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -260,7 +239,6 @@ def test_path_params_delete(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_submit_for_approval(self, client: Telnyx) -> None: requirement_group = client.requirement_groups.submit_for_approval( @@ -268,7 +246,6 @@ def test_method_submit_for_approval(self, client: Telnyx) -> None: ) assert_matches_type(RequirementGroup, requirement_group, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_submit_for_approval(self, client: Telnyx) -> None: response = client.requirement_groups.with_raw_response.submit_for_approval( @@ -280,7 +257,6 @@ def test_raw_response_submit_for_approval(self, client: Telnyx) -> None: requirement_group = response.parse() assert_matches_type(RequirementGroup, requirement_group, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_submit_for_approval(self, client: Telnyx) -> None: with client.requirement_groups.with_streaming_response.submit_for_approval( @@ -294,7 +270,6 @@ def test_streaming_response_submit_for_approval(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_submit_for_approval(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -308,7 +283,6 @@ class TestAsyncRequirementGroups: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: requirement_group = await async_client.requirement_groups.create( @@ -318,7 +292,6 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(RequirementGroup, requirement_group, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: requirement_group = await async_client.requirement_groups.create( @@ -335,7 +308,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(RequirementGroup, requirement_group, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.requirement_groups.with_raw_response.create( @@ -349,7 +321,6 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: requirement_group = await response.parse() assert_matches_type(RequirementGroup, requirement_group, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.requirement_groups.with_streaming_response.create( @@ -365,7 +336,6 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: requirement_group = await async_client.requirement_groups.retrieve( @@ -373,7 +343,6 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(RequirementGroup, requirement_group, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.requirement_groups.with_raw_response.retrieve( @@ -385,7 +354,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: requirement_group = await response.parse() assert_matches_type(RequirementGroup, requirement_group, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.requirement_groups.with_streaming_response.retrieve( @@ -399,7 +367,6 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -407,7 +374,6 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update(self, async_client: AsyncTelnyx) -> None: requirement_group = await async_client.requirement_groups.update( @@ -415,7 +381,6 @@ async def test_method_update(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(RequirementGroup, requirement_group, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> None: requirement_group = await async_client.requirement_groups.update( @@ -430,7 +395,6 @@ async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(RequirementGroup, requirement_group, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: response = await async_client.requirement_groups.with_raw_response.update( @@ -442,7 +406,6 @@ async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: requirement_group = await response.parse() assert_matches_type(RequirementGroup, requirement_group, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> None: async with async_client.requirement_groups.with_streaming_response.update( @@ -456,7 +419,6 @@ async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -464,13 +426,11 @@ async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: requirement_group = await async_client.requirement_groups.list() assert_matches_type(RequirementGroupListResponse, requirement_group, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: requirement_group = await async_client.requirement_groups.list( @@ -484,7 +444,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(RequirementGroupListResponse, requirement_group, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.requirement_groups.with_raw_response.list() @@ -494,7 +453,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: requirement_group = await response.parse() assert_matches_type(RequirementGroupListResponse, requirement_group, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.requirement_groups.with_streaming_response.list() as response: @@ -506,7 +464,6 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: requirement_group = await async_client.requirement_groups.delete( @@ -514,7 +471,6 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(RequirementGroup, requirement_group, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.requirement_groups.with_raw_response.delete( @@ -526,7 +482,6 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: requirement_group = await response.parse() assert_matches_type(RequirementGroup, requirement_group, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.requirement_groups.with_streaming_response.delete( @@ -540,7 +495,6 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -548,7 +502,6 @@ async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_submit_for_approval(self, async_client: AsyncTelnyx) -> None: requirement_group = await async_client.requirement_groups.submit_for_approval( @@ -556,7 +509,6 @@ async def test_method_submit_for_approval(self, async_client: AsyncTelnyx) -> No ) assert_matches_type(RequirementGroup, requirement_group, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_submit_for_approval(self, async_client: AsyncTelnyx) -> None: response = await async_client.requirement_groups.with_raw_response.submit_for_approval( @@ -568,7 +520,6 @@ async def test_raw_response_submit_for_approval(self, async_client: AsyncTelnyx) requirement_group = await response.parse() assert_matches_type(RequirementGroup, requirement_group, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_submit_for_approval(self, async_client: AsyncTelnyx) -> None: async with async_client.requirement_groups.with_streaming_response.submit_for_approval( @@ -582,7 +533,6 @@ async def test_streaming_response_submit_for_approval(self, async_client: AsyncT assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_submit_for_approval(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): diff --git a/tests/api_resources/test_requirement_types.py b/tests/api_resources/test_requirement_types.py index 0e5506b5..834d2d6d 100644 --- a/tests/api_resources/test_requirement_types.py +++ b/tests/api_resources/test_requirement_types.py @@ -17,7 +17,6 @@ class TestRequirementTypes: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: requirement_type = client.requirement_types.retrieve( @@ -25,7 +24,6 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(RequirementTypeRetrieveResponse, requirement_type, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.requirement_types.with_raw_response.retrieve( @@ -37,7 +35,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: requirement_type = response.parse() assert_matches_type(RequirementTypeRetrieveResponse, requirement_type, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.requirement_types.with_streaming_response.retrieve( @@ -51,7 +48,6 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -59,13 +55,11 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: requirement_type = client.requirement_types.list() assert_matches_type(RequirementTypeListResponse, requirement_type, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: requirement_type = client.requirement_types.list( @@ -74,7 +68,6 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(RequirementTypeListResponse, requirement_type, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.requirement_types.with_raw_response.list() @@ -84,7 +77,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: requirement_type = response.parse() assert_matches_type(RequirementTypeListResponse, requirement_type, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.requirement_types.with_streaming_response.list() as response: @@ -102,7 +94,6 @@ class TestAsyncRequirementTypes: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: requirement_type = await async_client.requirement_types.retrieve( @@ -110,7 +101,6 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(RequirementTypeRetrieveResponse, requirement_type, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.requirement_types.with_raw_response.retrieve( @@ -122,7 +112,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: requirement_type = await response.parse() assert_matches_type(RequirementTypeRetrieveResponse, requirement_type, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.requirement_types.with_streaming_response.retrieve( @@ -136,7 +125,6 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -144,13 +132,11 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: requirement_type = await async_client.requirement_types.list() assert_matches_type(RequirementTypeListResponse, requirement_type, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: requirement_type = await async_client.requirement_types.list( @@ -159,7 +145,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(RequirementTypeListResponse, requirement_type, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.requirement_types.with_raw_response.list() @@ -169,7 +154,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: requirement_type = await response.parse() assert_matches_type(RequirementTypeListResponse, requirement_type, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.requirement_types.with_streaming_response.list() as response: diff --git a/tests/api_resources/test_requirements.py b/tests/api_resources/test_requirements.py index 73a86e0b..faf26444 100644 --- a/tests/api_resources/test_requirements.py +++ b/tests/api_resources/test_requirements.py @@ -17,7 +17,6 @@ class TestRequirements: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: requirement = client.requirements.retrieve( @@ -25,7 +24,6 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(RequirementRetrieveResponse, requirement, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.requirements.with_raw_response.retrieve( @@ -37,7 +35,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: requirement = response.parse() assert_matches_type(RequirementRetrieveResponse, requirement, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.requirements.with_streaming_response.retrieve( @@ -51,7 +48,6 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -59,13 +55,11 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: requirement = client.requirements.list() assert_matches_type(RequirementListResponse, requirement, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: requirement = client.requirements.list( @@ -82,7 +76,6 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(RequirementListResponse, requirement, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.requirements.with_raw_response.list() @@ -92,7 +85,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: requirement = response.parse() assert_matches_type(RequirementListResponse, requirement, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.requirements.with_streaming_response.list() as response: @@ -110,7 +102,6 @@ class TestAsyncRequirements: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: requirement = await async_client.requirements.retrieve( @@ -118,7 +109,6 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(RequirementRetrieveResponse, requirement, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.requirements.with_raw_response.retrieve( @@ -130,7 +120,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: requirement = await response.parse() assert_matches_type(RequirementRetrieveResponse, requirement, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.requirements.with_streaming_response.retrieve( @@ -144,7 +133,6 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -152,13 +140,11 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: requirement = await async_client.requirements.list() assert_matches_type(RequirementListResponse, requirement, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: requirement = await async_client.requirements.list( @@ -175,7 +161,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(RequirementListResponse, requirement, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.requirements.with_raw_response.list() @@ -185,7 +170,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: requirement = await response.parse() assert_matches_type(RequirementListResponse, requirement, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.requirements.with_streaming_response.list() as response: diff --git a/tests/api_resources/test_room_compositions.py b/tests/api_resources/test_room_compositions.py index d8bbc672..c87f5588 100644 --- a/tests/api_resources/test_room_compositions.py +++ b/tests/api_resources/test_room_compositions.py @@ -22,13 +22,11 @@ class TestRoomCompositions: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: room_composition = client.room_compositions.create() assert_matches_type(RoomCompositionCreateResponse, room_composition, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: room_composition = client.room_compositions.create( @@ -53,7 +51,6 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(RoomCompositionCreateResponse, room_composition, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.room_compositions.with_raw_response.create() @@ -63,7 +60,6 @@ def test_raw_response_create(self, client: Telnyx) -> None: room_composition = response.parse() assert_matches_type(RoomCompositionCreateResponse, room_composition, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.room_compositions.with_streaming_response.create() as response: @@ -75,7 +71,6 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: room_composition = client.room_compositions.retrieve( @@ -83,7 +78,6 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(RoomCompositionRetrieveResponse, room_composition, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.room_compositions.with_raw_response.retrieve( @@ -95,7 +89,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: room_composition = response.parse() assert_matches_type(RoomCompositionRetrieveResponse, room_composition, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.room_compositions.with_streaming_response.retrieve( @@ -109,7 +102,6 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `room_composition_id` but received ''"): @@ -117,13 +109,11 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: room_composition = client.room_compositions.list() assert_matches_type(RoomCompositionListResponse, room_composition, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: room_composition = client.room_compositions.list( @@ -143,7 +133,6 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(RoomCompositionListResponse, room_composition, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.room_compositions.with_raw_response.list() @@ -153,7 +142,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: room_composition = response.parse() assert_matches_type(RoomCompositionListResponse, room_composition, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.room_compositions.with_streaming_response.list() as response: @@ -165,7 +153,6 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: room_composition = client.room_compositions.delete( @@ -173,7 +160,6 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert room_composition is None - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.room_compositions.with_raw_response.delete( @@ -185,7 +171,6 @@ def test_raw_response_delete(self, client: Telnyx) -> None: room_composition = response.parse() assert room_composition is None - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.room_compositions.with_streaming_response.delete( @@ -199,7 +184,6 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `room_composition_id` but received ''"): @@ -213,13 +197,11 @@ class TestAsyncRoomCompositions: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: room_composition = await async_client.room_compositions.create() assert_matches_type(RoomCompositionCreateResponse, room_composition, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: room_composition = await async_client.room_compositions.create( @@ -244,7 +226,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(RoomCompositionCreateResponse, room_composition, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.room_compositions.with_raw_response.create() @@ -254,7 +235,6 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: room_composition = await response.parse() assert_matches_type(RoomCompositionCreateResponse, room_composition, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.room_compositions.with_streaming_response.create() as response: @@ -266,7 +246,6 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: room_composition = await async_client.room_compositions.retrieve( @@ -274,7 +253,6 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(RoomCompositionRetrieveResponse, room_composition, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.room_compositions.with_raw_response.retrieve( @@ -286,7 +264,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: room_composition = await response.parse() assert_matches_type(RoomCompositionRetrieveResponse, room_composition, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.room_compositions.with_streaming_response.retrieve( @@ -300,7 +277,6 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `room_composition_id` but received ''"): @@ -308,13 +284,11 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: room_composition = await async_client.room_compositions.list() assert_matches_type(RoomCompositionListResponse, room_composition, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: room_composition = await async_client.room_compositions.list( @@ -334,7 +308,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(RoomCompositionListResponse, room_composition, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.room_compositions.with_raw_response.list() @@ -344,7 +317,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: room_composition = await response.parse() assert_matches_type(RoomCompositionListResponse, room_composition, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.room_compositions.with_streaming_response.list() as response: @@ -356,7 +328,6 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: room_composition = await async_client.room_compositions.delete( @@ -364,7 +335,6 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert room_composition is None - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.room_compositions.with_raw_response.delete( @@ -376,7 +346,6 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: room_composition = await response.parse() assert room_composition is None - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.room_compositions.with_streaming_response.delete( @@ -390,7 +359,6 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `room_composition_id` but received ''"): diff --git a/tests/api_resources/test_room_participants.py b/tests/api_resources/test_room_participants.py index fa7d7287..f6f95f01 100644 --- a/tests/api_resources/test_room_participants.py +++ b/tests/api_resources/test_room_participants.py @@ -18,7 +18,6 @@ class TestRoomParticipants: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: room_participant = client.room_participants.retrieve( @@ -26,7 +25,6 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(RoomParticipantRetrieveResponse, room_participant, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.room_participants.with_raw_response.retrieve( @@ -38,7 +36,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: room_participant = response.parse() assert_matches_type(RoomParticipantRetrieveResponse, room_participant, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.room_participants.with_streaming_response.retrieve( @@ -52,7 +49,6 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `room_participant_id` but received ''"): @@ -60,13 +56,11 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: room_participant = client.room_participants.list() assert_matches_type(RoomParticipantListResponse, room_participant, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: room_participant = client.room_participants.list( @@ -96,7 +90,6 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(RoomParticipantListResponse, room_participant, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.room_participants.with_raw_response.list() @@ -106,7 +99,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: room_participant = response.parse() assert_matches_type(RoomParticipantListResponse, room_participant, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.room_participants.with_streaming_response.list() as response: @@ -124,7 +116,6 @@ class TestAsyncRoomParticipants: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: room_participant = await async_client.room_participants.retrieve( @@ -132,7 +123,6 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(RoomParticipantRetrieveResponse, room_participant, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.room_participants.with_raw_response.retrieve( @@ -144,7 +134,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: room_participant = await response.parse() assert_matches_type(RoomParticipantRetrieveResponse, room_participant, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.room_participants.with_streaming_response.retrieve( @@ -158,7 +147,6 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `room_participant_id` but received ''"): @@ -166,13 +154,11 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: room_participant = await async_client.room_participants.list() assert_matches_type(RoomParticipantListResponse, room_participant, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: room_participant = await async_client.room_participants.list( @@ -202,7 +188,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(RoomParticipantListResponse, room_participant, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.room_participants.with_raw_response.list() @@ -212,7 +197,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: room_participant = await response.parse() assert_matches_type(RoomParticipantListResponse, room_participant, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.room_participants.with_streaming_response.list() as response: diff --git a/tests/api_resources/test_room_recordings.py b/tests/api_resources/test_room_recordings.py index fab22b76..9ab84a05 100644 --- a/tests/api_resources/test_room_recordings.py +++ b/tests/api_resources/test_room_recordings.py @@ -22,7 +22,6 @@ class TestRoomRecordings: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: room_recording = client.room_recordings.retrieve( @@ -30,7 +29,6 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(RoomRecordingRetrieveResponse, room_recording, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.room_recordings.with_raw_response.retrieve( @@ -42,7 +40,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: room_recording = response.parse() assert_matches_type(RoomRecordingRetrieveResponse, room_recording, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.room_recordings.with_streaming_response.retrieve( @@ -56,7 +53,6 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `room_recording_id` but received ''"): @@ -64,13 +60,11 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: room_recording = client.room_recordings.list() assert_matches_type(RoomRecordingListResponse, room_recording, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: room_recording = client.room_recordings.list( @@ -99,7 +93,6 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(RoomRecordingListResponse, room_recording, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.room_recordings.with_raw_response.list() @@ -109,7 +102,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: room_recording = response.parse() assert_matches_type(RoomRecordingListResponse, room_recording, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.room_recordings.with_streaming_response.list() as response: @@ -121,7 +113,6 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: room_recording = client.room_recordings.delete( @@ -129,7 +120,6 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert room_recording is None - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.room_recordings.with_raw_response.delete( @@ -141,7 +131,6 @@ def test_raw_response_delete(self, client: Telnyx) -> None: room_recording = response.parse() assert room_recording is None - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.room_recordings.with_streaming_response.delete( @@ -155,7 +144,6 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `room_recording_id` but received ''"): @@ -163,13 +151,11 @@ def test_path_params_delete(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete_bulk(self, client: Telnyx) -> None: room_recording = client.room_recordings.delete_bulk() assert_matches_type(RoomRecordingDeleteBulkResponse, room_recording, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete_bulk_with_all_params(self, client: Telnyx) -> None: room_recording = client.room_recordings.delete_bulk( @@ -198,7 +184,6 @@ def test_method_delete_bulk_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(RoomRecordingDeleteBulkResponse, room_recording, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete_bulk(self, client: Telnyx) -> None: response = client.room_recordings.with_raw_response.delete_bulk() @@ -208,7 +193,6 @@ def test_raw_response_delete_bulk(self, client: Telnyx) -> None: room_recording = response.parse() assert_matches_type(RoomRecordingDeleteBulkResponse, room_recording, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete_bulk(self, client: Telnyx) -> None: with client.room_recordings.with_streaming_response.delete_bulk() as response: @@ -226,7 +210,6 @@ class TestAsyncRoomRecordings: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: room_recording = await async_client.room_recordings.retrieve( @@ -234,7 +217,6 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(RoomRecordingRetrieveResponse, room_recording, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.room_recordings.with_raw_response.retrieve( @@ -246,7 +228,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: room_recording = await response.parse() assert_matches_type(RoomRecordingRetrieveResponse, room_recording, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.room_recordings.with_streaming_response.retrieve( @@ -260,7 +241,6 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `room_recording_id` but received ''"): @@ -268,13 +248,11 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: room_recording = await async_client.room_recordings.list() assert_matches_type(RoomRecordingListResponse, room_recording, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: room_recording = await async_client.room_recordings.list( @@ -303,7 +281,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(RoomRecordingListResponse, room_recording, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.room_recordings.with_raw_response.list() @@ -313,7 +290,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: room_recording = await response.parse() assert_matches_type(RoomRecordingListResponse, room_recording, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.room_recordings.with_streaming_response.list() as response: @@ -325,7 +301,6 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: room_recording = await async_client.room_recordings.delete( @@ -333,7 +308,6 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert room_recording is None - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.room_recordings.with_raw_response.delete( @@ -345,7 +319,6 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: room_recording = await response.parse() assert room_recording is None - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.room_recordings.with_streaming_response.delete( @@ -359,7 +332,6 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `room_recording_id` but received ''"): @@ -367,13 +339,11 @@ async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete_bulk(self, async_client: AsyncTelnyx) -> None: room_recording = await async_client.room_recordings.delete_bulk() assert_matches_type(RoomRecordingDeleteBulkResponse, room_recording, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete_bulk_with_all_params(self, async_client: AsyncTelnyx) -> None: room_recording = await async_client.room_recordings.delete_bulk( @@ -402,7 +372,6 @@ async def test_method_delete_bulk_with_all_params(self, async_client: AsyncTelny ) assert_matches_type(RoomRecordingDeleteBulkResponse, room_recording, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete_bulk(self, async_client: AsyncTelnyx) -> None: response = await async_client.room_recordings.with_raw_response.delete_bulk() @@ -412,7 +381,6 @@ async def test_raw_response_delete_bulk(self, async_client: AsyncTelnyx) -> None room_recording = await response.parse() assert_matches_type(RoomRecordingDeleteBulkResponse, room_recording, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete_bulk(self, async_client: AsyncTelnyx) -> None: async with async_client.room_recordings.with_streaming_response.delete_bulk() as response: diff --git a/tests/api_resources/test_rooms.py b/tests/api_resources/test_rooms.py index 6a27cff0..5dd0b70e 100644 --- a/tests/api_resources/test_rooms.py +++ b/tests/api_resources/test_rooms.py @@ -23,13 +23,11 @@ class TestRooms: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: room = client.rooms.create() assert_matches_type(RoomCreateResponse, room, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: room = client.rooms.create( @@ -42,7 +40,6 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(RoomCreateResponse, room, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.rooms.with_raw_response.create() @@ -52,7 +49,6 @@ def test_raw_response_create(self, client: Telnyx) -> None: room = response.parse() assert_matches_type(RoomCreateResponse, room, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.rooms.with_streaming_response.create() as response: @@ -64,7 +60,6 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: room = client.rooms.retrieve( @@ -72,7 +67,6 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(RoomRetrieveResponse, room, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve_with_all_params(self, client: Telnyx) -> None: room = client.rooms.retrieve( @@ -81,7 +75,6 @@ def test_method_retrieve_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(RoomRetrieveResponse, room, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.rooms.with_raw_response.retrieve( @@ -93,7 +86,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: room = response.parse() assert_matches_type(RoomRetrieveResponse, room, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.rooms.with_streaming_response.retrieve( @@ -107,7 +99,6 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `room_id` but received ''"): @@ -115,7 +106,6 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: room_id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update(self, client: Telnyx) -> None: room = client.rooms.update( @@ -123,7 +113,6 @@ def test_method_update(self, client: Telnyx) -> None: ) assert_matches_type(RoomUpdateResponse, room, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_with_all_params(self, client: Telnyx) -> None: room = client.rooms.update( @@ -137,7 +126,6 @@ def test_method_update_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(RoomUpdateResponse, room, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update(self, client: Telnyx) -> None: response = client.rooms.with_raw_response.update( @@ -149,7 +137,6 @@ def test_raw_response_update(self, client: Telnyx) -> None: room = response.parse() assert_matches_type(RoomUpdateResponse, room, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update(self, client: Telnyx) -> None: with client.rooms.with_streaming_response.update( @@ -163,7 +150,6 @@ def test_streaming_response_update(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `room_id` but received ''"): @@ -171,13 +157,11 @@ def test_path_params_update(self, client: Telnyx) -> None: room_id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: room = client.rooms.list() assert_matches_type(RoomListResponse, room, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: room = client.rooms.list( @@ -202,7 +186,6 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(RoomListResponse, room, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.rooms.with_raw_response.list() @@ -212,7 +195,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: room = response.parse() assert_matches_type(RoomListResponse, room, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.rooms.with_streaming_response.list() as response: @@ -224,7 +206,6 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: room = client.rooms.delete( @@ -232,7 +213,6 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert room is None - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.rooms.with_raw_response.delete( @@ -244,7 +224,6 @@ def test_raw_response_delete(self, client: Telnyx) -> None: room = response.parse() assert room is None - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.rooms.with_streaming_response.delete( @@ -258,7 +237,6 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `room_id` but received ''"): @@ -272,13 +250,11 @@ class TestAsyncRooms: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: room = await async_client.rooms.create() assert_matches_type(RoomCreateResponse, room, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: room = await async_client.rooms.create( @@ -291,7 +267,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(RoomCreateResponse, room, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.rooms.with_raw_response.create() @@ -301,7 +276,6 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: room = await response.parse() assert_matches_type(RoomCreateResponse, room, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.rooms.with_streaming_response.create() as response: @@ -313,7 +287,6 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: room = await async_client.rooms.retrieve( @@ -321,7 +294,6 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(RoomRetrieveResponse, room, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve_with_all_params(self, async_client: AsyncTelnyx) -> None: room = await async_client.rooms.retrieve( @@ -330,7 +302,6 @@ async def test_method_retrieve_with_all_params(self, async_client: AsyncTelnyx) ) assert_matches_type(RoomRetrieveResponse, room, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.rooms.with_raw_response.retrieve( @@ -342,7 +313,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: room = await response.parse() assert_matches_type(RoomRetrieveResponse, room, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.rooms.with_streaming_response.retrieve( @@ -356,7 +326,6 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `room_id` but received ''"): @@ -364,7 +333,6 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: room_id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update(self, async_client: AsyncTelnyx) -> None: room = await async_client.rooms.update( @@ -372,7 +340,6 @@ async def test_method_update(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(RoomUpdateResponse, room, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> None: room = await async_client.rooms.update( @@ -386,7 +353,6 @@ async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(RoomUpdateResponse, room, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: response = await async_client.rooms.with_raw_response.update( @@ -398,7 +364,6 @@ async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: room = await response.parse() assert_matches_type(RoomUpdateResponse, room, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> None: async with async_client.rooms.with_streaming_response.update( @@ -412,7 +377,6 @@ async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `room_id` but received ''"): @@ -420,13 +384,11 @@ async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: room_id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: room = await async_client.rooms.list() assert_matches_type(RoomListResponse, room, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: room = await async_client.rooms.list( @@ -451,7 +413,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(RoomListResponse, room, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.rooms.with_raw_response.list() @@ -461,7 +422,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: room = await response.parse() assert_matches_type(RoomListResponse, room, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.rooms.with_streaming_response.list() as response: @@ -473,7 +433,6 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: room = await async_client.rooms.delete( @@ -481,7 +440,6 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert room is None - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.rooms.with_raw_response.delete( @@ -493,7 +451,6 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: room = await response.parse() assert room is None - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.rooms.with_streaming_response.delete( @@ -507,7 +464,6 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `room_id` but received ''"): diff --git a/tests/api_resources/test_seti.py b/tests/api_resources/test_seti.py index eccb49d0..f62d1066 100644 --- a/tests/api_resources/test_seti.py +++ b/tests/api_resources/test_seti.py @@ -17,13 +17,11 @@ class TestSeti: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve_black_box_test_results(self, client: Telnyx) -> None: seti = client.seti.retrieve_black_box_test_results() assert_matches_type(SetiRetrieveBlackBoxTestResultsResponse, seti, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve_black_box_test_results_with_all_params(self, client: Telnyx) -> None: seti = client.seti.retrieve_black_box_test_results( @@ -31,7 +29,6 @@ def test_method_retrieve_black_box_test_results_with_all_params(self, client: Te ) assert_matches_type(SetiRetrieveBlackBoxTestResultsResponse, seti, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve_black_box_test_results(self, client: Telnyx) -> None: response = client.seti.with_raw_response.retrieve_black_box_test_results() @@ -41,7 +38,6 @@ def test_raw_response_retrieve_black_box_test_results(self, client: Telnyx) -> N seti = response.parse() assert_matches_type(SetiRetrieveBlackBoxTestResultsResponse, seti, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve_black_box_test_results(self, client: Telnyx) -> None: with client.seti.with_streaming_response.retrieve_black_box_test_results() as response: @@ -59,13 +55,11 @@ class TestAsyncSeti: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve_black_box_test_results(self, async_client: AsyncTelnyx) -> None: seti = await async_client.seti.retrieve_black_box_test_results() assert_matches_type(SetiRetrieveBlackBoxTestResultsResponse, seti, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve_black_box_test_results_with_all_params(self, async_client: AsyncTelnyx) -> None: seti = await async_client.seti.retrieve_black_box_test_results( @@ -73,7 +67,6 @@ async def test_method_retrieve_black_box_test_results_with_all_params(self, asyn ) assert_matches_type(SetiRetrieveBlackBoxTestResultsResponse, seti, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve_black_box_test_results(self, async_client: AsyncTelnyx) -> None: response = await async_client.seti.with_raw_response.retrieve_black_box_test_results() @@ -83,7 +76,6 @@ async def test_raw_response_retrieve_black_box_test_results(self, async_client: seti = await response.parse() assert_matches_type(SetiRetrieveBlackBoxTestResultsResponse, seti, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve_black_box_test_results(self, async_client: AsyncTelnyx) -> None: async with async_client.seti.with_streaming_response.retrieve_black_box_test_results() as response: diff --git a/tests/api_resources/test_short_codes.py b/tests/api_resources/test_short_codes.py index b89c1c09..af8c5dea 100644 --- a/tests/api_resources/test_short_codes.py +++ b/tests/api_resources/test_short_codes.py @@ -21,7 +21,6 @@ class TestShortCodes: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: short_code = client.short_codes.retrieve( @@ -29,7 +28,6 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(ShortCodeRetrieveResponse, short_code, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.short_codes.with_raw_response.retrieve( @@ -41,7 +39,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: short_code = response.parse() assert_matches_type(ShortCodeRetrieveResponse, short_code, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.short_codes.with_streaming_response.retrieve( @@ -55,7 +52,6 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -63,7 +59,6 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update(self, client: Telnyx) -> None: short_code = client.short_codes.update( @@ -72,7 +67,6 @@ def test_method_update(self, client: Telnyx) -> None: ) assert_matches_type(ShortCodeUpdateResponse, short_code, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update(self, client: Telnyx) -> None: response = client.short_codes.with_raw_response.update( @@ -85,7 +79,6 @@ def test_raw_response_update(self, client: Telnyx) -> None: short_code = response.parse() assert_matches_type(ShortCodeUpdateResponse, short_code, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update(self, client: Telnyx) -> None: with client.short_codes.with_streaming_response.update( @@ -100,7 +93,6 @@ def test_streaming_response_update(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -109,13 +101,11 @@ def test_path_params_update(self, client: Telnyx) -> None: messaging_profile_id="abc85f64-5717-4562-b3fc-2c9600000000", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: short_code = client.short_codes.list() assert_matches_type(ShortCodeListResponse, short_code, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: short_code = client.short_codes.list( @@ -127,7 +117,6 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ShortCodeListResponse, short_code, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.short_codes.with_raw_response.list() @@ -137,7 +126,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: short_code = response.parse() assert_matches_type(ShortCodeListResponse, short_code, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.short_codes.with_streaming_response.list() as response: @@ -155,7 +143,6 @@ class TestAsyncShortCodes: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: short_code = await async_client.short_codes.retrieve( @@ -163,7 +150,6 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ShortCodeRetrieveResponse, short_code, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.short_codes.with_raw_response.retrieve( @@ -175,7 +161,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: short_code = await response.parse() assert_matches_type(ShortCodeRetrieveResponse, short_code, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.short_codes.with_streaming_response.retrieve( @@ -189,7 +174,6 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -197,7 +181,6 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update(self, async_client: AsyncTelnyx) -> None: short_code = await async_client.short_codes.update( @@ -206,7 +189,6 @@ async def test_method_update(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ShortCodeUpdateResponse, short_code, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: response = await async_client.short_codes.with_raw_response.update( @@ -219,7 +201,6 @@ async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: short_code = await response.parse() assert_matches_type(ShortCodeUpdateResponse, short_code, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> None: async with async_client.short_codes.with_streaming_response.update( @@ -234,7 +215,6 @@ async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -243,13 +223,11 @@ async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: messaging_profile_id="abc85f64-5717-4562-b3fc-2c9600000000", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: short_code = await async_client.short_codes.list() assert_matches_type(ShortCodeListResponse, short_code, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: short_code = await async_client.short_codes.list( @@ -261,7 +239,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(ShortCodeListResponse, short_code, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.short_codes.with_raw_response.list() @@ -271,7 +248,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: short_code = await response.parse() assert_matches_type(ShortCodeListResponse, short_code, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.short_codes.with_streaming_response.list() as response: diff --git a/tests/api_resources/test_sim_card_data_usage_notifications.py b/tests/api_resources/test_sim_card_data_usage_notifications.py index 7cdb1ec5..638591cb 100644 --- a/tests/api_resources/test_sim_card_data_usage_notifications.py +++ b/tests/api_resources/test_sim_card_data_usage_notifications.py @@ -23,7 +23,6 @@ class TestSimCardDataUsageNotifications: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: sim_card_data_usage_notification = client.sim_card_data_usage_notifications.create( @@ -34,7 +33,6 @@ def test_method_create(self, client: Telnyx) -> None: SimCardDataUsageNotificationCreateResponse, sim_card_data_usage_notification, path=["response"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: sim_card_data_usage_notification = client.sim_card_data_usage_notifications.create( @@ -48,7 +46,6 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: SimCardDataUsageNotificationCreateResponse, sim_card_data_usage_notification, path=["response"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.sim_card_data_usage_notifications.with_raw_response.create( @@ -63,7 +60,6 @@ def test_raw_response_create(self, client: Telnyx) -> None: SimCardDataUsageNotificationCreateResponse, sim_card_data_usage_notification, path=["response"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.sim_card_data_usage_notifications.with_streaming_response.create( @@ -80,7 +76,6 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: sim_card_data_usage_notification = client.sim_card_data_usage_notifications.retrieve( @@ -90,7 +85,6 @@ def test_method_retrieve(self, client: Telnyx) -> None: SimCardDataUsageNotificationRetrieveResponse, sim_card_data_usage_notification, path=["response"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.sim_card_data_usage_notifications.with_raw_response.retrieve( @@ -104,7 +98,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: SimCardDataUsageNotificationRetrieveResponse, sim_card_data_usage_notification, path=["response"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.sim_card_data_usage_notifications.with_streaming_response.retrieve( @@ -120,7 +113,6 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -128,7 +120,6 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update(self, client: Telnyx) -> None: sim_card_data_usage_notification = client.sim_card_data_usage_notifications.update( @@ -138,7 +129,6 @@ def test_method_update(self, client: Telnyx) -> None: SimCardDataUsageNotificationUpdateResponse, sim_card_data_usage_notification, path=["response"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_with_all_params(self, client: Telnyx) -> None: sim_card_data_usage_notification = client.sim_card_data_usage_notifications.update( @@ -153,7 +143,6 @@ def test_method_update_with_all_params(self, client: Telnyx) -> None: SimCardDataUsageNotificationUpdateResponse, sim_card_data_usage_notification, path=["response"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update(self, client: Telnyx) -> None: response = client.sim_card_data_usage_notifications.with_raw_response.update( @@ -167,7 +156,6 @@ def test_raw_response_update(self, client: Telnyx) -> None: SimCardDataUsageNotificationUpdateResponse, sim_card_data_usage_notification, path=["response"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update(self, client: Telnyx) -> None: with client.sim_card_data_usage_notifications.with_streaming_response.update( @@ -183,7 +171,6 @@ def test_streaming_response_update(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -191,7 +178,6 @@ def test_path_params_update(self, client: Telnyx) -> None: id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: sim_card_data_usage_notification = client.sim_card_data_usage_notifications.list() @@ -199,7 +185,6 @@ def test_method_list(self, client: Telnyx) -> None: SimCardDataUsageNotificationListResponse, sim_card_data_usage_notification, path=["response"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: sim_card_data_usage_notification = client.sim_card_data_usage_notifications.list( @@ -211,7 +196,6 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: SimCardDataUsageNotificationListResponse, sim_card_data_usage_notification, path=["response"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.sim_card_data_usage_notifications.with_raw_response.list() @@ -223,7 +207,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: SimCardDataUsageNotificationListResponse, sim_card_data_usage_notification, path=["response"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.sim_card_data_usage_notifications.with_streaming_response.list() as response: @@ -237,7 +220,6 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: sim_card_data_usage_notification = client.sim_card_data_usage_notifications.delete( @@ -247,7 +229,6 @@ def test_method_delete(self, client: Telnyx) -> None: SimCardDataUsageNotificationDeleteResponse, sim_card_data_usage_notification, path=["response"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.sim_card_data_usage_notifications.with_raw_response.delete( @@ -261,7 +242,6 @@ def test_raw_response_delete(self, client: Telnyx) -> None: SimCardDataUsageNotificationDeleteResponse, sim_card_data_usage_notification, path=["response"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.sim_card_data_usage_notifications.with_streaming_response.delete( @@ -277,7 +257,6 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -291,7 +270,6 @@ class TestAsyncSimCardDataUsageNotifications: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: sim_card_data_usage_notification = await async_client.sim_card_data_usage_notifications.create( @@ -302,7 +280,6 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: SimCardDataUsageNotificationCreateResponse, sim_card_data_usage_notification, path=["response"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: sim_card_data_usage_notification = await async_client.sim_card_data_usage_notifications.create( @@ -316,7 +293,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> SimCardDataUsageNotificationCreateResponse, sim_card_data_usage_notification, path=["response"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.sim_card_data_usage_notifications.with_raw_response.create( @@ -331,7 +307,6 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: SimCardDataUsageNotificationCreateResponse, sim_card_data_usage_notification, path=["response"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.sim_card_data_usage_notifications.with_streaming_response.create( @@ -348,7 +323,6 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: sim_card_data_usage_notification = await async_client.sim_card_data_usage_notifications.retrieve( @@ -358,7 +332,6 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: SimCardDataUsageNotificationRetrieveResponse, sim_card_data_usage_notification, path=["response"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.sim_card_data_usage_notifications.with_raw_response.retrieve( @@ -372,7 +345,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: SimCardDataUsageNotificationRetrieveResponse, sim_card_data_usage_notification, path=["response"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.sim_card_data_usage_notifications.with_streaming_response.retrieve( @@ -388,7 +360,6 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -396,7 +367,6 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update(self, async_client: AsyncTelnyx) -> None: sim_card_data_usage_notification = await async_client.sim_card_data_usage_notifications.update( @@ -406,7 +376,6 @@ async def test_method_update(self, async_client: AsyncTelnyx) -> None: SimCardDataUsageNotificationUpdateResponse, sim_card_data_usage_notification, path=["response"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> None: sim_card_data_usage_notification = await async_client.sim_card_data_usage_notifications.update( @@ -421,7 +390,6 @@ async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> SimCardDataUsageNotificationUpdateResponse, sim_card_data_usage_notification, path=["response"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: response = await async_client.sim_card_data_usage_notifications.with_raw_response.update( @@ -435,7 +403,6 @@ async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: SimCardDataUsageNotificationUpdateResponse, sim_card_data_usage_notification, path=["response"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> None: async with async_client.sim_card_data_usage_notifications.with_streaming_response.update( @@ -451,7 +418,6 @@ async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -459,7 +425,6 @@ async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: sim_card_data_usage_notification = await async_client.sim_card_data_usage_notifications.list() @@ -467,7 +432,6 @@ async def test_method_list(self, async_client: AsyncTelnyx) -> None: SimCardDataUsageNotificationListResponse, sim_card_data_usage_notification, path=["response"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: sim_card_data_usage_notification = await async_client.sim_card_data_usage_notifications.list( @@ -479,7 +443,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N SimCardDataUsageNotificationListResponse, sim_card_data_usage_notification, path=["response"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.sim_card_data_usage_notifications.with_raw_response.list() @@ -491,7 +454,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: SimCardDataUsageNotificationListResponse, sim_card_data_usage_notification, path=["response"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.sim_card_data_usage_notifications.with_streaming_response.list() as response: @@ -505,7 +467,6 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: sim_card_data_usage_notification = await async_client.sim_card_data_usage_notifications.delete( @@ -515,7 +476,6 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: SimCardDataUsageNotificationDeleteResponse, sim_card_data_usage_notification, path=["response"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.sim_card_data_usage_notifications.with_raw_response.delete( @@ -529,7 +489,6 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: SimCardDataUsageNotificationDeleteResponse, sim_card_data_usage_notification, path=["response"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.sim_card_data_usage_notifications.with_streaming_response.delete( @@ -545,7 +504,6 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): diff --git a/tests/api_resources/test_sim_card_groups.py b/tests/api_resources/test_sim_card_groups.py index 55e9173b..7e324434 100644 --- a/tests/api_resources/test_sim_card_groups.py +++ b/tests/api_resources/test_sim_card_groups.py @@ -23,7 +23,6 @@ class TestSimCardGroups: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: sim_card_group = client.sim_card_groups.create( @@ -31,7 +30,6 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(SimCardGroupCreateResponse, sim_card_group, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: sim_card_group = client.sim_card_groups.create( @@ -43,7 +41,6 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(SimCardGroupCreateResponse, sim_card_group, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.sim_card_groups.with_raw_response.create( @@ -55,7 +52,6 @@ def test_raw_response_create(self, client: Telnyx) -> None: sim_card_group = response.parse() assert_matches_type(SimCardGroupCreateResponse, sim_card_group, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.sim_card_groups.with_streaming_response.create( @@ -69,7 +65,6 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: sim_card_group = client.sim_card_groups.retrieve( @@ -77,7 +72,6 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(SimCardGroupRetrieveResponse, sim_card_group, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve_with_all_params(self, client: Telnyx) -> None: sim_card_group = client.sim_card_groups.retrieve( @@ -86,7 +80,6 @@ def test_method_retrieve_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(SimCardGroupRetrieveResponse, sim_card_group, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.sim_card_groups.with_raw_response.retrieve( @@ -98,7 +91,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: sim_card_group = response.parse() assert_matches_type(SimCardGroupRetrieveResponse, sim_card_group, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.sim_card_groups.with_streaming_response.retrieve( @@ -112,7 +104,6 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -120,7 +111,6 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update(self, client: Telnyx) -> None: sim_card_group = client.sim_card_groups.update( @@ -128,7 +118,6 @@ def test_method_update(self, client: Telnyx) -> None: ) assert_matches_type(SimCardGroupUpdateResponse, sim_card_group, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_with_all_params(self, client: Telnyx) -> None: sim_card_group = client.sim_card_groups.update( @@ -141,7 +130,6 @@ def test_method_update_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(SimCardGroupUpdateResponse, sim_card_group, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update(self, client: Telnyx) -> None: response = client.sim_card_groups.with_raw_response.update( @@ -153,7 +141,6 @@ def test_raw_response_update(self, client: Telnyx) -> None: sim_card_group = response.parse() assert_matches_type(SimCardGroupUpdateResponse, sim_card_group, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update(self, client: Telnyx) -> None: with client.sim_card_groups.with_streaming_response.update( @@ -167,7 +154,6 @@ def test_streaming_response_update(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -175,13 +161,11 @@ def test_path_params_update(self, client: Telnyx) -> None: id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: sim_card_group = client.sim_card_groups.list() assert_matches_type(SimCardGroupListResponse, sim_card_group, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: sim_card_group = client.sim_card_groups.list( @@ -193,7 +177,6 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(SimCardGroupListResponse, sim_card_group, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.sim_card_groups.with_raw_response.list() @@ -203,7 +186,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: sim_card_group = response.parse() assert_matches_type(SimCardGroupListResponse, sim_card_group, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.sim_card_groups.with_streaming_response.list() as response: @@ -215,7 +197,6 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: sim_card_group = client.sim_card_groups.delete( @@ -223,7 +204,6 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert_matches_type(SimCardGroupDeleteResponse, sim_card_group, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.sim_card_groups.with_raw_response.delete( @@ -235,7 +215,6 @@ def test_raw_response_delete(self, client: Telnyx) -> None: sim_card_group = response.parse() assert_matches_type(SimCardGroupDeleteResponse, sim_card_group, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.sim_card_groups.with_streaming_response.delete( @@ -249,7 +228,6 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -263,7 +241,6 @@ class TestAsyncSimCardGroups: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: sim_card_group = await async_client.sim_card_groups.create( @@ -271,7 +248,6 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(SimCardGroupCreateResponse, sim_card_group, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: sim_card_group = await async_client.sim_card_groups.create( @@ -283,7 +259,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(SimCardGroupCreateResponse, sim_card_group, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.sim_card_groups.with_raw_response.create( @@ -295,7 +270,6 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: sim_card_group = await response.parse() assert_matches_type(SimCardGroupCreateResponse, sim_card_group, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.sim_card_groups.with_streaming_response.create( @@ -309,7 +283,6 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: sim_card_group = await async_client.sim_card_groups.retrieve( @@ -317,7 +290,6 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(SimCardGroupRetrieveResponse, sim_card_group, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve_with_all_params(self, async_client: AsyncTelnyx) -> None: sim_card_group = await async_client.sim_card_groups.retrieve( @@ -326,7 +298,6 @@ async def test_method_retrieve_with_all_params(self, async_client: AsyncTelnyx) ) assert_matches_type(SimCardGroupRetrieveResponse, sim_card_group, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.sim_card_groups.with_raw_response.retrieve( @@ -338,7 +309,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: sim_card_group = await response.parse() assert_matches_type(SimCardGroupRetrieveResponse, sim_card_group, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.sim_card_groups.with_streaming_response.retrieve( @@ -352,7 +322,6 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -360,7 +329,6 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update(self, async_client: AsyncTelnyx) -> None: sim_card_group = await async_client.sim_card_groups.update( @@ -368,7 +336,6 @@ async def test_method_update(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(SimCardGroupUpdateResponse, sim_card_group, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> None: sim_card_group = await async_client.sim_card_groups.update( @@ -381,7 +348,6 @@ async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(SimCardGroupUpdateResponse, sim_card_group, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: response = await async_client.sim_card_groups.with_raw_response.update( @@ -393,7 +359,6 @@ async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: sim_card_group = await response.parse() assert_matches_type(SimCardGroupUpdateResponse, sim_card_group, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> None: async with async_client.sim_card_groups.with_streaming_response.update( @@ -407,7 +372,6 @@ async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -415,13 +379,11 @@ async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: sim_card_group = await async_client.sim_card_groups.list() assert_matches_type(SimCardGroupListResponse, sim_card_group, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: sim_card_group = await async_client.sim_card_groups.list( @@ -433,7 +395,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(SimCardGroupListResponse, sim_card_group, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.sim_card_groups.with_raw_response.list() @@ -443,7 +404,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: sim_card_group = await response.parse() assert_matches_type(SimCardGroupListResponse, sim_card_group, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.sim_card_groups.with_streaming_response.list() as response: @@ -455,7 +415,6 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: sim_card_group = await async_client.sim_card_groups.delete( @@ -463,7 +422,6 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(SimCardGroupDeleteResponse, sim_card_group, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.sim_card_groups.with_raw_response.delete( @@ -475,7 +433,6 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: sim_card_group = await response.parse() assert_matches_type(SimCardGroupDeleteResponse, sim_card_group, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.sim_card_groups.with_streaming_response.delete( @@ -489,7 +446,6 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): diff --git a/tests/api_resources/test_sim_card_order_preview.py b/tests/api_resources/test_sim_card_order_preview.py index 1a4e97e5..e092f229 100644 --- a/tests/api_resources/test_sim_card_order_preview.py +++ b/tests/api_resources/test_sim_card_order_preview.py @@ -17,7 +17,6 @@ class TestSimCardOrderPreview: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_preview(self, client: Telnyx) -> None: sim_card_order_preview = client.sim_card_order_preview.preview( @@ -26,7 +25,6 @@ def test_method_preview(self, client: Telnyx) -> None: ) assert_matches_type(SimCardOrderPreviewPreviewResponse, sim_card_order_preview, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_preview(self, client: Telnyx) -> None: response = client.sim_card_order_preview.with_raw_response.preview( @@ -39,7 +37,6 @@ def test_raw_response_preview(self, client: Telnyx) -> None: sim_card_order_preview = response.parse() assert_matches_type(SimCardOrderPreviewPreviewResponse, sim_card_order_preview, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_preview(self, client: Telnyx) -> None: with client.sim_card_order_preview.with_streaming_response.preview( @@ -60,7 +57,6 @@ class TestAsyncSimCardOrderPreview: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_preview(self, async_client: AsyncTelnyx) -> None: sim_card_order_preview = await async_client.sim_card_order_preview.preview( @@ -69,7 +65,6 @@ async def test_method_preview(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(SimCardOrderPreviewPreviewResponse, sim_card_order_preview, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_preview(self, async_client: AsyncTelnyx) -> None: response = await async_client.sim_card_order_preview.with_raw_response.preview( @@ -82,7 +77,6 @@ async def test_raw_response_preview(self, async_client: AsyncTelnyx) -> None: sim_card_order_preview = await response.parse() assert_matches_type(SimCardOrderPreviewPreviewResponse, sim_card_order_preview, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_preview(self, async_client: AsyncTelnyx) -> None: async with async_client.sim_card_order_preview.with_streaming_response.preview( diff --git a/tests/api_resources/test_sim_card_orders.py b/tests/api_resources/test_sim_card_orders.py index 38591570..64f47b09 100644 --- a/tests/api_resources/test_sim_card_orders.py +++ b/tests/api_resources/test_sim_card_orders.py @@ -22,7 +22,6 @@ class TestSimCardOrders: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: sim_card_order = client.sim_card_orders.create( @@ -31,7 +30,6 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(SimCardOrderCreateResponse, sim_card_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.sim_card_orders.with_raw_response.create( @@ -44,7 +42,6 @@ def test_raw_response_create(self, client: Telnyx) -> None: sim_card_order = response.parse() assert_matches_type(SimCardOrderCreateResponse, sim_card_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.sim_card_orders.with_streaming_response.create( @@ -59,7 +56,6 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: sim_card_order = client.sim_card_orders.retrieve( @@ -67,7 +63,6 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(SimCardOrderRetrieveResponse, sim_card_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.sim_card_orders.with_raw_response.retrieve( @@ -79,7 +74,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: sim_card_order = response.parse() assert_matches_type(SimCardOrderRetrieveResponse, sim_card_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.sim_card_orders.with_streaming_response.retrieve( @@ -93,7 +87,6 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -101,13 +94,11 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: sim_card_order = client.sim_card_orders.list() assert_matches_type(SimCardOrderListResponse, sim_card_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: sim_card_order = client.sim_card_orders.list( @@ -136,7 +127,6 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(SimCardOrderListResponse, sim_card_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.sim_card_orders.with_raw_response.list() @@ -146,7 +136,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: sim_card_order = response.parse() assert_matches_type(SimCardOrderListResponse, sim_card_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.sim_card_orders.with_streaming_response.list() as response: @@ -164,7 +153,6 @@ class TestAsyncSimCardOrders: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: sim_card_order = await async_client.sim_card_orders.create( @@ -173,7 +161,6 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(SimCardOrderCreateResponse, sim_card_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.sim_card_orders.with_raw_response.create( @@ -186,7 +173,6 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: sim_card_order = await response.parse() assert_matches_type(SimCardOrderCreateResponse, sim_card_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.sim_card_orders.with_streaming_response.create( @@ -201,7 +187,6 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: sim_card_order = await async_client.sim_card_orders.retrieve( @@ -209,7 +194,6 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(SimCardOrderRetrieveResponse, sim_card_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.sim_card_orders.with_raw_response.retrieve( @@ -221,7 +205,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: sim_card_order = await response.parse() assert_matches_type(SimCardOrderRetrieveResponse, sim_card_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.sim_card_orders.with_streaming_response.retrieve( @@ -235,7 +218,6 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -243,13 +225,11 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: sim_card_order = await async_client.sim_card_orders.list() assert_matches_type(SimCardOrderListResponse, sim_card_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: sim_card_order = await async_client.sim_card_orders.list( @@ -278,7 +258,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(SimCardOrderListResponse, sim_card_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.sim_card_orders.with_raw_response.list() @@ -288,7 +267,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: sim_card_order = await response.parse() assert_matches_type(SimCardOrderListResponse, sim_card_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.sim_card_orders.with_streaming_response.list() as response: diff --git a/tests/api_resources/test_sim_cards.py b/tests/api_resources/test_sim_cards.py index cd4e24d0..a62536e7 100644 --- a/tests/api_resources/test_sim_cards.py +++ b/tests/api_resources/test_sim_cards.py @@ -26,7 +26,6 @@ class TestSimCards: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: sim_card = client.sim_cards.retrieve( @@ -34,7 +33,6 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(SimCardRetrieveResponse, sim_card, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve_with_all_params(self, client: Telnyx) -> None: sim_card = client.sim_cards.retrieve( @@ -44,7 +42,6 @@ def test_method_retrieve_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(SimCardRetrieveResponse, sim_card, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.sim_cards.with_raw_response.retrieve( @@ -56,7 +53,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: sim_card = response.parse() assert_matches_type(SimCardRetrieveResponse, sim_card, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.sim_cards.with_streaming_response.retrieve( @@ -70,7 +66,6 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -78,7 +73,6 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update(self, client: Telnyx) -> None: sim_card = client.sim_cards.update( @@ -86,7 +80,6 @@ def test_method_update(self, client: Telnyx) -> None: ) assert_matches_type(SimCardUpdateResponse, sim_card, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_with_all_params(self, client: Telnyx) -> None: sim_card = client.sim_cards.update( @@ -102,7 +95,6 @@ def test_method_update_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(SimCardUpdateResponse, sim_card, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update(self, client: Telnyx) -> None: response = client.sim_cards.with_raw_response.update( @@ -114,7 +106,6 @@ def test_raw_response_update(self, client: Telnyx) -> None: sim_card = response.parse() assert_matches_type(SimCardUpdateResponse, sim_card, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update(self, client: Telnyx) -> None: with client.sim_cards.with_streaming_response.update( @@ -128,7 +119,6 @@ def test_streaming_response_update(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -136,13 +126,11 @@ def test_path_params_update(self, client: Telnyx) -> None: id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: sim_card = client.sim_cards.list() assert_matches_type(SimCardListResponse, sim_card, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: sim_card = client.sim_cards.list( @@ -161,7 +149,6 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(SimCardListResponse, sim_card, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.sim_cards.with_raw_response.list() @@ -171,7 +158,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: sim_card = response.parse() assert_matches_type(SimCardListResponse, sim_card, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.sim_cards.with_streaming_response.list() as response: @@ -183,7 +169,6 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: sim_card = client.sim_cards.delete( @@ -191,7 +176,6 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert_matches_type(SimCardDeleteResponse, sim_card, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete_with_all_params(self, client: Telnyx) -> None: sim_card = client.sim_cards.delete( @@ -200,7 +184,6 @@ def test_method_delete_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(SimCardDeleteResponse, sim_card, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.sim_cards.with_raw_response.delete( @@ -212,7 +195,6 @@ def test_raw_response_delete(self, client: Telnyx) -> None: sim_card = response.parse() assert_matches_type(SimCardDeleteResponse, sim_card, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.sim_cards.with_streaming_response.delete( @@ -226,7 +208,6 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -234,7 +215,6 @@ def test_path_params_delete(self, client: Telnyx) -> None: id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_get_activation_code(self, client: Telnyx) -> None: sim_card = client.sim_cards.get_activation_code( @@ -242,7 +222,6 @@ def test_method_get_activation_code(self, client: Telnyx) -> None: ) assert_matches_type(SimCardGetActivationCodeResponse, sim_card, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_get_activation_code(self, client: Telnyx) -> None: response = client.sim_cards.with_raw_response.get_activation_code( @@ -254,7 +233,6 @@ def test_raw_response_get_activation_code(self, client: Telnyx) -> None: sim_card = response.parse() assert_matches_type(SimCardGetActivationCodeResponse, sim_card, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_get_activation_code(self, client: Telnyx) -> None: with client.sim_cards.with_streaming_response.get_activation_code( @@ -268,7 +246,6 @@ def test_streaming_response_get_activation_code(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_get_activation_code(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -276,7 +253,6 @@ def test_path_params_get_activation_code(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_get_device_details(self, client: Telnyx) -> None: sim_card = client.sim_cards.get_device_details( @@ -284,7 +260,6 @@ def test_method_get_device_details(self, client: Telnyx) -> None: ) assert_matches_type(SimCardGetDeviceDetailsResponse, sim_card, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_get_device_details(self, client: Telnyx) -> None: response = client.sim_cards.with_raw_response.get_device_details( @@ -296,7 +271,6 @@ def test_raw_response_get_device_details(self, client: Telnyx) -> None: sim_card = response.parse() assert_matches_type(SimCardGetDeviceDetailsResponse, sim_card, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_get_device_details(self, client: Telnyx) -> None: with client.sim_cards.with_streaming_response.get_device_details( @@ -310,7 +284,6 @@ def test_streaming_response_get_device_details(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_get_device_details(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -318,7 +291,6 @@ def test_path_params_get_device_details(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_get_public_ip(self, client: Telnyx) -> None: sim_card = client.sim_cards.get_public_ip( @@ -326,7 +298,6 @@ def test_method_get_public_ip(self, client: Telnyx) -> None: ) assert_matches_type(SimCardGetPublicIPResponse, sim_card, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_get_public_ip(self, client: Telnyx) -> None: response = client.sim_cards.with_raw_response.get_public_ip( @@ -338,7 +309,6 @@ def test_raw_response_get_public_ip(self, client: Telnyx) -> None: sim_card = response.parse() assert_matches_type(SimCardGetPublicIPResponse, sim_card, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_get_public_ip(self, client: Telnyx) -> None: with client.sim_cards.with_streaming_response.get_public_ip( @@ -352,7 +322,6 @@ def test_streaming_response_get_public_ip(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_get_public_ip(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -360,7 +329,6 @@ def test_path_params_get_public_ip(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_wireless_connectivity_logs(self, client: Telnyx) -> None: sim_card = client.sim_cards.list_wireless_connectivity_logs( @@ -368,7 +336,6 @@ def test_method_list_wireless_connectivity_logs(self, client: Telnyx) -> None: ) assert_matches_type(SimCardListWirelessConnectivityLogsResponse, sim_card, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_wireless_connectivity_logs_with_all_params(self, client: Telnyx) -> None: sim_card = client.sim_cards.list_wireless_connectivity_logs( @@ -378,7 +345,6 @@ def test_method_list_wireless_connectivity_logs_with_all_params(self, client: Te ) assert_matches_type(SimCardListWirelessConnectivityLogsResponse, sim_card, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list_wireless_connectivity_logs(self, client: Telnyx) -> None: response = client.sim_cards.with_raw_response.list_wireless_connectivity_logs( @@ -390,7 +356,6 @@ def test_raw_response_list_wireless_connectivity_logs(self, client: Telnyx) -> N sim_card = response.parse() assert_matches_type(SimCardListWirelessConnectivityLogsResponse, sim_card, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list_wireless_connectivity_logs(self, client: Telnyx) -> None: with client.sim_cards.with_streaming_response.list_wireless_connectivity_logs( @@ -404,7 +369,6 @@ def test_streaming_response_list_wireless_connectivity_logs(self, client: Telnyx assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_list_wireless_connectivity_logs(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -418,7 +382,6 @@ class TestAsyncSimCards: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: sim_card = await async_client.sim_cards.retrieve( @@ -426,7 +389,6 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(SimCardRetrieveResponse, sim_card, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve_with_all_params(self, async_client: AsyncTelnyx) -> None: sim_card = await async_client.sim_cards.retrieve( @@ -436,7 +398,6 @@ async def test_method_retrieve_with_all_params(self, async_client: AsyncTelnyx) ) assert_matches_type(SimCardRetrieveResponse, sim_card, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.sim_cards.with_raw_response.retrieve( @@ -448,7 +409,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: sim_card = await response.parse() assert_matches_type(SimCardRetrieveResponse, sim_card, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.sim_cards.with_streaming_response.retrieve( @@ -462,7 +422,6 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -470,7 +429,6 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update(self, async_client: AsyncTelnyx) -> None: sim_card = await async_client.sim_cards.update( @@ -478,7 +436,6 @@ async def test_method_update(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(SimCardUpdateResponse, sim_card, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> None: sim_card = await async_client.sim_cards.update( @@ -494,7 +451,6 @@ async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(SimCardUpdateResponse, sim_card, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: response = await async_client.sim_cards.with_raw_response.update( @@ -506,7 +462,6 @@ async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: sim_card = await response.parse() assert_matches_type(SimCardUpdateResponse, sim_card, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> None: async with async_client.sim_cards.with_streaming_response.update( @@ -520,7 +475,6 @@ async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -528,13 +482,11 @@ async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: sim_card = await async_client.sim_cards.list() assert_matches_type(SimCardListResponse, sim_card, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: sim_card = await async_client.sim_cards.list( @@ -553,7 +505,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(SimCardListResponse, sim_card, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.sim_cards.with_raw_response.list() @@ -563,7 +514,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: sim_card = await response.parse() assert_matches_type(SimCardListResponse, sim_card, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.sim_cards.with_streaming_response.list() as response: @@ -575,7 +525,6 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: sim_card = await async_client.sim_cards.delete( @@ -583,7 +532,6 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(SimCardDeleteResponse, sim_card, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete_with_all_params(self, async_client: AsyncTelnyx) -> None: sim_card = await async_client.sim_cards.delete( @@ -592,7 +540,6 @@ async def test_method_delete_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(SimCardDeleteResponse, sim_card, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.sim_cards.with_raw_response.delete( @@ -604,7 +551,6 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: sim_card = await response.parse() assert_matches_type(SimCardDeleteResponse, sim_card, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.sim_cards.with_streaming_response.delete( @@ -618,7 +564,6 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -626,7 +571,6 @@ async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_get_activation_code(self, async_client: AsyncTelnyx) -> None: sim_card = await async_client.sim_cards.get_activation_code( @@ -634,7 +578,6 @@ async def test_method_get_activation_code(self, async_client: AsyncTelnyx) -> No ) assert_matches_type(SimCardGetActivationCodeResponse, sim_card, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_get_activation_code(self, async_client: AsyncTelnyx) -> None: response = await async_client.sim_cards.with_raw_response.get_activation_code( @@ -646,7 +589,6 @@ async def test_raw_response_get_activation_code(self, async_client: AsyncTelnyx) sim_card = await response.parse() assert_matches_type(SimCardGetActivationCodeResponse, sim_card, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_get_activation_code(self, async_client: AsyncTelnyx) -> None: async with async_client.sim_cards.with_streaming_response.get_activation_code( @@ -660,7 +602,6 @@ async def test_streaming_response_get_activation_code(self, async_client: AsyncT assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_get_activation_code(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -668,7 +609,6 @@ async def test_path_params_get_activation_code(self, async_client: AsyncTelnyx) "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_get_device_details(self, async_client: AsyncTelnyx) -> None: sim_card = await async_client.sim_cards.get_device_details( @@ -676,7 +616,6 @@ async def test_method_get_device_details(self, async_client: AsyncTelnyx) -> Non ) assert_matches_type(SimCardGetDeviceDetailsResponse, sim_card, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_get_device_details(self, async_client: AsyncTelnyx) -> None: response = await async_client.sim_cards.with_raw_response.get_device_details( @@ -688,7 +627,6 @@ async def test_raw_response_get_device_details(self, async_client: AsyncTelnyx) sim_card = await response.parse() assert_matches_type(SimCardGetDeviceDetailsResponse, sim_card, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_get_device_details(self, async_client: AsyncTelnyx) -> None: async with async_client.sim_cards.with_streaming_response.get_device_details( @@ -702,7 +640,6 @@ async def test_streaming_response_get_device_details(self, async_client: AsyncTe assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_get_device_details(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -710,7 +647,6 @@ async def test_path_params_get_device_details(self, async_client: AsyncTelnyx) - "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_get_public_ip(self, async_client: AsyncTelnyx) -> None: sim_card = await async_client.sim_cards.get_public_ip( @@ -718,7 +654,6 @@ async def test_method_get_public_ip(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(SimCardGetPublicIPResponse, sim_card, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_get_public_ip(self, async_client: AsyncTelnyx) -> None: response = await async_client.sim_cards.with_raw_response.get_public_ip( @@ -730,7 +665,6 @@ async def test_raw_response_get_public_ip(self, async_client: AsyncTelnyx) -> No sim_card = await response.parse() assert_matches_type(SimCardGetPublicIPResponse, sim_card, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_get_public_ip(self, async_client: AsyncTelnyx) -> None: async with async_client.sim_cards.with_streaming_response.get_public_ip( @@ -744,7 +678,6 @@ async def test_streaming_response_get_public_ip(self, async_client: AsyncTelnyx) assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_get_public_ip(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -752,7 +685,6 @@ async def test_path_params_get_public_ip(self, async_client: AsyncTelnyx) -> Non "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_wireless_connectivity_logs(self, async_client: AsyncTelnyx) -> None: sim_card = await async_client.sim_cards.list_wireless_connectivity_logs( @@ -760,7 +692,6 @@ async def test_method_list_wireless_connectivity_logs(self, async_client: AsyncT ) assert_matches_type(SimCardListWirelessConnectivityLogsResponse, sim_card, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_wireless_connectivity_logs_with_all_params(self, async_client: AsyncTelnyx) -> None: sim_card = await async_client.sim_cards.list_wireless_connectivity_logs( @@ -770,7 +701,6 @@ async def test_method_list_wireless_connectivity_logs_with_all_params(self, asyn ) assert_matches_type(SimCardListWirelessConnectivityLogsResponse, sim_card, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list_wireless_connectivity_logs(self, async_client: AsyncTelnyx) -> None: response = await async_client.sim_cards.with_raw_response.list_wireless_connectivity_logs( @@ -782,7 +712,6 @@ async def test_raw_response_list_wireless_connectivity_logs(self, async_client: sim_card = await response.parse() assert_matches_type(SimCardListWirelessConnectivityLogsResponse, sim_card, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list_wireless_connectivity_logs(self, async_client: AsyncTelnyx) -> None: async with async_client.sim_cards.with_streaming_response.list_wireless_connectivity_logs( @@ -796,7 +725,6 @@ async def test_streaming_response_list_wireless_connectivity_logs(self, async_cl assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_list_wireless_connectivity_logs(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): diff --git a/tests/api_resources/test_siprec_connectors.py b/tests/api_resources/test_siprec_connectors.py index c5b60367..1244da16 100644 --- a/tests/api_resources/test_siprec_connectors.py +++ b/tests/api_resources/test_siprec_connectors.py @@ -21,7 +21,6 @@ class TestSiprecConnectors: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: siprec_connector = client.siprec_connectors.create( @@ -31,7 +30,6 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(SiprecConnectorCreateResponse, siprec_connector, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: siprec_connector = client.siprec_connectors.create( @@ -42,7 +40,6 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(SiprecConnectorCreateResponse, siprec_connector, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.siprec_connectors.with_raw_response.create( @@ -56,7 +53,6 @@ def test_raw_response_create(self, client: Telnyx) -> None: siprec_connector = response.parse() assert_matches_type(SiprecConnectorCreateResponse, siprec_connector, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.siprec_connectors.with_streaming_response.create( @@ -72,7 +68,6 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: siprec_connector = client.siprec_connectors.retrieve( @@ -80,7 +75,6 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(SiprecConnectorRetrieveResponse, siprec_connector, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.siprec_connectors.with_raw_response.retrieve( @@ -92,7 +86,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: siprec_connector = response.parse() assert_matches_type(SiprecConnectorRetrieveResponse, siprec_connector, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.siprec_connectors.with_streaming_response.retrieve( @@ -106,7 +99,6 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `connector_name` but received ''"): @@ -114,7 +106,6 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update(self, client: Telnyx) -> None: siprec_connector = client.siprec_connectors.update( @@ -125,7 +116,6 @@ def test_method_update(self, client: Telnyx) -> None: ) assert_matches_type(SiprecConnectorUpdateResponse, siprec_connector, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_with_all_params(self, client: Telnyx) -> None: siprec_connector = client.siprec_connectors.update( @@ -137,7 +127,6 @@ def test_method_update_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(SiprecConnectorUpdateResponse, siprec_connector, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update(self, client: Telnyx) -> None: response = client.siprec_connectors.with_raw_response.update( @@ -152,7 +141,6 @@ def test_raw_response_update(self, client: Telnyx) -> None: siprec_connector = response.parse() assert_matches_type(SiprecConnectorUpdateResponse, siprec_connector, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update(self, client: Telnyx) -> None: with client.siprec_connectors.with_streaming_response.update( @@ -169,7 +157,6 @@ def test_streaming_response_update(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `connector_name` but received ''"): @@ -180,7 +167,6 @@ def test_path_params_update(self, client: Telnyx) -> None: port=5060, ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: siprec_connector = client.siprec_connectors.delete( @@ -188,7 +174,6 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert siprec_connector is None - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.siprec_connectors.with_raw_response.delete( @@ -200,7 +185,6 @@ def test_raw_response_delete(self, client: Telnyx) -> None: siprec_connector = response.parse() assert siprec_connector is None - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.siprec_connectors.with_streaming_response.delete( @@ -214,7 +198,6 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `connector_name` but received ''"): @@ -228,7 +211,6 @@ class TestAsyncSiprecConnectors: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: siprec_connector = await async_client.siprec_connectors.create( @@ -238,7 +220,6 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(SiprecConnectorCreateResponse, siprec_connector, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: siprec_connector = await async_client.siprec_connectors.create( @@ -249,7 +230,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(SiprecConnectorCreateResponse, siprec_connector, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.siprec_connectors.with_raw_response.create( @@ -263,7 +243,6 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: siprec_connector = await response.parse() assert_matches_type(SiprecConnectorCreateResponse, siprec_connector, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.siprec_connectors.with_streaming_response.create( @@ -279,7 +258,6 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: siprec_connector = await async_client.siprec_connectors.retrieve( @@ -287,7 +265,6 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(SiprecConnectorRetrieveResponse, siprec_connector, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.siprec_connectors.with_raw_response.retrieve( @@ -299,7 +276,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: siprec_connector = await response.parse() assert_matches_type(SiprecConnectorRetrieveResponse, siprec_connector, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.siprec_connectors.with_streaming_response.retrieve( @@ -313,7 +289,6 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `connector_name` but received ''"): @@ -321,7 +296,6 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update(self, async_client: AsyncTelnyx) -> None: siprec_connector = await async_client.siprec_connectors.update( @@ -332,7 +306,6 @@ async def test_method_update(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(SiprecConnectorUpdateResponse, siprec_connector, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> None: siprec_connector = await async_client.siprec_connectors.update( @@ -344,7 +317,6 @@ async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(SiprecConnectorUpdateResponse, siprec_connector, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: response = await async_client.siprec_connectors.with_raw_response.update( @@ -359,7 +331,6 @@ async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: siprec_connector = await response.parse() assert_matches_type(SiprecConnectorUpdateResponse, siprec_connector, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> None: async with async_client.siprec_connectors.with_streaming_response.update( @@ -376,7 +347,6 @@ async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `connector_name` but received ''"): @@ -387,7 +357,6 @@ async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: port=5060, ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: siprec_connector = await async_client.siprec_connectors.delete( @@ -395,7 +364,6 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert siprec_connector is None - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.siprec_connectors.with_raw_response.delete( @@ -407,7 +375,6 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: siprec_connector = await response.parse() assert siprec_connector is None - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.siprec_connectors.with_streaming_response.delete( @@ -421,7 +388,6 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `connector_name` but received ''"): diff --git a/tests/api_resources/test_storage.py b/tests/api_resources/test_storage.py index c32bb6fa..ce5d34e4 100644 --- a/tests/api_resources/test_storage.py +++ b/tests/api_resources/test_storage.py @@ -17,13 +17,11 @@ class TestStorage: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_migration_source_coverage(self, client: Telnyx) -> None: storage = client.storage.list_migration_source_coverage() assert_matches_type(StorageListMigrationSourceCoverageResponse, storage, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list_migration_source_coverage(self, client: Telnyx) -> None: response = client.storage.with_raw_response.list_migration_source_coverage() @@ -33,7 +31,6 @@ def test_raw_response_list_migration_source_coverage(self, client: Telnyx) -> No storage = response.parse() assert_matches_type(StorageListMigrationSourceCoverageResponse, storage, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list_migration_source_coverage(self, client: Telnyx) -> None: with client.storage.with_streaming_response.list_migration_source_coverage() as response: @@ -51,13 +48,11 @@ class TestAsyncStorage: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_migration_source_coverage(self, async_client: AsyncTelnyx) -> None: storage = await async_client.storage.list_migration_source_coverage() assert_matches_type(StorageListMigrationSourceCoverageResponse, storage, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list_migration_source_coverage(self, async_client: AsyncTelnyx) -> None: response = await async_client.storage.with_raw_response.list_migration_source_coverage() @@ -67,7 +62,6 @@ async def test_raw_response_list_migration_source_coverage(self, async_client: A storage = await response.parse() assert_matches_type(StorageListMigrationSourceCoverageResponse, storage, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list_migration_source_coverage(self, async_client: AsyncTelnyx) -> None: async with async_client.storage.with_streaming_response.list_migration_source_coverage() as response: diff --git a/tests/api_resources/test_sub_number_orders.py b/tests/api_resources/test_sub_number_orders.py index 898edd93..a404503b 100644 --- a/tests/api_resources/test_sub_number_orders.py +++ b/tests/api_resources/test_sub_number_orders.py @@ -23,7 +23,6 @@ class TestSubNumberOrders: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: sub_number_order = client.sub_number_orders.retrieve( @@ -31,7 +30,6 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(SubNumberOrderRetrieveResponse, sub_number_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve_with_all_params(self, client: Telnyx) -> None: sub_number_order = client.sub_number_orders.retrieve( @@ -40,7 +38,6 @@ def test_method_retrieve_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(SubNumberOrderRetrieveResponse, sub_number_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.sub_number_orders.with_raw_response.retrieve( @@ -52,7 +49,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: sub_number_order = response.parse() assert_matches_type(SubNumberOrderRetrieveResponse, sub_number_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.sub_number_orders.with_streaming_response.retrieve( @@ -66,7 +62,6 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `sub_number_order_id` but received ''"): @@ -74,7 +69,6 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: sub_number_order_id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update(self, client: Telnyx) -> None: sub_number_order = client.sub_number_orders.update( @@ -82,7 +76,6 @@ def test_method_update(self, client: Telnyx) -> None: ) assert_matches_type(SubNumberOrderUpdateResponse, sub_number_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_with_all_params(self, client: Telnyx) -> None: sub_number_order = client.sub_number_orders.update( @@ -96,7 +89,6 @@ def test_method_update_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(SubNumberOrderUpdateResponse, sub_number_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update(self, client: Telnyx) -> None: response = client.sub_number_orders.with_raw_response.update( @@ -108,7 +100,6 @@ def test_raw_response_update(self, client: Telnyx) -> None: sub_number_order = response.parse() assert_matches_type(SubNumberOrderUpdateResponse, sub_number_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update(self, client: Telnyx) -> None: with client.sub_number_orders.with_streaming_response.update( @@ -122,7 +113,6 @@ def test_streaming_response_update(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `sub_number_order_id` but received ''"): @@ -130,13 +120,11 @@ def test_path_params_update(self, client: Telnyx) -> None: sub_number_order_id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: sub_number_order = client.sub_number_orders.list() assert_matches_type(SubNumberOrderListResponse, sub_number_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: sub_number_order = client.sub_number_orders.list( @@ -150,7 +138,6 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(SubNumberOrderListResponse, sub_number_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.sub_number_orders.with_raw_response.list() @@ -160,7 +147,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: sub_number_order = response.parse() assert_matches_type(SubNumberOrderListResponse, sub_number_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.sub_number_orders.with_streaming_response.list() as response: @@ -172,7 +158,6 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_cancel(self, client: Telnyx) -> None: sub_number_order = client.sub_number_orders.cancel( @@ -180,7 +165,6 @@ def test_method_cancel(self, client: Telnyx) -> None: ) assert_matches_type(SubNumberOrderCancelResponse, sub_number_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_cancel(self, client: Telnyx) -> None: response = client.sub_number_orders.with_raw_response.cancel( @@ -192,7 +176,6 @@ def test_raw_response_cancel(self, client: Telnyx) -> None: sub_number_order = response.parse() assert_matches_type(SubNumberOrderCancelResponse, sub_number_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_cancel(self, client: Telnyx) -> None: with client.sub_number_orders.with_streaming_response.cancel( @@ -206,7 +189,6 @@ def test_streaming_response_cancel(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_cancel(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `sub_number_order_id` but received ''"): @@ -214,7 +196,6 @@ def test_path_params_cancel(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_requirement_group(self, client: Telnyx) -> None: sub_number_order = client.sub_number_orders.update_requirement_group( @@ -223,7 +204,6 @@ def test_method_update_requirement_group(self, client: Telnyx) -> None: ) assert_matches_type(SubNumberOrderUpdateRequirementGroupResponse, sub_number_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update_requirement_group(self, client: Telnyx) -> None: response = client.sub_number_orders.with_raw_response.update_requirement_group( @@ -236,7 +216,6 @@ def test_raw_response_update_requirement_group(self, client: Telnyx) -> None: sub_number_order = response.parse() assert_matches_type(SubNumberOrderUpdateRequirementGroupResponse, sub_number_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update_requirement_group(self, client: Telnyx) -> None: with client.sub_number_orders.with_streaming_response.update_requirement_group( @@ -251,7 +230,6 @@ def test_streaming_response_update_requirement_group(self, client: Telnyx) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update_requirement_group(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -266,7 +244,6 @@ class TestAsyncSubNumberOrders: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: sub_number_order = await async_client.sub_number_orders.retrieve( @@ -274,7 +251,6 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(SubNumberOrderRetrieveResponse, sub_number_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve_with_all_params(self, async_client: AsyncTelnyx) -> None: sub_number_order = await async_client.sub_number_orders.retrieve( @@ -283,7 +259,6 @@ async def test_method_retrieve_with_all_params(self, async_client: AsyncTelnyx) ) assert_matches_type(SubNumberOrderRetrieveResponse, sub_number_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.sub_number_orders.with_raw_response.retrieve( @@ -295,7 +270,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: sub_number_order = await response.parse() assert_matches_type(SubNumberOrderRetrieveResponse, sub_number_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.sub_number_orders.with_streaming_response.retrieve( @@ -309,7 +283,6 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `sub_number_order_id` but received ''"): @@ -317,7 +290,6 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: sub_number_order_id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update(self, async_client: AsyncTelnyx) -> None: sub_number_order = await async_client.sub_number_orders.update( @@ -325,7 +297,6 @@ async def test_method_update(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(SubNumberOrderUpdateResponse, sub_number_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> None: sub_number_order = await async_client.sub_number_orders.update( @@ -339,7 +310,6 @@ async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(SubNumberOrderUpdateResponse, sub_number_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: response = await async_client.sub_number_orders.with_raw_response.update( @@ -351,7 +321,6 @@ async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: sub_number_order = await response.parse() assert_matches_type(SubNumberOrderUpdateResponse, sub_number_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> None: async with async_client.sub_number_orders.with_streaming_response.update( @@ -365,7 +334,6 @@ async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `sub_number_order_id` but received ''"): @@ -373,13 +341,11 @@ async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: sub_number_order_id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: sub_number_order = await async_client.sub_number_orders.list() assert_matches_type(SubNumberOrderListResponse, sub_number_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: sub_number_order = await async_client.sub_number_orders.list( @@ -393,7 +359,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(SubNumberOrderListResponse, sub_number_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.sub_number_orders.with_raw_response.list() @@ -403,7 +368,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: sub_number_order = await response.parse() assert_matches_type(SubNumberOrderListResponse, sub_number_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.sub_number_orders.with_streaming_response.list() as response: @@ -415,7 +379,6 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_cancel(self, async_client: AsyncTelnyx) -> None: sub_number_order = await async_client.sub_number_orders.cancel( @@ -423,7 +386,6 @@ async def test_method_cancel(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(SubNumberOrderCancelResponse, sub_number_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_cancel(self, async_client: AsyncTelnyx) -> None: response = await async_client.sub_number_orders.with_raw_response.cancel( @@ -435,7 +397,6 @@ async def test_raw_response_cancel(self, async_client: AsyncTelnyx) -> None: sub_number_order = await response.parse() assert_matches_type(SubNumberOrderCancelResponse, sub_number_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_cancel(self, async_client: AsyncTelnyx) -> None: async with async_client.sub_number_orders.with_streaming_response.cancel( @@ -449,7 +410,6 @@ async def test_streaming_response_cancel(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_cancel(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `sub_number_order_id` but received ''"): @@ -457,7 +417,6 @@ async def test_path_params_cancel(self, async_client: AsyncTelnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_requirement_group(self, async_client: AsyncTelnyx) -> None: sub_number_order = await async_client.sub_number_orders.update_requirement_group( @@ -466,7 +425,6 @@ async def test_method_update_requirement_group(self, async_client: AsyncTelnyx) ) assert_matches_type(SubNumberOrderUpdateRequirementGroupResponse, sub_number_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update_requirement_group(self, async_client: AsyncTelnyx) -> None: response = await async_client.sub_number_orders.with_raw_response.update_requirement_group( @@ -479,7 +437,6 @@ async def test_raw_response_update_requirement_group(self, async_client: AsyncTe sub_number_order = await response.parse() assert_matches_type(SubNumberOrderUpdateRequirementGroupResponse, sub_number_order, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update_requirement_group(self, async_client: AsyncTelnyx) -> None: async with async_client.sub_number_orders.with_streaming_response.update_requirement_group( @@ -494,7 +451,6 @@ async def test_streaming_response_update_requirement_group(self, async_client: A assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update_requirement_group(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): diff --git a/tests/api_resources/test_sub_number_orders_report.py b/tests/api_resources/test_sub_number_orders_report.py index 16eb5a0d..2bd1fa90 100644 --- a/tests/api_resources/test_sub_number_orders_report.py +++ b/tests/api_resources/test_sub_number_orders_report.py @@ -21,13 +21,11 @@ class TestSubNumberOrdersReport: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: sub_number_orders_report = client.sub_number_orders_report.create() assert_matches_type(SubNumberOrdersReportCreateResponse, sub_number_orders_report, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: sub_number_orders_report = client.sub_number_orders_report.create( @@ -40,7 +38,6 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(SubNumberOrdersReportCreateResponse, sub_number_orders_report, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.sub_number_orders_report.with_raw_response.create() @@ -50,7 +47,6 @@ def test_raw_response_create(self, client: Telnyx) -> None: sub_number_orders_report = response.parse() assert_matches_type(SubNumberOrdersReportCreateResponse, sub_number_orders_report, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.sub_number_orders_report.with_streaming_response.create() as response: @@ -62,7 +58,6 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: sub_number_orders_report = client.sub_number_orders_report.retrieve( @@ -70,7 +65,6 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(SubNumberOrdersReportRetrieveResponse, sub_number_orders_report, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.sub_number_orders_report.with_raw_response.retrieve( @@ -82,7 +76,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: sub_number_orders_report = response.parse() assert_matches_type(SubNumberOrdersReportRetrieveResponse, sub_number_orders_report, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.sub_number_orders_report.with_streaming_response.retrieve( @@ -96,7 +89,6 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `report_id` but received ''"): @@ -104,7 +96,6 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_download(self, client: Telnyx) -> None: sub_number_orders_report = client.sub_number_orders_report.download( @@ -112,7 +103,6 @@ def test_method_download(self, client: Telnyx) -> None: ) assert_matches_type(str, sub_number_orders_report, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_download(self, client: Telnyx) -> None: response = client.sub_number_orders_report.with_raw_response.download( @@ -124,7 +114,6 @@ def test_raw_response_download(self, client: Telnyx) -> None: sub_number_orders_report = response.parse() assert_matches_type(str, sub_number_orders_report, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_download(self, client: Telnyx) -> None: with client.sub_number_orders_report.with_streaming_response.download( @@ -138,7 +127,6 @@ def test_streaming_response_download(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_download(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `report_id` but received ''"): @@ -152,13 +140,11 @@ class TestAsyncSubNumberOrdersReport: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: sub_number_orders_report = await async_client.sub_number_orders_report.create() assert_matches_type(SubNumberOrdersReportCreateResponse, sub_number_orders_report, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: sub_number_orders_report = await async_client.sub_number_orders_report.create( @@ -171,7 +157,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(SubNumberOrdersReportCreateResponse, sub_number_orders_report, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.sub_number_orders_report.with_raw_response.create() @@ -181,7 +166,6 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: sub_number_orders_report = await response.parse() assert_matches_type(SubNumberOrdersReportCreateResponse, sub_number_orders_report, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.sub_number_orders_report.with_streaming_response.create() as response: @@ -193,7 +177,6 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: sub_number_orders_report = await async_client.sub_number_orders_report.retrieve( @@ -201,7 +184,6 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(SubNumberOrdersReportRetrieveResponse, sub_number_orders_report, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.sub_number_orders_report.with_raw_response.retrieve( @@ -213,7 +195,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: sub_number_orders_report = await response.parse() assert_matches_type(SubNumberOrdersReportRetrieveResponse, sub_number_orders_report, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.sub_number_orders_report.with_streaming_response.retrieve( @@ -227,7 +208,6 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `report_id` but received ''"): @@ -235,7 +215,6 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_download(self, async_client: AsyncTelnyx) -> None: sub_number_orders_report = await async_client.sub_number_orders_report.download( @@ -243,7 +222,6 @@ async def test_method_download(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(str, sub_number_orders_report, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_download(self, async_client: AsyncTelnyx) -> None: response = await async_client.sub_number_orders_report.with_raw_response.download( @@ -255,7 +233,6 @@ async def test_raw_response_download(self, async_client: AsyncTelnyx) -> None: sub_number_orders_report = await response.parse() assert_matches_type(str, sub_number_orders_report, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_download(self, async_client: AsyncTelnyx) -> None: async with async_client.sub_number_orders_report.with_streaming_response.download( @@ -269,7 +246,6 @@ async def test_streaming_response_download(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_download(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `report_id` but received ''"): diff --git a/tests/api_resources/test_telephony_credentials.py b/tests/api_resources/test_telephony_credentials.py index b9445b27..4ad7e041 100644 --- a/tests/api_resources/test_telephony_credentials.py +++ b/tests/api_resources/test_telephony_credentials.py @@ -23,7 +23,6 @@ class TestTelephonyCredentials: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: telephony_credential = client.telephony_credentials.create( @@ -31,7 +30,6 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(TelephonyCredentialCreateResponse, telephony_credential, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: telephony_credential = client.telephony_credentials.create( @@ -42,7 +40,6 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(TelephonyCredentialCreateResponse, telephony_credential, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.telephony_credentials.with_raw_response.create( @@ -54,7 +51,6 @@ def test_raw_response_create(self, client: Telnyx) -> None: telephony_credential = response.parse() assert_matches_type(TelephonyCredentialCreateResponse, telephony_credential, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.telephony_credentials.with_streaming_response.create( @@ -68,7 +64,6 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: telephony_credential = client.telephony_credentials.retrieve( @@ -76,7 +71,6 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(TelephonyCredentialRetrieveResponse, telephony_credential, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.telephony_credentials.with_raw_response.retrieve( @@ -88,7 +82,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: telephony_credential = response.parse() assert_matches_type(TelephonyCredentialRetrieveResponse, telephony_credential, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.telephony_credentials.with_streaming_response.retrieve( @@ -102,7 +95,6 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -110,7 +102,6 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update(self, client: Telnyx) -> None: telephony_credential = client.telephony_credentials.update( @@ -118,7 +109,6 @@ def test_method_update(self, client: Telnyx) -> None: ) assert_matches_type(TelephonyCredentialUpdateResponse, telephony_credential, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_with_all_params(self, client: Telnyx) -> None: telephony_credential = client.telephony_credentials.update( @@ -130,7 +120,6 @@ def test_method_update_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(TelephonyCredentialUpdateResponse, telephony_credential, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update(self, client: Telnyx) -> None: response = client.telephony_credentials.with_raw_response.update( @@ -142,7 +131,6 @@ def test_raw_response_update(self, client: Telnyx) -> None: telephony_credential = response.parse() assert_matches_type(TelephonyCredentialUpdateResponse, telephony_credential, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update(self, client: Telnyx) -> None: with client.telephony_credentials.with_streaming_response.update( @@ -156,7 +144,6 @@ def test_streaming_response_update(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -164,13 +151,11 @@ def test_path_params_update(self, client: Telnyx) -> None: id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: telephony_credential = client.telephony_credentials.list() assert_matches_type(TelephonyCredentialListResponse, telephony_credential, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: telephony_credential = client.telephony_credentials.list( @@ -188,7 +173,6 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(TelephonyCredentialListResponse, telephony_credential, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.telephony_credentials.with_raw_response.list() @@ -198,7 +182,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: telephony_credential = response.parse() assert_matches_type(TelephonyCredentialListResponse, telephony_credential, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.telephony_credentials.with_streaming_response.list() as response: @@ -210,7 +193,6 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: telephony_credential = client.telephony_credentials.delete( @@ -218,7 +200,6 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert_matches_type(TelephonyCredentialDeleteResponse, telephony_credential, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.telephony_credentials.with_raw_response.delete( @@ -230,7 +211,6 @@ def test_raw_response_delete(self, client: Telnyx) -> None: telephony_credential = response.parse() assert_matches_type(TelephonyCredentialDeleteResponse, telephony_credential, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.telephony_credentials.with_streaming_response.delete( @@ -244,7 +224,6 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -252,7 +231,6 @@ def test_path_params_delete(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_token(self, client: Telnyx) -> None: telephony_credential = client.telephony_credentials.create_token( @@ -260,7 +238,6 @@ def test_method_create_token(self, client: Telnyx) -> None: ) assert_matches_type(str, telephony_credential, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create_token(self, client: Telnyx) -> None: response = client.telephony_credentials.with_raw_response.create_token( @@ -272,7 +249,6 @@ def test_raw_response_create_token(self, client: Telnyx) -> None: telephony_credential = response.parse() assert_matches_type(str, telephony_credential, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create_token(self, client: Telnyx) -> None: with client.telephony_credentials.with_streaming_response.create_token( @@ -286,7 +262,6 @@ def test_streaming_response_create_token(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_create_token(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -300,7 +275,6 @@ class TestAsyncTelephonyCredentials: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: telephony_credential = await async_client.telephony_credentials.create( @@ -308,7 +282,6 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(TelephonyCredentialCreateResponse, telephony_credential, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: telephony_credential = await async_client.telephony_credentials.create( @@ -319,7 +292,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(TelephonyCredentialCreateResponse, telephony_credential, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.telephony_credentials.with_raw_response.create( @@ -331,7 +303,6 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: telephony_credential = await response.parse() assert_matches_type(TelephonyCredentialCreateResponse, telephony_credential, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.telephony_credentials.with_streaming_response.create( @@ -345,7 +316,6 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: telephony_credential = await async_client.telephony_credentials.retrieve( @@ -353,7 +323,6 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(TelephonyCredentialRetrieveResponse, telephony_credential, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.telephony_credentials.with_raw_response.retrieve( @@ -365,7 +334,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: telephony_credential = await response.parse() assert_matches_type(TelephonyCredentialRetrieveResponse, telephony_credential, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.telephony_credentials.with_streaming_response.retrieve( @@ -379,7 +347,6 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -387,7 +354,6 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update(self, async_client: AsyncTelnyx) -> None: telephony_credential = await async_client.telephony_credentials.update( @@ -395,7 +361,6 @@ async def test_method_update(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(TelephonyCredentialUpdateResponse, telephony_credential, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> None: telephony_credential = await async_client.telephony_credentials.update( @@ -407,7 +372,6 @@ async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(TelephonyCredentialUpdateResponse, telephony_credential, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: response = await async_client.telephony_credentials.with_raw_response.update( @@ -419,7 +383,6 @@ async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: telephony_credential = await response.parse() assert_matches_type(TelephonyCredentialUpdateResponse, telephony_credential, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> None: async with async_client.telephony_credentials.with_streaming_response.update( @@ -433,7 +396,6 @@ async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -441,13 +403,11 @@ async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: telephony_credential = await async_client.telephony_credentials.list() assert_matches_type(TelephonyCredentialListResponse, telephony_credential, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: telephony_credential = await async_client.telephony_credentials.list( @@ -465,7 +425,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(TelephonyCredentialListResponse, telephony_credential, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.telephony_credentials.with_raw_response.list() @@ -475,7 +434,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: telephony_credential = await response.parse() assert_matches_type(TelephonyCredentialListResponse, telephony_credential, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.telephony_credentials.with_streaming_response.list() as response: @@ -487,7 +445,6 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: telephony_credential = await async_client.telephony_credentials.delete( @@ -495,7 +452,6 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(TelephonyCredentialDeleteResponse, telephony_credential, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.telephony_credentials.with_raw_response.delete( @@ -507,7 +463,6 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: telephony_credential = await response.parse() assert_matches_type(TelephonyCredentialDeleteResponse, telephony_credential, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.telephony_credentials.with_streaming_response.delete( @@ -521,7 +476,6 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -529,7 +483,6 @@ async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_token(self, async_client: AsyncTelnyx) -> None: telephony_credential = await async_client.telephony_credentials.create_token( @@ -537,7 +490,6 @@ async def test_method_create_token(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(str, telephony_credential, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create_token(self, async_client: AsyncTelnyx) -> None: response = await async_client.telephony_credentials.with_raw_response.create_token( @@ -549,7 +501,6 @@ async def test_raw_response_create_token(self, async_client: AsyncTelnyx) -> Non telephony_credential = await response.parse() assert_matches_type(str, telephony_credential, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create_token(self, async_client: AsyncTelnyx) -> None: async with async_client.telephony_credentials.with_streaming_response.create_token( @@ -563,7 +514,6 @@ async def test_streaming_response_create_token(self, async_client: AsyncTelnyx) assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_create_token(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): diff --git a/tests/api_resources/test_texml.py b/tests/api_resources/test_texml.py index 870d36d5..1df5b169 100644 --- a/tests/api_resources/test_texml.py +++ b/tests/api_resources/test_texml.py @@ -17,7 +17,6 @@ class TestTexml: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_secrets(self, client: Telnyx) -> None: texml = client.texml.secrets( @@ -26,7 +25,6 @@ def test_method_secrets(self, client: Telnyx) -> None: ) assert_matches_type(TexmlSecretsResponse, texml, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_secrets(self, client: Telnyx) -> None: response = client.texml.with_raw_response.secrets( @@ -39,7 +37,6 @@ def test_raw_response_secrets(self, client: Telnyx) -> None: texml = response.parse() assert_matches_type(TexmlSecretsResponse, texml, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_secrets(self, client: Telnyx) -> None: with client.texml.with_streaming_response.secrets( @@ -60,7 +57,6 @@ class TestAsyncTexml: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_secrets(self, async_client: AsyncTelnyx) -> None: texml = await async_client.texml.secrets( @@ -69,7 +65,6 @@ async def test_method_secrets(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(TexmlSecretsResponse, texml, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_secrets(self, async_client: AsyncTelnyx) -> None: response = await async_client.texml.with_raw_response.secrets( @@ -82,7 +77,6 @@ async def test_raw_response_secrets(self, async_client: AsyncTelnyx) -> None: texml = await response.parse() assert_matches_type(TexmlSecretsResponse, texml, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_secrets(self, async_client: AsyncTelnyx) -> None: async with async_client.texml.with_streaming_response.secrets( diff --git a/tests/api_resources/test_texml_applications.py b/tests/api_resources/test_texml_applications.py index 601a4436..ea537f64 100644 --- a/tests/api_resources/test_texml_applications.py +++ b/tests/api_resources/test_texml_applications.py @@ -23,7 +23,6 @@ class TestTexmlApplications: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: texml_application = client.texml_applications.create( @@ -32,7 +31,6 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(TexmlApplicationCreateResponse, texml_application, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: texml_application = client.texml_applications.create( @@ -61,7 +59,6 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(TexmlApplicationCreateResponse, texml_application, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.texml_applications.with_raw_response.create( @@ -74,7 +71,6 @@ def test_raw_response_create(self, client: Telnyx) -> None: texml_application = response.parse() assert_matches_type(TexmlApplicationCreateResponse, texml_application, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.texml_applications.with_streaming_response.create( @@ -89,7 +85,6 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: texml_application = client.texml_applications.retrieve( @@ -97,7 +92,6 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(TexmlApplicationRetrieveResponse, texml_application, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.texml_applications.with_raw_response.retrieve( @@ -109,7 +103,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: texml_application = response.parse() assert_matches_type(TexmlApplicationRetrieveResponse, texml_application, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.texml_applications.with_streaming_response.retrieve( @@ -123,7 +116,6 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -131,7 +123,6 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update(self, client: Telnyx) -> None: texml_application = client.texml_applications.update( @@ -141,7 +132,6 @@ def test_method_update(self, client: Telnyx) -> None: ) assert_matches_type(TexmlApplicationUpdateResponse, texml_application, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_with_all_params(self, client: Telnyx) -> None: texml_application = client.texml_applications.update( @@ -171,7 +161,6 @@ def test_method_update_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(TexmlApplicationUpdateResponse, texml_application, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update(self, client: Telnyx) -> None: response = client.texml_applications.with_raw_response.update( @@ -185,7 +174,6 @@ def test_raw_response_update(self, client: Telnyx) -> None: texml_application = response.parse() assert_matches_type(TexmlApplicationUpdateResponse, texml_application, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update(self, client: Telnyx) -> None: with client.texml_applications.with_streaming_response.update( @@ -201,7 +189,6 @@ def test_streaming_response_update(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -211,13 +198,11 @@ def test_path_params_update(self, client: Telnyx) -> None: voice_url="https://example.com", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: texml_application = client.texml_applications.list() assert_matches_type(TexmlApplicationListResponse, texml_application, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: texml_application = client.texml_applications.list( @@ -233,7 +218,6 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(TexmlApplicationListResponse, texml_application, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.texml_applications.with_raw_response.list() @@ -243,7 +227,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: texml_application = response.parse() assert_matches_type(TexmlApplicationListResponse, texml_application, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.texml_applications.with_streaming_response.list() as response: @@ -255,7 +238,6 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: texml_application = client.texml_applications.delete( @@ -263,7 +245,6 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert_matches_type(TexmlApplicationDeleteResponse, texml_application, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.texml_applications.with_raw_response.delete( @@ -275,7 +256,6 @@ def test_raw_response_delete(self, client: Telnyx) -> None: texml_application = response.parse() assert_matches_type(TexmlApplicationDeleteResponse, texml_application, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.texml_applications.with_streaming_response.delete( @@ -289,7 +269,6 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -303,7 +282,6 @@ class TestAsyncTexmlApplications: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: texml_application = await async_client.texml_applications.create( @@ -312,7 +290,6 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(TexmlApplicationCreateResponse, texml_application, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: texml_application = await async_client.texml_applications.create( @@ -341,7 +318,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(TexmlApplicationCreateResponse, texml_application, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.texml_applications.with_raw_response.create( @@ -354,7 +330,6 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: texml_application = await response.parse() assert_matches_type(TexmlApplicationCreateResponse, texml_application, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.texml_applications.with_streaming_response.create( @@ -369,7 +344,6 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: texml_application = await async_client.texml_applications.retrieve( @@ -377,7 +351,6 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(TexmlApplicationRetrieveResponse, texml_application, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.texml_applications.with_raw_response.retrieve( @@ -389,7 +362,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: texml_application = await response.parse() assert_matches_type(TexmlApplicationRetrieveResponse, texml_application, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.texml_applications.with_streaming_response.retrieve( @@ -403,7 +375,6 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -411,7 +382,6 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update(self, async_client: AsyncTelnyx) -> None: texml_application = await async_client.texml_applications.update( @@ -421,7 +391,6 @@ async def test_method_update(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(TexmlApplicationUpdateResponse, texml_application, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> None: texml_application = await async_client.texml_applications.update( @@ -451,7 +420,6 @@ async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(TexmlApplicationUpdateResponse, texml_application, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: response = await async_client.texml_applications.with_raw_response.update( @@ -465,7 +433,6 @@ async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: texml_application = await response.parse() assert_matches_type(TexmlApplicationUpdateResponse, texml_application, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> None: async with async_client.texml_applications.with_streaming_response.update( @@ -481,7 +448,6 @@ async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -491,13 +457,11 @@ async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: voice_url="https://example.com", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: texml_application = await async_client.texml_applications.list() assert_matches_type(TexmlApplicationListResponse, texml_application, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: texml_application = await async_client.texml_applications.list( @@ -513,7 +477,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(TexmlApplicationListResponse, texml_application, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.texml_applications.with_raw_response.list() @@ -523,7 +486,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: texml_application = await response.parse() assert_matches_type(TexmlApplicationListResponse, texml_application, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.texml_applications.with_streaming_response.list() as response: @@ -535,7 +497,6 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: texml_application = await async_client.texml_applications.delete( @@ -543,7 +504,6 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(TexmlApplicationDeleteResponse, texml_application, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.texml_applications.with_raw_response.delete( @@ -555,7 +515,6 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: texml_application = await response.parse() assert_matches_type(TexmlApplicationDeleteResponse, texml_application, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.texml_applications.with_streaming_response.delete( @@ -569,7 +528,6 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): diff --git a/tests/api_resources/test_text_to_speech.py b/tests/api_resources/test_text_to_speech.py index 1dc6461a..1e8fc048 100644 --- a/tests/api_resources/test_text_to_speech.py +++ b/tests/api_resources/test_text_to_speech.py @@ -72,13 +72,11 @@ def test_streaming_response_generate_speech(self, client: Telnyx, respx_mock: Mo assert cast(Any, text_to_speech.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_voices(self, client: Telnyx) -> None: text_to_speech = client.text_to_speech.list_voices() assert_matches_type(TextToSpeechListVoicesResponse, text_to_speech, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_voices_with_all_params(self, client: Telnyx) -> None: text_to_speech = client.text_to_speech.list_voices( @@ -87,7 +85,6 @@ def test_method_list_voices_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(TextToSpeechListVoicesResponse, text_to_speech, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list_voices(self, client: Telnyx) -> None: response = client.text_to_speech.with_raw_response.list_voices() @@ -97,7 +94,6 @@ def test_raw_response_list_voices(self, client: Telnyx) -> None: text_to_speech = response.parse() assert_matches_type(TextToSpeechListVoicesResponse, text_to_speech, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list_voices(self, client: Telnyx) -> None: with client.text_to_speech.with_streaming_response.list_voices() as response: @@ -160,13 +156,11 @@ async def test_streaming_response_generate_speech(self, async_client: AsyncTelny assert cast(Any, text_to_speech.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_voices(self, async_client: AsyncTelnyx) -> None: text_to_speech = await async_client.text_to_speech.list_voices() assert_matches_type(TextToSpeechListVoicesResponse, text_to_speech, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_voices_with_all_params(self, async_client: AsyncTelnyx) -> None: text_to_speech = await async_client.text_to_speech.list_voices( @@ -175,7 +169,6 @@ async def test_method_list_voices_with_all_params(self, async_client: AsyncTelny ) assert_matches_type(TextToSpeechListVoicesResponse, text_to_speech, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list_voices(self, async_client: AsyncTelnyx) -> None: response = await async_client.text_to_speech.with_raw_response.list_voices() @@ -185,7 +178,6 @@ async def test_raw_response_list_voices(self, async_client: AsyncTelnyx) -> None text_to_speech = await response.parse() assert_matches_type(TextToSpeechListVoicesResponse, text_to_speech, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list_voices(self, async_client: AsyncTelnyx) -> None: async with async_client.text_to_speech.with_streaming_response.list_voices() as response: diff --git a/tests/api_resources/test_usage_reports.py b/tests/api_resources/test_usage_reports.py index ac7fa4e3..d4816d2c 100644 --- a/tests/api_resources/test_usage_reports.py +++ b/tests/api_resources/test_usage_reports.py @@ -20,7 +20,6 @@ class TestUsageReports: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: usage_report = client.usage_reports.list( @@ -30,7 +29,6 @@ def test_method_list(self, client: Telnyx) -> None: ) assert_matches_type(UsageReportListResponse, usage_report, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: usage_report = client.usage_reports.list( @@ -52,7 +50,6 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(UsageReportListResponse, usage_report, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.usage_reports.with_raw_response.list( @@ -66,7 +63,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: usage_report = response.parse() assert_matches_type(UsageReportListResponse, usage_report, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.usage_reports.with_streaming_response.list( @@ -82,13 +78,11 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_get_options(self, client: Telnyx) -> None: usage_report = client.usage_reports.get_options() assert_matches_type(UsageReportGetOptionsResponse, usage_report, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_get_options_with_all_params(self, client: Telnyx) -> None: usage_report = client.usage_reports.get_options( @@ -97,7 +91,6 @@ def test_method_get_options_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(UsageReportGetOptionsResponse, usage_report, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_get_options(self, client: Telnyx) -> None: response = client.usage_reports.with_raw_response.get_options() @@ -107,7 +100,6 @@ def test_raw_response_get_options(self, client: Telnyx) -> None: usage_report = response.parse() assert_matches_type(UsageReportGetOptionsResponse, usage_report, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_get_options(self, client: Telnyx) -> None: with client.usage_reports.with_streaming_response.get_options() as response: @@ -125,7 +117,6 @@ class TestAsyncUsageReports: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: usage_report = await async_client.usage_reports.list( @@ -135,7 +126,6 @@ async def test_method_list(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(UsageReportListResponse, usage_report, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: usage_report = await async_client.usage_reports.list( @@ -157,7 +147,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(UsageReportListResponse, usage_report, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.usage_reports.with_raw_response.list( @@ -171,7 +160,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: usage_report = await response.parse() assert_matches_type(UsageReportListResponse, usage_report, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.usage_reports.with_streaming_response.list( @@ -187,13 +175,11 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_get_options(self, async_client: AsyncTelnyx) -> None: usage_report = await async_client.usage_reports.get_options() assert_matches_type(UsageReportGetOptionsResponse, usage_report, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_get_options_with_all_params(self, async_client: AsyncTelnyx) -> None: usage_report = await async_client.usage_reports.get_options( @@ -202,7 +188,6 @@ async def test_method_get_options_with_all_params(self, async_client: AsyncTelny ) assert_matches_type(UsageReportGetOptionsResponse, usage_report, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_get_options(self, async_client: AsyncTelnyx) -> None: response = await async_client.usage_reports.with_raw_response.get_options() @@ -212,7 +197,6 @@ async def test_raw_response_get_options(self, async_client: AsyncTelnyx) -> None usage_report = await response.parse() assert_matches_type(UsageReportGetOptionsResponse, usage_report, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_get_options(self, async_client: AsyncTelnyx) -> None: async with async_client.usage_reports.with_streaming_response.get_options() as response: diff --git a/tests/api_resources/test_user_addresses.py b/tests/api_resources/test_user_addresses.py index 99003258..dc745ba4 100644 --- a/tests/api_resources/test_user_addresses.py +++ b/tests/api_resources/test_user_addresses.py @@ -21,7 +21,6 @@ class TestUserAddresses: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: user_address = client.user_addresses.create( @@ -34,7 +33,6 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(UserAddressCreateResponse, user_address, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: user_address = client.user_addresses.create( @@ -55,7 +53,6 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(UserAddressCreateResponse, user_address, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.user_addresses.with_raw_response.create( @@ -72,7 +69,6 @@ def test_raw_response_create(self, client: Telnyx) -> None: user_address = response.parse() assert_matches_type(UserAddressCreateResponse, user_address, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.user_addresses.with_streaming_response.create( @@ -91,7 +87,6 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: user_address = client.user_addresses.retrieve( @@ -99,7 +94,6 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(UserAddressRetrieveResponse, user_address, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.user_addresses.with_raw_response.retrieve( @@ -111,7 +105,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: user_address = response.parse() assert_matches_type(UserAddressRetrieveResponse, user_address, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.user_addresses.with_streaming_response.retrieve( @@ -125,7 +118,6 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -133,13 +125,11 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: user_address = client.user_addresses.list() assert_matches_type(UserAddressListResponse, user_address, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: user_address = client.user_addresses.list( @@ -158,7 +148,6 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(UserAddressListResponse, user_address, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.user_addresses.with_raw_response.list() @@ -168,7 +157,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: user_address = response.parse() assert_matches_type(UserAddressListResponse, user_address, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.user_addresses.with_streaming_response.list() as response: @@ -186,7 +174,6 @@ class TestAsyncUserAddresses: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: user_address = await async_client.user_addresses.create( @@ -199,7 +186,6 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(UserAddressCreateResponse, user_address, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: user_address = await async_client.user_addresses.create( @@ -220,7 +206,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(UserAddressCreateResponse, user_address, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.user_addresses.with_raw_response.create( @@ -237,7 +222,6 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: user_address = await response.parse() assert_matches_type(UserAddressCreateResponse, user_address, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.user_addresses.with_streaming_response.create( @@ -256,7 +240,6 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: user_address = await async_client.user_addresses.retrieve( @@ -264,7 +247,6 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(UserAddressRetrieveResponse, user_address, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.user_addresses.with_raw_response.retrieve( @@ -276,7 +258,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: user_address = await response.parse() assert_matches_type(UserAddressRetrieveResponse, user_address, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.user_addresses.with_streaming_response.retrieve( @@ -290,7 +271,6 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -298,13 +278,11 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: user_address = await async_client.user_addresses.list() assert_matches_type(UserAddressListResponse, user_address, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: user_address = await async_client.user_addresses.list( @@ -323,7 +301,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(UserAddressListResponse, user_address, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.user_addresses.with_raw_response.list() @@ -333,7 +310,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: user_address = await response.parse() assert_matches_type(UserAddressListResponse, user_address, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.user_addresses.with_streaming_response.list() as response: diff --git a/tests/api_resources/test_user_tags.py b/tests/api_resources/test_user_tags.py index bd370260..94c5eda9 100644 --- a/tests/api_resources/test_user_tags.py +++ b/tests/api_resources/test_user_tags.py @@ -17,13 +17,11 @@ class TestUserTags: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: user_tag = client.user_tags.list() assert_matches_type(UserTagListResponse, user_tag, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: user_tag = client.user_tags.list( @@ -31,7 +29,6 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(UserTagListResponse, user_tag, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.user_tags.with_raw_response.list() @@ -41,7 +38,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: user_tag = response.parse() assert_matches_type(UserTagListResponse, user_tag, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.user_tags.with_streaming_response.list() as response: @@ -59,13 +55,11 @@ class TestAsyncUserTags: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: user_tag = await async_client.user_tags.list() assert_matches_type(UserTagListResponse, user_tag, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: user_tag = await async_client.user_tags.list( @@ -73,7 +67,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(UserTagListResponse, user_tag, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.user_tags.with_raw_response.list() @@ -83,7 +76,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: user_tag = await response.parse() assert_matches_type(UserTagListResponse, user_tag, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.user_tags.with_streaming_response.list() as response: diff --git a/tests/api_resources/test_verifications.py b/tests/api_resources/test_verifications.py index d7bc4d00..f01aabd8 100644 --- a/tests/api_resources/test_verifications.py +++ b/tests/api_resources/test_verifications.py @@ -20,7 +20,6 @@ class TestVerifications: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: verification = client.verifications.retrieve( @@ -28,7 +27,6 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(VerificationRetrieveResponse, verification, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.verifications.with_raw_response.retrieve( @@ -40,7 +38,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: verification = response.parse() assert_matches_type(VerificationRetrieveResponse, verification, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.verifications.with_streaming_response.retrieve( @@ -54,7 +51,6 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `verification_id` but received ''"): @@ -62,7 +58,6 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_trigger_call(self, client: Telnyx) -> None: verification = client.verifications.trigger_call( @@ -71,7 +66,6 @@ def test_method_trigger_call(self, client: Telnyx) -> None: ) assert_matches_type(CreateVerificationResponse, verification, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_trigger_call_with_all_params(self, client: Telnyx) -> None: verification = client.verifications.trigger_call( @@ -82,7 +76,6 @@ def test_method_trigger_call_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(CreateVerificationResponse, verification, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_trigger_call(self, client: Telnyx) -> None: response = client.verifications.with_raw_response.trigger_call( @@ -95,7 +88,6 @@ def test_raw_response_trigger_call(self, client: Telnyx) -> None: verification = response.parse() assert_matches_type(CreateVerificationResponse, verification, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_trigger_call(self, client: Telnyx) -> None: with client.verifications.with_streaming_response.trigger_call( @@ -110,7 +102,6 @@ def test_streaming_response_trigger_call(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_trigger_flashcall(self, client: Telnyx) -> None: verification = client.verifications.trigger_flashcall( @@ -119,7 +110,6 @@ def test_method_trigger_flashcall(self, client: Telnyx) -> None: ) assert_matches_type(CreateVerificationResponse, verification, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_trigger_flashcall_with_all_params(self, client: Telnyx) -> None: verification = client.verifications.trigger_flashcall( @@ -129,7 +119,6 @@ def test_method_trigger_flashcall_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(CreateVerificationResponse, verification, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_trigger_flashcall(self, client: Telnyx) -> None: response = client.verifications.with_raw_response.trigger_flashcall( @@ -142,7 +131,6 @@ def test_raw_response_trigger_flashcall(self, client: Telnyx) -> None: verification = response.parse() assert_matches_type(CreateVerificationResponse, verification, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_trigger_flashcall(self, client: Telnyx) -> None: with client.verifications.with_streaming_response.trigger_flashcall( @@ -157,7 +145,6 @@ def test_streaming_response_trigger_flashcall(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_trigger_sms(self, client: Telnyx) -> None: verification = client.verifications.trigger_sms( @@ -166,7 +153,6 @@ def test_method_trigger_sms(self, client: Telnyx) -> None: ) assert_matches_type(CreateVerificationResponse, verification, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_trigger_sms_with_all_params(self, client: Telnyx) -> None: verification = client.verifications.trigger_sms( @@ -177,7 +163,6 @@ def test_method_trigger_sms_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(CreateVerificationResponse, verification, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_trigger_sms(self, client: Telnyx) -> None: response = client.verifications.with_raw_response.trigger_sms( @@ -190,7 +175,6 @@ def test_raw_response_trigger_sms(self, client: Telnyx) -> None: verification = response.parse() assert_matches_type(CreateVerificationResponse, verification, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_trigger_sms(self, client: Telnyx) -> None: with client.verifications.with_streaming_response.trigger_sms( @@ -211,7 +195,6 @@ class TestAsyncVerifications: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: verification = await async_client.verifications.retrieve( @@ -219,7 +202,6 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(VerificationRetrieveResponse, verification, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.verifications.with_raw_response.retrieve( @@ -231,7 +213,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: verification = await response.parse() assert_matches_type(VerificationRetrieveResponse, verification, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.verifications.with_streaming_response.retrieve( @@ -245,7 +226,6 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `verification_id` but received ''"): @@ -253,7 +233,6 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_trigger_call(self, async_client: AsyncTelnyx) -> None: verification = await async_client.verifications.trigger_call( @@ -262,7 +241,6 @@ async def test_method_trigger_call(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(CreateVerificationResponse, verification, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_trigger_call_with_all_params(self, async_client: AsyncTelnyx) -> None: verification = await async_client.verifications.trigger_call( @@ -273,7 +251,6 @@ async def test_method_trigger_call_with_all_params(self, async_client: AsyncTeln ) assert_matches_type(CreateVerificationResponse, verification, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_trigger_call(self, async_client: AsyncTelnyx) -> None: response = await async_client.verifications.with_raw_response.trigger_call( @@ -286,7 +263,6 @@ async def test_raw_response_trigger_call(self, async_client: AsyncTelnyx) -> Non verification = await response.parse() assert_matches_type(CreateVerificationResponse, verification, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_trigger_call(self, async_client: AsyncTelnyx) -> None: async with async_client.verifications.with_streaming_response.trigger_call( @@ -301,7 +277,6 @@ async def test_streaming_response_trigger_call(self, async_client: AsyncTelnyx) assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_trigger_flashcall(self, async_client: AsyncTelnyx) -> None: verification = await async_client.verifications.trigger_flashcall( @@ -310,7 +285,6 @@ async def test_method_trigger_flashcall(self, async_client: AsyncTelnyx) -> None ) assert_matches_type(CreateVerificationResponse, verification, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_trigger_flashcall_with_all_params(self, async_client: AsyncTelnyx) -> None: verification = await async_client.verifications.trigger_flashcall( @@ -320,7 +294,6 @@ async def test_method_trigger_flashcall_with_all_params(self, async_client: Asyn ) assert_matches_type(CreateVerificationResponse, verification, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_trigger_flashcall(self, async_client: AsyncTelnyx) -> None: response = await async_client.verifications.with_raw_response.trigger_flashcall( @@ -333,7 +306,6 @@ async def test_raw_response_trigger_flashcall(self, async_client: AsyncTelnyx) - verification = await response.parse() assert_matches_type(CreateVerificationResponse, verification, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_trigger_flashcall(self, async_client: AsyncTelnyx) -> None: async with async_client.verifications.with_streaming_response.trigger_flashcall( @@ -348,7 +320,6 @@ async def test_streaming_response_trigger_flashcall(self, async_client: AsyncTel assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_trigger_sms(self, async_client: AsyncTelnyx) -> None: verification = await async_client.verifications.trigger_sms( @@ -357,7 +328,6 @@ async def test_method_trigger_sms(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(CreateVerificationResponse, verification, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_trigger_sms_with_all_params(self, async_client: AsyncTelnyx) -> None: verification = await async_client.verifications.trigger_sms( @@ -368,7 +338,6 @@ async def test_method_trigger_sms_with_all_params(self, async_client: AsyncTelny ) assert_matches_type(CreateVerificationResponse, verification, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_trigger_sms(self, async_client: AsyncTelnyx) -> None: response = await async_client.verifications.with_raw_response.trigger_sms( @@ -381,7 +350,6 @@ async def test_raw_response_trigger_sms(self, async_client: AsyncTelnyx) -> None verification = await response.parse() assert_matches_type(CreateVerificationResponse, verification, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_trigger_sms(self, async_client: AsyncTelnyx) -> None: async with async_client.verifications.with_streaming_response.trigger_sms( diff --git a/tests/api_resources/test_verified_numbers.py b/tests/api_resources/test_verified_numbers.py index b0c867bd..91e1d2d8 100644 --- a/tests/api_resources/test_verified_numbers.py +++ b/tests/api_resources/test_verified_numbers.py @@ -21,7 +21,6 @@ class TestVerifiedNumbers: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: verified_number = client.verified_numbers.create( @@ -30,7 +29,6 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(VerifiedNumberCreateResponse, verified_number, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.verified_numbers.with_raw_response.create( @@ -43,7 +41,6 @@ def test_raw_response_create(self, client: Telnyx) -> None: verified_number = response.parse() assert_matches_type(VerifiedNumberCreateResponse, verified_number, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.verified_numbers.with_streaming_response.create( @@ -58,7 +55,6 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: verified_number = client.verified_numbers.retrieve( @@ -66,7 +62,6 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(VerifiedNumberDataWrapper, verified_number, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.verified_numbers.with_raw_response.retrieve( @@ -78,7 +73,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: verified_number = response.parse() assert_matches_type(VerifiedNumberDataWrapper, verified_number, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.verified_numbers.with_streaming_response.retrieve( @@ -92,7 +86,6 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `phone_number` but received ''"): @@ -100,13 +93,11 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: verified_number = client.verified_numbers.list() assert_matches_type(VerifiedNumberListResponse, verified_number, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: verified_number = client.verified_numbers.list( @@ -117,7 +108,6 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(VerifiedNumberListResponse, verified_number, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.verified_numbers.with_raw_response.list() @@ -127,7 +117,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: verified_number = response.parse() assert_matches_type(VerifiedNumberListResponse, verified_number, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.verified_numbers.with_streaming_response.list() as response: @@ -139,7 +128,6 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: verified_number = client.verified_numbers.delete( @@ -147,7 +135,6 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert_matches_type(VerifiedNumberDataWrapper, verified_number, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.verified_numbers.with_raw_response.delete( @@ -159,7 +146,6 @@ def test_raw_response_delete(self, client: Telnyx) -> None: verified_number = response.parse() assert_matches_type(VerifiedNumberDataWrapper, verified_number, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.verified_numbers.with_streaming_response.delete( @@ -173,7 +159,6 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `phone_number` but received ''"): @@ -187,7 +172,6 @@ class TestAsyncVerifiedNumbers: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: verified_number = await async_client.verified_numbers.create( @@ -196,7 +180,6 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(VerifiedNumberCreateResponse, verified_number, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.verified_numbers.with_raw_response.create( @@ -209,7 +192,6 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: verified_number = await response.parse() assert_matches_type(VerifiedNumberCreateResponse, verified_number, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.verified_numbers.with_streaming_response.create( @@ -224,7 +206,6 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: verified_number = await async_client.verified_numbers.retrieve( @@ -232,7 +213,6 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(VerifiedNumberDataWrapper, verified_number, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.verified_numbers.with_raw_response.retrieve( @@ -244,7 +224,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: verified_number = await response.parse() assert_matches_type(VerifiedNumberDataWrapper, verified_number, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.verified_numbers.with_streaming_response.retrieve( @@ -258,7 +237,6 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `phone_number` but received ''"): @@ -266,13 +244,11 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: verified_number = await async_client.verified_numbers.list() assert_matches_type(VerifiedNumberListResponse, verified_number, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: verified_number = await async_client.verified_numbers.list( @@ -283,7 +259,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(VerifiedNumberListResponse, verified_number, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.verified_numbers.with_raw_response.list() @@ -293,7 +268,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: verified_number = await response.parse() assert_matches_type(VerifiedNumberListResponse, verified_number, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.verified_numbers.with_streaming_response.list() as response: @@ -305,7 +279,6 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: verified_number = await async_client.verified_numbers.delete( @@ -313,7 +286,6 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(VerifiedNumberDataWrapper, verified_number, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.verified_numbers.with_raw_response.delete( @@ -325,7 +297,6 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: verified_number = await response.parse() assert_matches_type(VerifiedNumberDataWrapper, verified_number, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.verified_numbers.with_streaming_response.delete( @@ -339,7 +310,6 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `phone_number` but received ''"): diff --git a/tests/api_resources/test_verify_profiles.py b/tests/api_resources/test_verify_profiles.py index 1d952476..d5e72a21 100644 --- a/tests/api_resources/test_verify_profiles.py +++ b/tests/api_resources/test_verify_profiles.py @@ -21,7 +21,6 @@ class TestVerifyProfiles: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: verify_profile = client.verify_profiles.create( @@ -29,7 +28,6 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(VerifyProfileData, verify_profile, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: verify_profile = client.verify_profiles.create( @@ -59,7 +57,6 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(VerifyProfileData, verify_profile, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.verify_profiles.with_raw_response.create( @@ -71,7 +68,6 @@ def test_raw_response_create(self, client: Telnyx) -> None: verify_profile = response.parse() assert_matches_type(VerifyProfileData, verify_profile, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.verify_profiles.with_streaming_response.create( @@ -85,7 +81,6 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: verify_profile = client.verify_profiles.retrieve( @@ -93,7 +88,6 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(VerifyProfileData, verify_profile, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.verify_profiles.with_raw_response.retrieve( @@ -105,7 +99,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: verify_profile = response.parse() assert_matches_type(VerifyProfileData, verify_profile, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.verify_profiles.with_streaming_response.retrieve( @@ -119,7 +112,6 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `verify_profile_id` but received ''"): @@ -127,7 +119,6 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update(self, client: Telnyx) -> None: verify_profile = client.verify_profiles.update( @@ -135,7 +126,6 @@ def test_method_update(self, client: Telnyx) -> None: ) assert_matches_type(VerifyProfileData, verify_profile, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_with_all_params(self, client: Telnyx) -> None: verify_profile = client.verify_profiles.update( @@ -166,7 +156,6 @@ def test_method_update_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(VerifyProfileData, verify_profile, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update(self, client: Telnyx) -> None: response = client.verify_profiles.with_raw_response.update( @@ -178,7 +167,6 @@ def test_raw_response_update(self, client: Telnyx) -> None: verify_profile = response.parse() assert_matches_type(VerifyProfileData, verify_profile, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update(self, client: Telnyx) -> None: with client.verify_profiles.with_streaming_response.update( @@ -192,7 +180,6 @@ def test_streaming_response_update(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `verify_profile_id` but received ''"): @@ -200,13 +187,11 @@ def test_path_params_update(self, client: Telnyx) -> None: verify_profile_id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: verify_profile = client.verify_profiles.list() assert_matches_type(VerifyProfileListResponse, verify_profile, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: verify_profile = client.verify_profiles.list( @@ -218,7 +203,6 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(VerifyProfileListResponse, verify_profile, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.verify_profiles.with_raw_response.list() @@ -228,7 +212,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: verify_profile = response.parse() assert_matches_type(VerifyProfileListResponse, verify_profile, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.verify_profiles.with_streaming_response.list() as response: @@ -240,7 +223,6 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: verify_profile = client.verify_profiles.delete( @@ -248,7 +230,6 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert_matches_type(VerifyProfileData, verify_profile, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.verify_profiles.with_raw_response.delete( @@ -260,7 +241,6 @@ def test_raw_response_delete(self, client: Telnyx) -> None: verify_profile = response.parse() assert_matches_type(VerifyProfileData, verify_profile, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.verify_profiles.with_streaming_response.delete( @@ -274,7 +254,6 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `verify_profile_id` but received ''"): @@ -282,13 +261,11 @@ def test_path_params_delete(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve_templates(self, client: Telnyx) -> None: verify_profile = client.verify_profiles.retrieve_templates() assert_matches_type(VerifyProfileRetrieveTemplatesResponse, verify_profile, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve_templates(self, client: Telnyx) -> None: response = client.verify_profiles.with_raw_response.retrieve_templates() @@ -298,7 +275,6 @@ def test_raw_response_retrieve_templates(self, client: Telnyx) -> None: verify_profile = response.parse() assert_matches_type(VerifyProfileRetrieveTemplatesResponse, verify_profile, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve_templates(self, client: Telnyx) -> None: with client.verify_profiles.with_streaming_response.retrieve_templates() as response: @@ -316,7 +292,6 @@ class TestAsyncVerifyProfiles: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: verify_profile = await async_client.verify_profiles.create( @@ -324,7 +299,6 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(VerifyProfileData, verify_profile, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: verify_profile = await async_client.verify_profiles.create( @@ -354,7 +328,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(VerifyProfileData, verify_profile, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.verify_profiles.with_raw_response.create( @@ -366,7 +339,6 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: verify_profile = await response.parse() assert_matches_type(VerifyProfileData, verify_profile, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.verify_profiles.with_streaming_response.create( @@ -380,7 +352,6 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: verify_profile = await async_client.verify_profiles.retrieve( @@ -388,7 +359,6 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(VerifyProfileData, verify_profile, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.verify_profiles.with_raw_response.retrieve( @@ -400,7 +370,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: verify_profile = await response.parse() assert_matches_type(VerifyProfileData, verify_profile, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.verify_profiles.with_streaming_response.retrieve( @@ -414,7 +383,6 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `verify_profile_id` but received ''"): @@ -422,7 +390,6 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update(self, async_client: AsyncTelnyx) -> None: verify_profile = await async_client.verify_profiles.update( @@ -430,7 +397,6 @@ async def test_method_update(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(VerifyProfileData, verify_profile, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> None: verify_profile = await async_client.verify_profiles.update( @@ -461,7 +427,6 @@ async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(VerifyProfileData, verify_profile, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: response = await async_client.verify_profiles.with_raw_response.update( @@ -473,7 +438,6 @@ async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: verify_profile = await response.parse() assert_matches_type(VerifyProfileData, verify_profile, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> None: async with async_client.verify_profiles.with_streaming_response.update( @@ -487,7 +451,6 @@ async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `verify_profile_id` but received ''"): @@ -495,13 +458,11 @@ async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: verify_profile_id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: verify_profile = await async_client.verify_profiles.list() assert_matches_type(VerifyProfileListResponse, verify_profile, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: verify_profile = await async_client.verify_profiles.list( @@ -513,7 +474,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(VerifyProfileListResponse, verify_profile, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.verify_profiles.with_raw_response.list() @@ -523,7 +483,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: verify_profile = await response.parse() assert_matches_type(VerifyProfileListResponse, verify_profile, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.verify_profiles.with_streaming_response.list() as response: @@ -535,7 +494,6 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: verify_profile = await async_client.verify_profiles.delete( @@ -543,7 +501,6 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(VerifyProfileData, verify_profile, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.verify_profiles.with_raw_response.delete( @@ -555,7 +512,6 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: verify_profile = await response.parse() assert_matches_type(VerifyProfileData, verify_profile, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.verify_profiles.with_streaming_response.delete( @@ -569,7 +525,6 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `verify_profile_id` but received ''"): @@ -577,13 +532,11 @@ async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve_templates(self, async_client: AsyncTelnyx) -> None: verify_profile = await async_client.verify_profiles.retrieve_templates() assert_matches_type(VerifyProfileRetrieveTemplatesResponse, verify_profile, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve_templates(self, async_client: AsyncTelnyx) -> None: response = await async_client.verify_profiles.with_raw_response.retrieve_templates() @@ -593,7 +546,6 @@ async def test_raw_response_retrieve_templates(self, async_client: AsyncTelnyx) verify_profile = await response.parse() assert_matches_type(VerifyProfileRetrieveTemplatesResponse, verify_profile, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve_templates(self, async_client: AsyncTelnyx) -> None: async with async_client.verify_profiles.with_streaming_response.retrieve_templates() as response: diff --git a/tests/api_resources/test_virtual_cross_connects.py b/tests/api_resources/test_virtual_cross_connects.py index 542ab54e..ca77c196 100644 --- a/tests/api_resources/test_virtual_cross_connects.py +++ b/tests/api_resources/test_virtual_cross_connects.py @@ -23,7 +23,6 @@ class TestVirtualCrossConnects: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: virtual_cross_connect = client.virtual_cross_connects.create( @@ -36,7 +35,6 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(VirtualCrossConnectCreateResponse, virtual_cross_connect, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: virtual_cross_connect = client.virtual_cross_connects.create( @@ -58,7 +56,6 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(VirtualCrossConnectCreateResponse, virtual_cross_connect, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.virtual_cross_connects.with_raw_response.create( @@ -75,7 +72,6 @@ def test_raw_response_create(self, client: Telnyx) -> None: virtual_cross_connect = response.parse() assert_matches_type(VirtualCrossConnectCreateResponse, virtual_cross_connect, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.virtual_cross_connects.with_streaming_response.create( @@ -94,7 +90,6 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: virtual_cross_connect = client.virtual_cross_connects.retrieve( @@ -102,7 +97,6 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(VirtualCrossConnectRetrieveResponse, virtual_cross_connect, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.virtual_cross_connects.with_raw_response.retrieve( @@ -114,7 +108,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: virtual_cross_connect = response.parse() assert_matches_type(VirtualCrossConnectRetrieveResponse, virtual_cross_connect, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.virtual_cross_connects.with_streaming_response.retrieve( @@ -128,7 +121,6 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -136,7 +128,6 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update(self, client: Telnyx) -> None: virtual_cross_connect = client.virtual_cross_connects.update( @@ -144,7 +135,6 @@ def test_method_update(self, client: Telnyx) -> None: ) assert_matches_type(VirtualCrossConnectUpdateResponse, virtual_cross_connect, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_with_all_params(self, client: Telnyx) -> None: virtual_cross_connect = client.virtual_cross_connects.update( @@ -158,7 +148,6 @@ def test_method_update_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(VirtualCrossConnectUpdateResponse, virtual_cross_connect, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update(self, client: Telnyx) -> None: response = client.virtual_cross_connects.with_raw_response.update( @@ -170,7 +159,6 @@ def test_raw_response_update(self, client: Telnyx) -> None: virtual_cross_connect = response.parse() assert_matches_type(VirtualCrossConnectUpdateResponse, virtual_cross_connect, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update(self, client: Telnyx) -> None: with client.virtual_cross_connects.with_streaming_response.update( @@ -184,7 +172,6 @@ def test_streaming_response_update(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -192,13 +179,11 @@ def test_path_params_update(self, client: Telnyx) -> None: id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: virtual_cross_connect = client.virtual_cross_connects.list() assert_matches_type(VirtualCrossConnectListResponse, virtual_cross_connect, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: virtual_cross_connect = client.virtual_cross_connects.list( @@ -210,7 +195,6 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(VirtualCrossConnectListResponse, virtual_cross_connect, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.virtual_cross_connects.with_raw_response.list() @@ -220,7 +204,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: virtual_cross_connect = response.parse() assert_matches_type(VirtualCrossConnectListResponse, virtual_cross_connect, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.virtual_cross_connects.with_streaming_response.list() as response: @@ -232,7 +215,6 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: virtual_cross_connect = client.virtual_cross_connects.delete( @@ -240,7 +222,6 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert_matches_type(VirtualCrossConnectDeleteResponse, virtual_cross_connect, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.virtual_cross_connects.with_raw_response.delete( @@ -252,7 +233,6 @@ def test_raw_response_delete(self, client: Telnyx) -> None: virtual_cross_connect = response.parse() assert_matches_type(VirtualCrossConnectDeleteResponse, virtual_cross_connect, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.virtual_cross_connects.with_streaming_response.delete( @@ -266,7 +246,6 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -280,7 +259,6 @@ class TestAsyncVirtualCrossConnects: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: virtual_cross_connect = await async_client.virtual_cross_connects.create( @@ -293,7 +271,6 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(VirtualCrossConnectCreateResponse, virtual_cross_connect, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: virtual_cross_connect = await async_client.virtual_cross_connects.create( @@ -315,7 +292,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(VirtualCrossConnectCreateResponse, virtual_cross_connect, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.virtual_cross_connects.with_raw_response.create( @@ -332,7 +308,6 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: virtual_cross_connect = await response.parse() assert_matches_type(VirtualCrossConnectCreateResponse, virtual_cross_connect, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.virtual_cross_connects.with_streaming_response.create( @@ -351,7 +326,6 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: virtual_cross_connect = await async_client.virtual_cross_connects.retrieve( @@ -359,7 +333,6 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(VirtualCrossConnectRetrieveResponse, virtual_cross_connect, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.virtual_cross_connects.with_raw_response.retrieve( @@ -371,7 +344,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: virtual_cross_connect = await response.parse() assert_matches_type(VirtualCrossConnectRetrieveResponse, virtual_cross_connect, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.virtual_cross_connects.with_streaming_response.retrieve( @@ -385,7 +357,6 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -393,7 +364,6 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update(self, async_client: AsyncTelnyx) -> None: virtual_cross_connect = await async_client.virtual_cross_connects.update( @@ -401,7 +371,6 @@ async def test_method_update(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(VirtualCrossConnectUpdateResponse, virtual_cross_connect, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> None: virtual_cross_connect = await async_client.virtual_cross_connects.update( @@ -415,7 +384,6 @@ async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(VirtualCrossConnectUpdateResponse, virtual_cross_connect, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: response = await async_client.virtual_cross_connects.with_raw_response.update( @@ -427,7 +395,6 @@ async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: virtual_cross_connect = await response.parse() assert_matches_type(VirtualCrossConnectUpdateResponse, virtual_cross_connect, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> None: async with async_client.virtual_cross_connects.with_streaming_response.update( @@ -441,7 +408,6 @@ async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -449,13 +415,11 @@ async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: virtual_cross_connect = await async_client.virtual_cross_connects.list() assert_matches_type(VirtualCrossConnectListResponse, virtual_cross_connect, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: virtual_cross_connect = await async_client.virtual_cross_connects.list( @@ -467,7 +431,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(VirtualCrossConnectListResponse, virtual_cross_connect, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.virtual_cross_connects.with_raw_response.list() @@ -477,7 +440,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: virtual_cross_connect = await response.parse() assert_matches_type(VirtualCrossConnectListResponse, virtual_cross_connect, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.virtual_cross_connects.with_streaming_response.list() as response: @@ -489,7 +451,6 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: virtual_cross_connect = await async_client.virtual_cross_connects.delete( @@ -497,7 +458,6 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(VirtualCrossConnectDeleteResponse, virtual_cross_connect, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.virtual_cross_connects.with_raw_response.delete( @@ -509,7 +469,6 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: virtual_cross_connect = await response.parse() assert_matches_type(VirtualCrossConnectDeleteResponse, virtual_cross_connect, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.virtual_cross_connects.with_streaming_response.delete( @@ -523,7 +482,6 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): diff --git a/tests/api_resources/test_virtual_cross_connects_coverage.py b/tests/api_resources/test_virtual_cross_connects_coverage.py index 8a79a3cd..244f501c 100644 --- a/tests/api_resources/test_virtual_cross_connects_coverage.py +++ b/tests/api_resources/test_virtual_cross_connects_coverage.py @@ -17,7 +17,6 @@ class TestVirtualCrossConnectsCoverage: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: virtual_cross_connects_coverage = client.virtual_cross_connects_coverage.list() @@ -25,7 +24,6 @@ def test_method_list(self, client: Telnyx) -> None: VirtualCrossConnectsCoverageListResponse, virtual_cross_connects_coverage, path=["response"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: virtual_cross_connects_coverage = client.virtual_cross_connects_coverage.list( @@ -47,7 +45,6 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: VirtualCrossConnectsCoverageListResponse, virtual_cross_connects_coverage, path=["response"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.virtual_cross_connects_coverage.with_raw_response.list() @@ -59,7 +56,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: VirtualCrossConnectsCoverageListResponse, virtual_cross_connects_coverage, path=["response"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.virtual_cross_connects_coverage.with_streaming_response.list() as response: @@ -79,7 +75,6 @@ class TestAsyncVirtualCrossConnectsCoverage: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: virtual_cross_connects_coverage = await async_client.virtual_cross_connects_coverage.list() @@ -87,7 +82,6 @@ async def test_method_list(self, async_client: AsyncTelnyx) -> None: VirtualCrossConnectsCoverageListResponse, virtual_cross_connects_coverage, path=["response"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: virtual_cross_connects_coverage = await async_client.virtual_cross_connects_coverage.list( @@ -109,7 +103,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N VirtualCrossConnectsCoverageListResponse, virtual_cross_connects_coverage, path=["response"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.virtual_cross_connects_coverage.with_raw_response.list() @@ -121,7 +114,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: VirtualCrossConnectsCoverageListResponse, virtual_cross_connects_coverage, path=["response"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.virtual_cross_connects_coverage.with_streaming_response.list() as response: diff --git a/tests/api_resources/test_webhook_deliveries.py b/tests/api_resources/test_webhook_deliveries.py index 99b278d5..db302c05 100644 --- a/tests/api_resources/test_webhook_deliveries.py +++ b/tests/api_resources/test_webhook_deliveries.py @@ -17,7 +17,6 @@ class TestWebhookDeliveries: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: webhook_delivery = client.webhook_deliveries.retrieve( @@ -25,7 +24,6 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(WebhookDeliveryRetrieveResponse, webhook_delivery, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.webhook_deliveries.with_raw_response.retrieve( @@ -37,7 +35,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: webhook_delivery = response.parse() assert_matches_type(WebhookDeliveryRetrieveResponse, webhook_delivery, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.webhook_deliveries.with_streaming_response.retrieve( @@ -51,7 +48,6 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -59,13 +55,11 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: webhook_delivery = client.webhook_deliveries.list() assert_matches_type(WebhookDeliveryListResponse, webhook_delivery, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: webhook_delivery = client.webhook_deliveries.list( @@ -90,7 +84,6 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(WebhookDeliveryListResponse, webhook_delivery, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.webhook_deliveries.with_raw_response.list() @@ -100,7 +93,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: webhook_delivery = response.parse() assert_matches_type(WebhookDeliveryListResponse, webhook_delivery, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.webhook_deliveries.with_streaming_response.list() as response: @@ -118,7 +110,6 @@ class TestAsyncWebhookDeliveries: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: webhook_delivery = await async_client.webhook_deliveries.retrieve( @@ -126,7 +117,6 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(WebhookDeliveryRetrieveResponse, webhook_delivery, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.webhook_deliveries.with_raw_response.retrieve( @@ -138,7 +128,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: webhook_delivery = await response.parse() assert_matches_type(WebhookDeliveryRetrieveResponse, webhook_delivery, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.webhook_deliveries.with_streaming_response.retrieve( @@ -152,7 +141,6 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -160,13 +148,11 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: webhook_delivery = await async_client.webhook_deliveries.list() assert_matches_type(WebhookDeliveryListResponse, webhook_delivery, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: webhook_delivery = await async_client.webhook_deliveries.list( @@ -191,7 +177,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(WebhookDeliveryListResponse, webhook_delivery, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.webhook_deliveries.with_raw_response.list() @@ -201,7 +186,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: webhook_delivery = await response.parse() assert_matches_type(WebhookDeliveryListResponse, webhook_delivery, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.webhook_deliveries.with_streaming_response.list() as response: diff --git a/tests/api_resources/test_wireguard_interfaces.py b/tests/api_resources/test_wireguard_interfaces.py index 00ef6a1e..344de6ed 100644 --- a/tests/api_resources/test_wireguard_interfaces.py +++ b/tests/api_resources/test_wireguard_interfaces.py @@ -22,7 +22,6 @@ class TestWireguardInterfaces: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: wireguard_interface = client.wireguard_interfaces.create( @@ -31,7 +30,6 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(WireguardInterfaceCreateResponse, wireguard_interface, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: wireguard_interface = client.wireguard_interfaces.create( @@ -42,7 +40,6 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(WireguardInterfaceCreateResponse, wireguard_interface, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.wireguard_interfaces.with_raw_response.create( @@ -55,7 +52,6 @@ def test_raw_response_create(self, client: Telnyx) -> None: wireguard_interface = response.parse() assert_matches_type(WireguardInterfaceCreateResponse, wireguard_interface, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.wireguard_interfaces.with_streaming_response.create( @@ -70,7 +66,6 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: wireguard_interface = client.wireguard_interfaces.retrieve( @@ -78,7 +73,6 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(WireguardInterfaceRetrieveResponse, wireguard_interface, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.wireguard_interfaces.with_raw_response.retrieve( @@ -90,7 +84,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: wireguard_interface = response.parse() assert_matches_type(WireguardInterfaceRetrieveResponse, wireguard_interface, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.wireguard_interfaces.with_streaming_response.retrieve( @@ -104,7 +97,6 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -112,13 +104,11 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: wireguard_interface = client.wireguard_interfaces.list() assert_matches_type(WireguardInterfaceListResponse, wireguard_interface, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: wireguard_interface = client.wireguard_interfaces.list( @@ -130,7 +120,6 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(WireguardInterfaceListResponse, wireguard_interface, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.wireguard_interfaces.with_raw_response.list() @@ -140,7 +129,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: wireguard_interface = response.parse() assert_matches_type(WireguardInterfaceListResponse, wireguard_interface, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.wireguard_interfaces.with_streaming_response.list() as response: @@ -152,7 +140,6 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: wireguard_interface = client.wireguard_interfaces.delete( @@ -160,7 +147,6 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert_matches_type(WireguardInterfaceDeleteResponse, wireguard_interface, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.wireguard_interfaces.with_raw_response.delete( @@ -172,7 +158,6 @@ def test_raw_response_delete(self, client: Telnyx) -> None: wireguard_interface = response.parse() assert_matches_type(WireguardInterfaceDeleteResponse, wireguard_interface, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.wireguard_interfaces.with_streaming_response.delete( @@ -186,7 +171,6 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -200,7 +184,6 @@ class TestAsyncWireguardInterfaces: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: wireguard_interface = await async_client.wireguard_interfaces.create( @@ -209,7 +192,6 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(WireguardInterfaceCreateResponse, wireguard_interface, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: wireguard_interface = await async_client.wireguard_interfaces.create( @@ -220,7 +202,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(WireguardInterfaceCreateResponse, wireguard_interface, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.wireguard_interfaces.with_raw_response.create( @@ -233,7 +214,6 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: wireguard_interface = await response.parse() assert_matches_type(WireguardInterfaceCreateResponse, wireguard_interface, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.wireguard_interfaces.with_streaming_response.create( @@ -248,7 +228,6 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: wireguard_interface = await async_client.wireguard_interfaces.retrieve( @@ -256,7 +235,6 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(WireguardInterfaceRetrieveResponse, wireguard_interface, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.wireguard_interfaces.with_raw_response.retrieve( @@ -268,7 +246,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: wireguard_interface = await response.parse() assert_matches_type(WireguardInterfaceRetrieveResponse, wireguard_interface, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.wireguard_interfaces.with_streaming_response.retrieve( @@ -282,7 +259,6 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -290,13 +266,11 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: wireguard_interface = await async_client.wireguard_interfaces.list() assert_matches_type(WireguardInterfaceListResponse, wireguard_interface, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: wireguard_interface = await async_client.wireguard_interfaces.list( @@ -308,7 +282,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(WireguardInterfaceListResponse, wireguard_interface, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.wireguard_interfaces.with_raw_response.list() @@ -318,7 +291,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: wireguard_interface = await response.parse() assert_matches_type(WireguardInterfaceListResponse, wireguard_interface, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.wireguard_interfaces.with_streaming_response.list() as response: @@ -330,7 +302,6 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: wireguard_interface = await async_client.wireguard_interfaces.delete( @@ -338,7 +309,6 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(WireguardInterfaceDeleteResponse, wireguard_interface, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.wireguard_interfaces.with_raw_response.delete( @@ -350,7 +320,6 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: wireguard_interface = await response.parse() assert_matches_type(WireguardInterfaceDeleteResponse, wireguard_interface, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.wireguard_interfaces.with_streaming_response.delete( @@ -364,7 +333,6 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): diff --git a/tests/api_resources/test_wireguard_peers.py b/tests/api_resources/test_wireguard_peers.py index fed2271a..d1e76398 100644 --- a/tests/api_resources/test_wireguard_peers.py +++ b/tests/api_resources/test_wireguard_peers.py @@ -23,7 +23,6 @@ class TestWireguardPeers: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: wireguard_peer = client.wireguard_peers.create( @@ -31,7 +30,6 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(WireguardPeerCreateResponse, wireguard_peer, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: wireguard_peer = client.wireguard_peers.create( @@ -40,7 +38,6 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(WireguardPeerCreateResponse, wireguard_peer, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.wireguard_peers.with_raw_response.create( @@ -52,7 +49,6 @@ def test_raw_response_create(self, client: Telnyx) -> None: wireguard_peer = response.parse() assert_matches_type(WireguardPeerCreateResponse, wireguard_peer, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.wireguard_peers.with_streaming_response.create( @@ -66,7 +62,6 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: wireguard_peer = client.wireguard_peers.retrieve( @@ -74,7 +69,6 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(WireguardPeerRetrieveResponse, wireguard_peer, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.wireguard_peers.with_raw_response.retrieve( @@ -86,7 +80,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: wireguard_peer = response.parse() assert_matches_type(WireguardPeerRetrieveResponse, wireguard_peer, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.wireguard_peers.with_streaming_response.retrieve( @@ -100,7 +93,6 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -108,7 +100,6 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update(self, client: Telnyx) -> None: wireguard_peer = client.wireguard_peers.update( @@ -116,7 +107,6 @@ def test_method_update(self, client: Telnyx) -> None: ) assert_matches_type(WireguardPeerUpdateResponse, wireguard_peer, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_with_all_params(self, client: Telnyx) -> None: wireguard_peer = client.wireguard_peers.update( @@ -125,7 +115,6 @@ def test_method_update_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(WireguardPeerUpdateResponse, wireguard_peer, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update(self, client: Telnyx) -> None: response = client.wireguard_peers.with_raw_response.update( @@ -137,7 +126,6 @@ def test_raw_response_update(self, client: Telnyx) -> None: wireguard_peer = response.parse() assert_matches_type(WireguardPeerUpdateResponse, wireguard_peer, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update(self, client: Telnyx) -> None: with client.wireguard_peers.with_streaming_response.update( @@ -151,7 +139,6 @@ def test_streaming_response_update(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -159,13 +146,11 @@ def test_path_params_update(self, client: Telnyx) -> None: id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: wireguard_peer = client.wireguard_peers.list() assert_matches_type(WireguardPeerListResponse, wireguard_peer, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: wireguard_peer = client.wireguard_peers.list( @@ -177,7 +162,6 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(WireguardPeerListResponse, wireguard_peer, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.wireguard_peers.with_raw_response.list() @@ -187,7 +171,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: wireguard_peer = response.parse() assert_matches_type(WireguardPeerListResponse, wireguard_peer, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.wireguard_peers.with_streaming_response.list() as response: @@ -199,7 +182,6 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: wireguard_peer = client.wireguard_peers.delete( @@ -207,7 +189,6 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert_matches_type(WireguardPeerDeleteResponse, wireguard_peer, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.wireguard_peers.with_raw_response.delete( @@ -219,7 +200,6 @@ def test_raw_response_delete(self, client: Telnyx) -> None: wireguard_peer = response.parse() assert_matches_type(WireguardPeerDeleteResponse, wireguard_peer, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.wireguard_peers.with_streaming_response.delete( @@ -233,7 +213,6 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -241,7 +220,6 @@ def test_path_params_delete(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve_config(self, client: Telnyx) -> None: wireguard_peer = client.wireguard_peers.retrieve_config( @@ -249,7 +227,6 @@ def test_method_retrieve_config(self, client: Telnyx) -> None: ) assert_matches_type(str, wireguard_peer, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve_config(self, client: Telnyx) -> None: response = client.wireguard_peers.with_raw_response.retrieve_config( @@ -261,7 +238,6 @@ def test_raw_response_retrieve_config(self, client: Telnyx) -> None: wireguard_peer = response.parse() assert_matches_type(str, wireguard_peer, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve_config(self, client: Telnyx) -> None: with client.wireguard_peers.with_streaming_response.retrieve_config( @@ -275,7 +251,6 @@ def test_streaming_response_retrieve_config(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve_config(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -289,7 +264,6 @@ class TestAsyncWireguardPeers: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: wireguard_peer = await async_client.wireguard_peers.create( @@ -297,7 +271,6 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(WireguardPeerCreateResponse, wireguard_peer, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: wireguard_peer = await async_client.wireguard_peers.create( @@ -306,7 +279,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(WireguardPeerCreateResponse, wireguard_peer, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.wireguard_peers.with_raw_response.create( @@ -318,7 +290,6 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: wireguard_peer = await response.parse() assert_matches_type(WireguardPeerCreateResponse, wireguard_peer, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.wireguard_peers.with_streaming_response.create( @@ -332,7 +303,6 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: wireguard_peer = await async_client.wireguard_peers.retrieve( @@ -340,7 +310,6 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(WireguardPeerRetrieveResponse, wireguard_peer, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.wireguard_peers.with_raw_response.retrieve( @@ -352,7 +321,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: wireguard_peer = await response.parse() assert_matches_type(WireguardPeerRetrieveResponse, wireguard_peer, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.wireguard_peers.with_streaming_response.retrieve( @@ -366,7 +334,6 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -374,7 +341,6 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update(self, async_client: AsyncTelnyx) -> None: wireguard_peer = await async_client.wireguard_peers.update( @@ -382,7 +348,6 @@ async def test_method_update(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(WireguardPeerUpdateResponse, wireguard_peer, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> None: wireguard_peer = await async_client.wireguard_peers.update( @@ -391,7 +356,6 @@ async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(WireguardPeerUpdateResponse, wireguard_peer, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: response = await async_client.wireguard_peers.with_raw_response.update( @@ -403,7 +367,6 @@ async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: wireguard_peer = await response.parse() assert_matches_type(WireguardPeerUpdateResponse, wireguard_peer, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> None: async with async_client.wireguard_peers.with_streaming_response.update( @@ -417,7 +380,6 @@ async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -425,13 +387,11 @@ async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: wireguard_peer = await async_client.wireguard_peers.list() assert_matches_type(WireguardPeerListResponse, wireguard_peer, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: wireguard_peer = await async_client.wireguard_peers.list( @@ -443,7 +403,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(WireguardPeerListResponse, wireguard_peer, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.wireguard_peers.with_raw_response.list() @@ -453,7 +412,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: wireguard_peer = await response.parse() assert_matches_type(WireguardPeerListResponse, wireguard_peer, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.wireguard_peers.with_streaming_response.list() as response: @@ -465,7 +423,6 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: wireguard_peer = await async_client.wireguard_peers.delete( @@ -473,7 +430,6 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(WireguardPeerDeleteResponse, wireguard_peer, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.wireguard_peers.with_raw_response.delete( @@ -485,7 +441,6 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: wireguard_peer = await response.parse() assert_matches_type(WireguardPeerDeleteResponse, wireguard_peer, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.wireguard_peers.with_streaming_response.delete( @@ -499,7 +454,6 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -507,7 +461,6 @@ async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve_config(self, async_client: AsyncTelnyx) -> None: wireguard_peer = await async_client.wireguard_peers.retrieve_config( @@ -515,7 +468,6 @@ async def test_method_retrieve_config(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(str, wireguard_peer, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve_config(self, async_client: AsyncTelnyx) -> None: response = await async_client.wireguard_peers.with_raw_response.retrieve_config( @@ -527,7 +479,6 @@ async def test_raw_response_retrieve_config(self, async_client: AsyncTelnyx) -> wireguard_peer = await response.parse() assert_matches_type(str, wireguard_peer, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve_config(self, async_client: AsyncTelnyx) -> None: async with async_client.wireguard_peers.with_streaming_response.retrieve_config( @@ -541,7 +492,6 @@ async def test_streaming_response_retrieve_config(self, async_client: AsyncTelny assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve_config(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): diff --git a/tests/api_resources/test_wireless.py b/tests/api_resources/test_wireless.py index d4c848b0..daeb6cab 100644 --- a/tests/api_resources/test_wireless.py +++ b/tests/api_resources/test_wireless.py @@ -17,7 +17,6 @@ class TestWireless: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve_regions(self, client: Telnyx) -> None: wireless = client.wireless.retrieve_regions( @@ -25,7 +24,6 @@ def test_method_retrieve_regions(self, client: Telnyx) -> None: ) assert_matches_type(WirelessRetrieveRegionsResponse, wireless, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve_regions(self, client: Telnyx) -> None: response = client.wireless.with_raw_response.retrieve_regions( @@ -37,7 +35,6 @@ def test_raw_response_retrieve_regions(self, client: Telnyx) -> None: wireless = response.parse() assert_matches_type(WirelessRetrieveRegionsResponse, wireless, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve_regions(self, client: Telnyx) -> None: with client.wireless.with_streaming_response.retrieve_regions( @@ -57,7 +54,6 @@ class TestAsyncWireless: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve_regions(self, async_client: AsyncTelnyx) -> None: wireless = await async_client.wireless.retrieve_regions( @@ -65,7 +61,6 @@ async def test_method_retrieve_regions(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(WirelessRetrieveRegionsResponse, wireless, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve_regions(self, async_client: AsyncTelnyx) -> None: response = await async_client.wireless.with_raw_response.retrieve_regions( @@ -77,7 +72,6 @@ async def test_raw_response_retrieve_regions(self, async_client: AsyncTelnyx) -> wireless = await response.parse() assert_matches_type(WirelessRetrieveRegionsResponse, wireless, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve_regions(self, async_client: AsyncTelnyx) -> None: async with async_client.wireless.with_streaming_response.retrieve_regions( diff --git a/tests/api_resources/test_wireless_blocklist_values.py b/tests/api_resources/test_wireless_blocklist_values.py index 446fe03e..6af3cbff 100644 --- a/tests/api_resources/test_wireless_blocklist_values.py +++ b/tests/api_resources/test_wireless_blocklist_values.py @@ -17,7 +17,6 @@ class TestWirelessBlocklistValues: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: wireless_blocklist_value = client.wireless_blocklist_values.list( @@ -25,7 +24,6 @@ def test_method_list(self, client: Telnyx) -> None: ) assert_matches_type(WirelessBlocklistValueListResponse, wireless_blocklist_value, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.wireless_blocklist_values.with_raw_response.list( @@ -37,7 +35,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: wireless_blocklist_value = response.parse() assert_matches_type(WirelessBlocklistValueListResponse, wireless_blocklist_value, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.wireless_blocklist_values.with_streaming_response.list( @@ -57,7 +54,6 @@ class TestAsyncWirelessBlocklistValues: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: wireless_blocklist_value = await async_client.wireless_blocklist_values.list( @@ -65,7 +61,6 @@ async def test_method_list(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(WirelessBlocklistValueListResponse, wireless_blocklist_value, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.wireless_blocklist_values.with_raw_response.list( @@ -77,7 +72,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: wireless_blocklist_value = await response.parse() assert_matches_type(WirelessBlocklistValueListResponse, wireless_blocklist_value, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.wireless_blocklist_values.with_streaming_response.list( diff --git a/tests/api_resources/test_wireless_blocklists.py b/tests/api_resources/test_wireless_blocklists.py index ed686a8f..ed0538b0 100644 --- a/tests/api_resources/test_wireless_blocklists.py +++ b/tests/api_resources/test_wireless_blocklists.py @@ -23,7 +23,6 @@ class TestWirelessBlocklists: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: wireless_blocklist = client.wireless_blocklists.create( @@ -33,7 +32,6 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(WirelessBlocklistCreateResponse, wireless_blocklist, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.wireless_blocklists.with_raw_response.create( @@ -47,7 +45,6 @@ def test_raw_response_create(self, client: Telnyx) -> None: wireless_blocklist = response.parse() assert_matches_type(WirelessBlocklistCreateResponse, wireless_blocklist, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.wireless_blocklists.with_streaming_response.create( @@ -63,7 +60,6 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: wireless_blocklist = client.wireless_blocklists.retrieve( @@ -71,7 +67,6 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(WirelessBlocklistRetrieveResponse, wireless_blocklist, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.wireless_blocklists.with_raw_response.retrieve( @@ -83,7 +78,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: wireless_blocklist = response.parse() assert_matches_type(WirelessBlocklistRetrieveResponse, wireless_blocklist, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.wireless_blocklists.with_streaming_response.retrieve( @@ -97,7 +91,6 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -105,13 +98,11 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update(self, client: Telnyx) -> None: wireless_blocklist = client.wireless_blocklists.update() assert_matches_type(WirelessBlocklistUpdateResponse, wireless_blocklist, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_with_all_params(self, client: Telnyx) -> None: wireless_blocklist = client.wireless_blocklists.update( @@ -121,7 +112,6 @@ def test_method_update_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(WirelessBlocklistUpdateResponse, wireless_blocklist, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update(self, client: Telnyx) -> None: response = client.wireless_blocklists.with_raw_response.update() @@ -131,7 +121,6 @@ def test_raw_response_update(self, client: Telnyx) -> None: wireless_blocklist = response.parse() assert_matches_type(WirelessBlocklistUpdateResponse, wireless_blocklist, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update(self, client: Telnyx) -> None: with client.wireless_blocklists.with_streaming_response.update() as response: @@ -143,13 +132,11 @@ def test_streaming_response_update(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: wireless_blocklist = client.wireless_blocklists.list() assert_matches_type(WirelessBlocklistListResponse, wireless_blocklist, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: wireless_blocklist = client.wireless_blocklists.list( @@ -161,7 +148,6 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(WirelessBlocklistListResponse, wireless_blocklist, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.wireless_blocklists.with_raw_response.list() @@ -171,7 +157,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: wireless_blocklist = response.parse() assert_matches_type(WirelessBlocklistListResponse, wireless_blocklist, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.wireless_blocklists.with_streaming_response.list() as response: @@ -183,7 +168,6 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: wireless_blocklist = client.wireless_blocklists.delete( @@ -191,7 +175,6 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert_matches_type(WirelessBlocklistDeleteResponse, wireless_blocklist, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.wireless_blocklists.with_raw_response.delete( @@ -203,7 +186,6 @@ def test_raw_response_delete(self, client: Telnyx) -> None: wireless_blocklist = response.parse() assert_matches_type(WirelessBlocklistDeleteResponse, wireless_blocklist, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.wireless_blocklists.with_streaming_response.delete( @@ -217,7 +199,6 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -231,7 +212,6 @@ class TestAsyncWirelessBlocklists: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: wireless_blocklist = await async_client.wireless_blocklists.create( @@ -241,7 +221,6 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(WirelessBlocklistCreateResponse, wireless_blocklist, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.wireless_blocklists.with_raw_response.create( @@ -255,7 +234,6 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: wireless_blocklist = await response.parse() assert_matches_type(WirelessBlocklistCreateResponse, wireless_blocklist, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.wireless_blocklists.with_streaming_response.create( @@ -271,7 +249,6 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: wireless_blocklist = await async_client.wireless_blocklists.retrieve( @@ -279,7 +256,6 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(WirelessBlocklistRetrieveResponse, wireless_blocklist, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.wireless_blocklists.with_raw_response.retrieve( @@ -291,7 +267,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: wireless_blocklist = await response.parse() assert_matches_type(WirelessBlocklistRetrieveResponse, wireless_blocklist, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.wireless_blocklists.with_streaming_response.retrieve( @@ -305,7 +280,6 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -313,13 +287,11 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update(self, async_client: AsyncTelnyx) -> None: wireless_blocklist = await async_client.wireless_blocklists.update() assert_matches_type(WirelessBlocklistUpdateResponse, wireless_blocklist, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> None: wireless_blocklist = await async_client.wireless_blocklists.update( @@ -329,7 +301,6 @@ async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(WirelessBlocklistUpdateResponse, wireless_blocklist, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: response = await async_client.wireless_blocklists.with_raw_response.update() @@ -339,7 +310,6 @@ async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: wireless_blocklist = await response.parse() assert_matches_type(WirelessBlocklistUpdateResponse, wireless_blocklist, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> None: async with async_client.wireless_blocklists.with_streaming_response.update() as response: @@ -351,13 +321,11 @@ async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: wireless_blocklist = await async_client.wireless_blocklists.list() assert_matches_type(WirelessBlocklistListResponse, wireless_blocklist, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: wireless_blocklist = await async_client.wireless_blocklists.list( @@ -369,7 +337,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(WirelessBlocklistListResponse, wireless_blocklist, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.wireless_blocklists.with_raw_response.list() @@ -379,7 +346,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: wireless_blocklist = await response.parse() assert_matches_type(WirelessBlocklistListResponse, wireless_blocklist, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.wireless_blocklists.with_streaming_response.list() as response: @@ -391,7 +357,6 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: wireless_blocklist = await async_client.wireless_blocklists.delete( @@ -399,7 +364,6 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(WirelessBlocklistDeleteResponse, wireless_blocklist, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.wireless_blocklists.with_raw_response.delete( @@ -411,7 +375,6 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: wireless_blocklist = await response.parse() assert_matches_type(WirelessBlocklistDeleteResponse, wireless_blocklist, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.wireless_blocklists.with_streaming_response.delete( @@ -425,7 +388,6 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): diff --git a/tests/api_resources/texml/accounts/calls/test_recordings.py b/tests/api_resources/texml/accounts/calls/test_recordings.py index 27e3ff13..16bf71c7 100644 --- a/tests/api_resources/texml/accounts/calls/test_recordings.py +++ b/tests/api_resources/texml/accounts/calls/test_recordings.py @@ -17,7 +17,6 @@ class TestRecordings: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_recording_sid_json(self, client: Telnyx) -> None: recording = client.texml.accounts.calls.recordings.recording_sid_json( @@ -27,7 +26,6 @@ def test_method_recording_sid_json(self, client: Telnyx) -> None: ) assert_matches_type(RecordingRecordingSidJsonResponse, recording, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_recording_sid_json_with_all_params(self, client: Telnyx) -> None: recording = client.texml.accounts.calls.recordings.recording_sid_json( @@ -38,7 +36,6 @@ def test_method_recording_sid_json_with_all_params(self, client: Telnyx) -> None ) assert_matches_type(RecordingRecordingSidJsonResponse, recording, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_recording_sid_json(self, client: Telnyx) -> None: response = client.texml.accounts.calls.recordings.with_raw_response.recording_sid_json( @@ -52,7 +49,6 @@ def test_raw_response_recording_sid_json(self, client: Telnyx) -> None: recording = response.parse() assert_matches_type(RecordingRecordingSidJsonResponse, recording, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_recording_sid_json(self, client: Telnyx) -> None: with client.texml.accounts.calls.recordings.with_streaming_response.recording_sid_json( @@ -68,7 +64,6 @@ def test_streaming_response_recording_sid_json(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_recording_sid_json(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_sid` but received ''"): @@ -98,7 +93,6 @@ class TestAsyncRecordings: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_recording_sid_json(self, async_client: AsyncTelnyx) -> None: recording = await async_client.texml.accounts.calls.recordings.recording_sid_json( @@ -108,7 +102,6 @@ async def test_method_recording_sid_json(self, async_client: AsyncTelnyx) -> Non ) assert_matches_type(RecordingRecordingSidJsonResponse, recording, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_recording_sid_json_with_all_params(self, async_client: AsyncTelnyx) -> None: recording = await async_client.texml.accounts.calls.recordings.recording_sid_json( @@ -119,7 +112,6 @@ async def test_method_recording_sid_json_with_all_params(self, async_client: Asy ) assert_matches_type(RecordingRecordingSidJsonResponse, recording, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_recording_sid_json(self, async_client: AsyncTelnyx) -> None: response = await async_client.texml.accounts.calls.recordings.with_raw_response.recording_sid_json( @@ -133,7 +125,6 @@ async def test_raw_response_recording_sid_json(self, async_client: AsyncTelnyx) recording = await response.parse() assert_matches_type(RecordingRecordingSidJsonResponse, recording, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_recording_sid_json(self, async_client: AsyncTelnyx) -> None: async with async_client.texml.accounts.calls.recordings.with_streaming_response.recording_sid_json( @@ -149,7 +140,6 @@ async def test_streaming_response_recording_sid_json(self, async_client: AsyncTe assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_recording_sid_json(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_sid` but received ''"): diff --git a/tests/api_resources/texml/accounts/calls/test_recordings_json.py b/tests/api_resources/texml/accounts/calls/test_recordings_json.py index 80548f4f..567ae80f 100644 --- a/tests/api_resources/texml/accounts/calls/test_recordings_json.py +++ b/tests/api_resources/texml/accounts/calls/test_recordings_json.py @@ -20,7 +20,6 @@ class TestRecordingsJson: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_recordings_json(self, client: Telnyx) -> None: recordings_json = client.texml.accounts.calls.recordings_json.recordings_json( @@ -29,7 +28,6 @@ def test_method_recordings_json(self, client: Telnyx) -> None: ) assert_matches_type(RecordingsJsonRecordingsJsonResponse, recordings_json, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_recordings_json_with_all_params(self, client: Telnyx) -> None: recordings_json = client.texml.accounts.calls.recordings_json.recordings_json( @@ -45,7 +43,6 @@ def test_method_recordings_json_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(RecordingsJsonRecordingsJsonResponse, recordings_json, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_recordings_json(self, client: Telnyx) -> None: response = client.texml.accounts.calls.recordings_json.with_raw_response.recordings_json( @@ -58,7 +55,6 @@ def test_raw_response_recordings_json(self, client: Telnyx) -> None: recordings_json = response.parse() assert_matches_type(RecordingsJsonRecordingsJsonResponse, recordings_json, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_recordings_json(self, client: Telnyx) -> None: with client.texml.accounts.calls.recordings_json.with_streaming_response.recordings_json( @@ -73,7 +69,6 @@ def test_streaming_response_recordings_json(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_recordings_json(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_sid` but received ''"): @@ -88,7 +83,6 @@ def test_path_params_recordings_json(self, client: Telnyx) -> None: account_sid="account_sid", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve_recordings_json(self, client: Telnyx) -> None: recordings_json = client.texml.accounts.calls.recordings_json.retrieve_recordings_json( @@ -97,7 +91,6 @@ def test_method_retrieve_recordings_json(self, client: Telnyx) -> None: ) assert_matches_type(RecordingsJsonRetrieveRecordingsJsonResponse, recordings_json, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve_recordings_json(self, client: Telnyx) -> None: response = client.texml.accounts.calls.recordings_json.with_raw_response.retrieve_recordings_json( @@ -110,7 +103,6 @@ def test_raw_response_retrieve_recordings_json(self, client: Telnyx) -> None: recordings_json = response.parse() assert_matches_type(RecordingsJsonRetrieveRecordingsJsonResponse, recordings_json, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve_recordings_json(self, client: Telnyx) -> None: with client.texml.accounts.calls.recordings_json.with_streaming_response.retrieve_recordings_json( @@ -125,7 +117,6 @@ def test_streaming_response_retrieve_recordings_json(self, client: Telnyx) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve_recordings_json(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_sid` but received ''"): @@ -146,7 +137,6 @@ class TestAsyncRecordingsJson: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_recordings_json(self, async_client: AsyncTelnyx) -> None: recordings_json = await async_client.texml.accounts.calls.recordings_json.recordings_json( @@ -155,7 +145,6 @@ async def test_method_recordings_json(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(RecordingsJsonRecordingsJsonResponse, recordings_json, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_recordings_json_with_all_params(self, async_client: AsyncTelnyx) -> None: recordings_json = await async_client.texml.accounts.calls.recordings_json.recordings_json( @@ -171,7 +160,6 @@ async def test_method_recordings_json_with_all_params(self, async_client: AsyncT ) assert_matches_type(RecordingsJsonRecordingsJsonResponse, recordings_json, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_recordings_json(self, async_client: AsyncTelnyx) -> None: response = await async_client.texml.accounts.calls.recordings_json.with_raw_response.recordings_json( @@ -184,7 +172,6 @@ async def test_raw_response_recordings_json(self, async_client: AsyncTelnyx) -> recordings_json = await response.parse() assert_matches_type(RecordingsJsonRecordingsJsonResponse, recordings_json, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_recordings_json(self, async_client: AsyncTelnyx) -> None: async with async_client.texml.accounts.calls.recordings_json.with_streaming_response.recordings_json( @@ -199,7 +186,6 @@ async def test_streaming_response_recordings_json(self, async_client: AsyncTelny assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_recordings_json(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_sid` but received ''"): @@ -214,7 +200,6 @@ async def test_path_params_recordings_json(self, async_client: AsyncTelnyx) -> N account_sid="account_sid", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve_recordings_json(self, async_client: AsyncTelnyx) -> None: recordings_json = await async_client.texml.accounts.calls.recordings_json.retrieve_recordings_json( @@ -223,7 +208,6 @@ async def test_method_retrieve_recordings_json(self, async_client: AsyncTelnyx) ) assert_matches_type(RecordingsJsonRetrieveRecordingsJsonResponse, recordings_json, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve_recordings_json(self, async_client: AsyncTelnyx) -> None: response = await async_client.texml.accounts.calls.recordings_json.with_raw_response.retrieve_recordings_json( @@ -236,7 +220,6 @@ async def test_raw_response_retrieve_recordings_json(self, async_client: AsyncTe recordings_json = await response.parse() assert_matches_type(RecordingsJsonRetrieveRecordingsJsonResponse, recordings_json, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve_recordings_json(self, async_client: AsyncTelnyx) -> None: async with async_client.texml.accounts.calls.recordings_json.with_streaming_response.retrieve_recordings_json( @@ -251,7 +234,6 @@ async def test_streaming_response_retrieve_recordings_json(self, async_client: A assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve_recordings_json(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_sid` but received ''"): diff --git a/tests/api_resources/texml/accounts/calls/test_siprec.py b/tests/api_resources/texml/accounts/calls/test_siprec.py index 14f22b28..ad4b93f8 100644 --- a/tests/api_resources/texml/accounts/calls/test_siprec.py +++ b/tests/api_resources/texml/accounts/calls/test_siprec.py @@ -17,7 +17,6 @@ class TestSiprec: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_siprec_sid_json(self, client: Telnyx) -> None: siprec = client.texml.accounts.calls.siprec.siprec_sid_json( @@ -27,7 +26,6 @@ def test_method_siprec_sid_json(self, client: Telnyx) -> None: ) assert_matches_type(SiprecSiprecSidJsonResponse, siprec, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_siprec_sid_json_with_all_params(self, client: Telnyx) -> None: siprec = client.texml.accounts.calls.siprec.siprec_sid_json( @@ -38,7 +36,6 @@ def test_method_siprec_sid_json_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(SiprecSiprecSidJsonResponse, siprec, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_siprec_sid_json(self, client: Telnyx) -> None: response = client.texml.accounts.calls.siprec.with_raw_response.siprec_sid_json( @@ -52,7 +49,6 @@ def test_raw_response_siprec_sid_json(self, client: Telnyx) -> None: siprec = response.parse() assert_matches_type(SiprecSiprecSidJsonResponse, siprec, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_siprec_sid_json(self, client: Telnyx) -> None: with client.texml.accounts.calls.siprec.with_streaming_response.siprec_sid_json( @@ -68,7 +64,6 @@ def test_streaming_response_siprec_sid_json(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_siprec_sid_json(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_sid` but received ''"): @@ -98,7 +93,6 @@ class TestAsyncSiprec: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_siprec_sid_json(self, async_client: AsyncTelnyx) -> None: siprec = await async_client.texml.accounts.calls.siprec.siprec_sid_json( @@ -108,7 +102,6 @@ async def test_method_siprec_sid_json(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(SiprecSiprecSidJsonResponse, siprec, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_siprec_sid_json_with_all_params(self, async_client: AsyncTelnyx) -> None: siprec = await async_client.texml.accounts.calls.siprec.siprec_sid_json( @@ -119,7 +112,6 @@ async def test_method_siprec_sid_json_with_all_params(self, async_client: AsyncT ) assert_matches_type(SiprecSiprecSidJsonResponse, siprec, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_siprec_sid_json(self, async_client: AsyncTelnyx) -> None: response = await async_client.texml.accounts.calls.siprec.with_raw_response.siprec_sid_json( @@ -133,7 +125,6 @@ async def test_raw_response_siprec_sid_json(self, async_client: AsyncTelnyx) -> siprec = await response.parse() assert_matches_type(SiprecSiprecSidJsonResponse, siprec, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_siprec_sid_json(self, async_client: AsyncTelnyx) -> None: async with async_client.texml.accounts.calls.siprec.with_streaming_response.siprec_sid_json( @@ -149,7 +140,6 @@ async def test_streaming_response_siprec_sid_json(self, async_client: AsyncTelny assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_siprec_sid_json(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_sid` but received ''"): diff --git a/tests/api_resources/texml/accounts/calls/test_streams.py b/tests/api_resources/texml/accounts/calls/test_streams.py index a7b20e3d..45ba3a13 100644 --- a/tests/api_resources/texml/accounts/calls/test_streams.py +++ b/tests/api_resources/texml/accounts/calls/test_streams.py @@ -17,7 +17,6 @@ class TestStreams: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_streaming_sid_json(self, client: Telnyx) -> None: stream = client.texml.accounts.calls.streams.streaming_sid_json( @@ -27,7 +26,6 @@ def test_method_streaming_sid_json(self, client: Telnyx) -> None: ) assert_matches_type(StreamStreamingSidJsonResponse, stream, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_streaming_sid_json_with_all_params(self, client: Telnyx) -> None: stream = client.texml.accounts.calls.streams.streaming_sid_json( @@ -38,7 +36,6 @@ def test_method_streaming_sid_json_with_all_params(self, client: Telnyx) -> None ) assert_matches_type(StreamStreamingSidJsonResponse, stream, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_streaming_sid_json(self, client: Telnyx) -> None: response = client.texml.accounts.calls.streams.with_raw_response.streaming_sid_json( @@ -52,7 +49,6 @@ def test_raw_response_streaming_sid_json(self, client: Telnyx) -> None: stream = response.parse() assert_matches_type(StreamStreamingSidJsonResponse, stream, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_streaming_sid_json(self, client: Telnyx) -> None: with client.texml.accounts.calls.streams.with_streaming_response.streaming_sid_json( @@ -68,7 +64,6 @@ def test_streaming_response_streaming_sid_json(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_streaming_sid_json(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_sid` but received ''"): @@ -98,7 +93,6 @@ class TestAsyncStreams: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_streaming_sid_json(self, async_client: AsyncTelnyx) -> None: stream = await async_client.texml.accounts.calls.streams.streaming_sid_json( @@ -108,7 +102,6 @@ async def test_method_streaming_sid_json(self, async_client: AsyncTelnyx) -> Non ) assert_matches_type(StreamStreamingSidJsonResponse, stream, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_streaming_sid_json_with_all_params(self, async_client: AsyncTelnyx) -> None: stream = await async_client.texml.accounts.calls.streams.streaming_sid_json( @@ -119,7 +112,6 @@ async def test_method_streaming_sid_json_with_all_params(self, async_client: Asy ) assert_matches_type(StreamStreamingSidJsonResponse, stream, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_streaming_sid_json(self, async_client: AsyncTelnyx) -> None: response = await async_client.texml.accounts.calls.streams.with_raw_response.streaming_sid_json( @@ -133,7 +125,6 @@ async def test_raw_response_streaming_sid_json(self, async_client: AsyncTelnyx) stream = await response.parse() assert_matches_type(StreamStreamingSidJsonResponse, stream, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_streaming_sid_json(self, async_client: AsyncTelnyx) -> None: async with async_client.texml.accounts.calls.streams.with_streaming_response.streaming_sid_json( @@ -149,7 +140,6 @@ async def test_streaming_response_streaming_sid_json(self, async_client: AsyncTe assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_streaming_sid_json(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_sid` but received ''"): diff --git a/tests/api_resources/texml/accounts/conferences/test_participants.py b/tests/api_resources/texml/accounts/conferences/test_participants.py index 66c8f1e6..dca43688 100644 --- a/tests/api_resources/texml/accounts/conferences/test_participants.py +++ b/tests/api_resources/texml/accounts/conferences/test_participants.py @@ -22,7 +22,6 @@ class TestParticipants: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: participant = client.texml.accounts.conferences.participants.retrieve( @@ -32,7 +31,6 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(ParticipantRetrieveResponse, participant, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.texml.accounts.conferences.participants.with_raw_response.retrieve( @@ -46,7 +44,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: participant = response.parse() assert_matches_type(ParticipantRetrieveResponse, participant, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.texml.accounts.conferences.participants.with_streaming_response.retrieve( @@ -62,7 +59,6 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_sid` but received ''"): @@ -88,7 +84,6 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: conference_sid="conference_sid", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update(self, client: Telnyx) -> None: participant = client.texml.accounts.conferences.participants.update( @@ -98,7 +93,6 @@ def test_method_update(self, client: Telnyx) -> None: ) assert_matches_type(ParticipantUpdateResponse, participant, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_with_all_params(self, client: Telnyx) -> None: participant = client.texml.accounts.conferences.participants.update( @@ -119,7 +113,6 @@ def test_method_update_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ParticipantUpdateResponse, participant, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update(self, client: Telnyx) -> None: response = client.texml.accounts.conferences.participants.with_raw_response.update( @@ -133,7 +126,6 @@ def test_raw_response_update(self, client: Telnyx) -> None: participant = response.parse() assert_matches_type(ParticipantUpdateResponse, participant, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update(self, client: Telnyx) -> None: with client.texml.accounts.conferences.participants.with_streaming_response.update( @@ -149,7 +141,6 @@ def test_streaming_response_update(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_sid` but received ''"): @@ -175,7 +166,6 @@ def test_path_params_update(self, client: Telnyx) -> None: conference_sid="conference_sid", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: participant = client.texml.accounts.conferences.participants.delete( @@ -185,7 +175,6 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert participant is None - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.texml.accounts.conferences.participants.with_raw_response.delete( @@ -199,7 +188,6 @@ def test_raw_response_delete(self, client: Telnyx) -> None: participant = response.parse() assert participant is None - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.texml.accounts.conferences.participants.with_streaming_response.delete( @@ -215,7 +203,6 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_sid` but received ''"): @@ -241,7 +228,6 @@ def test_path_params_delete(self, client: Telnyx) -> None: conference_sid="conference_sid", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_participants(self, client: Telnyx) -> None: participant = client.texml.accounts.conferences.participants.participants( @@ -250,7 +236,6 @@ def test_method_participants(self, client: Telnyx) -> None: ) assert_matches_type(ParticipantParticipantsResponse, participant, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_participants_with_all_params(self, client: Telnyx) -> None: participant = client.texml.accounts.conferences.participants.participants( @@ -304,7 +289,6 @@ def test_method_participants_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ParticipantParticipantsResponse, participant, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_participants(self, client: Telnyx) -> None: response = client.texml.accounts.conferences.participants.with_raw_response.participants( @@ -317,7 +301,6 @@ def test_raw_response_participants(self, client: Telnyx) -> None: participant = response.parse() assert_matches_type(ParticipantParticipantsResponse, participant, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_participants(self, client: Telnyx) -> None: with client.texml.accounts.conferences.participants.with_streaming_response.participants( @@ -332,7 +315,6 @@ def test_streaming_response_participants(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_participants(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_sid` but received ''"): @@ -347,7 +329,6 @@ def test_path_params_participants(self, client: Telnyx) -> None: account_sid="account_sid", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve_participants(self, client: Telnyx) -> None: participant = client.texml.accounts.conferences.participants.retrieve_participants( @@ -356,7 +337,6 @@ def test_method_retrieve_participants(self, client: Telnyx) -> None: ) assert_matches_type(ParticipantRetrieveParticipantsResponse, participant, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve_participants(self, client: Telnyx) -> None: response = client.texml.accounts.conferences.participants.with_raw_response.retrieve_participants( @@ -369,7 +349,6 @@ def test_raw_response_retrieve_participants(self, client: Telnyx) -> None: participant = response.parse() assert_matches_type(ParticipantRetrieveParticipantsResponse, participant, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve_participants(self, client: Telnyx) -> None: with client.texml.accounts.conferences.participants.with_streaming_response.retrieve_participants( @@ -384,7 +363,6 @@ def test_streaming_response_retrieve_participants(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve_participants(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_sid` but received ''"): @@ -405,7 +383,6 @@ class TestAsyncParticipants: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: participant = await async_client.texml.accounts.conferences.participants.retrieve( @@ -415,7 +392,6 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ParticipantRetrieveResponse, participant, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.texml.accounts.conferences.participants.with_raw_response.retrieve( @@ -429,7 +405,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: participant = await response.parse() assert_matches_type(ParticipantRetrieveResponse, participant, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.texml.accounts.conferences.participants.with_streaming_response.retrieve( @@ -445,7 +420,6 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_sid` but received ''"): @@ -471,7 +445,6 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: conference_sid="conference_sid", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update(self, async_client: AsyncTelnyx) -> None: participant = await async_client.texml.accounts.conferences.participants.update( @@ -481,7 +454,6 @@ async def test_method_update(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ParticipantUpdateResponse, participant, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> None: participant = await async_client.texml.accounts.conferences.participants.update( @@ -502,7 +474,6 @@ async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(ParticipantUpdateResponse, participant, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: response = await async_client.texml.accounts.conferences.participants.with_raw_response.update( @@ -516,7 +487,6 @@ async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: participant = await response.parse() assert_matches_type(ParticipantUpdateResponse, participant, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> None: async with async_client.texml.accounts.conferences.participants.with_streaming_response.update( @@ -532,7 +502,6 @@ async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_sid` but received ''"): @@ -558,7 +527,6 @@ async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: conference_sid="conference_sid", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: participant = await async_client.texml.accounts.conferences.participants.delete( @@ -568,7 +536,6 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert participant is None - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.texml.accounts.conferences.participants.with_raw_response.delete( @@ -582,7 +549,6 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: participant = await response.parse() assert participant is None - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.texml.accounts.conferences.participants.with_streaming_response.delete( @@ -598,7 +564,6 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_sid` but received ''"): @@ -624,7 +589,6 @@ async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: conference_sid="conference_sid", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_participants(self, async_client: AsyncTelnyx) -> None: participant = await async_client.texml.accounts.conferences.participants.participants( @@ -633,7 +597,6 @@ async def test_method_participants(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ParticipantParticipantsResponse, participant, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_participants_with_all_params(self, async_client: AsyncTelnyx) -> None: participant = await async_client.texml.accounts.conferences.participants.participants( @@ -687,7 +650,6 @@ async def test_method_participants_with_all_params(self, async_client: AsyncTeln ) assert_matches_type(ParticipantParticipantsResponse, participant, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_participants(self, async_client: AsyncTelnyx) -> None: response = await async_client.texml.accounts.conferences.participants.with_raw_response.participants( @@ -700,7 +662,6 @@ async def test_raw_response_participants(self, async_client: AsyncTelnyx) -> Non participant = await response.parse() assert_matches_type(ParticipantParticipantsResponse, participant, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_participants(self, async_client: AsyncTelnyx) -> None: async with async_client.texml.accounts.conferences.participants.with_streaming_response.participants( @@ -715,7 +676,6 @@ async def test_streaming_response_participants(self, async_client: AsyncTelnyx) assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_participants(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_sid` but received ''"): @@ -730,7 +690,6 @@ async def test_path_params_participants(self, async_client: AsyncTelnyx) -> None account_sid="account_sid", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve_participants(self, async_client: AsyncTelnyx) -> None: participant = await async_client.texml.accounts.conferences.participants.retrieve_participants( @@ -739,7 +698,6 @@ async def test_method_retrieve_participants(self, async_client: AsyncTelnyx) -> ) assert_matches_type(ParticipantRetrieveParticipantsResponse, participant, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve_participants(self, async_client: AsyncTelnyx) -> None: response = await async_client.texml.accounts.conferences.participants.with_raw_response.retrieve_participants( @@ -752,7 +710,6 @@ async def test_raw_response_retrieve_participants(self, async_client: AsyncTelny participant = await response.parse() assert_matches_type(ParticipantRetrieveParticipantsResponse, participant, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve_participants(self, async_client: AsyncTelnyx) -> None: async with async_client.texml.accounts.conferences.participants.with_streaming_response.retrieve_participants( @@ -767,7 +724,6 @@ async def test_streaming_response_retrieve_participants(self, async_client: Asyn assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve_participants(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_sid` but received ''"): diff --git a/tests/api_resources/texml/accounts/recordings/test_json.py b/tests/api_resources/texml/accounts/recordings/test_json.py index 376204c8..7ceadda5 100644 --- a/tests/api_resources/texml/accounts/recordings/test_json.py +++ b/tests/api_resources/texml/accounts/recordings/test_json.py @@ -17,7 +17,6 @@ class TestJson: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete_recording_sid_json(self, client: Telnyx) -> None: json = client.texml.accounts.recordings.json.delete_recording_sid_json( @@ -26,7 +25,6 @@ def test_method_delete_recording_sid_json(self, client: Telnyx) -> None: ) assert json is None - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete_recording_sid_json(self, client: Telnyx) -> None: response = client.texml.accounts.recordings.json.with_raw_response.delete_recording_sid_json( @@ -39,7 +37,6 @@ def test_raw_response_delete_recording_sid_json(self, client: Telnyx) -> None: json = response.parse() assert json is None - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete_recording_sid_json(self, client: Telnyx) -> None: with client.texml.accounts.recordings.json.with_streaming_response.delete_recording_sid_json( @@ -54,7 +51,6 @@ def test_streaming_response_delete_recording_sid_json(self, client: Telnyx) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete_recording_sid_json(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_sid` but received ''"): @@ -69,7 +65,6 @@ def test_path_params_delete_recording_sid_json(self, client: Telnyx) -> None: account_sid="account_sid", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve_recording_sid_json(self, client: Telnyx) -> None: json = client.texml.accounts.recordings.json.retrieve_recording_sid_json( @@ -78,7 +73,6 @@ def test_method_retrieve_recording_sid_json(self, client: Telnyx) -> None: ) assert_matches_type(TexmlGetCallRecordingResponseBody, json, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve_recording_sid_json(self, client: Telnyx) -> None: response = client.texml.accounts.recordings.json.with_raw_response.retrieve_recording_sid_json( @@ -91,7 +85,6 @@ def test_raw_response_retrieve_recording_sid_json(self, client: Telnyx) -> None: json = response.parse() assert_matches_type(TexmlGetCallRecordingResponseBody, json, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve_recording_sid_json(self, client: Telnyx) -> None: with client.texml.accounts.recordings.json.with_streaming_response.retrieve_recording_sid_json( @@ -106,7 +99,6 @@ def test_streaming_response_retrieve_recording_sid_json(self, client: Telnyx) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve_recording_sid_json(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_sid` but received ''"): @@ -127,7 +119,6 @@ class TestAsyncJson: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete_recording_sid_json(self, async_client: AsyncTelnyx) -> None: json = await async_client.texml.accounts.recordings.json.delete_recording_sid_json( @@ -136,7 +127,6 @@ async def test_method_delete_recording_sid_json(self, async_client: AsyncTelnyx) ) assert json is None - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete_recording_sid_json(self, async_client: AsyncTelnyx) -> None: response = await async_client.texml.accounts.recordings.json.with_raw_response.delete_recording_sid_json( @@ -149,7 +139,6 @@ async def test_raw_response_delete_recording_sid_json(self, async_client: AsyncT json = await response.parse() assert json is None - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete_recording_sid_json(self, async_client: AsyncTelnyx) -> None: async with async_client.texml.accounts.recordings.json.with_streaming_response.delete_recording_sid_json( @@ -164,7 +153,6 @@ async def test_streaming_response_delete_recording_sid_json(self, async_client: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete_recording_sid_json(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_sid` but received ''"): @@ -179,7 +167,6 @@ async def test_path_params_delete_recording_sid_json(self, async_client: AsyncTe account_sid="account_sid", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve_recording_sid_json(self, async_client: AsyncTelnyx) -> None: json = await async_client.texml.accounts.recordings.json.retrieve_recording_sid_json( @@ -188,7 +175,6 @@ async def test_method_retrieve_recording_sid_json(self, async_client: AsyncTelny ) assert_matches_type(TexmlGetCallRecordingResponseBody, json, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve_recording_sid_json(self, async_client: AsyncTelnyx) -> None: response = await async_client.texml.accounts.recordings.json.with_raw_response.retrieve_recording_sid_json( @@ -201,7 +187,6 @@ async def test_raw_response_retrieve_recording_sid_json(self, async_client: Asyn json = await response.parse() assert_matches_type(TexmlGetCallRecordingResponseBody, json, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve_recording_sid_json(self, async_client: AsyncTelnyx) -> None: async with async_client.texml.accounts.recordings.json.with_streaming_response.retrieve_recording_sid_json( @@ -216,7 +201,6 @@ async def test_streaming_response_retrieve_recording_sid_json(self, async_client assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve_recording_sid_json(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_sid` but received ''"): diff --git a/tests/api_resources/texml/accounts/test_calls.py b/tests/api_resources/texml/accounts/test_calls.py index a23abb8d..d08ac383 100644 --- a/tests/api_resources/texml/accounts/test_calls.py +++ b/tests/api_resources/texml/accounts/test_calls.py @@ -24,7 +24,6 @@ class TestCalls: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: call = client.texml.accounts.calls.retrieve( @@ -33,7 +32,6 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(CallRetrieveResponse, call, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.texml.accounts.calls.with_raw_response.retrieve( @@ -46,7 +44,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: call = response.parse() assert_matches_type(CallRetrieveResponse, call, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.texml.accounts.calls.with_streaming_response.retrieve( @@ -61,7 +58,6 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_sid` but received ''"): @@ -76,7 +72,6 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: account_sid="account_sid", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update(self, client: Telnyx) -> None: call = client.texml.accounts.calls.update( @@ -85,7 +80,6 @@ def test_method_update(self, client: Telnyx) -> None: ) assert_matches_type(CallUpdateResponse, call, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_with_all_params(self, client: Telnyx) -> None: call = client.texml.accounts.calls.update( @@ -102,7 +96,6 @@ def test_method_update_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(CallUpdateResponse, call, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update(self, client: Telnyx) -> None: response = client.texml.accounts.calls.with_raw_response.update( @@ -115,7 +108,6 @@ def test_raw_response_update(self, client: Telnyx) -> None: call = response.parse() assert_matches_type(CallUpdateResponse, call, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update(self, client: Telnyx) -> None: with client.texml.accounts.calls.with_streaming_response.update( @@ -130,7 +122,6 @@ def test_streaming_response_update(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_sid` but received ''"): @@ -145,7 +136,6 @@ def test_path_params_update(self, client: Telnyx) -> None: account_sid="account_sid", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_calls(self, client: Telnyx) -> None: call = client.texml.accounts.calls.calls( @@ -156,7 +146,6 @@ def test_method_calls(self, client: Telnyx) -> None: ) assert_matches_type(CallCallsResponse, call, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_calls_with_all_params(self, client: Telnyx) -> None: call = client.texml.accounts.calls.calls( @@ -197,7 +186,6 @@ def test_method_calls_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(CallCallsResponse, call, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_calls(self, client: Telnyx) -> None: response = client.texml.accounts.calls.with_raw_response.calls( @@ -212,7 +200,6 @@ def test_raw_response_calls(self, client: Telnyx) -> None: call = response.parse() assert_matches_type(CallCallsResponse, call, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_calls(self, client: Telnyx) -> None: with client.texml.accounts.calls.with_streaming_response.calls( @@ -229,7 +216,6 @@ def test_streaming_response_calls(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_calls(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_sid` but received ''"): @@ -240,7 +226,6 @@ def test_path_params_calls(self, client: Telnyx) -> None: to="+13121230000", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve_calls(self, client: Telnyx) -> None: call = client.texml.accounts.calls.retrieve_calls( @@ -248,7 +233,6 @@ def test_method_retrieve_calls(self, client: Telnyx) -> None: ) assert_matches_type(CallRetrieveCallsResponse, call, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve_calls_with_all_params(self, client: Telnyx) -> None: call = client.texml.accounts.calls.retrieve_calls( @@ -268,7 +252,6 @@ def test_method_retrieve_calls_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(CallRetrieveCallsResponse, call, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve_calls(self, client: Telnyx) -> None: response = client.texml.accounts.calls.with_raw_response.retrieve_calls( @@ -280,7 +263,6 @@ def test_raw_response_retrieve_calls(self, client: Telnyx) -> None: call = response.parse() assert_matches_type(CallRetrieveCallsResponse, call, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve_calls(self, client: Telnyx) -> None: with client.texml.accounts.calls.with_streaming_response.retrieve_calls( @@ -294,7 +276,6 @@ def test_streaming_response_retrieve_calls(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve_calls(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_sid` but received ''"): @@ -302,7 +283,6 @@ def test_path_params_retrieve_calls(self, client: Telnyx) -> None: account_sid="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_siprec_json(self, client: Telnyx) -> None: call = client.texml.accounts.calls.siprec_json( @@ -311,7 +291,6 @@ def test_method_siprec_json(self, client: Telnyx) -> None: ) assert_matches_type(CallSiprecJsonResponse, call, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_siprec_json_with_all_params(self, client: Telnyx) -> None: call = client.texml.accounts.calls.siprec_json( @@ -329,7 +308,6 @@ def test_method_siprec_json_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(CallSiprecJsonResponse, call, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_siprec_json(self, client: Telnyx) -> None: response = client.texml.accounts.calls.with_raw_response.siprec_json( @@ -342,7 +320,6 @@ def test_raw_response_siprec_json(self, client: Telnyx) -> None: call = response.parse() assert_matches_type(CallSiprecJsonResponse, call, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_siprec_json(self, client: Telnyx) -> None: with client.texml.accounts.calls.with_streaming_response.siprec_json( @@ -357,7 +334,6 @@ def test_streaming_response_siprec_json(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_siprec_json(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_sid` but received ''"): @@ -372,7 +348,6 @@ def test_path_params_siprec_json(self, client: Telnyx) -> None: account_sid="account_sid", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_streams_json(self, client: Telnyx) -> None: call = client.texml.accounts.calls.streams_json( @@ -381,7 +356,6 @@ def test_method_streams_json(self, client: Telnyx) -> None: ) assert_matches_type(CallStreamsJsonResponse, call, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_streams_json_with_all_params(self, client: Telnyx) -> None: call = client.texml.accounts.calls.streams_json( @@ -397,7 +371,6 @@ def test_method_streams_json_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(CallStreamsJsonResponse, call, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_streams_json(self, client: Telnyx) -> None: response = client.texml.accounts.calls.with_raw_response.streams_json( @@ -410,7 +383,6 @@ def test_raw_response_streams_json(self, client: Telnyx) -> None: call = response.parse() assert_matches_type(CallStreamsJsonResponse, call, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_streams_json(self, client: Telnyx) -> None: with client.texml.accounts.calls.with_streaming_response.streams_json( @@ -425,7 +397,6 @@ def test_streaming_response_streams_json(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_streams_json(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_sid` but received ''"): @@ -446,7 +417,6 @@ class TestAsyncCalls: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: call = await async_client.texml.accounts.calls.retrieve( @@ -455,7 +425,6 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(CallRetrieveResponse, call, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.texml.accounts.calls.with_raw_response.retrieve( @@ -468,7 +437,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: call = await response.parse() assert_matches_type(CallRetrieveResponse, call, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.texml.accounts.calls.with_streaming_response.retrieve( @@ -483,7 +451,6 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_sid` but received ''"): @@ -498,7 +465,6 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: account_sid="account_sid", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update(self, async_client: AsyncTelnyx) -> None: call = await async_client.texml.accounts.calls.update( @@ -507,7 +473,6 @@ async def test_method_update(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(CallUpdateResponse, call, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> None: call = await async_client.texml.accounts.calls.update( @@ -524,7 +489,6 @@ async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(CallUpdateResponse, call, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: response = await async_client.texml.accounts.calls.with_raw_response.update( @@ -537,7 +501,6 @@ async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: call = await response.parse() assert_matches_type(CallUpdateResponse, call, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> None: async with async_client.texml.accounts.calls.with_streaming_response.update( @@ -552,7 +515,6 @@ async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_sid` but received ''"): @@ -567,7 +529,6 @@ async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: account_sid="account_sid", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_calls(self, async_client: AsyncTelnyx) -> None: call = await async_client.texml.accounts.calls.calls( @@ -578,7 +539,6 @@ async def test_method_calls(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(CallCallsResponse, call, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_calls_with_all_params(self, async_client: AsyncTelnyx) -> None: call = await async_client.texml.accounts.calls.calls( @@ -619,7 +579,6 @@ async def test_method_calls_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(CallCallsResponse, call, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_calls(self, async_client: AsyncTelnyx) -> None: response = await async_client.texml.accounts.calls.with_raw_response.calls( @@ -634,7 +593,6 @@ async def test_raw_response_calls(self, async_client: AsyncTelnyx) -> None: call = await response.parse() assert_matches_type(CallCallsResponse, call, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_calls(self, async_client: AsyncTelnyx) -> None: async with async_client.texml.accounts.calls.with_streaming_response.calls( @@ -651,7 +609,6 @@ async def test_streaming_response_calls(self, async_client: AsyncTelnyx) -> None assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_calls(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_sid` but received ''"): @@ -662,7 +619,6 @@ async def test_path_params_calls(self, async_client: AsyncTelnyx) -> None: to="+13121230000", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve_calls(self, async_client: AsyncTelnyx) -> None: call = await async_client.texml.accounts.calls.retrieve_calls( @@ -670,7 +626,6 @@ async def test_method_retrieve_calls(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(CallRetrieveCallsResponse, call, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve_calls_with_all_params(self, async_client: AsyncTelnyx) -> None: call = await async_client.texml.accounts.calls.retrieve_calls( @@ -690,7 +645,6 @@ async def test_method_retrieve_calls_with_all_params(self, async_client: AsyncTe ) assert_matches_type(CallRetrieveCallsResponse, call, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve_calls(self, async_client: AsyncTelnyx) -> None: response = await async_client.texml.accounts.calls.with_raw_response.retrieve_calls( @@ -702,7 +656,6 @@ async def test_raw_response_retrieve_calls(self, async_client: AsyncTelnyx) -> N call = await response.parse() assert_matches_type(CallRetrieveCallsResponse, call, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve_calls(self, async_client: AsyncTelnyx) -> None: async with async_client.texml.accounts.calls.with_streaming_response.retrieve_calls( @@ -716,7 +669,6 @@ async def test_streaming_response_retrieve_calls(self, async_client: AsyncTelnyx assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve_calls(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_sid` but received ''"): @@ -724,7 +676,6 @@ async def test_path_params_retrieve_calls(self, async_client: AsyncTelnyx) -> No account_sid="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_siprec_json(self, async_client: AsyncTelnyx) -> None: call = await async_client.texml.accounts.calls.siprec_json( @@ -733,7 +684,6 @@ async def test_method_siprec_json(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(CallSiprecJsonResponse, call, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_siprec_json_with_all_params(self, async_client: AsyncTelnyx) -> None: call = await async_client.texml.accounts.calls.siprec_json( @@ -751,7 +701,6 @@ async def test_method_siprec_json_with_all_params(self, async_client: AsyncTelny ) assert_matches_type(CallSiprecJsonResponse, call, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_siprec_json(self, async_client: AsyncTelnyx) -> None: response = await async_client.texml.accounts.calls.with_raw_response.siprec_json( @@ -764,7 +713,6 @@ async def test_raw_response_siprec_json(self, async_client: AsyncTelnyx) -> None call = await response.parse() assert_matches_type(CallSiprecJsonResponse, call, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_siprec_json(self, async_client: AsyncTelnyx) -> None: async with async_client.texml.accounts.calls.with_streaming_response.siprec_json( @@ -779,7 +727,6 @@ async def test_streaming_response_siprec_json(self, async_client: AsyncTelnyx) - assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_siprec_json(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_sid` but received ''"): @@ -794,7 +741,6 @@ async def test_path_params_siprec_json(self, async_client: AsyncTelnyx) -> None: account_sid="account_sid", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_streams_json(self, async_client: AsyncTelnyx) -> None: call = await async_client.texml.accounts.calls.streams_json( @@ -803,7 +749,6 @@ async def test_method_streams_json(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(CallStreamsJsonResponse, call, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_streams_json_with_all_params(self, async_client: AsyncTelnyx) -> None: call = await async_client.texml.accounts.calls.streams_json( @@ -819,7 +764,6 @@ async def test_method_streams_json_with_all_params(self, async_client: AsyncTeln ) assert_matches_type(CallStreamsJsonResponse, call, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_streams_json(self, async_client: AsyncTelnyx) -> None: response = await async_client.texml.accounts.calls.with_raw_response.streams_json( @@ -832,7 +776,6 @@ async def test_raw_response_streams_json(self, async_client: AsyncTelnyx) -> Non call = await response.parse() assert_matches_type(CallStreamsJsonResponse, call, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_streams_json(self, async_client: AsyncTelnyx) -> None: async with async_client.texml.accounts.calls.with_streaming_response.streams_json( @@ -847,7 +790,6 @@ async def test_streaming_response_streams_json(self, async_client: AsyncTelnyx) assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_streams_json(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_sid` but received ''"): diff --git a/tests/api_resources/texml/accounts/test_conferences.py b/tests/api_resources/texml/accounts/test_conferences.py index 70661df2..234fbd3c 100644 --- a/tests/api_resources/texml/accounts/test_conferences.py +++ b/tests/api_resources/texml/accounts/test_conferences.py @@ -23,7 +23,6 @@ class TestConferences: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: conference = client.texml.accounts.conferences.retrieve( @@ -32,7 +31,6 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(ConferenceRetrieveResponse, conference, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.texml.accounts.conferences.with_raw_response.retrieve( @@ -45,7 +43,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: conference = response.parse() assert_matches_type(ConferenceRetrieveResponse, conference, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.texml.accounts.conferences.with_streaming_response.retrieve( @@ -60,7 +57,6 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_sid` but received ''"): @@ -75,7 +71,6 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: account_sid="account_sid", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update(self, client: Telnyx) -> None: conference = client.texml.accounts.conferences.update( @@ -84,7 +79,6 @@ def test_method_update(self, client: Telnyx) -> None: ) assert_matches_type(ConferenceUpdateResponse, conference, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_with_all_params(self, client: Telnyx) -> None: conference = client.texml.accounts.conferences.update( @@ -96,7 +90,6 @@ def test_method_update_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ConferenceUpdateResponse, conference, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update(self, client: Telnyx) -> None: response = client.texml.accounts.conferences.with_raw_response.update( @@ -109,7 +102,6 @@ def test_raw_response_update(self, client: Telnyx) -> None: conference = response.parse() assert_matches_type(ConferenceUpdateResponse, conference, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update(self, client: Telnyx) -> None: with client.texml.accounts.conferences.with_streaming_response.update( @@ -124,7 +116,6 @@ def test_streaming_response_update(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_sid` but received ''"): @@ -139,7 +130,6 @@ def test_path_params_update(self, client: Telnyx) -> None: account_sid="account_sid", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve_conferences(self, client: Telnyx) -> None: conference = client.texml.accounts.conferences.retrieve_conferences( @@ -147,7 +137,6 @@ def test_method_retrieve_conferences(self, client: Telnyx) -> None: ) assert_matches_type(ConferenceRetrieveConferencesResponse, conference, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve_conferences_with_all_params(self, client: Telnyx) -> None: conference = client.texml.accounts.conferences.retrieve_conferences( @@ -162,7 +151,6 @@ def test_method_retrieve_conferences_with_all_params(self, client: Telnyx) -> No ) assert_matches_type(ConferenceRetrieveConferencesResponse, conference, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve_conferences(self, client: Telnyx) -> None: response = client.texml.accounts.conferences.with_raw_response.retrieve_conferences( @@ -174,7 +162,6 @@ def test_raw_response_retrieve_conferences(self, client: Telnyx) -> None: conference = response.parse() assert_matches_type(ConferenceRetrieveConferencesResponse, conference, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve_conferences(self, client: Telnyx) -> None: with client.texml.accounts.conferences.with_streaming_response.retrieve_conferences( @@ -188,7 +175,6 @@ def test_streaming_response_retrieve_conferences(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve_conferences(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_sid` but received ''"): @@ -196,7 +182,6 @@ def test_path_params_retrieve_conferences(self, client: Telnyx) -> None: account_sid="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve_recordings(self, client: Telnyx) -> None: conference = client.texml.accounts.conferences.retrieve_recordings( @@ -205,7 +190,6 @@ def test_method_retrieve_recordings(self, client: Telnyx) -> None: ) assert_matches_type(ConferenceRetrieveRecordingsResponse, conference, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve_recordings(self, client: Telnyx) -> None: response = client.texml.accounts.conferences.with_raw_response.retrieve_recordings( @@ -218,7 +202,6 @@ def test_raw_response_retrieve_recordings(self, client: Telnyx) -> None: conference = response.parse() assert_matches_type(ConferenceRetrieveRecordingsResponse, conference, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve_recordings(self, client: Telnyx) -> None: with client.texml.accounts.conferences.with_streaming_response.retrieve_recordings( @@ -233,7 +216,6 @@ def test_streaming_response_retrieve_recordings(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve_recordings(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_sid` but received ''"): @@ -248,7 +230,6 @@ def test_path_params_retrieve_recordings(self, client: Telnyx) -> None: account_sid="account_sid", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve_recordings_json(self, client: Telnyx) -> None: conference = client.texml.accounts.conferences.retrieve_recordings_json( @@ -257,7 +238,6 @@ def test_method_retrieve_recordings_json(self, client: Telnyx) -> None: ) assert_matches_type(ConferenceRetrieveRecordingsJsonResponse, conference, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve_recordings_json(self, client: Telnyx) -> None: response = client.texml.accounts.conferences.with_raw_response.retrieve_recordings_json( @@ -270,7 +250,6 @@ def test_raw_response_retrieve_recordings_json(self, client: Telnyx) -> None: conference = response.parse() assert_matches_type(ConferenceRetrieveRecordingsJsonResponse, conference, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve_recordings_json(self, client: Telnyx) -> None: with client.texml.accounts.conferences.with_streaming_response.retrieve_recordings_json( @@ -285,7 +264,6 @@ def test_streaming_response_retrieve_recordings_json(self, client: Telnyx) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve_recordings_json(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_sid` but received ''"): @@ -306,7 +284,6 @@ class TestAsyncConferences: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: conference = await async_client.texml.accounts.conferences.retrieve( @@ -315,7 +292,6 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ConferenceRetrieveResponse, conference, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.texml.accounts.conferences.with_raw_response.retrieve( @@ -328,7 +304,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: conference = await response.parse() assert_matches_type(ConferenceRetrieveResponse, conference, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.texml.accounts.conferences.with_streaming_response.retrieve( @@ -343,7 +318,6 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_sid` but received ''"): @@ -358,7 +332,6 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: account_sid="account_sid", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update(self, async_client: AsyncTelnyx) -> None: conference = await async_client.texml.accounts.conferences.update( @@ -367,7 +340,6 @@ async def test_method_update(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ConferenceUpdateResponse, conference, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> None: conference = await async_client.texml.accounts.conferences.update( @@ -379,7 +351,6 @@ async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(ConferenceUpdateResponse, conference, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: response = await async_client.texml.accounts.conferences.with_raw_response.update( @@ -392,7 +363,6 @@ async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: conference = await response.parse() assert_matches_type(ConferenceUpdateResponse, conference, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> None: async with async_client.texml.accounts.conferences.with_streaming_response.update( @@ -407,7 +377,6 @@ async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_sid` but received ''"): @@ -422,7 +391,6 @@ async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: account_sid="account_sid", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve_conferences(self, async_client: AsyncTelnyx) -> None: conference = await async_client.texml.accounts.conferences.retrieve_conferences( @@ -430,7 +398,6 @@ async def test_method_retrieve_conferences(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(ConferenceRetrieveConferencesResponse, conference, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve_conferences_with_all_params(self, async_client: AsyncTelnyx) -> None: conference = await async_client.texml.accounts.conferences.retrieve_conferences( @@ -445,7 +412,6 @@ async def test_method_retrieve_conferences_with_all_params(self, async_client: A ) assert_matches_type(ConferenceRetrieveConferencesResponse, conference, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve_conferences(self, async_client: AsyncTelnyx) -> None: response = await async_client.texml.accounts.conferences.with_raw_response.retrieve_conferences( @@ -457,7 +423,6 @@ async def test_raw_response_retrieve_conferences(self, async_client: AsyncTelnyx conference = await response.parse() assert_matches_type(ConferenceRetrieveConferencesResponse, conference, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve_conferences(self, async_client: AsyncTelnyx) -> None: async with async_client.texml.accounts.conferences.with_streaming_response.retrieve_conferences( @@ -471,7 +436,6 @@ async def test_streaming_response_retrieve_conferences(self, async_client: Async assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve_conferences(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_sid` but received ''"): @@ -479,7 +443,6 @@ async def test_path_params_retrieve_conferences(self, async_client: AsyncTelnyx) account_sid="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve_recordings(self, async_client: AsyncTelnyx) -> None: conference = await async_client.texml.accounts.conferences.retrieve_recordings( @@ -488,7 +451,6 @@ async def test_method_retrieve_recordings(self, async_client: AsyncTelnyx) -> No ) assert_matches_type(ConferenceRetrieveRecordingsResponse, conference, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve_recordings(self, async_client: AsyncTelnyx) -> None: response = await async_client.texml.accounts.conferences.with_raw_response.retrieve_recordings( @@ -501,7 +463,6 @@ async def test_raw_response_retrieve_recordings(self, async_client: AsyncTelnyx) conference = await response.parse() assert_matches_type(ConferenceRetrieveRecordingsResponse, conference, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve_recordings(self, async_client: AsyncTelnyx) -> None: async with async_client.texml.accounts.conferences.with_streaming_response.retrieve_recordings( @@ -516,7 +477,6 @@ async def test_streaming_response_retrieve_recordings(self, async_client: AsyncT assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve_recordings(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_sid` but received ''"): @@ -531,7 +491,6 @@ async def test_path_params_retrieve_recordings(self, async_client: AsyncTelnyx) account_sid="account_sid", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve_recordings_json(self, async_client: AsyncTelnyx) -> None: conference = await async_client.texml.accounts.conferences.retrieve_recordings_json( @@ -540,7 +499,6 @@ async def test_method_retrieve_recordings_json(self, async_client: AsyncTelnyx) ) assert_matches_type(ConferenceRetrieveRecordingsJsonResponse, conference, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve_recordings_json(self, async_client: AsyncTelnyx) -> None: response = await async_client.texml.accounts.conferences.with_raw_response.retrieve_recordings_json( @@ -553,7 +511,6 @@ async def test_raw_response_retrieve_recordings_json(self, async_client: AsyncTe conference = await response.parse() assert_matches_type(ConferenceRetrieveRecordingsJsonResponse, conference, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve_recordings_json(self, async_client: AsyncTelnyx) -> None: async with async_client.texml.accounts.conferences.with_streaming_response.retrieve_recordings_json( @@ -568,7 +525,6 @@ async def test_streaming_response_retrieve_recordings_json(self, async_client: A assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve_recordings_json(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_sid` but received ''"): diff --git a/tests/api_resources/texml/accounts/transcriptions/test_json.py b/tests/api_resources/texml/accounts/transcriptions/test_json.py index 6638e958..8324bdad 100644 --- a/tests/api_resources/texml/accounts/transcriptions/test_json.py +++ b/tests/api_resources/texml/accounts/transcriptions/test_json.py @@ -17,7 +17,6 @@ class TestJson: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete_recording_transcription_sid_json(self, client: Telnyx) -> None: json = client.texml.accounts.transcriptions.json.delete_recording_transcription_sid_json( @@ -26,7 +25,6 @@ def test_method_delete_recording_transcription_sid_json(self, client: Telnyx) -> ) assert json is None - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete_recording_transcription_sid_json(self, client: Telnyx) -> None: response = client.texml.accounts.transcriptions.json.with_raw_response.delete_recording_transcription_sid_json( @@ -39,7 +37,6 @@ def test_raw_response_delete_recording_transcription_sid_json(self, client: Teln json = response.parse() assert json is None - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete_recording_transcription_sid_json(self, client: Telnyx) -> None: with client.texml.accounts.transcriptions.json.with_streaming_response.delete_recording_transcription_sid_json( @@ -54,7 +51,6 @@ def test_streaming_response_delete_recording_transcription_sid_json(self, client assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete_recording_transcription_sid_json(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_sid` but received ''"): @@ -71,7 +67,6 @@ def test_path_params_delete_recording_transcription_sid_json(self, client: Telny account_sid="account_sid", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve_recording_transcription_sid_json(self, client: Telnyx) -> None: json = client.texml.accounts.transcriptions.json.retrieve_recording_transcription_sid_json( @@ -80,7 +75,6 @@ def test_method_retrieve_recording_transcription_sid_json(self, client: Telnyx) ) assert_matches_type(JsonRetrieveRecordingTranscriptionSidJsonResponse, json, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve_recording_transcription_sid_json(self, client: Telnyx) -> None: response = ( @@ -95,7 +89,6 @@ def test_raw_response_retrieve_recording_transcription_sid_json(self, client: Te json = response.parse() assert_matches_type(JsonRetrieveRecordingTranscriptionSidJsonResponse, json, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve_recording_transcription_sid_json(self, client: Telnyx) -> None: with ( @@ -112,7 +105,6 @@ def test_streaming_response_retrieve_recording_transcription_sid_json(self, clie assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve_recording_transcription_sid_json(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_sid` but received ''"): @@ -135,7 +127,6 @@ class TestAsyncJson: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete_recording_transcription_sid_json(self, async_client: AsyncTelnyx) -> None: json = await async_client.texml.accounts.transcriptions.json.delete_recording_transcription_sid_json( @@ -144,7 +135,6 @@ async def test_method_delete_recording_transcription_sid_json(self, async_client ) assert json is None - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete_recording_transcription_sid_json(self, async_client: AsyncTelnyx) -> None: response = await async_client.texml.accounts.transcriptions.json.with_raw_response.delete_recording_transcription_sid_json( @@ -157,7 +147,6 @@ async def test_raw_response_delete_recording_transcription_sid_json(self, async_ json = await response.parse() assert json is None - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete_recording_transcription_sid_json(self, async_client: AsyncTelnyx) -> None: async with async_client.texml.accounts.transcriptions.json.with_streaming_response.delete_recording_transcription_sid_json( @@ -172,7 +161,6 @@ async def test_streaming_response_delete_recording_transcription_sid_json(self, assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete_recording_transcription_sid_json(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_sid` but received ''"): @@ -189,7 +177,6 @@ async def test_path_params_delete_recording_transcription_sid_json(self, async_c account_sid="account_sid", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve_recording_transcription_sid_json(self, async_client: AsyncTelnyx) -> None: json = await async_client.texml.accounts.transcriptions.json.retrieve_recording_transcription_sid_json( @@ -198,7 +185,6 @@ async def test_method_retrieve_recording_transcription_sid_json(self, async_clie ) assert_matches_type(JsonRetrieveRecordingTranscriptionSidJsonResponse, json, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve_recording_transcription_sid_json(self, async_client: AsyncTelnyx) -> None: response = await async_client.texml.accounts.transcriptions.json.with_raw_response.retrieve_recording_transcription_sid_json( @@ -211,7 +197,6 @@ async def test_raw_response_retrieve_recording_transcription_sid_json(self, asyn json = await response.parse() assert_matches_type(JsonRetrieveRecordingTranscriptionSidJsonResponse, json, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve_recording_transcription_sid_json( self, async_client: AsyncTelnyx @@ -228,7 +213,6 @@ async def test_streaming_response_retrieve_recording_transcription_sid_json( assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve_recording_transcription_sid_json(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_sid` but received ''"): diff --git a/tests/api_resources/texml/test_accounts.py b/tests/api_resources/texml/test_accounts.py index e7b73125..17630103 100644 --- a/tests/api_resources/texml/test_accounts.py +++ b/tests/api_resources/texml/test_accounts.py @@ -21,7 +21,6 @@ class TestAccounts: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve_recordings_json(self, client: Telnyx) -> None: account = client.texml.accounts.retrieve_recordings_json( @@ -29,7 +28,6 @@ def test_method_retrieve_recordings_json(self, client: Telnyx) -> None: ) assert_matches_type(AccountRetrieveRecordingsJsonResponse, account, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve_recordings_json_with_all_params(self, client: Telnyx) -> None: account = client.texml.accounts.retrieve_recordings_json( @@ -40,7 +38,6 @@ def test_method_retrieve_recordings_json_with_all_params(self, client: Telnyx) - ) assert_matches_type(AccountRetrieveRecordingsJsonResponse, account, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve_recordings_json(self, client: Telnyx) -> None: response = client.texml.accounts.with_raw_response.retrieve_recordings_json( @@ -52,7 +49,6 @@ def test_raw_response_retrieve_recordings_json(self, client: Telnyx) -> None: account = response.parse() assert_matches_type(AccountRetrieveRecordingsJsonResponse, account, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve_recordings_json(self, client: Telnyx) -> None: with client.texml.accounts.with_streaming_response.retrieve_recordings_json( @@ -66,7 +62,6 @@ def test_streaming_response_retrieve_recordings_json(self, client: Telnyx) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve_recordings_json(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_sid` but received ''"): @@ -74,7 +69,6 @@ def test_path_params_retrieve_recordings_json(self, client: Telnyx) -> None: account_sid="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve_transcriptions_json(self, client: Telnyx) -> None: account = client.texml.accounts.retrieve_transcriptions_json( @@ -82,7 +76,6 @@ def test_method_retrieve_transcriptions_json(self, client: Telnyx) -> None: ) assert_matches_type(AccountRetrieveTranscriptionsJsonResponse, account, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve_transcriptions_json_with_all_params(self, client: Telnyx) -> None: account = client.texml.accounts.retrieve_transcriptions_json( @@ -92,7 +85,6 @@ def test_method_retrieve_transcriptions_json_with_all_params(self, client: Telny ) assert_matches_type(AccountRetrieveTranscriptionsJsonResponse, account, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve_transcriptions_json(self, client: Telnyx) -> None: response = client.texml.accounts.with_raw_response.retrieve_transcriptions_json( @@ -104,7 +96,6 @@ def test_raw_response_retrieve_transcriptions_json(self, client: Telnyx) -> None account = response.parse() assert_matches_type(AccountRetrieveTranscriptionsJsonResponse, account, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve_transcriptions_json(self, client: Telnyx) -> None: with client.texml.accounts.with_streaming_response.retrieve_transcriptions_json( @@ -118,7 +109,6 @@ def test_streaming_response_retrieve_transcriptions_json(self, client: Telnyx) - assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve_transcriptions_json(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_sid` but received ''"): @@ -132,7 +122,6 @@ class TestAsyncAccounts: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve_recordings_json(self, async_client: AsyncTelnyx) -> None: account = await async_client.texml.accounts.retrieve_recordings_json( @@ -140,7 +129,6 @@ async def test_method_retrieve_recordings_json(self, async_client: AsyncTelnyx) ) assert_matches_type(AccountRetrieveRecordingsJsonResponse, account, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve_recordings_json_with_all_params(self, async_client: AsyncTelnyx) -> None: account = await async_client.texml.accounts.retrieve_recordings_json( @@ -151,7 +139,6 @@ async def test_method_retrieve_recordings_json_with_all_params(self, async_clien ) assert_matches_type(AccountRetrieveRecordingsJsonResponse, account, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve_recordings_json(self, async_client: AsyncTelnyx) -> None: response = await async_client.texml.accounts.with_raw_response.retrieve_recordings_json( @@ -163,7 +150,6 @@ async def test_raw_response_retrieve_recordings_json(self, async_client: AsyncTe account = await response.parse() assert_matches_type(AccountRetrieveRecordingsJsonResponse, account, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve_recordings_json(self, async_client: AsyncTelnyx) -> None: async with async_client.texml.accounts.with_streaming_response.retrieve_recordings_json( @@ -177,7 +163,6 @@ async def test_streaming_response_retrieve_recordings_json(self, async_client: A assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve_recordings_json(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_sid` but received ''"): @@ -185,7 +170,6 @@ async def test_path_params_retrieve_recordings_json(self, async_client: AsyncTel account_sid="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve_transcriptions_json(self, async_client: AsyncTelnyx) -> None: account = await async_client.texml.accounts.retrieve_transcriptions_json( @@ -193,7 +177,6 @@ async def test_method_retrieve_transcriptions_json(self, async_client: AsyncTeln ) assert_matches_type(AccountRetrieveTranscriptionsJsonResponse, account, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve_transcriptions_json_with_all_params(self, async_client: AsyncTelnyx) -> None: account = await async_client.texml.accounts.retrieve_transcriptions_json( @@ -203,7 +186,6 @@ async def test_method_retrieve_transcriptions_json_with_all_params(self, async_c ) assert_matches_type(AccountRetrieveTranscriptionsJsonResponse, account, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve_transcriptions_json(self, async_client: AsyncTelnyx) -> None: response = await async_client.texml.accounts.with_raw_response.retrieve_transcriptions_json( @@ -215,7 +197,6 @@ async def test_raw_response_retrieve_transcriptions_json(self, async_client: Asy account = await response.parse() assert_matches_type(AccountRetrieveTranscriptionsJsonResponse, account, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve_transcriptions_json(self, async_client: AsyncTelnyx) -> None: async with async_client.texml.accounts.with_streaming_response.retrieve_transcriptions_json( @@ -229,7 +210,6 @@ async def test_streaming_response_retrieve_transcriptions_json(self, async_clien assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve_transcriptions_json(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_sid` but received ''"): diff --git a/tests/api_resources/texml/test_calls.py b/tests/api_resources/texml/test_calls.py index 1b63f2f0..899c0f5d 100644 --- a/tests/api_resources/texml/test_calls.py +++ b/tests/api_resources/texml/test_calls.py @@ -17,7 +17,6 @@ class TestCalls: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update(self, client: Telnyx) -> None: call = client.texml.calls.update( @@ -25,7 +24,6 @@ def test_method_update(self, client: Telnyx) -> None: ) assert_matches_type(CallUpdateResponse, call, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_with_all_params(self, client: Telnyx) -> None: call = client.texml.calls.update( @@ -41,7 +39,6 @@ def test_method_update_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(CallUpdateResponse, call, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update(self, client: Telnyx) -> None: response = client.texml.calls.with_raw_response.update( @@ -53,7 +50,6 @@ def test_raw_response_update(self, client: Telnyx) -> None: call = response.parse() assert_matches_type(CallUpdateResponse, call, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update(self, client: Telnyx) -> None: with client.texml.calls.with_streaming_response.update( @@ -67,7 +63,6 @@ def test_streaming_response_update(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_sid` but received ''"): @@ -75,7 +70,6 @@ def test_path_params_update(self, client: Telnyx) -> None: call_sid="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_initiate(self, client: Telnyx) -> None: call = client.texml.calls.initiate( @@ -85,7 +79,6 @@ def test_method_initiate(self, client: Telnyx) -> None: ) assert_matches_type(CallInitiateResponse, call, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_initiate_with_all_params(self, client: Telnyx) -> None: call = client.texml.calls.initiate( @@ -124,7 +117,6 @@ def test_method_initiate_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(CallInitiateResponse, call, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_initiate(self, client: Telnyx) -> None: response = client.texml.calls.with_raw_response.initiate( @@ -138,7 +130,6 @@ def test_raw_response_initiate(self, client: Telnyx) -> None: call = response.parse() assert_matches_type(CallInitiateResponse, call, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_initiate(self, client: Telnyx) -> None: with client.texml.calls.with_streaming_response.initiate( @@ -154,7 +145,6 @@ def test_streaming_response_initiate(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_initiate(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `application_id` but received ''"): @@ -170,7 +160,6 @@ class TestAsyncCalls: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update(self, async_client: AsyncTelnyx) -> None: call = await async_client.texml.calls.update( @@ -178,7 +167,6 @@ async def test_method_update(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(CallUpdateResponse, call, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> None: call = await async_client.texml.calls.update( @@ -194,7 +182,6 @@ async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(CallUpdateResponse, call, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: response = await async_client.texml.calls.with_raw_response.update( @@ -206,7 +193,6 @@ async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: call = await response.parse() assert_matches_type(CallUpdateResponse, call, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> None: async with async_client.texml.calls.with_streaming_response.update( @@ -220,7 +206,6 @@ async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_sid` but received ''"): @@ -228,7 +213,6 @@ async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: call_sid="", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_initiate(self, async_client: AsyncTelnyx) -> None: call = await async_client.texml.calls.initiate( @@ -238,7 +222,6 @@ async def test_method_initiate(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(CallInitiateResponse, call, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_initiate_with_all_params(self, async_client: AsyncTelnyx) -> None: call = await async_client.texml.calls.initiate( @@ -277,7 +260,6 @@ async def test_method_initiate_with_all_params(self, async_client: AsyncTelnyx) ) assert_matches_type(CallInitiateResponse, call, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_initiate(self, async_client: AsyncTelnyx) -> None: response = await async_client.texml.calls.with_raw_response.initiate( @@ -291,7 +273,6 @@ async def test_raw_response_initiate(self, async_client: AsyncTelnyx) -> None: call = await response.parse() assert_matches_type(CallInitiateResponse, call, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_initiate(self, async_client: AsyncTelnyx) -> None: async with async_client.texml.calls.with_streaming_response.initiate( @@ -307,7 +288,6 @@ async def test_streaming_response_initiate(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_initiate(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `application_id` but received ''"): diff --git a/tests/api_resources/verifications/by_phone_number/test_actions.py b/tests/api_resources/verifications/by_phone_number/test_actions.py index 63bd309f..32c045d4 100644 --- a/tests/api_resources/verifications/by_phone_number/test_actions.py +++ b/tests/api_resources/verifications/by_phone_number/test_actions.py @@ -17,7 +17,6 @@ class TestActions: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_verify(self, client: Telnyx) -> None: action = client.verifications.by_phone_number.actions.verify( @@ -27,7 +26,6 @@ def test_method_verify(self, client: Telnyx) -> None: ) assert_matches_type(VerifyVerificationCodeResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_verify(self, client: Telnyx) -> None: response = client.verifications.by_phone_number.actions.with_raw_response.verify( @@ -41,7 +39,6 @@ def test_raw_response_verify(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(VerifyVerificationCodeResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_verify(self, client: Telnyx) -> None: with client.verifications.by_phone_number.actions.with_streaming_response.verify( @@ -57,7 +54,6 @@ def test_streaming_response_verify(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_verify(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `phone_number` but received ''"): @@ -73,7 +69,6 @@ class TestAsyncActions: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_verify(self, async_client: AsyncTelnyx) -> None: action = await async_client.verifications.by_phone_number.actions.verify( @@ -83,7 +78,6 @@ async def test_method_verify(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(VerifyVerificationCodeResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_verify(self, async_client: AsyncTelnyx) -> None: response = await async_client.verifications.by_phone_number.actions.with_raw_response.verify( @@ -97,7 +91,6 @@ async def test_raw_response_verify(self, async_client: AsyncTelnyx) -> None: action = await response.parse() assert_matches_type(VerifyVerificationCodeResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_verify(self, async_client: AsyncTelnyx) -> None: async with async_client.verifications.by_phone_number.actions.with_streaming_response.verify( @@ -113,7 +106,6 @@ async def test_streaming_response_verify(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_verify(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `phone_number` but received ''"): diff --git a/tests/api_resources/verifications/test_actions.py b/tests/api_resources/verifications/test_actions.py index 259c83c8..5f7bc917 100644 --- a/tests/api_resources/verifications/test_actions.py +++ b/tests/api_resources/verifications/test_actions.py @@ -17,7 +17,6 @@ class TestActions: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_verify(self, client: Telnyx) -> None: action = client.verifications.actions.verify( @@ -25,7 +24,6 @@ def test_method_verify(self, client: Telnyx) -> None: ) assert_matches_type(VerifyVerificationCodeResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_verify_with_all_params(self, client: Telnyx) -> None: action = client.verifications.actions.verify( @@ -35,7 +33,6 @@ def test_method_verify_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(VerifyVerificationCodeResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_verify(self, client: Telnyx) -> None: response = client.verifications.actions.with_raw_response.verify( @@ -47,7 +44,6 @@ def test_raw_response_verify(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(VerifyVerificationCodeResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_verify(self, client: Telnyx) -> None: with client.verifications.actions.with_streaming_response.verify( @@ -61,7 +57,6 @@ def test_streaming_response_verify(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_verify(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `verification_id` but received ''"): @@ -75,7 +70,6 @@ class TestAsyncActions: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_verify(self, async_client: AsyncTelnyx) -> None: action = await async_client.verifications.actions.verify( @@ -83,7 +77,6 @@ async def test_method_verify(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(VerifyVerificationCodeResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_verify_with_all_params(self, async_client: AsyncTelnyx) -> None: action = await async_client.verifications.actions.verify( @@ -93,7 +86,6 @@ async def test_method_verify_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(VerifyVerificationCodeResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_verify(self, async_client: AsyncTelnyx) -> None: response = await async_client.verifications.actions.with_raw_response.verify( @@ -105,7 +97,6 @@ async def test_raw_response_verify(self, async_client: AsyncTelnyx) -> None: action = await response.parse() assert_matches_type(VerifyVerificationCodeResponse, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_verify(self, async_client: AsyncTelnyx) -> None: async with async_client.verifications.actions.with_streaming_response.verify( @@ -119,7 +110,6 @@ async def test_streaming_response_verify(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_verify(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `verification_id` but received ''"): diff --git a/tests/api_resources/verifications/test_by_phone_number.py b/tests/api_resources/verifications/test_by_phone_number.py index 7796001a..f7ce763e 100644 --- a/tests/api_resources/verifications/test_by_phone_number.py +++ b/tests/api_resources/verifications/test_by_phone_number.py @@ -17,7 +17,6 @@ class TestByPhoneNumber: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: by_phone_number = client.verifications.by_phone_number.list( @@ -25,7 +24,6 @@ def test_method_list(self, client: Telnyx) -> None: ) assert_matches_type(ByPhoneNumberListResponse, by_phone_number, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.verifications.by_phone_number.with_raw_response.list( @@ -37,7 +35,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: by_phone_number = response.parse() assert_matches_type(ByPhoneNumberListResponse, by_phone_number, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.verifications.by_phone_number.with_streaming_response.list( @@ -51,7 +48,6 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_list(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `phone_number` but received ''"): @@ -65,7 +61,6 @@ class TestAsyncByPhoneNumber: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: by_phone_number = await async_client.verifications.by_phone_number.list( @@ -73,7 +68,6 @@ async def test_method_list(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ByPhoneNumberListResponse, by_phone_number, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.verifications.by_phone_number.with_raw_response.list( @@ -85,7 +79,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: by_phone_number = await response.parse() assert_matches_type(ByPhoneNumberListResponse, by_phone_number, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.verifications.by_phone_number.with_streaming_response.list( @@ -99,7 +92,6 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_list(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `phone_number` but received ''"): diff --git a/tests/api_resources/verified_numbers/test_actions.py b/tests/api_resources/verified_numbers/test_actions.py index be7871ef..c6499cc6 100644 --- a/tests/api_resources/verified_numbers/test_actions.py +++ b/tests/api_resources/verified_numbers/test_actions.py @@ -17,7 +17,6 @@ class TestActions: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_submit_verification_code(self, client: Telnyx) -> None: action = client.verified_numbers.actions.submit_verification_code( @@ -26,7 +25,6 @@ def test_method_submit_verification_code(self, client: Telnyx) -> None: ) assert_matches_type(VerifiedNumberDataWrapper, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_submit_verification_code(self, client: Telnyx) -> None: response = client.verified_numbers.actions.with_raw_response.submit_verification_code( @@ -39,7 +37,6 @@ def test_raw_response_submit_verification_code(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(VerifiedNumberDataWrapper, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_submit_verification_code(self, client: Telnyx) -> None: with client.verified_numbers.actions.with_streaming_response.submit_verification_code( @@ -54,7 +51,6 @@ def test_streaming_response_submit_verification_code(self, client: Telnyx) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_submit_verification_code(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `phone_number` but received ''"): @@ -69,7 +65,6 @@ class TestAsyncActions: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_submit_verification_code(self, async_client: AsyncTelnyx) -> None: action = await async_client.verified_numbers.actions.submit_verification_code( @@ -78,7 +73,6 @@ async def test_method_submit_verification_code(self, async_client: AsyncTelnyx) ) assert_matches_type(VerifiedNumberDataWrapper, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_submit_verification_code(self, async_client: AsyncTelnyx) -> None: response = await async_client.verified_numbers.actions.with_raw_response.submit_verification_code( @@ -91,7 +85,6 @@ async def test_raw_response_submit_verification_code(self, async_client: AsyncTe action = await response.parse() assert_matches_type(VerifiedNumberDataWrapper, action, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_submit_verification_code(self, async_client: AsyncTelnyx) -> None: async with async_client.verified_numbers.actions.with_streaming_response.submit_verification_code( @@ -106,7 +99,6 @@ async def test_streaming_response_submit_verification_code(self, async_client: A assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_submit_verification_code(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `phone_number` but received ''"): diff --git a/tests/api_resources/wireless/test_detail_records_reports.py b/tests/api_resources/wireless/test_detail_records_reports.py index 62354dd3..61e1ba78 100644 --- a/tests/api_resources/wireless/test_detail_records_reports.py +++ b/tests/api_resources/wireless/test_detail_records_reports.py @@ -22,13 +22,11 @@ class TestDetailRecordsReports: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: detail_records_report = client.wireless.detail_records_reports.create() assert_matches_type(DetailRecordsReportCreateResponse, detail_records_report, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: detail_records_report = client.wireless.detail_records_reports.create( @@ -37,7 +35,6 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(DetailRecordsReportCreateResponse, detail_records_report, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.wireless.detail_records_reports.with_raw_response.create() @@ -47,7 +44,6 @@ def test_raw_response_create(self, client: Telnyx) -> None: detail_records_report = response.parse() assert_matches_type(DetailRecordsReportCreateResponse, detail_records_report, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.wireless.detail_records_reports.with_streaming_response.create() as response: @@ -59,7 +55,6 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: detail_records_report = client.wireless.detail_records_reports.retrieve( @@ -67,7 +62,6 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(DetailRecordsReportRetrieveResponse, detail_records_report, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.wireless.detail_records_reports.with_raw_response.retrieve( @@ -79,7 +73,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: detail_records_report = response.parse() assert_matches_type(DetailRecordsReportRetrieveResponse, detail_records_report, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.wireless.detail_records_reports.with_streaming_response.retrieve( @@ -93,7 +86,6 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -101,13 +93,11 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: detail_records_report = client.wireless.detail_records_reports.list() assert_matches_type(DetailRecordsReportListResponse, detail_records_report, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: detail_records_report = client.wireless.detail_records_reports.list( @@ -116,7 +106,6 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(DetailRecordsReportListResponse, detail_records_report, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.wireless.detail_records_reports.with_raw_response.list() @@ -126,7 +115,6 @@ def test_raw_response_list(self, client: Telnyx) -> None: detail_records_report = response.parse() assert_matches_type(DetailRecordsReportListResponse, detail_records_report, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.wireless.detail_records_reports.with_streaming_response.list() as response: @@ -138,7 +126,6 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: detail_records_report = client.wireless.detail_records_reports.delete( @@ -146,7 +133,6 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert_matches_type(DetailRecordsReportDeleteResponse, detail_records_report, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.wireless.detail_records_reports.with_raw_response.delete( @@ -158,7 +144,6 @@ def test_raw_response_delete(self, client: Telnyx) -> None: detail_records_report = response.parse() assert_matches_type(DetailRecordsReportDeleteResponse, detail_records_report, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.wireless.detail_records_reports.with_streaming_response.delete( @@ -172,7 +157,6 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -186,13 +170,11 @@ class TestAsyncDetailRecordsReports: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: detail_records_report = await async_client.wireless.detail_records_reports.create() assert_matches_type(DetailRecordsReportCreateResponse, detail_records_report, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: detail_records_report = await async_client.wireless.detail_records_reports.create( @@ -201,7 +183,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(DetailRecordsReportCreateResponse, detail_records_report, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.wireless.detail_records_reports.with_raw_response.create() @@ -211,7 +192,6 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: detail_records_report = await response.parse() assert_matches_type(DetailRecordsReportCreateResponse, detail_records_report, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.wireless.detail_records_reports.with_streaming_response.create() as response: @@ -223,7 +203,6 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: detail_records_report = await async_client.wireless.detail_records_reports.retrieve( @@ -231,7 +210,6 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(DetailRecordsReportRetrieveResponse, detail_records_report, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.wireless.detail_records_reports.with_raw_response.retrieve( @@ -243,7 +221,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: detail_records_report = await response.parse() assert_matches_type(DetailRecordsReportRetrieveResponse, detail_records_report, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.wireless.detail_records_reports.with_streaming_response.retrieve( @@ -257,7 +234,6 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -265,13 +241,11 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: detail_records_report = await async_client.wireless.detail_records_reports.list() assert_matches_type(DetailRecordsReportListResponse, detail_records_report, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: detail_records_report = await async_client.wireless.detail_records_reports.list( @@ -280,7 +254,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(DetailRecordsReportListResponse, detail_records_report, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.wireless.detail_records_reports.with_raw_response.list() @@ -290,7 +263,6 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: detail_records_report = await response.parse() assert_matches_type(DetailRecordsReportListResponse, detail_records_report, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.wireless.detail_records_reports.with_streaming_response.list() as response: @@ -302,7 +274,6 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: detail_records_report = await async_client.wireless.detail_records_reports.delete( @@ -310,7 +281,6 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(DetailRecordsReportDeleteResponse, detail_records_report, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.wireless.detail_records_reports.with_raw_response.delete( @@ -322,7 +292,6 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: detail_records_report = await response.parse() assert_matches_type(DetailRecordsReportDeleteResponse, detail_records_report, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.wireless.detail_records_reports.with_streaming_response.delete( @@ -336,7 +305,6 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): From d4fd5118081b91c12d3bf2a77c0ba1f12a7a04cb Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 11 Sep 2025 12:52:48 +0000 Subject: [PATCH 4/8] feat(api): manual updates --- .stats.yml | 2 +- tests/api_resources/actions/test_purchase.py | 8 + tests/api_resources/actions/test_register.py | 8 + tests/api_resources/addresses/test_actions.py | 18 + .../ai/assistants/test_canary_deploys.py | 32 ++ .../ai/assistants/test_scheduled_events.py | 36 ++ .../api_resources/ai/assistants/test_tests.py | 42 +++ .../api_resources/ai/assistants/test_tools.py | 10 + .../ai/assistants/test_versions.py | 44 +++ .../ai/assistants/tests/test_runs.py | 28 ++ .../assistants/tests/test_suites/test_runs.py | 20 + .../ai/assistants/tests/test_test_suites.py | 6 + .../insight_groups/test_insights.py | 16 + .../ai/conversations/test_insight_groups.py | 42 +++ .../ai/conversations/test_insights.py | 42 +++ .../ai/conversations/test_messages.py | 18 + .../ai/embeddings/test_buckets.py | 22 ++ .../api_resources/ai/fine_tuning/test_jobs.py | 30 ++ tests/api_resources/ai/test_assistants.py | 74 ++++ tests/api_resources/ai/test_audio.py | 8 + tests/api_resources/ai/test_chat.py | 8 + tests/api_resources/ai/test_clusters.py | 44 +++ tests/api_resources/ai/test_conversations.py | 50 +++ tests/api_resources/ai/test_embeddings.py | 38 ++ .../brand/test_external_vetting.py | 26 ++ .../bundle_pricing/test_billing_bundles.py | 18 + .../bundle_pricing/test_user_bundles.py | 54 +++ tests/api_resources/calls/test_actions.py | 356 ++++++++++++++++++ tests/api_resources/campaign/test_osr.py | 8 + tests/api_resources/campaign/test_usecase.py | 6 + .../campaign_builder/test_brand.py | 8 + .../api_resources/conferences/test_actions.py | 138 +++++++ .../credential_connections/test_actions.py | 8 + .../test_civic_addresses.py | 18 + .../external_connections/test_log_messages.py | 24 ++ .../test_phone_numbers.py | 28 ++ .../external_connections/test_releases.py | 18 + .../external_connections/test_uploads.py | 52 +++ tests/api_resources/faxes/test_actions.py | 16 + .../managed_accounts/test_actions.py | 18 + tests/api_resources/messages/test_rcs.py | 10 + .../messaging/rcs/test_agents.py | 26 ++ tests/api_resources/messaging/test_rcs.py | 22 ++ .../test_actions.py | 10 + .../test_autoresp_configs.py | 46 +++ .../verification/test_requests.py | 42 +++ .../networks/test_default_gateway.py | 26 ++ .../number_reservations/test_actions.py | 8 + .../operator_connect/test_actions.py | 6 + .../payment/test_auto_recharge_prefs.py | 14 + .../phone_number_blocks/test_jobs.py | 22 ++ .../phone_numbers/test_actions.py | 22 ++ .../phone_numbers/test_csv_downloads.py | 24 ++ .../api_resources/phone_numbers/test_jobs.py | 38 ++ .../phone_numbers/test_messaging.py | 26 ++ .../api_resources/phone_numbers/test_voice.py | 26 ++ .../phone_numbers/test_voicemail.py | 28 ++ tests/api_resources/porting/test_events.py | 24 ++ .../porting/test_loa_configurations.py | 42 +++ tests/api_resources/porting/test_reports.py | 22 ++ .../test_action_requirements.py | 18 + .../porting_orders/test_actions.py | 34 ++ .../porting_orders/test_activation_jobs.py | 28 ++ .../test_additional_documents.py | 28 ++ .../test_associated_phone_numbers.py | 28 ++ .../porting_orders/test_comments.py | 20 + .../test_phone_number_blocks.py | 26 ++ .../test_phone_number_configurations.py | 16 + .../test_phone_number_extensions.py | 26 ++ .../porting_orders/test_verification_codes.py | 30 ++ tests/api_resources/portouts/test_comments.py | 18 + tests/api_resources/portouts/test_events.py | 24 ++ tests/api_resources/portouts/test_reports.py | 22 ++ .../portouts/test_supporting_documents.py | 18 + tests/api_resources/queues/test_calls.py | 18 + .../api_resources/recordings/test_actions.py | 6 + .../reports/test_cdr_usage_reports.py | 8 + .../reports/test_mdr_usage_reports.py | 40 ++ .../rooms/sessions/test_actions.py | 38 ++ tests/api_resources/rooms/test_actions.py | 20 + tests/api_resources/rooms/test_sessions.py | 38 ++ .../sim_card_groups/test_actions.py | 48 +++ tests/api_resources/sim_cards/test_actions.py | 72 ++++ .../storage/buckets/test_ssl_certificate.py | 26 ++ .../storage/buckets/test_usage.py | 16 + .../storage/migrations/test_actions.py | 8 + tests/api_resources/storage/test_buckets.py | 10 + .../storage/test_migration_sources.py | 30 ++ .../api_resources/storage/test_migrations.py | 22 ++ tests/api_resources/test_access_ip_address.py | 32 ++ tests/api_resources/test_access_ip_ranges.py | 24 ++ tests/api_resources/test_addresses.py | 32 ++ tests/api_resources/test_advanced_orders.py | 32 ++ tests/api_resources/test_ai.py | 14 + tests/api_resources/test_audit_events.py | 8 + .../test_authentication_providers.py | 42 +++ .../test_available_phone_number_blocks.py | 8 + .../test_available_phone_numbers.py | 8 + tests/api_resources/test_balance.py | 6 + tests/api_resources/test_billing_groups.py | 42 +++ tests/api_resources/test_brand.py | 66 ++++ .../test_bulk_sim_card_actions.py | 16 + .../test_call_control_applications.py | 42 +++ tests/api_resources/test_call_events.py | 8 + tests/api_resources/test_calls.py | 16 + tests/api_resources/test_campaign.py | 74 ++++ tests/api_resources/test_campaign_builder.py | 8 + tests/api_resources/test_channel_zones.py | 16 + tests/api_resources/test_charges_breakdown.py | 8 + tests/api_resources/test_charges_summary.py | 6 + tests/api_resources/test_client.py | 60 +++ tests/api_resources/test_comments.py | 32 ++ tests/api_resources/test_conferences.py | 34 ++ tests/api_resources/test_connections.py | 26 ++ tests/api_resources/test_country_coverage.py | 14 + .../test_credential_connections.py | 42 +++ .../test_custom_storage_credentials.py | 36 ++ .../test_customer_service_records.py | 30 ++ tests/api_resources/test_detail_records.py | 8 + .../test_dialogflow_connections.py | 36 ++ tests/api_resources/test_document_links.py | 8 + tests/api_resources/test_documents.py | 58 +++ .../test_dynamic_emergency_addresses.py | 32 ++ .../test_dynamic_emergency_endpoints.py | 30 ++ tests/api_resources/test_enum.py | 6 + .../test_external_connections.py | 50 +++ tests/api_resources/test_fax_applications.py | 42 +++ tests/api_resources/test_faxes.py | 32 ++ tests/api_resources/test_fqdn_connections.py | 42 +++ tests/api_resources/test_fqdns.py | 42 +++ .../test_global_ip_allowed_ports.py | 6 + .../test_global_ip_assignment_health.py | 8 + .../test_global_ip_assignments.py | 42 +++ .../test_global_ip_assignments_usage.py | 8 + .../test_global_ip_health_check_types.py | 6 + .../test_global_ip_health_checks.py | 32 ++ tests/api_resources/test_global_ip_latency.py | 8 + .../api_resources/test_global_ip_protocols.py | 6 + tests/api_resources/test_global_ip_usage.py | 8 + tests/api_resources/test_global_ips.py | 32 ++ tests/api_resources/test_inbound_channels.py | 12 + .../api_resources/test_integration_secrets.py | 24 ++ .../api_resources/test_inventory_coverage.py | 8 + tests/api_resources/test_invoices.py | 18 + tests/api_resources/test_ip_connections.py | 42 +++ tests/api_resources/test_ips.py | 42 +++ .../test_ledger_billing_group_reports.py | 16 + tests/api_resources/test_list.py | 14 + tests/api_resources/test_managed_accounts.py | 50 +++ tests/api_resources/test_media.py | 42 +++ tests/api_resources/test_messages.py | 64 ++++ .../test_messaging_hosted_number_orders.py | 54 +++ .../test_messaging_hosted_numbers.py | 8 + .../test_messaging_numbers_bulk_updates.py | 14 + tests/api_resources/test_messaging_optouts.py | 8 + .../api_resources/test_messaging_profiles.py | 62 +++ .../test_messaging_url_domains.py | 8 + tests/api_resources/test_messsages.py | 8 + .../test_mobile_network_operators.py | 8 + .../test_mobile_push_credentials.py | 36 ++ tests/api_resources/test_network_coverage.py | 8 + tests/api_resources/test_networks.py | 48 +++ .../test_notification_channels.py | 42 +++ .../test_notification_event_conditions.py | 8 + .../api_resources/test_notification_events.py | 8 + .../test_notification_profiles.py | 42 +++ .../test_notification_settings.py | 32 ++ .../api_resources/test_number_block_orders.py | 24 ++ tests/api_resources/test_number_lookup.py | 10 + .../test_number_order_phone_numbers.py | 34 ++ tests/api_resources/test_number_orders.py | 34 ++ .../api_resources/test_number_reservations.py | 24 ++ tests/api_resources/test_numbers_features.py | 6 + tests/api_resources/test_ota_updates.py | 16 + .../test_outbound_voice_profiles.py | 42 +++ tests/api_resources/test_partner_campaigns.py | 42 +++ ...test_phone_number_assignment_by_profile.py | 26 ++ .../test_phone_number_campaigns.py | 38 ++ tests/api_resources/test_phone_numbers.py | 42 +++ ...t_phone_numbers_regulatory_requirements.py | 8 + .../api_resources/test_portability_checks.py | 8 + tests/api_resources/test_porting.py | 6 + tests/api_resources/test_porting_orders.py | 76 ++++ .../test_porting_phone_numbers.py | 8 + tests/api_resources/test_portouts.py | 36 ++ .../test_private_wireless_gateways.py | 32 ++ .../test_public_internet_gateways.py | 32 ++ tests/api_resources/test_queues.py | 8 + .../test_recording_transcriptions.py | 22 ++ tests/api_resources/test_recordings.py | 24 ++ tests/api_resources/test_regions.py | 6 + .../test_regulatory_requirements.py | 8 + tests/api_resources/test_reports.py | 16 + .../api_resources/test_requirement_groups.py | 50 +++ tests/api_resources/test_requirement_types.py | 16 + tests/api_resources/test_requirements.py | 16 + tests/api_resources/test_room_compositions.py | 32 ++ tests/api_resources/test_room_participants.py | 16 + tests/api_resources/test_room_recordings.py | 32 ++ tests/api_resources/test_rooms.py | 44 +++ tests/api_resources/test_seti.py | 8 + tests/api_resources/test_short_codes.py | 24 ++ .../test_sim_card_data_usage_notifications.py | 42 +++ tests/api_resources/test_sim_card_groups.py | 44 +++ .../test_sim_card_order_preview.py | 6 + tests/api_resources/test_sim_card_orders.py | 22 ++ tests/api_resources/test_sim_cards.py | 72 ++++ tests/api_resources/test_siprec_connectors.py | 34 ++ tests/api_resources/test_storage.py | 6 + tests/api_resources/test_sub_number_orders.py | 44 +++ .../test_sub_number_orders_report.py | 24 ++ .../test_telephony_credentials.py | 50 +++ tests/api_resources/test_texml.py | 6 + .../api_resources/test_texml_applications.py | 42 +++ tests/api_resources/test_text_to_speech.py | 8 + tests/api_resources/test_usage_reports.py | 16 + tests/api_resources/test_user_addresses.py | 24 ++ tests/api_resources/test_user_tags.py | 8 + tests/api_resources/test_verifications.py | 32 ++ tests/api_resources/test_verified_numbers.py | 30 ++ tests/api_resources/test_verify_profiles.py | 48 +++ .../test_virtual_cross_connects.py | 42 +++ .../test_virtual_cross_connects_coverage.py | 8 + .../api_resources/test_webhook_deliveries.py | 16 + .../test_wireguard_interfaces.py | 32 ++ tests/api_resources/test_wireguard_peers.py | 50 +++ tests/api_resources/test_wireless.py | 6 + .../test_wireless_blocklist_values.py | 6 + .../api_resources/test_wireless_blocklists.py | 38 ++ .../texml/accounts/calls/test_recordings.py | 10 + .../accounts/calls/test_recordings_json.py | 18 + .../texml/accounts/calls/test_siprec.py | 10 + .../texml/accounts/calls/test_streams.py | 10 + .../accounts/conferences/test_participants.py | 44 +++ .../texml/accounts/recordings/test_json.py | 16 + .../texml/accounts/test_calls.py | 58 +++ .../texml/accounts/test_conferences.py | 44 +++ .../accounts/transcriptions/test_json.py | 16 + tests/api_resources/texml/test_accounts.py | 20 + tests/api_resources/texml/test_calls.py | 20 + .../by_phone_number/test_actions.py | 8 + .../verifications/test_actions.py | 10 + .../verifications/test_by_phone_number.py | 8 + .../verified_numbers/test_actions.py | 8 + .../wireless/test_detail_records_reports.py | 32 ++ 245 files changed, 6665 insertions(+), 1 deletion(-) diff --git a/.stats.yml b/.stats.yml index ed138819..33dfdf6b 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 801 openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/telnyx%2Ftelnyx-9b2e42d595d8704628cb792563adef970f306e60f81b682f41747f0e44321d2a.yml openapi_spec_hash: c78b6c372d7b9a5d8735956b67e724ce -config_hash: 1cde7894e4affe83d3c1c390633e42a8 +config_hash: b4ce13bcd06e13fa36dc20be41c0998d diff --git a/tests/api_resources/actions/test_purchase.py b/tests/api_resources/actions/test_purchase.py index dc80ce9e..61f30a0b 100644 --- a/tests/api_resources/actions/test_purchase.py +++ b/tests/api_resources/actions/test_purchase.py @@ -17,6 +17,7 @@ class TestPurchase: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: purchase = client.actions.purchase.create( @@ -24,6 +25,7 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(PurchaseCreateResponse, purchase, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: purchase = client.actions.purchase.create( @@ -36,6 +38,7 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(PurchaseCreateResponse, purchase, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.actions.purchase.with_raw_response.create( @@ -47,6 +50,7 @@ def test_raw_response_create(self, client: Telnyx) -> None: purchase = response.parse() assert_matches_type(PurchaseCreateResponse, purchase, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.actions.purchase.with_streaming_response.create( @@ -66,6 +70,7 @@ class TestAsyncPurchase: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: purchase = await async_client.actions.purchase.create( @@ -73,6 +78,7 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(PurchaseCreateResponse, purchase, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: purchase = await async_client.actions.purchase.create( @@ -85,6 +91,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(PurchaseCreateResponse, purchase, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.actions.purchase.with_raw_response.create( @@ -96,6 +103,7 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: purchase = await response.parse() assert_matches_type(PurchaseCreateResponse, purchase, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.actions.purchase.with_streaming_response.create( diff --git a/tests/api_resources/actions/test_register.py b/tests/api_resources/actions/test_register.py index eb3f1ab4..f6efcc5d 100644 --- a/tests/api_resources/actions/test_register.py +++ b/tests/api_resources/actions/test_register.py @@ -17,6 +17,7 @@ class TestRegister: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: register = client.actions.register.create( @@ -24,6 +25,7 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(RegisterCreateResponse, register, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: register = client.actions.register.create( @@ -34,6 +36,7 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(RegisterCreateResponse, register, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.actions.register.with_raw_response.create( @@ -45,6 +48,7 @@ def test_raw_response_create(self, client: Telnyx) -> None: register = response.parse() assert_matches_type(RegisterCreateResponse, register, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.actions.register.with_streaming_response.create( @@ -64,6 +68,7 @@ class TestAsyncRegister: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: register = await async_client.actions.register.create( @@ -71,6 +76,7 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(RegisterCreateResponse, register, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: register = await async_client.actions.register.create( @@ -81,6 +87,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(RegisterCreateResponse, register, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.actions.register.with_raw_response.create( @@ -92,6 +99,7 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: register = await response.parse() assert_matches_type(RegisterCreateResponse, register, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.actions.register.with_streaming_response.create( diff --git a/tests/api_resources/addresses/test_actions.py b/tests/api_resources/addresses/test_actions.py index 3794f690..aae15f8d 100644 --- a/tests/api_resources/addresses/test_actions.py +++ b/tests/api_resources/addresses/test_actions.py @@ -20,6 +20,7 @@ class TestActions: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_accept_suggestions(self, client: Telnyx) -> None: action = client.addresses.actions.accept_suggestions( @@ -27,6 +28,7 @@ def test_method_accept_suggestions(self, client: Telnyx) -> None: ) assert_matches_type(ActionAcceptSuggestionsResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_accept_suggestions_with_all_params(self, client: Telnyx) -> None: action = client.addresses.actions.accept_suggestions( @@ -35,6 +37,7 @@ def test_method_accept_suggestions_with_all_params(self, client: Telnyx) -> None ) assert_matches_type(ActionAcceptSuggestionsResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_accept_suggestions(self, client: Telnyx) -> None: response = client.addresses.actions.with_raw_response.accept_suggestions( @@ -46,6 +49,7 @@ def test_raw_response_accept_suggestions(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionAcceptSuggestionsResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_accept_suggestions(self, client: Telnyx) -> None: with client.addresses.actions.with_streaming_response.accept_suggestions( @@ -59,6 +63,7 @@ def test_streaming_response_accept_suggestions(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_accept_suggestions(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `path_id` but received ''"): @@ -66,6 +71,7 @@ def test_path_params_accept_suggestions(self, client: Telnyx) -> None: path_id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_validate(self, client: Telnyx) -> None: action = client.addresses.actions.validate( @@ -75,6 +81,7 @@ def test_method_validate(self, client: Telnyx) -> None: ) assert_matches_type(ActionValidateResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_validate_with_all_params(self, client: Telnyx) -> None: action = client.addresses.actions.validate( @@ -87,6 +94,7 @@ def test_method_validate_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ActionValidateResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_validate(self, client: Telnyx) -> None: response = client.addresses.actions.with_raw_response.validate( @@ -100,6 +108,7 @@ def test_raw_response_validate(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionValidateResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_validate(self, client: Telnyx) -> None: with client.addresses.actions.with_streaming_response.validate( @@ -121,6 +130,7 @@ class TestAsyncActions: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_accept_suggestions(self, async_client: AsyncTelnyx) -> None: action = await async_client.addresses.actions.accept_suggestions( @@ -128,6 +138,7 @@ async def test_method_accept_suggestions(self, async_client: AsyncTelnyx) -> Non ) assert_matches_type(ActionAcceptSuggestionsResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_accept_suggestions_with_all_params(self, async_client: AsyncTelnyx) -> None: action = await async_client.addresses.actions.accept_suggestions( @@ -136,6 +147,7 @@ async def test_method_accept_suggestions_with_all_params(self, async_client: Asy ) assert_matches_type(ActionAcceptSuggestionsResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_accept_suggestions(self, async_client: AsyncTelnyx) -> None: response = await async_client.addresses.actions.with_raw_response.accept_suggestions( @@ -147,6 +159,7 @@ async def test_raw_response_accept_suggestions(self, async_client: AsyncTelnyx) action = await response.parse() assert_matches_type(ActionAcceptSuggestionsResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_accept_suggestions(self, async_client: AsyncTelnyx) -> None: async with async_client.addresses.actions.with_streaming_response.accept_suggestions( @@ -160,6 +173,7 @@ async def test_streaming_response_accept_suggestions(self, async_client: AsyncTe assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_accept_suggestions(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `path_id` but received ''"): @@ -167,6 +181,7 @@ async def test_path_params_accept_suggestions(self, async_client: AsyncTelnyx) - path_id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_validate(self, async_client: AsyncTelnyx) -> None: action = await async_client.addresses.actions.validate( @@ -176,6 +191,7 @@ async def test_method_validate(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ActionValidateResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_validate_with_all_params(self, async_client: AsyncTelnyx) -> None: action = await async_client.addresses.actions.validate( @@ -188,6 +204,7 @@ async def test_method_validate_with_all_params(self, async_client: AsyncTelnyx) ) assert_matches_type(ActionValidateResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_validate(self, async_client: AsyncTelnyx) -> None: response = await async_client.addresses.actions.with_raw_response.validate( @@ -201,6 +218,7 @@ async def test_raw_response_validate(self, async_client: AsyncTelnyx) -> None: action = await response.parse() assert_matches_type(ActionValidateResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_validate(self, async_client: AsyncTelnyx) -> None: async with async_client.addresses.actions.with_streaming_response.validate( diff --git a/tests/api_resources/ai/assistants/test_canary_deploys.py b/tests/api_resources/ai/assistants/test_canary_deploys.py index 4aa77611..58b8bb56 100644 --- a/tests/api_resources/ai/assistants/test_canary_deploys.py +++ b/tests/api_resources/ai/assistants/test_canary_deploys.py @@ -17,6 +17,7 @@ class TestCanaryDeploys: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: canary_deploy = client.ai.assistants.canary_deploys.create( @@ -30,6 +31,7 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(CanaryDeployResponse, canary_deploy, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.ai.assistants.canary_deploys.with_raw_response.create( @@ -47,6 +49,7 @@ def test_raw_response_create(self, client: Telnyx) -> None: canary_deploy = response.parse() assert_matches_type(CanaryDeployResponse, canary_deploy, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.ai.assistants.canary_deploys.with_streaming_response.create( @@ -66,6 +69,7 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_create(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `assistant_id` but received ''"): @@ -79,6 +83,7 @@ def test_path_params_create(self, client: Telnyx) -> None: ], ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: canary_deploy = client.ai.assistants.canary_deploys.retrieve( @@ -86,6 +91,7 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(CanaryDeployResponse, canary_deploy, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.ai.assistants.canary_deploys.with_raw_response.retrieve( @@ -97,6 +103,7 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: canary_deploy = response.parse() assert_matches_type(CanaryDeployResponse, canary_deploy, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.ai.assistants.canary_deploys.with_streaming_response.retrieve( @@ -110,6 +117,7 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `assistant_id` but received ''"): @@ -117,6 +125,7 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update(self, client: Telnyx) -> None: canary_deploy = client.ai.assistants.canary_deploys.update( @@ -130,6 +139,7 @@ def test_method_update(self, client: Telnyx) -> None: ) assert_matches_type(CanaryDeployResponse, canary_deploy, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update(self, client: Telnyx) -> None: response = client.ai.assistants.canary_deploys.with_raw_response.update( @@ -147,6 +157,7 @@ def test_raw_response_update(self, client: Telnyx) -> None: canary_deploy = response.parse() assert_matches_type(CanaryDeployResponse, canary_deploy, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update(self, client: Telnyx) -> None: with client.ai.assistants.canary_deploys.with_streaming_response.update( @@ -166,6 +177,7 @@ def test_streaming_response_update(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `assistant_id` but received ''"): @@ -179,6 +191,7 @@ def test_path_params_update(self, client: Telnyx) -> None: ], ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: canary_deploy = client.ai.assistants.canary_deploys.delete( @@ -186,6 +199,7 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert canary_deploy is None + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.ai.assistants.canary_deploys.with_raw_response.delete( @@ -197,6 +211,7 @@ def test_raw_response_delete(self, client: Telnyx) -> None: canary_deploy = response.parse() assert canary_deploy is None + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.ai.assistants.canary_deploys.with_streaming_response.delete( @@ -210,6 +225,7 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `assistant_id` but received ''"): @@ -223,6 +239,7 @@ class TestAsyncCanaryDeploys: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: canary_deploy = await async_client.ai.assistants.canary_deploys.create( @@ -236,6 +253,7 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(CanaryDeployResponse, canary_deploy, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.assistants.canary_deploys.with_raw_response.create( @@ -253,6 +271,7 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: canary_deploy = await response.parse() assert_matches_type(CanaryDeployResponse, canary_deploy, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.assistants.canary_deploys.with_streaming_response.create( @@ -272,6 +291,7 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_create(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `assistant_id` but received ''"): @@ -285,6 +305,7 @@ async def test_path_params_create(self, async_client: AsyncTelnyx) -> None: ], ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: canary_deploy = await async_client.ai.assistants.canary_deploys.retrieve( @@ -292,6 +313,7 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(CanaryDeployResponse, canary_deploy, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.assistants.canary_deploys.with_raw_response.retrieve( @@ -303,6 +325,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: canary_deploy = await response.parse() assert_matches_type(CanaryDeployResponse, canary_deploy, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.assistants.canary_deploys.with_streaming_response.retrieve( @@ -316,6 +339,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `assistant_id` but received ''"): @@ -323,6 +347,7 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update(self, async_client: AsyncTelnyx) -> None: canary_deploy = await async_client.ai.assistants.canary_deploys.update( @@ -336,6 +361,7 @@ async def test_method_update(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(CanaryDeployResponse, canary_deploy, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.assistants.canary_deploys.with_raw_response.update( @@ -353,6 +379,7 @@ async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: canary_deploy = await response.parse() assert_matches_type(CanaryDeployResponse, canary_deploy, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.assistants.canary_deploys.with_streaming_response.update( @@ -372,6 +399,7 @@ async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `assistant_id` but received ''"): @@ -385,6 +413,7 @@ async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: ], ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: canary_deploy = await async_client.ai.assistants.canary_deploys.delete( @@ -392,6 +421,7 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert canary_deploy is None + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.assistants.canary_deploys.with_raw_response.delete( @@ -403,6 +433,7 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: canary_deploy = await response.parse() assert canary_deploy is None + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.assistants.canary_deploys.with_streaming_response.delete( @@ -416,6 +447,7 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `assistant_id` but received ''"): diff --git a/tests/api_resources/ai/assistants/test_scheduled_events.py b/tests/api_resources/ai/assistants/test_scheduled_events.py index 61be9da0..3faefac4 100644 --- a/tests/api_resources/ai/assistants/test_scheduled_events.py +++ b/tests/api_resources/ai/assistants/test_scheduled_events.py @@ -21,6 +21,7 @@ class TestScheduledEvents: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: scheduled_event = client.ai.assistants.scheduled_events.create( @@ -32,6 +33,7 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(ScheduledEventResponse, scheduled_event, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: scheduled_event = client.ai.assistants.scheduled_events.create( @@ -45,6 +47,7 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ScheduledEventResponse, scheduled_event, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.ai.assistants.scheduled_events.with_raw_response.create( @@ -60,6 +63,7 @@ def test_raw_response_create(self, client: Telnyx) -> None: scheduled_event = response.parse() assert_matches_type(ScheduledEventResponse, scheduled_event, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.ai.assistants.scheduled_events.with_streaming_response.create( @@ -77,6 +81,7 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_create(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `assistant_id` but received ''"): @@ -88,6 +93,7 @@ def test_path_params_create(self, client: Telnyx) -> None: telnyx_end_user_target="telnyx_end_user_target", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: scheduled_event = client.ai.assistants.scheduled_events.retrieve( @@ -96,6 +102,7 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(ScheduledEventResponse, scheduled_event, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.ai.assistants.scheduled_events.with_raw_response.retrieve( @@ -108,6 +115,7 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: scheduled_event = response.parse() assert_matches_type(ScheduledEventResponse, scheduled_event, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.ai.assistants.scheduled_events.with_streaming_response.retrieve( @@ -122,6 +130,7 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `assistant_id` but received ''"): @@ -136,6 +145,7 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: assistant_id="assistant_id", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: scheduled_event = client.ai.assistants.scheduled_events.list( @@ -143,6 +153,7 @@ def test_method_list(self, client: Telnyx) -> None: ) assert_matches_type(ScheduledEventListResponse, scheduled_event, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: scheduled_event = client.ai.assistants.scheduled_events.list( @@ -157,6 +168,7 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ScheduledEventListResponse, scheduled_event, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.ai.assistants.scheduled_events.with_raw_response.list( @@ -168,6 +180,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: scheduled_event = response.parse() assert_matches_type(ScheduledEventListResponse, scheduled_event, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.ai.assistants.scheduled_events.with_streaming_response.list( @@ -181,6 +194,7 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_list(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `assistant_id` but received ''"): @@ -188,6 +202,7 @@ def test_path_params_list(self, client: Telnyx) -> None: assistant_id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: scheduled_event = client.ai.assistants.scheduled_events.delete( @@ -196,6 +211,7 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert_matches_type(object, scheduled_event, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.ai.assistants.scheduled_events.with_raw_response.delete( @@ -208,6 +224,7 @@ def test_raw_response_delete(self, client: Telnyx) -> None: scheduled_event = response.parse() assert_matches_type(object, scheduled_event, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.ai.assistants.scheduled_events.with_streaming_response.delete( @@ -222,6 +239,7 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `assistant_id` but received ''"): @@ -242,6 +260,7 @@ class TestAsyncScheduledEvents: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: scheduled_event = await async_client.ai.assistants.scheduled_events.create( @@ -253,6 +272,7 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ScheduledEventResponse, scheduled_event, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: scheduled_event = await async_client.ai.assistants.scheduled_events.create( @@ -266,6 +286,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(ScheduledEventResponse, scheduled_event, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.assistants.scheduled_events.with_raw_response.create( @@ -281,6 +302,7 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: scheduled_event = await response.parse() assert_matches_type(ScheduledEventResponse, scheduled_event, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.assistants.scheduled_events.with_streaming_response.create( @@ -298,6 +320,7 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_create(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `assistant_id` but received ''"): @@ -309,6 +332,7 @@ async def test_path_params_create(self, async_client: AsyncTelnyx) -> None: telnyx_end_user_target="telnyx_end_user_target", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: scheduled_event = await async_client.ai.assistants.scheduled_events.retrieve( @@ -317,6 +341,7 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ScheduledEventResponse, scheduled_event, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.assistants.scheduled_events.with_raw_response.retrieve( @@ -329,6 +354,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: scheduled_event = await response.parse() assert_matches_type(ScheduledEventResponse, scheduled_event, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.assistants.scheduled_events.with_streaming_response.retrieve( @@ -343,6 +369,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `assistant_id` but received ''"): @@ -357,6 +384,7 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: assistant_id="assistant_id", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: scheduled_event = await async_client.ai.assistants.scheduled_events.list( @@ -364,6 +392,7 @@ async def test_method_list(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ScheduledEventListResponse, scheduled_event, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: scheduled_event = await async_client.ai.assistants.scheduled_events.list( @@ -378,6 +407,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(ScheduledEventListResponse, scheduled_event, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.assistants.scheduled_events.with_raw_response.list( @@ -389,6 +419,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: scheduled_event = await response.parse() assert_matches_type(ScheduledEventListResponse, scheduled_event, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.assistants.scheduled_events.with_streaming_response.list( @@ -402,6 +433,7 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_list(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `assistant_id` but received ''"): @@ -409,6 +441,7 @@ async def test_path_params_list(self, async_client: AsyncTelnyx) -> None: assistant_id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: scheduled_event = await async_client.ai.assistants.scheduled_events.delete( @@ -417,6 +450,7 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(object, scheduled_event, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.assistants.scheduled_events.with_raw_response.delete( @@ -429,6 +463,7 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: scheduled_event = await response.parse() assert_matches_type(object, scheduled_event, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.assistants.scheduled_events.with_streaming_response.delete( @@ -443,6 +478,7 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `assistant_id` but received ''"): diff --git a/tests/api_resources/ai/assistants/test_tests.py b/tests/api_resources/ai/assistants/test_tests.py index adec68e3..efe820c7 100644 --- a/tests/api_resources/ai/assistants/test_tests.py +++ b/tests/api_resources/ai/assistants/test_tests.py @@ -20,6 +20,7 @@ class TestTests: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: test = client.ai.assistants.tests.create( @@ -35,6 +36,7 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(AssistantTest, test, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: test = client.ai.assistants.tests.create( @@ -54,6 +56,7 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(AssistantTest, test, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.ai.assistants.tests.with_raw_response.create( @@ -73,6 +76,7 @@ def test_raw_response_create(self, client: Telnyx) -> None: test = response.parse() assert_matches_type(AssistantTest, test, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.ai.assistants.tests.with_streaming_response.create( @@ -94,6 +98,7 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: test = client.ai.assistants.tests.retrieve( @@ -101,6 +106,7 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(AssistantTest, test, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.ai.assistants.tests.with_raw_response.retrieve( @@ -112,6 +118,7 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: test = response.parse() assert_matches_type(AssistantTest, test, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.ai.assistants.tests.with_streaming_response.retrieve( @@ -125,6 +132,7 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `test_id` but received ''"): @@ -132,6 +140,7 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update(self, client: Telnyx) -> None: test = client.ai.assistants.tests.update( @@ -139,6 +148,7 @@ def test_method_update(self, client: Telnyx) -> None: ) assert_matches_type(AssistantTest, test, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_with_all_params(self, client: Telnyx) -> None: test = client.ai.assistants.tests.update( @@ -159,6 +169,7 @@ def test_method_update_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(AssistantTest, test, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update(self, client: Telnyx) -> None: response = client.ai.assistants.tests.with_raw_response.update( @@ -170,6 +181,7 @@ def test_raw_response_update(self, client: Telnyx) -> None: test = response.parse() assert_matches_type(AssistantTest, test, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update(self, client: Telnyx) -> None: with client.ai.assistants.tests.with_streaming_response.update( @@ -183,6 +195,7 @@ def test_streaming_response_update(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `test_id` but received ''"): @@ -190,11 +203,13 @@ def test_path_params_update(self, client: Telnyx) -> None: test_id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: test = client.ai.assistants.tests.list() assert_matches_type(TestListResponse, test, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: test = client.ai.assistants.tests.list( @@ -208,6 +223,7 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(TestListResponse, test, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.ai.assistants.tests.with_raw_response.list() @@ -217,6 +233,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: test = response.parse() assert_matches_type(TestListResponse, test, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.ai.assistants.tests.with_streaming_response.list() as response: @@ -228,6 +245,7 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: test = client.ai.assistants.tests.delete( @@ -235,6 +253,7 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert_matches_type(object, test, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.ai.assistants.tests.with_raw_response.delete( @@ -246,6 +265,7 @@ def test_raw_response_delete(self, client: Telnyx) -> None: test = response.parse() assert_matches_type(object, test, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.ai.assistants.tests.with_streaming_response.delete( @@ -259,6 +279,7 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `test_id` but received ''"): @@ -272,6 +293,7 @@ class TestAsyncTests: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: test = await async_client.ai.assistants.tests.create( @@ -287,6 +309,7 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(AssistantTest, test, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: test = await async_client.ai.assistants.tests.create( @@ -306,6 +329,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(AssistantTest, test, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.assistants.tests.with_raw_response.create( @@ -325,6 +349,7 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: test = await response.parse() assert_matches_type(AssistantTest, test, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.assistants.tests.with_streaming_response.create( @@ -346,6 +371,7 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: test = await async_client.ai.assistants.tests.retrieve( @@ -353,6 +379,7 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(AssistantTest, test, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.assistants.tests.with_raw_response.retrieve( @@ -364,6 +391,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: test = await response.parse() assert_matches_type(AssistantTest, test, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.assistants.tests.with_streaming_response.retrieve( @@ -377,6 +405,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `test_id` but received ''"): @@ -384,6 +413,7 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update(self, async_client: AsyncTelnyx) -> None: test = await async_client.ai.assistants.tests.update( @@ -391,6 +421,7 @@ async def test_method_update(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(AssistantTest, test, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> None: test = await async_client.ai.assistants.tests.update( @@ -411,6 +442,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(AssistantTest, test, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.assistants.tests.with_raw_response.update( @@ -422,6 +454,7 @@ async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: test = await response.parse() assert_matches_type(AssistantTest, test, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.assistants.tests.with_streaming_response.update( @@ -435,6 +468,7 @@ async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `test_id` but received ''"): @@ -442,11 +476,13 @@ async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: test_id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: test = await async_client.ai.assistants.tests.list() assert_matches_type(TestListResponse, test, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: test = await async_client.ai.assistants.tests.list( @@ -460,6 +496,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(TestListResponse, test, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.assistants.tests.with_raw_response.list() @@ -469,6 +506,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: test = await response.parse() assert_matches_type(TestListResponse, test, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.assistants.tests.with_streaming_response.list() as response: @@ -480,6 +518,7 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: test = await async_client.ai.assistants.tests.delete( @@ -487,6 +526,7 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(object, test, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.assistants.tests.with_raw_response.delete( @@ -498,6 +538,7 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: test = await response.parse() assert_matches_type(object, test, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.assistants.tests.with_streaming_response.delete( @@ -511,6 +552,7 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `test_id` but received ''"): diff --git a/tests/api_resources/ai/assistants/test_tools.py b/tests/api_resources/ai/assistants/test_tools.py index 32cab1d7..e29ac75a 100644 --- a/tests/api_resources/ai/assistants/test_tools.py +++ b/tests/api_resources/ai/assistants/test_tools.py @@ -17,6 +17,7 @@ class TestTools: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_test(self, client: Telnyx) -> None: tool = client.ai.assistants.tools.test( @@ -25,6 +26,7 @@ def test_method_test(self, client: Telnyx) -> None: ) assert_matches_type(ToolTestResponse, tool, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_test_with_all_params(self, client: Telnyx) -> None: tool = client.ai.assistants.tools.test( @@ -35,6 +37,7 @@ def test_method_test_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ToolTestResponse, tool, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_test(self, client: Telnyx) -> None: response = client.ai.assistants.tools.with_raw_response.test( @@ -47,6 +50,7 @@ def test_raw_response_test(self, client: Telnyx) -> None: tool = response.parse() assert_matches_type(ToolTestResponse, tool, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_test(self, client: Telnyx) -> None: with client.ai.assistants.tools.with_streaming_response.test( @@ -61,6 +65,7 @@ def test_streaming_response_test(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_test(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `assistant_id` but received ''"): @@ -81,6 +86,7 @@ class TestAsyncTools: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_test(self, async_client: AsyncTelnyx) -> None: tool = await async_client.ai.assistants.tools.test( @@ -89,6 +95,7 @@ async def test_method_test(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ToolTestResponse, tool, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_test_with_all_params(self, async_client: AsyncTelnyx) -> None: tool = await async_client.ai.assistants.tools.test( @@ -99,6 +106,7 @@ async def test_method_test_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(ToolTestResponse, tool, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_test(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.assistants.tools.with_raw_response.test( @@ -111,6 +119,7 @@ async def test_raw_response_test(self, async_client: AsyncTelnyx) -> None: tool = await response.parse() assert_matches_type(ToolTestResponse, tool, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_test(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.assistants.tools.with_streaming_response.test( @@ -125,6 +134,7 @@ async def test_streaming_response_test(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_test(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `assistant_id` but received ''"): diff --git a/tests/api_resources/ai/assistants/test_versions.py b/tests/api_resources/ai/assistants/test_versions.py index cb41128f..d33b8667 100644 --- a/tests/api_resources/ai/assistants/test_versions.py +++ b/tests/api_resources/ai/assistants/test_versions.py @@ -24,6 +24,7 @@ class TestVersions: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: version = client.ai.assistants.versions.retrieve( @@ -32,6 +33,7 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(VersionRetrieveResponse, version, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve_with_all_params(self, client: Telnyx) -> None: version = client.ai.assistants.versions.retrieve( @@ -41,6 +43,7 @@ def test_method_retrieve_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(VersionRetrieveResponse, version, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.ai.assistants.versions.with_raw_response.retrieve( @@ -53,6 +56,7 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: version = response.parse() assert_matches_type(VersionRetrieveResponse, version, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.ai.assistants.versions.with_streaming_response.retrieve( @@ -67,6 +71,7 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `assistant_id` but received ''"): @@ -81,6 +86,7 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: assistant_id="assistant_id", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update(self, client: Telnyx) -> None: version = client.ai.assistants.versions.update( @@ -89,6 +95,7 @@ def test_method_update(self, client: Telnyx) -> None: ) assert_matches_type(VersionUpdateResponse, version, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_with_all_params(self, client: Telnyx) -> None: version = client.ai.assistants.versions.update( @@ -160,6 +167,7 @@ def test_method_update_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(VersionUpdateResponse, version, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update(self, client: Telnyx) -> None: response = client.ai.assistants.versions.with_raw_response.update( @@ -172,6 +180,7 @@ def test_raw_response_update(self, client: Telnyx) -> None: version = response.parse() assert_matches_type(VersionUpdateResponse, version, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update(self, client: Telnyx) -> None: with client.ai.assistants.versions.with_streaming_response.update( @@ -186,6 +195,7 @@ def test_streaming_response_update(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `assistant_id` but received ''"): @@ -200,6 +210,7 @@ def test_path_params_update(self, client: Telnyx) -> None: assistant_id="assistant_id", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: version = client.ai.assistants.versions.list( @@ -207,6 +218,7 @@ def test_method_list(self, client: Telnyx) -> None: ) assert_matches_type(AssistantsList, version, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.ai.assistants.versions.with_raw_response.list( @@ -218,6 +230,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: version = response.parse() assert_matches_type(AssistantsList, version, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.ai.assistants.versions.with_streaming_response.list( @@ -231,6 +244,7 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_list(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `assistant_id` but received ''"): @@ -238,6 +252,7 @@ def test_path_params_list(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: version = client.ai.assistants.versions.delete( @@ -246,6 +261,7 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert version is None + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.ai.assistants.versions.with_raw_response.delete( @@ -258,6 +274,7 @@ def test_raw_response_delete(self, client: Telnyx) -> None: version = response.parse() assert version is None + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.ai.assistants.versions.with_streaming_response.delete( @@ -272,6 +289,7 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `assistant_id` but received ''"): @@ -286,6 +304,7 @@ def test_path_params_delete(self, client: Telnyx) -> None: assistant_id="assistant_id", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_promote(self, client: Telnyx) -> None: version = client.ai.assistants.versions.promote( @@ -294,6 +313,7 @@ def test_method_promote(self, client: Telnyx) -> None: ) assert_matches_type(VersionPromoteResponse, version, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_promote(self, client: Telnyx) -> None: response = client.ai.assistants.versions.with_raw_response.promote( @@ -306,6 +326,7 @@ def test_raw_response_promote(self, client: Telnyx) -> None: version = response.parse() assert_matches_type(VersionPromoteResponse, version, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_promote(self, client: Telnyx) -> None: with client.ai.assistants.versions.with_streaming_response.promote( @@ -320,6 +341,7 @@ def test_streaming_response_promote(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_promote(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `assistant_id` but received ''"): @@ -340,6 +362,7 @@ class TestAsyncVersions: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: version = await async_client.ai.assistants.versions.retrieve( @@ -348,6 +371,7 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(VersionRetrieveResponse, version, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve_with_all_params(self, async_client: AsyncTelnyx) -> None: version = await async_client.ai.assistants.versions.retrieve( @@ -357,6 +381,7 @@ async def test_method_retrieve_with_all_params(self, async_client: AsyncTelnyx) ) assert_matches_type(VersionRetrieveResponse, version, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.assistants.versions.with_raw_response.retrieve( @@ -369,6 +394,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: version = await response.parse() assert_matches_type(VersionRetrieveResponse, version, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.assistants.versions.with_streaming_response.retrieve( @@ -383,6 +409,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `assistant_id` but received ''"): @@ -397,6 +424,7 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: assistant_id="assistant_id", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update(self, async_client: AsyncTelnyx) -> None: version = await async_client.ai.assistants.versions.update( @@ -405,6 +433,7 @@ async def test_method_update(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(VersionUpdateResponse, version, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> None: version = await async_client.ai.assistants.versions.update( @@ -476,6 +505,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(VersionUpdateResponse, version, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.assistants.versions.with_raw_response.update( @@ -488,6 +518,7 @@ async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: version = await response.parse() assert_matches_type(VersionUpdateResponse, version, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.assistants.versions.with_streaming_response.update( @@ -502,6 +533,7 @@ async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `assistant_id` but received ''"): @@ -516,6 +548,7 @@ async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: assistant_id="assistant_id", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: version = await async_client.ai.assistants.versions.list( @@ -523,6 +556,7 @@ async def test_method_list(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(AssistantsList, version, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.assistants.versions.with_raw_response.list( @@ -534,6 +568,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: version = await response.parse() assert_matches_type(AssistantsList, version, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.assistants.versions.with_streaming_response.list( @@ -547,6 +582,7 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_list(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `assistant_id` but received ''"): @@ -554,6 +590,7 @@ async def test_path_params_list(self, async_client: AsyncTelnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: version = await async_client.ai.assistants.versions.delete( @@ -562,6 +599,7 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert version is None + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.assistants.versions.with_raw_response.delete( @@ -574,6 +612,7 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: version = await response.parse() assert version is None + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.assistants.versions.with_streaming_response.delete( @@ -588,6 +627,7 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `assistant_id` but received ''"): @@ -602,6 +642,7 @@ async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: assistant_id="assistant_id", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_promote(self, async_client: AsyncTelnyx) -> None: version = await async_client.ai.assistants.versions.promote( @@ -610,6 +651,7 @@ async def test_method_promote(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(VersionPromoteResponse, version, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_promote(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.assistants.versions.with_raw_response.promote( @@ -622,6 +664,7 @@ async def test_raw_response_promote(self, async_client: AsyncTelnyx) -> None: version = await response.parse() assert_matches_type(VersionPromoteResponse, version, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_promote(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.assistants.versions.with_streaming_response.promote( @@ -636,6 +679,7 @@ async def test_streaming_response_promote(self, async_client: AsyncTelnyx) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_promote(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `assistant_id` but received ''"): diff --git a/tests/api_resources/ai/assistants/tests/test_runs.py b/tests/api_resources/ai/assistants/tests/test_runs.py index 9ef1fec8..8acd5539 100644 --- a/tests/api_resources/ai/assistants/tests/test_runs.py +++ b/tests/api_resources/ai/assistants/tests/test_runs.py @@ -18,6 +18,7 @@ class TestRuns: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: run = client.ai.assistants.tests.runs.retrieve( @@ -26,6 +27,7 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(TestRunResponse, run, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.ai.assistants.tests.runs.with_raw_response.retrieve( @@ -38,6 +40,7 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: run = response.parse() assert_matches_type(TestRunResponse, run, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.ai.assistants.tests.runs.with_streaming_response.retrieve( @@ -52,6 +55,7 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `test_id` but received ''"): @@ -66,6 +70,7 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: test_id="test_id", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: run = client.ai.assistants.tests.runs.list( @@ -73,6 +78,7 @@ def test_method_list(self, client: Telnyx) -> None: ) assert_matches_type(PaginatedTestRunList, run, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: run = client.ai.assistants.tests.runs.list( @@ -85,6 +91,7 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(PaginatedTestRunList, run, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.ai.assistants.tests.runs.with_raw_response.list( @@ -96,6 +103,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: run = response.parse() assert_matches_type(PaginatedTestRunList, run, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.ai.assistants.tests.runs.with_streaming_response.list( @@ -109,6 +117,7 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_list(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `test_id` but received ''"): @@ -116,6 +125,7 @@ def test_path_params_list(self, client: Telnyx) -> None: test_id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_trigger(self, client: Telnyx) -> None: run = client.ai.assistants.tests.runs.trigger( @@ -123,6 +133,7 @@ def test_method_trigger(self, client: Telnyx) -> None: ) assert_matches_type(TestRunResponse, run, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_trigger_with_all_params(self, client: Telnyx) -> None: run = client.ai.assistants.tests.runs.trigger( @@ -131,6 +142,7 @@ def test_method_trigger_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(TestRunResponse, run, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_trigger(self, client: Telnyx) -> None: response = client.ai.assistants.tests.runs.with_raw_response.trigger( @@ -142,6 +154,7 @@ def test_raw_response_trigger(self, client: Telnyx) -> None: run = response.parse() assert_matches_type(TestRunResponse, run, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_trigger(self, client: Telnyx) -> None: with client.ai.assistants.tests.runs.with_streaming_response.trigger( @@ -155,6 +168,7 @@ def test_streaming_response_trigger(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_trigger(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `test_id` but received ''"): @@ -168,6 +182,7 @@ class TestAsyncRuns: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: run = await async_client.ai.assistants.tests.runs.retrieve( @@ -176,6 +191,7 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(TestRunResponse, run, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.assistants.tests.runs.with_raw_response.retrieve( @@ -188,6 +204,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: run = await response.parse() assert_matches_type(TestRunResponse, run, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.assistants.tests.runs.with_streaming_response.retrieve( @@ -202,6 +219,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `test_id` but received ''"): @@ -216,6 +234,7 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: test_id="test_id", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: run = await async_client.ai.assistants.tests.runs.list( @@ -223,6 +242,7 @@ async def test_method_list(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(PaginatedTestRunList, run, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: run = await async_client.ai.assistants.tests.runs.list( @@ -235,6 +255,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(PaginatedTestRunList, run, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.assistants.tests.runs.with_raw_response.list( @@ -246,6 +267,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: run = await response.parse() assert_matches_type(PaginatedTestRunList, run, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.assistants.tests.runs.with_streaming_response.list( @@ -259,6 +281,7 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_list(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `test_id` but received ''"): @@ -266,6 +289,7 @@ async def test_path_params_list(self, async_client: AsyncTelnyx) -> None: test_id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_trigger(self, async_client: AsyncTelnyx) -> None: run = await async_client.ai.assistants.tests.runs.trigger( @@ -273,6 +297,7 @@ async def test_method_trigger(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(TestRunResponse, run, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_trigger_with_all_params(self, async_client: AsyncTelnyx) -> None: run = await async_client.ai.assistants.tests.runs.trigger( @@ -281,6 +306,7 @@ async def test_method_trigger_with_all_params(self, async_client: AsyncTelnyx) - ) assert_matches_type(TestRunResponse, run, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_trigger(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.assistants.tests.runs.with_raw_response.trigger( @@ -292,6 +318,7 @@ async def test_raw_response_trigger(self, async_client: AsyncTelnyx) -> None: run = await response.parse() assert_matches_type(TestRunResponse, run, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_trigger(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.assistants.tests.runs.with_streaming_response.trigger( @@ -305,6 +332,7 @@ async def test_streaming_response_trigger(self, async_client: AsyncTelnyx) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_trigger(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `test_id` but received ''"): diff --git a/tests/api_resources/ai/assistants/tests/test_suites/test_runs.py b/tests/api_resources/ai/assistants/tests/test_suites/test_runs.py index 03ed6341..c74e4e3e 100644 --- a/tests/api_resources/ai/assistants/tests/test_suites/test_runs.py +++ b/tests/api_resources/ai/assistants/tests/test_suites/test_runs.py @@ -20,6 +20,7 @@ class TestRuns: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: run = client.ai.assistants.tests.test_suites.runs.list( @@ -27,6 +28,7 @@ def test_method_list(self, client: Telnyx) -> None: ) assert_matches_type(PaginatedTestRunList, run, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: run = client.ai.assistants.tests.test_suites.runs.list( @@ -40,6 +42,7 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(PaginatedTestRunList, run, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.ai.assistants.tests.test_suites.runs.with_raw_response.list( @@ -51,6 +54,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: run = response.parse() assert_matches_type(PaginatedTestRunList, run, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.ai.assistants.tests.test_suites.runs.with_streaming_response.list( @@ -64,6 +68,7 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_list(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `suite_name` but received ''"): @@ -71,6 +76,7 @@ def test_path_params_list(self, client: Telnyx) -> None: suite_name="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_trigger(self, client: Telnyx) -> None: run = client.ai.assistants.tests.test_suites.runs.trigger( @@ -78,6 +84,7 @@ def test_method_trigger(self, client: Telnyx) -> None: ) assert_matches_type(RunTriggerResponse, run, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_trigger_with_all_params(self, client: Telnyx) -> None: run = client.ai.assistants.tests.test_suites.runs.trigger( @@ -86,6 +93,7 @@ def test_method_trigger_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(RunTriggerResponse, run, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_trigger(self, client: Telnyx) -> None: response = client.ai.assistants.tests.test_suites.runs.with_raw_response.trigger( @@ -97,6 +105,7 @@ def test_raw_response_trigger(self, client: Telnyx) -> None: run = response.parse() assert_matches_type(RunTriggerResponse, run, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_trigger(self, client: Telnyx) -> None: with client.ai.assistants.tests.test_suites.runs.with_streaming_response.trigger( @@ -110,6 +119,7 @@ def test_streaming_response_trigger(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_trigger(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `suite_name` but received ''"): @@ -123,6 +133,7 @@ class TestAsyncRuns: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: run = await async_client.ai.assistants.tests.test_suites.runs.list( @@ -130,6 +141,7 @@ async def test_method_list(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(PaginatedTestRunList, run, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: run = await async_client.ai.assistants.tests.test_suites.runs.list( @@ -143,6 +155,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(PaginatedTestRunList, run, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.assistants.tests.test_suites.runs.with_raw_response.list( @@ -154,6 +167,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: run = await response.parse() assert_matches_type(PaginatedTestRunList, run, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.assistants.tests.test_suites.runs.with_streaming_response.list( @@ -167,6 +181,7 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_list(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `suite_name` but received ''"): @@ -174,6 +189,7 @@ async def test_path_params_list(self, async_client: AsyncTelnyx) -> None: suite_name="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_trigger(self, async_client: AsyncTelnyx) -> None: run = await async_client.ai.assistants.tests.test_suites.runs.trigger( @@ -181,6 +197,7 @@ async def test_method_trigger(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(RunTriggerResponse, run, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_trigger_with_all_params(self, async_client: AsyncTelnyx) -> None: run = await async_client.ai.assistants.tests.test_suites.runs.trigger( @@ -189,6 +206,7 @@ async def test_method_trigger_with_all_params(self, async_client: AsyncTelnyx) - ) assert_matches_type(RunTriggerResponse, run, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_trigger(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.assistants.tests.test_suites.runs.with_raw_response.trigger( @@ -200,6 +218,7 @@ async def test_raw_response_trigger(self, async_client: AsyncTelnyx) -> None: run = await response.parse() assert_matches_type(RunTriggerResponse, run, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_trigger(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.assistants.tests.test_suites.runs.with_streaming_response.trigger( @@ -213,6 +232,7 @@ async def test_streaming_response_trigger(self, async_client: AsyncTelnyx) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_trigger(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `suite_name` but received ''"): diff --git a/tests/api_resources/ai/assistants/tests/test_test_suites.py b/tests/api_resources/ai/assistants/tests/test_test_suites.py index cae16c6b..c1812999 100644 --- a/tests/api_resources/ai/assistants/tests/test_test_suites.py +++ b/tests/api_resources/ai/assistants/tests/test_test_suites.py @@ -17,11 +17,13 @@ class TestTestSuites: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: test_suite = client.ai.assistants.tests.test_suites.list() assert_matches_type(TestSuiteListResponse, test_suite, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.ai.assistants.tests.test_suites.with_raw_response.list() @@ -31,6 +33,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: test_suite = response.parse() assert_matches_type(TestSuiteListResponse, test_suite, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.ai.assistants.tests.test_suites.with_streaming_response.list() as response: @@ -48,11 +51,13 @@ class TestAsyncTestSuites: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: test_suite = await async_client.ai.assistants.tests.test_suites.list() assert_matches_type(TestSuiteListResponse, test_suite, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.assistants.tests.test_suites.with_raw_response.list() @@ -62,6 +67,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: test_suite = await response.parse() assert_matches_type(TestSuiteListResponse, test_suite, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.assistants.tests.test_suites.with_streaming_response.list() as response: diff --git a/tests/api_resources/ai/conversations/insight_groups/test_insights.py b/tests/api_resources/ai/conversations/insight_groups/test_insights.py index c97c9840..1ee8180b 100644 --- a/tests/api_resources/ai/conversations/insight_groups/test_insights.py +++ b/tests/api_resources/ai/conversations/insight_groups/test_insights.py @@ -16,6 +16,7 @@ class TestInsights: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_assign(self, client: Telnyx) -> None: insight = client.ai.conversations.insight_groups.insights.assign( @@ -24,6 +25,7 @@ def test_method_assign(self, client: Telnyx) -> None: ) assert_matches_type(object, insight, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_assign(self, client: Telnyx) -> None: response = client.ai.conversations.insight_groups.insights.with_raw_response.assign( @@ -36,6 +38,7 @@ def test_raw_response_assign(self, client: Telnyx) -> None: insight = response.parse() assert_matches_type(object, insight, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_assign(self, client: Telnyx) -> None: with client.ai.conversations.insight_groups.insights.with_streaming_response.assign( @@ -50,6 +53,7 @@ def test_streaming_response_assign(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_assign(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `group_id` but received ''"): @@ -64,6 +68,7 @@ def test_path_params_assign(self, client: Telnyx) -> None: group_id="182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete_unassign(self, client: Telnyx) -> None: insight = client.ai.conversations.insight_groups.insights.delete_unassign( @@ -72,6 +77,7 @@ def test_method_delete_unassign(self, client: Telnyx) -> None: ) assert_matches_type(object, insight, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete_unassign(self, client: Telnyx) -> None: response = client.ai.conversations.insight_groups.insights.with_raw_response.delete_unassign( @@ -84,6 +90,7 @@ def test_raw_response_delete_unassign(self, client: Telnyx) -> None: insight = response.parse() assert_matches_type(object, insight, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete_unassign(self, client: Telnyx) -> None: with client.ai.conversations.insight_groups.insights.with_streaming_response.delete_unassign( @@ -98,6 +105,7 @@ def test_streaming_response_delete_unassign(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete_unassign(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `group_id` but received ''"): @@ -118,6 +126,7 @@ class TestAsyncInsights: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_assign(self, async_client: AsyncTelnyx) -> None: insight = await async_client.ai.conversations.insight_groups.insights.assign( @@ -126,6 +135,7 @@ async def test_method_assign(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(object, insight, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_assign(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.conversations.insight_groups.insights.with_raw_response.assign( @@ -138,6 +148,7 @@ async def test_raw_response_assign(self, async_client: AsyncTelnyx) -> None: insight = await response.parse() assert_matches_type(object, insight, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_assign(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.conversations.insight_groups.insights.with_streaming_response.assign( @@ -152,6 +163,7 @@ async def test_streaming_response_assign(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_assign(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `group_id` but received ''"): @@ -166,6 +178,7 @@ async def test_path_params_assign(self, async_client: AsyncTelnyx) -> None: group_id="182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete_unassign(self, async_client: AsyncTelnyx) -> None: insight = await async_client.ai.conversations.insight_groups.insights.delete_unassign( @@ -174,6 +187,7 @@ async def test_method_delete_unassign(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(object, insight, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete_unassign(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.conversations.insight_groups.insights.with_raw_response.delete_unassign( @@ -186,6 +200,7 @@ async def test_raw_response_delete_unassign(self, async_client: AsyncTelnyx) -> insight = await response.parse() assert_matches_type(object, insight, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete_unassign(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.conversations.insight_groups.insights.with_streaming_response.delete_unassign( @@ -200,6 +215,7 @@ async def test_streaming_response_delete_unassign(self, async_client: AsyncTelny assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete_unassign(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `group_id` but received ''"): diff --git a/tests/api_resources/ai/conversations/test_insight_groups.py b/tests/api_resources/ai/conversations/test_insight_groups.py index c1c39cac..c96c754e 100644 --- a/tests/api_resources/ai/conversations/test_insight_groups.py +++ b/tests/api_resources/ai/conversations/test_insight_groups.py @@ -20,6 +20,7 @@ class TestInsightGroups: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: insight_group = client.ai.conversations.insight_groups.retrieve( @@ -27,6 +28,7 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(InsightTemplateGroupDetail, insight_group, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.ai.conversations.insight_groups.with_raw_response.retrieve( @@ -38,6 +40,7 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: insight_group = response.parse() assert_matches_type(InsightTemplateGroupDetail, insight_group, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.ai.conversations.insight_groups.with_streaming_response.retrieve( @@ -51,6 +54,7 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `group_id` but received ''"): @@ -58,6 +62,7 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update(self, client: Telnyx) -> None: insight_group = client.ai.conversations.insight_groups.update( @@ -65,6 +70,7 @@ def test_method_update(self, client: Telnyx) -> None: ) assert_matches_type(InsightTemplateGroupDetail, insight_group, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_with_all_params(self, client: Telnyx) -> None: insight_group = client.ai.conversations.insight_groups.update( @@ -75,6 +81,7 @@ def test_method_update_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(InsightTemplateGroupDetail, insight_group, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update(self, client: Telnyx) -> None: response = client.ai.conversations.insight_groups.with_raw_response.update( @@ -86,6 +93,7 @@ def test_raw_response_update(self, client: Telnyx) -> None: insight_group = response.parse() assert_matches_type(InsightTemplateGroupDetail, insight_group, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update(self, client: Telnyx) -> None: with client.ai.conversations.insight_groups.with_streaming_response.update( @@ -99,6 +107,7 @@ def test_streaming_response_update(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `group_id` but received ''"): @@ -106,6 +115,7 @@ def test_path_params_update(self, client: Telnyx) -> None: group_id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: insight_group = client.ai.conversations.insight_groups.delete( @@ -113,6 +123,7 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert_matches_type(object, insight_group, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.ai.conversations.insight_groups.with_raw_response.delete( @@ -124,6 +135,7 @@ def test_raw_response_delete(self, client: Telnyx) -> None: insight_group = response.parse() assert_matches_type(object, insight_group, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.ai.conversations.insight_groups.with_streaming_response.delete( @@ -137,6 +149,7 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `group_id` but received ''"): @@ -144,6 +157,7 @@ def test_path_params_delete(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_insight_groups(self, client: Telnyx) -> None: insight_group = client.ai.conversations.insight_groups.insight_groups( @@ -151,6 +165,7 @@ def test_method_insight_groups(self, client: Telnyx) -> None: ) assert_matches_type(InsightTemplateGroupDetail, insight_group, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_insight_groups_with_all_params(self, client: Telnyx) -> None: insight_group = client.ai.conversations.insight_groups.insight_groups( @@ -160,6 +175,7 @@ def test_method_insight_groups_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(InsightTemplateGroupDetail, insight_group, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_insight_groups(self, client: Telnyx) -> None: response = client.ai.conversations.insight_groups.with_raw_response.insight_groups( @@ -171,6 +187,7 @@ def test_raw_response_insight_groups(self, client: Telnyx) -> None: insight_group = response.parse() assert_matches_type(InsightTemplateGroupDetail, insight_group, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_insight_groups(self, client: Telnyx) -> None: with client.ai.conversations.insight_groups.with_streaming_response.insight_groups( @@ -184,11 +201,13 @@ def test_streaming_response_insight_groups(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve_insight_groups(self, client: Telnyx) -> None: insight_group = client.ai.conversations.insight_groups.retrieve_insight_groups() assert_matches_type(InsightGroupRetrieveInsightGroupsResponse, insight_group, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve_insight_groups_with_all_params(self, client: Telnyx) -> None: insight_group = client.ai.conversations.insight_groups.retrieve_insight_groups( @@ -199,6 +218,7 @@ def test_method_retrieve_insight_groups_with_all_params(self, client: Telnyx) -> ) assert_matches_type(InsightGroupRetrieveInsightGroupsResponse, insight_group, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve_insight_groups(self, client: Telnyx) -> None: response = client.ai.conversations.insight_groups.with_raw_response.retrieve_insight_groups() @@ -208,6 +228,7 @@ def test_raw_response_retrieve_insight_groups(self, client: Telnyx) -> None: insight_group = response.parse() assert_matches_type(InsightGroupRetrieveInsightGroupsResponse, insight_group, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve_insight_groups(self, client: Telnyx) -> None: with client.ai.conversations.insight_groups.with_streaming_response.retrieve_insight_groups() as response: @@ -225,6 +246,7 @@ class TestAsyncInsightGroups: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: insight_group = await async_client.ai.conversations.insight_groups.retrieve( @@ -232,6 +254,7 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(InsightTemplateGroupDetail, insight_group, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.conversations.insight_groups.with_raw_response.retrieve( @@ -243,6 +266,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: insight_group = await response.parse() assert_matches_type(InsightTemplateGroupDetail, insight_group, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.conversations.insight_groups.with_streaming_response.retrieve( @@ -256,6 +280,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `group_id` but received ''"): @@ -263,6 +288,7 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update(self, async_client: AsyncTelnyx) -> None: insight_group = await async_client.ai.conversations.insight_groups.update( @@ -270,6 +296,7 @@ async def test_method_update(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(InsightTemplateGroupDetail, insight_group, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> None: insight_group = await async_client.ai.conversations.insight_groups.update( @@ -280,6 +307,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(InsightTemplateGroupDetail, insight_group, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.conversations.insight_groups.with_raw_response.update( @@ -291,6 +319,7 @@ async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: insight_group = await response.parse() assert_matches_type(InsightTemplateGroupDetail, insight_group, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.conversations.insight_groups.with_streaming_response.update( @@ -304,6 +333,7 @@ async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `group_id` but received ''"): @@ -311,6 +341,7 @@ async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: group_id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: insight_group = await async_client.ai.conversations.insight_groups.delete( @@ -318,6 +349,7 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(object, insight_group, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.conversations.insight_groups.with_raw_response.delete( @@ -329,6 +361,7 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: insight_group = await response.parse() assert_matches_type(object, insight_group, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.conversations.insight_groups.with_streaming_response.delete( @@ -342,6 +375,7 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `group_id` but received ''"): @@ -349,6 +383,7 @@ async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_insight_groups(self, async_client: AsyncTelnyx) -> None: insight_group = await async_client.ai.conversations.insight_groups.insight_groups( @@ -356,6 +391,7 @@ async def test_method_insight_groups(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(InsightTemplateGroupDetail, insight_group, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_insight_groups_with_all_params(self, async_client: AsyncTelnyx) -> None: insight_group = await async_client.ai.conversations.insight_groups.insight_groups( @@ -365,6 +401,7 @@ async def test_method_insight_groups_with_all_params(self, async_client: AsyncTe ) assert_matches_type(InsightTemplateGroupDetail, insight_group, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_insight_groups(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.conversations.insight_groups.with_raw_response.insight_groups( @@ -376,6 +413,7 @@ async def test_raw_response_insight_groups(self, async_client: AsyncTelnyx) -> N insight_group = await response.parse() assert_matches_type(InsightTemplateGroupDetail, insight_group, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_insight_groups(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.conversations.insight_groups.with_streaming_response.insight_groups( @@ -389,11 +427,13 @@ async def test_streaming_response_insight_groups(self, async_client: AsyncTelnyx assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve_insight_groups(self, async_client: AsyncTelnyx) -> None: insight_group = await async_client.ai.conversations.insight_groups.retrieve_insight_groups() assert_matches_type(InsightGroupRetrieveInsightGroupsResponse, insight_group, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve_insight_groups_with_all_params(self, async_client: AsyncTelnyx) -> None: insight_group = await async_client.ai.conversations.insight_groups.retrieve_insight_groups( @@ -404,6 +444,7 @@ async def test_method_retrieve_insight_groups_with_all_params(self, async_client ) assert_matches_type(InsightGroupRetrieveInsightGroupsResponse, insight_group, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve_insight_groups(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.conversations.insight_groups.with_raw_response.retrieve_insight_groups() @@ -413,6 +454,7 @@ async def test_raw_response_retrieve_insight_groups(self, async_client: AsyncTel insight_group = await response.parse() assert_matches_type(InsightGroupRetrieveInsightGroupsResponse, insight_group, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve_insight_groups(self, async_client: AsyncTelnyx) -> None: async with ( diff --git a/tests/api_resources/ai/conversations/test_insights.py b/tests/api_resources/ai/conversations/test_insights.py index 516f113b..5569ff44 100644 --- a/tests/api_resources/ai/conversations/test_insights.py +++ b/tests/api_resources/ai/conversations/test_insights.py @@ -20,6 +20,7 @@ class TestInsights: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: insight = client.ai.conversations.insights.create( @@ -28,6 +29,7 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(InsightTemplateDetail, insight, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: insight = client.ai.conversations.insights.create( @@ -38,6 +40,7 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(InsightTemplateDetail, insight, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.ai.conversations.insights.with_raw_response.create( @@ -50,6 +53,7 @@ def test_raw_response_create(self, client: Telnyx) -> None: insight = response.parse() assert_matches_type(InsightTemplateDetail, insight, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.ai.conversations.insights.with_streaming_response.create( @@ -64,6 +68,7 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: insight = client.ai.conversations.insights.retrieve( @@ -71,6 +76,7 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(InsightTemplateDetail, insight, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.ai.conversations.insights.with_raw_response.retrieve( @@ -82,6 +88,7 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: insight = response.parse() assert_matches_type(InsightTemplateDetail, insight, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.ai.conversations.insights.with_streaming_response.retrieve( @@ -95,6 +102,7 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `insight_id` but received ''"): @@ -102,6 +110,7 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update(self, client: Telnyx) -> None: insight = client.ai.conversations.insights.update( @@ -109,6 +118,7 @@ def test_method_update(self, client: Telnyx) -> None: ) assert_matches_type(InsightTemplateDetail, insight, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_with_all_params(self, client: Telnyx) -> None: insight = client.ai.conversations.insights.update( @@ -120,6 +130,7 @@ def test_method_update_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(InsightTemplateDetail, insight, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update(self, client: Telnyx) -> None: response = client.ai.conversations.insights.with_raw_response.update( @@ -131,6 +142,7 @@ def test_raw_response_update(self, client: Telnyx) -> None: insight = response.parse() assert_matches_type(InsightTemplateDetail, insight, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update(self, client: Telnyx) -> None: with client.ai.conversations.insights.with_streaming_response.update( @@ -144,6 +156,7 @@ def test_streaming_response_update(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `insight_id` but received ''"): @@ -151,11 +164,13 @@ def test_path_params_update(self, client: Telnyx) -> None: insight_id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: insight = client.ai.conversations.insights.list() assert_matches_type(InsightListResponse, insight, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: insight = client.ai.conversations.insights.list( @@ -166,6 +181,7 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(InsightListResponse, insight, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.ai.conversations.insights.with_raw_response.list() @@ -175,6 +191,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: insight = response.parse() assert_matches_type(InsightListResponse, insight, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.ai.conversations.insights.with_streaming_response.list() as response: @@ -186,6 +203,7 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: insight = client.ai.conversations.insights.delete( @@ -193,6 +211,7 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert_matches_type(object, insight, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.ai.conversations.insights.with_raw_response.delete( @@ -204,6 +223,7 @@ def test_raw_response_delete(self, client: Telnyx) -> None: insight = response.parse() assert_matches_type(object, insight, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.ai.conversations.insights.with_streaming_response.delete( @@ -217,6 +237,7 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `insight_id` but received ''"): @@ -230,6 +251,7 @@ class TestAsyncInsights: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: insight = await async_client.ai.conversations.insights.create( @@ -238,6 +260,7 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(InsightTemplateDetail, insight, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: insight = await async_client.ai.conversations.insights.create( @@ -248,6 +271,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(InsightTemplateDetail, insight, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.conversations.insights.with_raw_response.create( @@ -260,6 +284,7 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: insight = await response.parse() assert_matches_type(InsightTemplateDetail, insight, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.conversations.insights.with_streaming_response.create( @@ -274,6 +299,7 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: insight = await async_client.ai.conversations.insights.retrieve( @@ -281,6 +307,7 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(InsightTemplateDetail, insight, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.conversations.insights.with_raw_response.retrieve( @@ -292,6 +319,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: insight = await response.parse() assert_matches_type(InsightTemplateDetail, insight, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.conversations.insights.with_streaming_response.retrieve( @@ -305,6 +333,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `insight_id` but received ''"): @@ -312,6 +341,7 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update(self, async_client: AsyncTelnyx) -> None: insight = await async_client.ai.conversations.insights.update( @@ -319,6 +349,7 @@ async def test_method_update(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(InsightTemplateDetail, insight, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> None: insight = await async_client.ai.conversations.insights.update( @@ -330,6 +361,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(InsightTemplateDetail, insight, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.conversations.insights.with_raw_response.update( @@ -341,6 +373,7 @@ async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: insight = await response.parse() assert_matches_type(InsightTemplateDetail, insight, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.conversations.insights.with_streaming_response.update( @@ -354,6 +387,7 @@ async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `insight_id` but received ''"): @@ -361,11 +395,13 @@ async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: insight_id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: insight = await async_client.ai.conversations.insights.list() assert_matches_type(InsightListResponse, insight, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: insight = await async_client.ai.conversations.insights.list( @@ -376,6 +412,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(InsightListResponse, insight, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.conversations.insights.with_raw_response.list() @@ -385,6 +422,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: insight = await response.parse() assert_matches_type(InsightListResponse, insight, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.conversations.insights.with_streaming_response.list() as response: @@ -396,6 +434,7 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: insight = await async_client.ai.conversations.insights.delete( @@ -403,6 +442,7 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(object, insight, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.conversations.insights.with_raw_response.delete( @@ -414,6 +454,7 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: insight = await response.parse() assert_matches_type(object, insight, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.conversations.insights.with_streaming_response.delete( @@ -427,6 +468,7 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `insight_id` but received ''"): diff --git a/tests/api_resources/ai/conversations/test_messages.py b/tests/api_resources/ai/conversations/test_messages.py index 6206fc32..36d8b6ec 100644 --- a/tests/api_resources/ai/conversations/test_messages.py +++ b/tests/api_resources/ai/conversations/test_messages.py @@ -18,6 +18,7 @@ class TestMessages: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: message = client.ai.conversations.messages.create( @@ -26,6 +27,7 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(object, message, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: message = client.ai.conversations.messages.create( @@ -41,6 +43,7 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(object, message, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.ai.conversations.messages.with_raw_response.create( @@ -53,6 +56,7 @@ def test_raw_response_create(self, client: Telnyx) -> None: message = response.parse() assert_matches_type(object, message, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.ai.conversations.messages.with_streaming_response.create( @@ -67,6 +71,7 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_create(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `conversation_id` but received ''"): @@ -75,6 +80,7 @@ def test_path_params_create(self, client: Telnyx) -> None: role="role", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: message = client.ai.conversations.messages.list( @@ -82,6 +88,7 @@ def test_method_list(self, client: Telnyx) -> None: ) assert_matches_type(MessageListResponse, message, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.ai.conversations.messages.with_raw_response.list( @@ -93,6 +100,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: message = response.parse() assert_matches_type(MessageListResponse, message, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.ai.conversations.messages.with_streaming_response.list( @@ -106,6 +114,7 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_list(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `conversation_id` but received ''"): @@ -119,6 +128,7 @@ class TestAsyncMessages: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: message = await async_client.ai.conversations.messages.create( @@ -127,6 +137,7 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(object, message, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: message = await async_client.ai.conversations.messages.create( @@ -142,6 +153,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(object, message, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.conversations.messages.with_raw_response.create( @@ -154,6 +166,7 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: message = await response.parse() assert_matches_type(object, message, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.conversations.messages.with_streaming_response.create( @@ -168,6 +181,7 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_create(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `conversation_id` but received ''"): @@ -176,6 +190,7 @@ async def test_path_params_create(self, async_client: AsyncTelnyx) -> None: role="role", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: message = await async_client.ai.conversations.messages.list( @@ -183,6 +198,7 @@ async def test_method_list(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(MessageListResponse, message, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.conversations.messages.with_raw_response.list( @@ -194,6 +210,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: message = await response.parse() assert_matches_type(MessageListResponse, message, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.conversations.messages.with_streaming_response.list( @@ -207,6 +224,7 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_list(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `conversation_id` but received ''"): diff --git a/tests/api_resources/ai/embeddings/test_buckets.py b/tests/api_resources/ai/embeddings/test_buckets.py index a0e96edf..ca2936c2 100644 --- a/tests/api_resources/ai/embeddings/test_buckets.py +++ b/tests/api_resources/ai/embeddings/test_buckets.py @@ -17,6 +17,7 @@ class TestBuckets: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: bucket = client.ai.embeddings.buckets.retrieve( @@ -24,6 +25,7 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(BucketRetrieveResponse, bucket, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.ai.embeddings.buckets.with_raw_response.retrieve( @@ -35,6 +37,7 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: bucket = response.parse() assert_matches_type(BucketRetrieveResponse, bucket, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.ai.embeddings.buckets.with_streaming_response.retrieve( @@ -48,6 +51,7 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `bucket_name` but received ''"): @@ -55,11 +59,13 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: bucket = client.ai.embeddings.buckets.list() assert_matches_type(BucketListResponse, bucket, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.ai.embeddings.buckets.with_raw_response.list() @@ -69,6 +75,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: bucket = response.parse() assert_matches_type(BucketListResponse, bucket, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.ai.embeddings.buckets.with_streaming_response.list() as response: @@ -80,6 +87,7 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: bucket = client.ai.embeddings.buckets.delete( @@ -87,6 +95,7 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert bucket is None + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.ai.embeddings.buckets.with_raw_response.delete( @@ -98,6 +107,7 @@ def test_raw_response_delete(self, client: Telnyx) -> None: bucket = response.parse() assert bucket is None + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.ai.embeddings.buckets.with_streaming_response.delete( @@ -111,6 +121,7 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `bucket_name` but received ''"): @@ -124,6 +135,7 @@ class TestAsyncBuckets: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: bucket = await async_client.ai.embeddings.buckets.retrieve( @@ -131,6 +143,7 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(BucketRetrieveResponse, bucket, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.embeddings.buckets.with_raw_response.retrieve( @@ -142,6 +155,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: bucket = await response.parse() assert_matches_type(BucketRetrieveResponse, bucket, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.embeddings.buckets.with_streaming_response.retrieve( @@ -155,6 +169,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `bucket_name` but received ''"): @@ -162,11 +177,13 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: bucket = await async_client.ai.embeddings.buckets.list() assert_matches_type(BucketListResponse, bucket, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.embeddings.buckets.with_raw_response.list() @@ -176,6 +193,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: bucket = await response.parse() assert_matches_type(BucketListResponse, bucket, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.embeddings.buckets.with_streaming_response.list() as response: @@ -187,6 +205,7 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: bucket = await async_client.ai.embeddings.buckets.delete( @@ -194,6 +213,7 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert bucket is None + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.embeddings.buckets.with_raw_response.delete( @@ -205,6 +225,7 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: bucket = await response.parse() assert bucket is None + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.embeddings.buckets.with_streaming_response.delete( @@ -218,6 +239,7 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `bucket_name` but received ''"): diff --git a/tests/api_resources/ai/fine_tuning/test_jobs.py b/tests/api_resources/ai/fine_tuning/test_jobs.py index e146b6c3..2b7762b8 100644 --- a/tests/api_resources/ai/fine_tuning/test_jobs.py +++ b/tests/api_resources/ai/fine_tuning/test_jobs.py @@ -17,6 +17,7 @@ class TestJobs: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: job = client.ai.fine_tuning.jobs.create( @@ -25,6 +26,7 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(FineTuningJob, job, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: job = client.ai.fine_tuning.jobs.create( @@ -35,6 +37,7 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(FineTuningJob, job, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.ai.fine_tuning.jobs.with_raw_response.create( @@ -47,6 +50,7 @@ def test_raw_response_create(self, client: Telnyx) -> None: job = response.parse() assert_matches_type(FineTuningJob, job, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.ai.fine_tuning.jobs.with_streaming_response.create( @@ -61,6 +65,7 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: job = client.ai.fine_tuning.jobs.retrieve( @@ -68,6 +73,7 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(FineTuningJob, job, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.ai.fine_tuning.jobs.with_raw_response.retrieve( @@ -79,6 +85,7 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: job = response.parse() assert_matches_type(FineTuningJob, job, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.ai.fine_tuning.jobs.with_streaming_response.retrieve( @@ -92,6 +99,7 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `job_id` but received ''"): @@ -99,11 +107,13 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: job = client.ai.fine_tuning.jobs.list() assert_matches_type(JobListResponse, job, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.ai.fine_tuning.jobs.with_raw_response.list() @@ -113,6 +123,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: job = response.parse() assert_matches_type(JobListResponse, job, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.ai.fine_tuning.jobs.with_streaming_response.list() as response: @@ -124,6 +135,7 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_cancel(self, client: Telnyx) -> None: job = client.ai.fine_tuning.jobs.cancel( @@ -131,6 +143,7 @@ def test_method_cancel(self, client: Telnyx) -> None: ) assert_matches_type(FineTuningJob, job, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_cancel(self, client: Telnyx) -> None: response = client.ai.fine_tuning.jobs.with_raw_response.cancel( @@ -142,6 +155,7 @@ def test_raw_response_cancel(self, client: Telnyx) -> None: job = response.parse() assert_matches_type(FineTuningJob, job, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_cancel(self, client: Telnyx) -> None: with client.ai.fine_tuning.jobs.with_streaming_response.cancel( @@ -155,6 +169,7 @@ def test_streaming_response_cancel(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_cancel(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `job_id` but received ''"): @@ -168,6 +183,7 @@ class TestAsyncJobs: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: job = await async_client.ai.fine_tuning.jobs.create( @@ -176,6 +192,7 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(FineTuningJob, job, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: job = await async_client.ai.fine_tuning.jobs.create( @@ -186,6 +203,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(FineTuningJob, job, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.fine_tuning.jobs.with_raw_response.create( @@ -198,6 +216,7 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: job = await response.parse() assert_matches_type(FineTuningJob, job, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.fine_tuning.jobs.with_streaming_response.create( @@ -212,6 +231,7 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: job = await async_client.ai.fine_tuning.jobs.retrieve( @@ -219,6 +239,7 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(FineTuningJob, job, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.fine_tuning.jobs.with_raw_response.retrieve( @@ -230,6 +251,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: job = await response.parse() assert_matches_type(FineTuningJob, job, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.fine_tuning.jobs.with_streaming_response.retrieve( @@ -243,6 +265,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `job_id` but received ''"): @@ -250,11 +273,13 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: job = await async_client.ai.fine_tuning.jobs.list() assert_matches_type(JobListResponse, job, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.fine_tuning.jobs.with_raw_response.list() @@ -264,6 +289,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: job = await response.parse() assert_matches_type(JobListResponse, job, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.fine_tuning.jobs.with_streaming_response.list() as response: @@ -275,6 +301,7 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_cancel(self, async_client: AsyncTelnyx) -> None: job = await async_client.ai.fine_tuning.jobs.cancel( @@ -282,6 +309,7 @@ async def test_method_cancel(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(FineTuningJob, job, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_cancel(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.fine_tuning.jobs.with_raw_response.cancel( @@ -293,6 +321,7 @@ async def test_raw_response_cancel(self, async_client: AsyncTelnyx) -> None: job = await response.parse() assert_matches_type(FineTuningJob, job, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_cancel(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.fine_tuning.jobs.with_streaming_response.cancel( @@ -306,6 +335,7 @@ async def test_streaming_response_cancel(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_cancel(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `job_id` but received ''"): diff --git a/tests/api_resources/ai/test_assistants.py b/tests/api_resources/ai/test_assistants.py index 2af0cec1..b0427106 100644 --- a/tests/api_resources/ai/test_assistants.py +++ b/tests/api_resources/ai/test_assistants.py @@ -24,6 +24,7 @@ class TestAssistants: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: assistant = client.ai.assistants.create( @@ -33,6 +34,7 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(AssistantCreateResponse, assistant, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: assistant = client.ai.assistants.create( @@ -102,6 +104,7 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(AssistantCreateResponse, assistant, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.ai.assistants.with_raw_response.create( @@ -115,6 +118,7 @@ def test_raw_response_create(self, client: Telnyx) -> None: assistant = response.parse() assert_matches_type(AssistantCreateResponse, assistant, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.ai.assistants.with_streaming_response.create( @@ -130,6 +134,7 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: assistant = client.ai.assistants.retrieve( @@ -137,6 +142,7 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(AssistantRetrieveResponse, assistant, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve_with_all_params(self, client: Telnyx) -> None: assistant = client.ai.assistants.retrieve( @@ -148,6 +154,7 @@ def test_method_retrieve_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(AssistantRetrieveResponse, assistant, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.ai.assistants.with_raw_response.retrieve( @@ -159,6 +166,7 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: assistant = response.parse() assert_matches_type(AssistantRetrieveResponse, assistant, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.ai.assistants.with_streaming_response.retrieve( @@ -172,6 +180,7 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `assistant_id` but received ''"): @@ -179,6 +188,7 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: assistant_id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update(self, client: Telnyx) -> None: assistant = client.ai.assistants.update( @@ -186,6 +196,7 @@ def test_method_update(self, client: Telnyx) -> None: ) assert_matches_type(object, assistant, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_with_all_params(self, client: Telnyx) -> None: assistant = client.ai.assistants.update( @@ -257,6 +268,7 @@ def test_method_update_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(object, assistant, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update(self, client: Telnyx) -> None: response = client.ai.assistants.with_raw_response.update( @@ -268,6 +280,7 @@ def test_raw_response_update(self, client: Telnyx) -> None: assistant = response.parse() assert_matches_type(object, assistant, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update(self, client: Telnyx) -> None: with client.ai.assistants.with_streaming_response.update( @@ -281,6 +294,7 @@ def test_streaming_response_update(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `assistant_id` but received ''"): @@ -288,11 +302,13 @@ def test_path_params_update(self, client: Telnyx) -> None: assistant_id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: assistant = client.ai.assistants.list() assert_matches_type(AssistantsList, assistant, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.ai.assistants.with_raw_response.list() @@ -302,6 +318,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: assistant = response.parse() assert_matches_type(AssistantsList, assistant, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.ai.assistants.with_streaming_response.list() as response: @@ -313,6 +330,7 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: assistant = client.ai.assistants.delete( @@ -320,6 +338,7 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert_matches_type(AssistantDeleteResponse, assistant, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.ai.assistants.with_raw_response.delete( @@ -331,6 +350,7 @@ def test_raw_response_delete(self, client: Telnyx) -> None: assistant = response.parse() assert_matches_type(AssistantDeleteResponse, assistant, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.ai.assistants.with_streaming_response.delete( @@ -344,6 +364,7 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `assistant_id` but received ''"): @@ -351,6 +372,7 @@ def test_path_params_delete(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_chat(self, client: Telnyx) -> None: assistant = client.ai.assistants.chat( @@ -360,6 +382,7 @@ def test_method_chat(self, client: Telnyx) -> None: ) assert_matches_type(AssistantChatResponse, assistant, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_chat_with_all_params(self, client: Telnyx) -> None: assistant = client.ai.assistants.chat( @@ -370,6 +393,7 @@ def test_method_chat_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(AssistantChatResponse, assistant, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_chat(self, client: Telnyx) -> None: response = client.ai.assistants.with_raw_response.chat( @@ -383,6 +407,7 @@ def test_raw_response_chat(self, client: Telnyx) -> None: assistant = response.parse() assert_matches_type(AssistantChatResponse, assistant, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_chat(self, client: Telnyx) -> None: with client.ai.assistants.with_streaming_response.chat( @@ -398,6 +423,7 @@ def test_streaming_response_chat(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_chat(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `assistant_id` but received ''"): @@ -407,6 +433,7 @@ def test_path_params_chat(self, client: Telnyx) -> None: conversation_id="42b20469-1215-4a9a-8964-c36f66b406f4", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_clone(self, client: Telnyx) -> None: assistant = client.ai.assistants.clone( @@ -414,6 +441,7 @@ def test_method_clone(self, client: Telnyx) -> None: ) assert_matches_type(AssistantCloneResponse, assistant, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_clone(self, client: Telnyx) -> None: response = client.ai.assistants.with_raw_response.clone( @@ -425,6 +453,7 @@ def test_raw_response_clone(self, client: Telnyx) -> None: assistant = response.parse() assert_matches_type(AssistantCloneResponse, assistant, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_clone(self, client: Telnyx) -> None: with client.ai.assistants.with_streaming_response.clone( @@ -438,6 +467,7 @@ def test_streaming_response_clone(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_clone(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `assistant_id` but received ''"): @@ -445,6 +475,7 @@ def test_path_params_clone(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_get_texml(self, client: Telnyx) -> None: assistant = client.ai.assistants.get_texml( @@ -452,6 +483,7 @@ def test_method_get_texml(self, client: Telnyx) -> None: ) assert_matches_type(str, assistant, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_get_texml(self, client: Telnyx) -> None: response = client.ai.assistants.with_raw_response.get_texml( @@ -463,6 +495,7 @@ def test_raw_response_get_texml(self, client: Telnyx) -> None: assistant = response.parse() assert_matches_type(str, assistant, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_get_texml(self, client: Telnyx) -> None: with client.ai.assistants.with_streaming_response.get_texml( @@ -476,6 +509,7 @@ def test_streaming_response_get_texml(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_get_texml(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `assistant_id` but received ''"): @@ -483,6 +517,7 @@ def test_path_params_get_texml(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_import(self, client: Telnyx) -> None: assistant = client.ai.assistants.import_( @@ -491,6 +526,7 @@ def test_method_import(self, client: Telnyx) -> None: ) assert_matches_type(AssistantsList, assistant, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_import(self, client: Telnyx) -> None: response = client.ai.assistants.with_raw_response.import_( @@ -503,6 +539,7 @@ def test_raw_response_import(self, client: Telnyx) -> None: assistant = response.parse() assert_matches_type(AssistantsList, assistant, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_import(self, client: Telnyx) -> None: with client.ai.assistants.with_streaming_response.import_( @@ -523,6 +560,7 @@ class TestAsyncAssistants: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: assistant = await async_client.ai.assistants.create( @@ -532,6 +570,7 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(AssistantCreateResponse, assistant, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: assistant = await async_client.ai.assistants.create( @@ -601,6 +640,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(AssistantCreateResponse, assistant, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.assistants.with_raw_response.create( @@ -614,6 +654,7 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: assistant = await response.parse() assert_matches_type(AssistantCreateResponse, assistant, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.assistants.with_streaming_response.create( @@ -629,6 +670,7 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: assistant = await async_client.ai.assistants.retrieve( @@ -636,6 +678,7 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(AssistantRetrieveResponse, assistant, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve_with_all_params(self, async_client: AsyncTelnyx) -> None: assistant = await async_client.ai.assistants.retrieve( @@ -647,6 +690,7 @@ async def test_method_retrieve_with_all_params(self, async_client: AsyncTelnyx) ) assert_matches_type(AssistantRetrieveResponse, assistant, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.assistants.with_raw_response.retrieve( @@ -658,6 +702,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: assistant = await response.parse() assert_matches_type(AssistantRetrieveResponse, assistant, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.assistants.with_streaming_response.retrieve( @@ -671,6 +716,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `assistant_id` but received ''"): @@ -678,6 +724,7 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: assistant_id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update(self, async_client: AsyncTelnyx) -> None: assistant = await async_client.ai.assistants.update( @@ -685,6 +732,7 @@ async def test_method_update(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(object, assistant, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> None: assistant = await async_client.ai.assistants.update( @@ -756,6 +804,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(object, assistant, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.assistants.with_raw_response.update( @@ -767,6 +816,7 @@ async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: assistant = await response.parse() assert_matches_type(object, assistant, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.assistants.with_streaming_response.update( @@ -780,6 +830,7 @@ async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `assistant_id` but received ''"): @@ -787,11 +838,13 @@ async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: assistant_id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: assistant = await async_client.ai.assistants.list() assert_matches_type(AssistantsList, assistant, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.assistants.with_raw_response.list() @@ -801,6 +854,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: assistant = await response.parse() assert_matches_type(AssistantsList, assistant, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.assistants.with_streaming_response.list() as response: @@ -812,6 +866,7 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: assistant = await async_client.ai.assistants.delete( @@ -819,6 +874,7 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(AssistantDeleteResponse, assistant, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.assistants.with_raw_response.delete( @@ -830,6 +886,7 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: assistant = await response.parse() assert_matches_type(AssistantDeleteResponse, assistant, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.assistants.with_streaming_response.delete( @@ -843,6 +900,7 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `assistant_id` but received ''"): @@ -850,6 +908,7 @@ async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_chat(self, async_client: AsyncTelnyx) -> None: assistant = await async_client.ai.assistants.chat( @@ -859,6 +918,7 @@ async def test_method_chat(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(AssistantChatResponse, assistant, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_chat_with_all_params(self, async_client: AsyncTelnyx) -> None: assistant = await async_client.ai.assistants.chat( @@ -869,6 +929,7 @@ async def test_method_chat_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(AssistantChatResponse, assistant, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_chat(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.assistants.with_raw_response.chat( @@ -882,6 +943,7 @@ async def test_raw_response_chat(self, async_client: AsyncTelnyx) -> None: assistant = await response.parse() assert_matches_type(AssistantChatResponse, assistant, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_chat(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.assistants.with_streaming_response.chat( @@ -897,6 +959,7 @@ async def test_streaming_response_chat(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_chat(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `assistant_id` but received ''"): @@ -906,6 +969,7 @@ async def test_path_params_chat(self, async_client: AsyncTelnyx) -> None: conversation_id="42b20469-1215-4a9a-8964-c36f66b406f4", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_clone(self, async_client: AsyncTelnyx) -> None: assistant = await async_client.ai.assistants.clone( @@ -913,6 +977,7 @@ async def test_method_clone(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(AssistantCloneResponse, assistant, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_clone(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.assistants.with_raw_response.clone( @@ -924,6 +989,7 @@ async def test_raw_response_clone(self, async_client: AsyncTelnyx) -> None: assistant = await response.parse() assert_matches_type(AssistantCloneResponse, assistant, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_clone(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.assistants.with_streaming_response.clone( @@ -937,6 +1003,7 @@ async def test_streaming_response_clone(self, async_client: AsyncTelnyx) -> None assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_clone(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `assistant_id` but received ''"): @@ -944,6 +1011,7 @@ async def test_path_params_clone(self, async_client: AsyncTelnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_get_texml(self, async_client: AsyncTelnyx) -> None: assistant = await async_client.ai.assistants.get_texml( @@ -951,6 +1019,7 @@ async def test_method_get_texml(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(str, assistant, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_get_texml(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.assistants.with_raw_response.get_texml( @@ -962,6 +1031,7 @@ async def test_raw_response_get_texml(self, async_client: AsyncTelnyx) -> None: assistant = await response.parse() assert_matches_type(str, assistant, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_get_texml(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.assistants.with_streaming_response.get_texml( @@ -975,6 +1045,7 @@ async def test_streaming_response_get_texml(self, async_client: AsyncTelnyx) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_get_texml(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `assistant_id` but received ''"): @@ -982,6 +1053,7 @@ async def test_path_params_get_texml(self, async_client: AsyncTelnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_import(self, async_client: AsyncTelnyx) -> None: assistant = await async_client.ai.assistants.import_( @@ -990,6 +1062,7 @@ async def test_method_import(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(AssistantsList, assistant, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_import(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.assistants.with_raw_response.import_( @@ -1002,6 +1075,7 @@ async def test_raw_response_import(self, async_client: AsyncTelnyx) -> None: assistant = await response.parse() assert_matches_type(AssistantsList, assistant, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_import(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.assistants.with_streaming_response.import_( diff --git a/tests/api_resources/ai/test_audio.py b/tests/api_resources/ai/test_audio.py index bfdc31e5..60ef5e03 100644 --- a/tests/api_resources/ai/test_audio.py +++ b/tests/api_resources/ai/test_audio.py @@ -17,6 +17,7 @@ class TestAudio: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_transcribe(self, client: Telnyx) -> None: audio = client.ai.audio.transcribe( @@ -24,6 +25,7 @@ def test_method_transcribe(self, client: Telnyx) -> None: ) assert_matches_type(AudioTranscribeResponse, audio, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_transcribe_with_all_params(self, client: Telnyx) -> None: audio = client.ai.audio.transcribe( @@ -35,6 +37,7 @@ def test_method_transcribe_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(AudioTranscribeResponse, audio, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_transcribe(self, client: Telnyx) -> None: response = client.ai.audio.with_raw_response.transcribe( @@ -46,6 +49,7 @@ def test_raw_response_transcribe(self, client: Telnyx) -> None: audio = response.parse() assert_matches_type(AudioTranscribeResponse, audio, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_transcribe(self, client: Telnyx) -> None: with client.ai.audio.with_streaming_response.transcribe( @@ -65,6 +69,7 @@ class TestAsyncAudio: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_transcribe(self, async_client: AsyncTelnyx) -> None: audio = await async_client.ai.audio.transcribe( @@ -72,6 +77,7 @@ async def test_method_transcribe(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(AudioTranscribeResponse, audio, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_transcribe_with_all_params(self, async_client: AsyncTelnyx) -> None: audio = await async_client.ai.audio.transcribe( @@ -83,6 +89,7 @@ async def test_method_transcribe_with_all_params(self, async_client: AsyncTelnyx ) assert_matches_type(AudioTranscribeResponse, audio, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_transcribe(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.audio.with_raw_response.transcribe( @@ -94,6 +101,7 @@ async def test_raw_response_transcribe(self, async_client: AsyncTelnyx) -> None: audio = await response.parse() assert_matches_type(AudioTranscribeResponse, audio, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_transcribe(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.audio.with_streaming_response.transcribe( diff --git a/tests/api_resources/ai/test_chat.py b/tests/api_resources/ai/test_chat.py index 7786dbef..d1f1299e 100644 --- a/tests/api_resources/ai/test_chat.py +++ b/tests/api_resources/ai/test_chat.py @@ -16,6 +16,7 @@ class TestChat: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_completion(self, client: Telnyx) -> None: chat = client.ai.chat.create_completion( @@ -32,6 +33,7 @@ def test_method_create_completion(self, client: Telnyx) -> None: ) assert_matches_type(object, chat, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_completion_with_all_params(self, client: Telnyx) -> None: chat = client.ai.chat.create_completion( @@ -79,6 +81,7 @@ def test_method_create_completion_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(object, chat, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create_completion(self, client: Telnyx) -> None: response = client.ai.chat.with_raw_response.create_completion( @@ -99,6 +102,7 @@ def test_raw_response_create_completion(self, client: Telnyx) -> None: chat = response.parse() assert_matches_type(object, chat, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create_completion(self, client: Telnyx) -> None: with client.ai.chat.with_streaming_response.create_completion( @@ -127,6 +131,7 @@ class TestAsyncChat: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_completion(self, async_client: AsyncTelnyx) -> None: chat = await async_client.ai.chat.create_completion( @@ -143,6 +148,7 @@ async def test_method_create_completion(self, async_client: AsyncTelnyx) -> None ) assert_matches_type(object, chat, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_completion_with_all_params(self, async_client: AsyncTelnyx) -> None: chat = await async_client.ai.chat.create_completion( @@ -190,6 +196,7 @@ async def test_method_create_completion_with_all_params(self, async_client: Asyn ) assert_matches_type(object, chat, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create_completion(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.chat.with_raw_response.create_completion( @@ -210,6 +217,7 @@ async def test_raw_response_create_completion(self, async_client: AsyncTelnyx) - chat = await response.parse() assert_matches_type(object, chat, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create_completion(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.chat.with_streaming_response.create_completion( diff --git a/tests/api_resources/ai/test_clusters.py b/tests/api_resources/ai/test_clusters.py index 43608e24..0702c699 100644 --- a/tests/api_resources/ai/test_clusters.py +++ b/tests/api_resources/ai/test_clusters.py @@ -21,6 +21,7 @@ class TestClusters: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: cluster = client.ai.clusters.retrieve( @@ -28,6 +29,7 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(ClusterRetrieveResponse, cluster, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve_with_all_params(self, client: Telnyx) -> None: cluster = client.ai.clusters.retrieve( @@ -37,6 +39,7 @@ def test_method_retrieve_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ClusterRetrieveResponse, cluster, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.ai.clusters.with_raw_response.retrieve( @@ -48,6 +51,7 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: cluster = response.parse() assert_matches_type(ClusterRetrieveResponse, cluster, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.ai.clusters.with_streaming_response.retrieve( @@ -61,6 +65,7 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `task_id` but received ''"): @@ -68,11 +73,13 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: task_id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: cluster = client.ai.clusters.list() assert_matches_type(ClusterListResponse, cluster, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: cluster = client.ai.clusters.list( @@ -83,6 +90,7 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ClusterListResponse, cluster, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.ai.clusters.with_raw_response.list() @@ -92,6 +100,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: cluster = response.parse() assert_matches_type(ClusterListResponse, cluster, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.ai.clusters.with_streaming_response.list() as response: @@ -103,6 +112,7 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: cluster = client.ai.clusters.delete( @@ -110,6 +120,7 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert cluster is None + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.ai.clusters.with_raw_response.delete( @@ -121,6 +132,7 @@ def test_raw_response_delete(self, client: Telnyx) -> None: cluster = response.parse() assert cluster is None + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.ai.clusters.with_streaming_response.delete( @@ -134,6 +146,7 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `task_id` but received ''"): @@ -141,6 +154,7 @@ def test_path_params_delete(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_compute(self, client: Telnyx) -> None: cluster = client.ai.clusters.compute( @@ -148,6 +162,7 @@ def test_method_compute(self, client: Telnyx) -> None: ) assert_matches_type(ClusterComputeResponse, cluster, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_compute_with_all_params(self, client: Telnyx) -> None: cluster = client.ai.clusters.compute( @@ -159,6 +174,7 @@ def test_method_compute_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ClusterComputeResponse, cluster, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_compute(self, client: Telnyx) -> None: response = client.ai.clusters.with_raw_response.compute( @@ -170,6 +186,7 @@ def test_raw_response_compute(self, client: Telnyx) -> None: cluster = response.parse() assert_matches_type(ClusterComputeResponse, cluster, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_compute(self, client: Telnyx) -> None: with client.ai.clusters.with_streaming_response.compute( @@ -183,6 +200,7 @@ def test_streaming_response_compute(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_fetch_graph(self, client: Telnyx) -> None: cluster = client.ai.clusters.fetch_graph( @@ -190,6 +208,7 @@ def test_method_fetch_graph(self, client: Telnyx) -> None: ) assert_matches_type(object, cluster, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_fetch_graph_with_all_params(self, client: Telnyx) -> None: cluster = client.ai.clusters.fetch_graph( @@ -198,6 +217,7 @@ def test_method_fetch_graph_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(object, cluster, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_fetch_graph(self, client: Telnyx) -> None: response = client.ai.clusters.with_raw_response.fetch_graph( @@ -209,6 +229,7 @@ def test_raw_response_fetch_graph(self, client: Telnyx) -> None: cluster = response.parse() assert_matches_type(object, cluster, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_fetch_graph(self, client: Telnyx) -> None: with client.ai.clusters.with_streaming_response.fetch_graph( @@ -222,6 +243,7 @@ def test_streaming_response_fetch_graph(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_fetch_graph(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `task_id` but received ''"): @@ -235,6 +257,7 @@ class TestAsyncClusters: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: cluster = await async_client.ai.clusters.retrieve( @@ -242,6 +265,7 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ClusterRetrieveResponse, cluster, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve_with_all_params(self, async_client: AsyncTelnyx) -> None: cluster = await async_client.ai.clusters.retrieve( @@ -251,6 +275,7 @@ async def test_method_retrieve_with_all_params(self, async_client: AsyncTelnyx) ) assert_matches_type(ClusterRetrieveResponse, cluster, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.clusters.with_raw_response.retrieve( @@ -262,6 +287,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: cluster = await response.parse() assert_matches_type(ClusterRetrieveResponse, cluster, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.clusters.with_streaming_response.retrieve( @@ -275,6 +301,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `task_id` but received ''"): @@ -282,11 +309,13 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: task_id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: cluster = await async_client.ai.clusters.list() assert_matches_type(ClusterListResponse, cluster, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: cluster = await async_client.ai.clusters.list( @@ -297,6 +326,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(ClusterListResponse, cluster, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.clusters.with_raw_response.list() @@ -306,6 +336,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: cluster = await response.parse() assert_matches_type(ClusterListResponse, cluster, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.clusters.with_streaming_response.list() as response: @@ -317,6 +348,7 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: cluster = await async_client.ai.clusters.delete( @@ -324,6 +356,7 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert cluster is None + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.clusters.with_raw_response.delete( @@ -335,6 +368,7 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: cluster = await response.parse() assert cluster is None + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.clusters.with_streaming_response.delete( @@ -348,6 +382,7 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `task_id` but received ''"): @@ -355,6 +390,7 @@ async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_compute(self, async_client: AsyncTelnyx) -> None: cluster = await async_client.ai.clusters.compute( @@ -362,6 +398,7 @@ async def test_method_compute(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ClusterComputeResponse, cluster, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_compute_with_all_params(self, async_client: AsyncTelnyx) -> None: cluster = await async_client.ai.clusters.compute( @@ -373,6 +410,7 @@ async def test_method_compute_with_all_params(self, async_client: AsyncTelnyx) - ) assert_matches_type(ClusterComputeResponse, cluster, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_compute(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.clusters.with_raw_response.compute( @@ -384,6 +422,7 @@ async def test_raw_response_compute(self, async_client: AsyncTelnyx) -> None: cluster = await response.parse() assert_matches_type(ClusterComputeResponse, cluster, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_compute(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.clusters.with_streaming_response.compute( @@ -397,6 +436,7 @@ async def test_streaming_response_compute(self, async_client: AsyncTelnyx) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_fetch_graph(self, async_client: AsyncTelnyx) -> None: cluster = await async_client.ai.clusters.fetch_graph( @@ -404,6 +444,7 @@ async def test_method_fetch_graph(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(object, cluster, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_fetch_graph_with_all_params(self, async_client: AsyncTelnyx) -> None: cluster = await async_client.ai.clusters.fetch_graph( @@ -412,6 +453,7 @@ async def test_method_fetch_graph_with_all_params(self, async_client: AsyncTelny ) assert_matches_type(object, cluster, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_fetch_graph(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.clusters.with_raw_response.fetch_graph( @@ -423,6 +465,7 @@ async def test_raw_response_fetch_graph(self, async_client: AsyncTelnyx) -> None cluster = await response.parse() assert_matches_type(object, cluster, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_fetch_graph(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.clusters.with_streaming_response.fetch_graph( @@ -436,6 +479,7 @@ async def test_streaming_response_fetch_graph(self, async_client: AsyncTelnyx) - assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_fetch_graph(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `task_id` but received ''"): diff --git a/tests/api_resources/ai/test_conversations.py b/tests/api_resources/ai/test_conversations.py index 68d2a880..f7b975ee 100644 --- a/tests/api_resources/ai/test_conversations.py +++ b/tests/api_resources/ai/test_conversations.py @@ -23,11 +23,13 @@ class TestConversations: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: conversation = client.ai.conversations.create() assert_matches_type(Conversation, conversation, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: conversation = client.ai.conversations.create( @@ -36,6 +38,7 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(Conversation, conversation, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.ai.conversations.with_raw_response.create() @@ -45,6 +48,7 @@ def test_raw_response_create(self, client: Telnyx) -> None: conversation = response.parse() assert_matches_type(Conversation, conversation, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.ai.conversations.with_streaming_response.create() as response: @@ -56,6 +60,7 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: conversation = client.ai.conversations.retrieve( @@ -63,6 +68,7 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(ConversationRetrieveResponse, conversation, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.ai.conversations.with_raw_response.retrieve( @@ -74,6 +80,7 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: conversation = response.parse() assert_matches_type(ConversationRetrieveResponse, conversation, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.ai.conversations.with_streaming_response.retrieve( @@ -87,6 +94,7 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `conversation_id` but received ''"): @@ -94,6 +102,7 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update(self, client: Telnyx) -> None: conversation = client.ai.conversations.update( @@ -101,6 +110,7 @@ def test_method_update(self, client: Telnyx) -> None: ) assert_matches_type(ConversationUpdateResponse, conversation, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_with_all_params(self, client: Telnyx) -> None: conversation = client.ai.conversations.update( @@ -109,6 +119,7 @@ def test_method_update_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ConversationUpdateResponse, conversation, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update(self, client: Telnyx) -> None: response = client.ai.conversations.with_raw_response.update( @@ -120,6 +131,7 @@ def test_raw_response_update(self, client: Telnyx) -> None: conversation = response.parse() assert_matches_type(ConversationUpdateResponse, conversation, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update(self, client: Telnyx) -> None: with client.ai.conversations.with_streaming_response.update( @@ -133,6 +145,7 @@ def test_streaming_response_update(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `conversation_id` but received ''"): @@ -140,11 +153,13 @@ def test_path_params_update(self, client: Telnyx) -> None: conversation_id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: conversation = client.ai.conversations.list() assert_matches_type(ConversationListResponse, conversation, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: conversation = client.ai.conversations.list( @@ -163,6 +178,7 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ConversationListResponse, conversation, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.ai.conversations.with_raw_response.list() @@ -172,6 +188,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: conversation = response.parse() assert_matches_type(ConversationListResponse, conversation, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.ai.conversations.with_streaming_response.list() as response: @@ -183,6 +200,7 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: conversation = client.ai.conversations.delete( @@ -190,6 +208,7 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert conversation is None + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.ai.conversations.with_raw_response.delete( @@ -201,6 +220,7 @@ def test_raw_response_delete(self, client: Telnyx) -> None: conversation = response.parse() assert conversation is None + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.ai.conversations.with_streaming_response.delete( @@ -214,6 +234,7 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `conversation_id` but received ''"): @@ -221,6 +242,7 @@ def test_path_params_delete(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve_conversations_insights(self, client: Telnyx) -> None: conversation = client.ai.conversations.retrieve_conversations_insights( @@ -228,6 +250,7 @@ def test_method_retrieve_conversations_insights(self, client: Telnyx) -> None: ) assert_matches_type(ConversationRetrieveConversationsInsightsResponse, conversation, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve_conversations_insights(self, client: Telnyx) -> None: response = client.ai.conversations.with_raw_response.retrieve_conversations_insights( @@ -239,6 +262,7 @@ def test_raw_response_retrieve_conversations_insights(self, client: Telnyx) -> N conversation = response.parse() assert_matches_type(ConversationRetrieveConversationsInsightsResponse, conversation, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve_conversations_insights(self, client: Telnyx) -> None: with client.ai.conversations.with_streaming_response.retrieve_conversations_insights( @@ -252,6 +276,7 @@ def test_streaming_response_retrieve_conversations_insights(self, client: Telnyx assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve_conversations_insights(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `conversation_id` but received ''"): @@ -265,11 +290,13 @@ class TestAsyncConversations: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: conversation = await async_client.ai.conversations.create() assert_matches_type(Conversation, conversation, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: conversation = await async_client.ai.conversations.create( @@ -278,6 +305,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(Conversation, conversation, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.conversations.with_raw_response.create() @@ -287,6 +315,7 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: conversation = await response.parse() assert_matches_type(Conversation, conversation, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.conversations.with_streaming_response.create() as response: @@ -298,6 +327,7 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: conversation = await async_client.ai.conversations.retrieve( @@ -305,6 +335,7 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ConversationRetrieveResponse, conversation, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.conversations.with_raw_response.retrieve( @@ -316,6 +347,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: conversation = await response.parse() assert_matches_type(ConversationRetrieveResponse, conversation, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.conversations.with_streaming_response.retrieve( @@ -329,6 +361,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `conversation_id` but received ''"): @@ -336,6 +369,7 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update(self, async_client: AsyncTelnyx) -> None: conversation = await async_client.ai.conversations.update( @@ -343,6 +377,7 @@ async def test_method_update(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ConversationUpdateResponse, conversation, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> None: conversation = await async_client.ai.conversations.update( @@ -351,6 +386,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(ConversationUpdateResponse, conversation, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.conversations.with_raw_response.update( @@ -362,6 +398,7 @@ async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: conversation = await response.parse() assert_matches_type(ConversationUpdateResponse, conversation, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.conversations.with_streaming_response.update( @@ -375,6 +412,7 @@ async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `conversation_id` but received ''"): @@ -382,11 +420,13 @@ async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: conversation_id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: conversation = await async_client.ai.conversations.list() assert_matches_type(ConversationListResponse, conversation, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: conversation = await async_client.ai.conversations.list( @@ -405,6 +445,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(ConversationListResponse, conversation, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.conversations.with_raw_response.list() @@ -414,6 +455,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: conversation = await response.parse() assert_matches_type(ConversationListResponse, conversation, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.conversations.with_streaming_response.list() as response: @@ -425,6 +467,7 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: conversation = await async_client.ai.conversations.delete( @@ -432,6 +475,7 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert conversation is None + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.conversations.with_raw_response.delete( @@ -443,6 +487,7 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: conversation = await response.parse() assert conversation is None + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.conversations.with_streaming_response.delete( @@ -456,6 +501,7 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `conversation_id` but received ''"): @@ -463,6 +509,7 @@ async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve_conversations_insights(self, async_client: AsyncTelnyx) -> None: conversation = await async_client.ai.conversations.retrieve_conversations_insights( @@ -470,6 +517,7 @@ async def test_method_retrieve_conversations_insights(self, async_client: AsyncT ) assert_matches_type(ConversationRetrieveConversationsInsightsResponse, conversation, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve_conversations_insights(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.conversations.with_raw_response.retrieve_conversations_insights( @@ -481,6 +529,7 @@ async def test_raw_response_retrieve_conversations_insights(self, async_client: conversation = await response.parse() assert_matches_type(ConversationRetrieveConversationsInsightsResponse, conversation, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve_conversations_insights(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.conversations.with_streaming_response.retrieve_conversations_insights( @@ -494,6 +543,7 @@ async def test_streaming_response_retrieve_conversations_insights(self, async_cl assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve_conversations_insights(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `conversation_id` but received ''"): diff --git a/tests/api_resources/ai/test_embeddings.py b/tests/api_resources/ai/test_embeddings.py index 1a7b3433..c9fb23bb 100644 --- a/tests/api_resources/ai/test_embeddings.py +++ b/tests/api_resources/ai/test_embeddings.py @@ -22,6 +22,7 @@ class TestEmbeddings: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: embedding = client.ai.embeddings.create( @@ -29,6 +30,7 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(EmbeddingResponse, embedding, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: embedding = client.ai.embeddings.create( @@ -40,6 +42,7 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(EmbeddingResponse, embedding, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.ai.embeddings.with_raw_response.create( @@ -51,6 +54,7 @@ def test_raw_response_create(self, client: Telnyx) -> None: embedding = response.parse() assert_matches_type(EmbeddingResponse, embedding, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.ai.embeddings.with_streaming_response.create( @@ -64,6 +68,7 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: embedding = client.ai.embeddings.retrieve( @@ -71,6 +76,7 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(EmbeddingRetrieveResponse, embedding, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.ai.embeddings.with_raw_response.retrieve( @@ -82,6 +88,7 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: embedding = response.parse() assert_matches_type(EmbeddingRetrieveResponse, embedding, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.ai.embeddings.with_streaming_response.retrieve( @@ -95,6 +102,7 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `task_id` but received ''"): @@ -102,11 +110,13 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: embedding = client.ai.embeddings.list() assert_matches_type(EmbeddingListResponse, embedding, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: embedding = client.ai.embeddings.list( @@ -114,6 +124,7 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(EmbeddingListResponse, embedding, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.ai.embeddings.with_raw_response.list() @@ -123,6 +134,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: embedding = response.parse() assert_matches_type(EmbeddingListResponse, embedding, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.ai.embeddings.with_streaming_response.list() as response: @@ -134,6 +146,7 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_similarity_search(self, client: Telnyx) -> None: embedding = client.ai.embeddings.similarity_search( @@ -142,6 +155,7 @@ def test_method_similarity_search(self, client: Telnyx) -> None: ) assert_matches_type(EmbeddingSimilaritySearchResponse, embedding, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_similarity_search_with_all_params(self, client: Telnyx) -> None: embedding = client.ai.embeddings.similarity_search( @@ -151,6 +165,7 @@ def test_method_similarity_search_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(EmbeddingSimilaritySearchResponse, embedding, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_similarity_search(self, client: Telnyx) -> None: response = client.ai.embeddings.with_raw_response.similarity_search( @@ -163,6 +178,7 @@ def test_raw_response_similarity_search(self, client: Telnyx) -> None: embedding = response.parse() assert_matches_type(EmbeddingSimilaritySearchResponse, embedding, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_similarity_search(self, client: Telnyx) -> None: with client.ai.embeddings.with_streaming_response.similarity_search( @@ -177,6 +193,7 @@ def test_streaming_response_similarity_search(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_url(self, client: Telnyx) -> None: embedding = client.ai.embeddings.url( @@ -185,6 +202,7 @@ def test_method_url(self, client: Telnyx) -> None: ) assert_matches_type(EmbeddingResponse, embedding, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_url(self, client: Telnyx) -> None: response = client.ai.embeddings.with_raw_response.url( @@ -197,6 +215,7 @@ def test_raw_response_url(self, client: Telnyx) -> None: embedding = response.parse() assert_matches_type(EmbeddingResponse, embedding, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_url(self, client: Telnyx) -> None: with client.ai.embeddings.with_streaming_response.url( @@ -217,6 +236,7 @@ class TestAsyncEmbeddings: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: embedding = await async_client.ai.embeddings.create( @@ -224,6 +244,7 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(EmbeddingResponse, embedding, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: embedding = await async_client.ai.embeddings.create( @@ -235,6 +256,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(EmbeddingResponse, embedding, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.embeddings.with_raw_response.create( @@ -246,6 +268,7 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: embedding = await response.parse() assert_matches_type(EmbeddingResponse, embedding, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.embeddings.with_streaming_response.create( @@ -259,6 +282,7 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: embedding = await async_client.ai.embeddings.retrieve( @@ -266,6 +290,7 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(EmbeddingRetrieveResponse, embedding, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.embeddings.with_raw_response.retrieve( @@ -277,6 +302,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: embedding = await response.parse() assert_matches_type(EmbeddingRetrieveResponse, embedding, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.embeddings.with_streaming_response.retrieve( @@ -290,6 +316,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `task_id` but received ''"): @@ -297,11 +324,13 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: embedding = await async_client.ai.embeddings.list() assert_matches_type(EmbeddingListResponse, embedding, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: embedding = await async_client.ai.embeddings.list( @@ -309,6 +338,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(EmbeddingListResponse, embedding, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.embeddings.with_raw_response.list() @@ -318,6 +348,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: embedding = await response.parse() assert_matches_type(EmbeddingListResponse, embedding, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.embeddings.with_streaming_response.list() as response: @@ -329,6 +360,7 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_similarity_search(self, async_client: AsyncTelnyx) -> None: embedding = await async_client.ai.embeddings.similarity_search( @@ -337,6 +369,7 @@ async def test_method_similarity_search(self, async_client: AsyncTelnyx) -> None ) assert_matches_type(EmbeddingSimilaritySearchResponse, embedding, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_similarity_search_with_all_params(self, async_client: AsyncTelnyx) -> None: embedding = await async_client.ai.embeddings.similarity_search( @@ -346,6 +379,7 @@ async def test_method_similarity_search_with_all_params(self, async_client: Asyn ) assert_matches_type(EmbeddingSimilaritySearchResponse, embedding, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_similarity_search(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.embeddings.with_raw_response.similarity_search( @@ -358,6 +392,7 @@ async def test_raw_response_similarity_search(self, async_client: AsyncTelnyx) - embedding = await response.parse() assert_matches_type(EmbeddingSimilaritySearchResponse, embedding, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_similarity_search(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.embeddings.with_streaming_response.similarity_search( @@ -372,6 +407,7 @@ async def test_streaming_response_similarity_search(self, async_client: AsyncTel assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_url(self, async_client: AsyncTelnyx) -> None: embedding = await async_client.ai.embeddings.url( @@ -380,6 +416,7 @@ async def test_method_url(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(EmbeddingResponse, embedding, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_url(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.embeddings.with_raw_response.url( @@ -392,6 +429,7 @@ async def test_raw_response_url(self, async_client: AsyncTelnyx) -> None: embedding = await response.parse() assert_matches_type(EmbeddingResponse, embedding, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_url(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.embeddings.with_streaming_response.url( diff --git a/tests/api_resources/brand/test_external_vetting.py b/tests/api_resources/brand/test_external_vetting.py index 623df861..6b71c2f0 100644 --- a/tests/api_resources/brand/test_external_vetting.py +++ b/tests/api_resources/brand/test_external_vetting.py @@ -19,6 +19,7 @@ class TestExternalVetting: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: external_vetting = client.brand.external_vetting.list( @@ -26,6 +27,7 @@ def test_method_list(self, client: Telnyx) -> None: ) assert_matches_type(object, external_vetting, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.brand.external_vetting.with_raw_response.list( @@ -37,6 +39,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: external_vetting = response.parse() assert_matches_type(object, external_vetting, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.brand.external_vetting.with_streaming_response.list( @@ -50,6 +53,7 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_list(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `brand_id` but received ''"): @@ -57,6 +61,7 @@ def test_path_params_list(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_import(self, client: Telnyx) -> None: external_vetting = client.brand.external_vetting.import_( @@ -66,6 +71,7 @@ def test_method_import(self, client: Telnyx) -> None: ) assert_matches_type(ExternalVettingImportResponse, external_vetting, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_import_with_all_params(self, client: Telnyx) -> None: external_vetting = client.brand.external_vetting.import_( @@ -76,6 +82,7 @@ def test_method_import_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ExternalVettingImportResponse, external_vetting, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_import(self, client: Telnyx) -> None: response = client.brand.external_vetting.with_raw_response.import_( @@ -89,6 +96,7 @@ def test_raw_response_import(self, client: Telnyx) -> None: external_vetting = response.parse() assert_matches_type(ExternalVettingImportResponse, external_vetting, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_import(self, client: Telnyx) -> None: with client.brand.external_vetting.with_streaming_response.import_( @@ -104,6 +112,7 @@ def test_streaming_response_import(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_import(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `brand_id` but received ''"): @@ -113,6 +122,7 @@ def test_path_params_import(self, client: Telnyx) -> None: vetting_id="vettingId", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_order(self, client: Telnyx) -> None: external_vetting = client.brand.external_vetting.order( @@ -122,6 +132,7 @@ def test_method_order(self, client: Telnyx) -> None: ) assert_matches_type(object, external_vetting, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_order(self, client: Telnyx) -> None: response = client.brand.external_vetting.with_raw_response.order( @@ -135,6 +146,7 @@ def test_raw_response_order(self, client: Telnyx) -> None: external_vetting = response.parse() assert_matches_type(object, external_vetting, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_order(self, client: Telnyx) -> None: with client.brand.external_vetting.with_streaming_response.order( @@ -150,6 +162,7 @@ def test_streaming_response_order(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_order(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `brand_id` but received ''"): @@ -165,6 +178,7 @@ class TestAsyncExternalVetting: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: external_vetting = await async_client.brand.external_vetting.list( @@ -172,6 +186,7 @@ async def test_method_list(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(object, external_vetting, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.brand.external_vetting.with_raw_response.list( @@ -183,6 +198,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: external_vetting = await response.parse() assert_matches_type(object, external_vetting, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.brand.external_vetting.with_streaming_response.list( @@ -196,6 +212,7 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_list(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `brand_id` but received ''"): @@ -203,6 +220,7 @@ async def test_path_params_list(self, async_client: AsyncTelnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_import(self, async_client: AsyncTelnyx) -> None: external_vetting = await async_client.brand.external_vetting.import_( @@ -212,6 +230,7 @@ async def test_method_import(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ExternalVettingImportResponse, external_vetting, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_import_with_all_params(self, async_client: AsyncTelnyx) -> None: external_vetting = await async_client.brand.external_vetting.import_( @@ -222,6 +241,7 @@ async def test_method_import_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(ExternalVettingImportResponse, external_vetting, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_import(self, async_client: AsyncTelnyx) -> None: response = await async_client.brand.external_vetting.with_raw_response.import_( @@ -235,6 +255,7 @@ async def test_raw_response_import(self, async_client: AsyncTelnyx) -> None: external_vetting = await response.parse() assert_matches_type(ExternalVettingImportResponse, external_vetting, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_import(self, async_client: AsyncTelnyx) -> None: async with async_client.brand.external_vetting.with_streaming_response.import_( @@ -250,6 +271,7 @@ async def test_streaming_response_import(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_import(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `brand_id` but received ''"): @@ -259,6 +281,7 @@ async def test_path_params_import(self, async_client: AsyncTelnyx) -> None: vetting_id="vettingId", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_order(self, async_client: AsyncTelnyx) -> None: external_vetting = await async_client.brand.external_vetting.order( @@ -268,6 +291,7 @@ async def test_method_order(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(object, external_vetting, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_order(self, async_client: AsyncTelnyx) -> None: response = await async_client.brand.external_vetting.with_raw_response.order( @@ -281,6 +305,7 @@ async def test_raw_response_order(self, async_client: AsyncTelnyx) -> None: external_vetting = await response.parse() assert_matches_type(object, external_vetting, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_order(self, async_client: AsyncTelnyx) -> None: async with async_client.brand.external_vetting.with_streaming_response.order( @@ -296,6 +321,7 @@ async def test_streaming_response_order(self, async_client: AsyncTelnyx) -> None assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_order(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `brand_id` but received ''"): diff --git a/tests/api_resources/bundle_pricing/test_billing_bundles.py b/tests/api_resources/bundle_pricing/test_billing_bundles.py index 765ae53a..289ae4f5 100644 --- a/tests/api_resources/bundle_pricing/test_billing_bundles.py +++ b/tests/api_resources/bundle_pricing/test_billing_bundles.py @@ -20,6 +20,7 @@ class TestBillingBundles: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: billing_bundle = client.bundle_pricing.billing_bundles.retrieve( @@ -27,6 +28,7 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(BillingBundleRetrieveResponse, billing_bundle, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve_with_all_params(self, client: Telnyx) -> None: billing_bundle = client.bundle_pricing.billing_bundles.retrieve( @@ -35,6 +37,7 @@ def test_method_retrieve_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(BillingBundleRetrieveResponse, billing_bundle, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.bundle_pricing.billing_bundles.with_raw_response.retrieve( @@ -46,6 +49,7 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: billing_bundle = response.parse() assert_matches_type(BillingBundleRetrieveResponse, billing_bundle, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.bundle_pricing.billing_bundles.with_streaming_response.retrieve( @@ -59,6 +63,7 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `bundle_id` but received ''"): @@ -66,11 +71,13 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: bundle_id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: billing_bundle = client.bundle_pricing.billing_bundles.list() assert_matches_type(BillingBundleListResponse, billing_bundle, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: billing_bundle = client.bundle_pricing.billing_bundles.list( @@ -86,6 +93,7 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(BillingBundleListResponse, billing_bundle, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.bundle_pricing.billing_bundles.with_raw_response.list() @@ -95,6 +103,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: billing_bundle = response.parse() assert_matches_type(BillingBundleListResponse, billing_bundle, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.bundle_pricing.billing_bundles.with_streaming_response.list() as response: @@ -112,6 +121,7 @@ class TestAsyncBillingBundles: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: billing_bundle = await async_client.bundle_pricing.billing_bundles.retrieve( @@ -119,6 +129,7 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(BillingBundleRetrieveResponse, billing_bundle, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve_with_all_params(self, async_client: AsyncTelnyx) -> None: billing_bundle = await async_client.bundle_pricing.billing_bundles.retrieve( @@ -127,6 +138,7 @@ async def test_method_retrieve_with_all_params(self, async_client: AsyncTelnyx) ) assert_matches_type(BillingBundleRetrieveResponse, billing_bundle, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.bundle_pricing.billing_bundles.with_raw_response.retrieve( @@ -138,6 +150,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: billing_bundle = await response.parse() assert_matches_type(BillingBundleRetrieveResponse, billing_bundle, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.bundle_pricing.billing_bundles.with_streaming_response.retrieve( @@ -151,6 +164,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `bundle_id` but received ''"): @@ -158,11 +172,13 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: bundle_id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: billing_bundle = await async_client.bundle_pricing.billing_bundles.list() assert_matches_type(BillingBundleListResponse, billing_bundle, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: billing_bundle = await async_client.bundle_pricing.billing_bundles.list( @@ -178,6 +194,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(BillingBundleListResponse, billing_bundle, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.bundle_pricing.billing_bundles.with_raw_response.list() @@ -187,6 +204,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: billing_bundle = await response.parse() assert_matches_type(BillingBundleListResponse, billing_bundle, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.bundle_pricing.billing_bundles.with_streaming_response.list() as response: diff --git a/tests/api_resources/bundle_pricing/test_user_bundles.py b/tests/api_resources/bundle_pricing/test_user_bundles.py index 17e03f5f..fd3594fd 100644 --- a/tests/api_resources/bundle_pricing/test_user_bundles.py +++ b/tests/api_resources/bundle_pricing/test_user_bundles.py @@ -24,11 +24,13 @@ class TestUserBundles: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: user_bundle = client.bundle_pricing.user_bundles.create() assert_matches_type(UserBundleCreateResponse, user_bundle, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: user_bundle = client.bundle_pricing.user_bundles.create( @@ -43,6 +45,7 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(UserBundleCreateResponse, user_bundle, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.bundle_pricing.user_bundles.with_raw_response.create() @@ -52,6 +55,7 @@ def test_raw_response_create(self, client: Telnyx) -> None: user_bundle = response.parse() assert_matches_type(UserBundleCreateResponse, user_bundle, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.bundle_pricing.user_bundles.with_streaming_response.create() as response: @@ -63,6 +67,7 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: user_bundle = client.bundle_pricing.user_bundles.retrieve( @@ -70,6 +75,7 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(UserBundleRetrieveResponse, user_bundle, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve_with_all_params(self, client: Telnyx) -> None: user_bundle = client.bundle_pricing.user_bundles.retrieve( @@ -78,6 +84,7 @@ def test_method_retrieve_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(UserBundleRetrieveResponse, user_bundle, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.bundle_pricing.user_bundles.with_raw_response.retrieve( @@ -89,6 +96,7 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: user_bundle = response.parse() assert_matches_type(UserBundleRetrieveResponse, user_bundle, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.bundle_pricing.user_bundles.with_streaming_response.retrieve( @@ -102,6 +110,7 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `user_bundle_id` but received ''"): @@ -109,11 +118,13 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: user_bundle_id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: user_bundle = client.bundle_pricing.user_bundles.list() assert_matches_type(UserBundleListResponse, user_bundle, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: user_bundle = client.bundle_pricing.user_bundles.list( @@ -129,6 +140,7 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(UserBundleListResponse, user_bundle, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.bundle_pricing.user_bundles.with_raw_response.list() @@ -138,6 +150,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: user_bundle = response.parse() assert_matches_type(UserBundleListResponse, user_bundle, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.bundle_pricing.user_bundles.with_streaming_response.list() as response: @@ -149,6 +162,7 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_deactivate(self, client: Telnyx) -> None: user_bundle = client.bundle_pricing.user_bundles.deactivate( @@ -156,6 +170,7 @@ def test_method_deactivate(self, client: Telnyx) -> None: ) assert_matches_type(UserBundleDeactivateResponse, user_bundle, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_deactivate_with_all_params(self, client: Telnyx) -> None: user_bundle = client.bundle_pricing.user_bundles.deactivate( @@ -164,6 +179,7 @@ def test_method_deactivate_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(UserBundleDeactivateResponse, user_bundle, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_deactivate(self, client: Telnyx) -> None: response = client.bundle_pricing.user_bundles.with_raw_response.deactivate( @@ -175,6 +191,7 @@ def test_raw_response_deactivate(self, client: Telnyx) -> None: user_bundle = response.parse() assert_matches_type(UserBundleDeactivateResponse, user_bundle, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_deactivate(self, client: Telnyx) -> None: with client.bundle_pricing.user_bundles.with_streaming_response.deactivate( @@ -188,6 +205,7 @@ def test_streaming_response_deactivate(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_deactivate(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `user_bundle_id` but received ''"): @@ -195,6 +213,7 @@ def test_path_params_deactivate(self, client: Telnyx) -> None: user_bundle_id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_resources(self, client: Telnyx) -> None: user_bundle = client.bundle_pricing.user_bundles.list_resources( @@ -202,6 +221,7 @@ def test_method_list_resources(self, client: Telnyx) -> None: ) assert_matches_type(UserBundleListResourcesResponse, user_bundle, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_resources_with_all_params(self, client: Telnyx) -> None: user_bundle = client.bundle_pricing.user_bundles.list_resources( @@ -210,6 +230,7 @@ def test_method_list_resources_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(UserBundleListResourcesResponse, user_bundle, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list_resources(self, client: Telnyx) -> None: response = client.bundle_pricing.user_bundles.with_raw_response.list_resources( @@ -221,6 +242,7 @@ def test_raw_response_list_resources(self, client: Telnyx) -> None: user_bundle = response.parse() assert_matches_type(UserBundleListResourcesResponse, user_bundle, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list_resources(self, client: Telnyx) -> None: with client.bundle_pricing.user_bundles.with_streaming_response.list_resources( @@ -234,6 +256,7 @@ def test_streaming_response_list_resources(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_list_resources(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `user_bundle_id` but received ''"): @@ -241,11 +264,13 @@ def test_path_params_list_resources(self, client: Telnyx) -> None: user_bundle_id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_unused(self, client: Telnyx) -> None: user_bundle = client.bundle_pricing.user_bundles.list_unused() assert_matches_type(UserBundleListUnusedResponse, user_bundle, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_unused_with_all_params(self, client: Telnyx) -> None: user_bundle = client.bundle_pricing.user_bundles.list_unused( @@ -257,6 +282,7 @@ def test_method_list_unused_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(UserBundleListUnusedResponse, user_bundle, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list_unused(self, client: Telnyx) -> None: response = client.bundle_pricing.user_bundles.with_raw_response.list_unused() @@ -266,6 +292,7 @@ def test_raw_response_list_unused(self, client: Telnyx) -> None: user_bundle = response.parse() assert_matches_type(UserBundleListUnusedResponse, user_bundle, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list_unused(self, client: Telnyx) -> None: with client.bundle_pricing.user_bundles.with_streaming_response.list_unused() as response: @@ -283,11 +310,13 @@ class TestAsyncUserBundles: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: user_bundle = await async_client.bundle_pricing.user_bundles.create() assert_matches_type(UserBundleCreateResponse, user_bundle, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: user_bundle = await async_client.bundle_pricing.user_bundles.create( @@ -302,6 +331,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(UserBundleCreateResponse, user_bundle, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.bundle_pricing.user_bundles.with_raw_response.create() @@ -311,6 +341,7 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: user_bundle = await response.parse() assert_matches_type(UserBundleCreateResponse, user_bundle, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.bundle_pricing.user_bundles.with_streaming_response.create() as response: @@ -322,6 +353,7 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: user_bundle = await async_client.bundle_pricing.user_bundles.retrieve( @@ -329,6 +361,7 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(UserBundleRetrieveResponse, user_bundle, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve_with_all_params(self, async_client: AsyncTelnyx) -> None: user_bundle = await async_client.bundle_pricing.user_bundles.retrieve( @@ -337,6 +370,7 @@ async def test_method_retrieve_with_all_params(self, async_client: AsyncTelnyx) ) assert_matches_type(UserBundleRetrieveResponse, user_bundle, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.bundle_pricing.user_bundles.with_raw_response.retrieve( @@ -348,6 +382,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: user_bundle = await response.parse() assert_matches_type(UserBundleRetrieveResponse, user_bundle, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.bundle_pricing.user_bundles.with_streaming_response.retrieve( @@ -361,6 +396,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `user_bundle_id` but received ''"): @@ -368,11 +404,13 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: user_bundle_id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: user_bundle = await async_client.bundle_pricing.user_bundles.list() assert_matches_type(UserBundleListResponse, user_bundle, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: user_bundle = await async_client.bundle_pricing.user_bundles.list( @@ -388,6 +426,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(UserBundleListResponse, user_bundle, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.bundle_pricing.user_bundles.with_raw_response.list() @@ -397,6 +436,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: user_bundle = await response.parse() assert_matches_type(UserBundleListResponse, user_bundle, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.bundle_pricing.user_bundles.with_streaming_response.list() as response: @@ -408,6 +448,7 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_deactivate(self, async_client: AsyncTelnyx) -> None: user_bundle = await async_client.bundle_pricing.user_bundles.deactivate( @@ -415,6 +456,7 @@ async def test_method_deactivate(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(UserBundleDeactivateResponse, user_bundle, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_deactivate_with_all_params(self, async_client: AsyncTelnyx) -> None: user_bundle = await async_client.bundle_pricing.user_bundles.deactivate( @@ -423,6 +465,7 @@ async def test_method_deactivate_with_all_params(self, async_client: AsyncTelnyx ) assert_matches_type(UserBundleDeactivateResponse, user_bundle, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_deactivate(self, async_client: AsyncTelnyx) -> None: response = await async_client.bundle_pricing.user_bundles.with_raw_response.deactivate( @@ -434,6 +477,7 @@ async def test_raw_response_deactivate(self, async_client: AsyncTelnyx) -> None: user_bundle = await response.parse() assert_matches_type(UserBundleDeactivateResponse, user_bundle, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_deactivate(self, async_client: AsyncTelnyx) -> None: async with async_client.bundle_pricing.user_bundles.with_streaming_response.deactivate( @@ -447,6 +491,7 @@ async def test_streaming_response_deactivate(self, async_client: AsyncTelnyx) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_deactivate(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `user_bundle_id` but received ''"): @@ -454,6 +499,7 @@ async def test_path_params_deactivate(self, async_client: AsyncTelnyx) -> None: user_bundle_id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_resources(self, async_client: AsyncTelnyx) -> None: user_bundle = await async_client.bundle_pricing.user_bundles.list_resources( @@ -461,6 +507,7 @@ async def test_method_list_resources(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(UserBundleListResourcesResponse, user_bundle, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_resources_with_all_params(self, async_client: AsyncTelnyx) -> None: user_bundle = await async_client.bundle_pricing.user_bundles.list_resources( @@ -469,6 +516,7 @@ async def test_method_list_resources_with_all_params(self, async_client: AsyncTe ) assert_matches_type(UserBundleListResourcesResponse, user_bundle, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list_resources(self, async_client: AsyncTelnyx) -> None: response = await async_client.bundle_pricing.user_bundles.with_raw_response.list_resources( @@ -480,6 +528,7 @@ async def test_raw_response_list_resources(self, async_client: AsyncTelnyx) -> N user_bundle = await response.parse() assert_matches_type(UserBundleListResourcesResponse, user_bundle, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list_resources(self, async_client: AsyncTelnyx) -> None: async with async_client.bundle_pricing.user_bundles.with_streaming_response.list_resources( @@ -493,6 +542,7 @@ async def test_streaming_response_list_resources(self, async_client: AsyncTelnyx assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_list_resources(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `user_bundle_id` but received ''"): @@ -500,11 +550,13 @@ async def test_path_params_list_resources(self, async_client: AsyncTelnyx) -> No user_bundle_id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_unused(self, async_client: AsyncTelnyx) -> None: user_bundle = await async_client.bundle_pricing.user_bundles.list_unused() assert_matches_type(UserBundleListUnusedResponse, user_bundle, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_unused_with_all_params(self, async_client: AsyncTelnyx) -> None: user_bundle = await async_client.bundle_pricing.user_bundles.list_unused( @@ -516,6 +568,7 @@ async def test_method_list_unused_with_all_params(self, async_client: AsyncTelny ) assert_matches_type(UserBundleListUnusedResponse, user_bundle, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list_unused(self, async_client: AsyncTelnyx) -> None: response = await async_client.bundle_pricing.user_bundles.with_raw_response.list_unused() @@ -525,6 +578,7 @@ async def test_raw_response_list_unused(self, async_client: AsyncTelnyx) -> None user_bundle = await response.parse() assert_matches_type(UserBundleListUnusedResponse, user_bundle, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list_unused(self, async_client: AsyncTelnyx) -> None: async with async_client.bundle_pricing.user_bundles.with_streaming_response.list_unused() as response: diff --git a/tests/api_resources/calls/test_actions.py b/tests/api_resources/calls/test_actions.py index f421eaf8..1926129d 100644 --- a/tests/api_resources/calls/test_actions.py +++ b/tests/api_resources/calls/test_actions.py @@ -54,6 +54,7 @@ class TestActions: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_answer(self, client: Telnyx) -> None: action = client.calls.actions.answer( @@ -61,6 +62,7 @@ def test_method_answer(self, client: Telnyx) -> None: ) assert_matches_type(ActionAnswerResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_answer_with_all_params(self, client: Telnyx) -> None: action = client.calls.actions.answer( @@ -136,6 +138,7 @@ def test_method_answer_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ActionAnswerResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_answer(self, client: Telnyx) -> None: response = client.calls.actions.with_raw_response.answer( @@ -147,6 +150,7 @@ def test_raw_response_answer(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionAnswerResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_answer(self, client: Telnyx) -> None: with client.calls.actions.with_streaming_response.answer( @@ -160,6 +164,7 @@ def test_streaming_response_answer(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_answer(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_control_id` but received ''"): @@ -167,6 +172,7 @@ def test_path_params_answer(self, client: Telnyx) -> None: call_control_id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_bridge(self, client: Telnyx) -> None: action = client.calls.actions.bridge( @@ -175,6 +181,7 @@ def test_method_bridge(self, client: Telnyx) -> None: ) assert_matches_type(ActionBridgeResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_bridge_with_all_params(self, client: Telnyx) -> None: action = client.calls.actions.bridge( @@ -200,6 +207,7 @@ def test_method_bridge_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ActionBridgeResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_bridge(self, client: Telnyx) -> None: response = client.calls.actions.with_raw_response.bridge( @@ -212,6 +220,7 @@ def test_raw_response_bridge(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionBridgeResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_bridge(self, client: Telnyx) -> None: with client.calls.actions.with_streaming_response.bridge( @@ -226,6 +235,7 @@ def test_streaming_response_bridge(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_bridge(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `path_call_control_id` but received ''"): @@ -234,6 +244,7 @@ def test_path_params_bridge(self, client: Telnyx) -> None: body_call_control_id="v3:MdI91X4lWFEs7IgbBEOT9M4AigoY08M0WWZFISt1Yw2axZ_IiE4pqg", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_enqueue(self, client: Telnyx) -> None: action = client.calls.actions.enqueue( @@ -242,6 +253,7 @@ def test_method_enqueue(self, client: Telnyx) -> None: ) assert_matches_type(ActionEnqueueResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_enqueue_with_all_params(self, client: Telnyx) -> None: action = client.calls.actions.enqueue( @@ -254,6 +266,7 @@ def test_method_enqueue_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ActionEnqueueResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_enqueue(self, client: Telnyx) -> None: response = client.calls.actions.with_raw_response.enqueue( @@ -266,6 +279,7 @@ def test_raw_response_enqueue(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionEnqueueResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_enqueue(self, client: Telnyx) -> None: with client.calls.actions.with_streaming_response.enqueue( @@ -280,6 +294,7 @@ def test_streaming_response_enqueue(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_enqueue(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_control_id` but received ''"): @@ -288,6 +303,7 @@ def test_path_params_enqueue(self, client: Telnyx) -> None: queue_name="support", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_gather(self, client: Telnyx) -> None: action = client.calls.actions.gather( @@ -295,6 +311,7 @@ def test_method_gather(self, client: Telnyx) -> None: ) assert_matches_type(ActionGatherResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_gather_with_all_params(self, client: Telnyx) -> None: action = client.calls.actions.gather( @@ -312,6 +329,7 @@ def test_method_gather_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ActionGatherResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_gather(self, client: Telnyx) -> None: response = client.calls.actions.with_raw_response.gather( @@ -323,6 +341,7 @@ def test_raw_response_gather(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionGatherResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_gather(self, client: Telnyx) -> None: with client.calls.actions.with_streaming_response.gather( @@ -336,6 +355,7 @@ def test_streaming_response_gather(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_gather(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_control_id` but received ''"): @@ -343,6 +363,7 @@ def test_path_params_gather(self, client: Telnyx) -> None: call_control_id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_gather_using_ai(self, client: Telnyx) -> None: action = client.calls.actions.gather_using_ai( @@ -364,6 +385,7 @@ def test_method_gather_using_ai(self, client: Telnyx) -> None: ) assert_matches_type(ActionGatherUsingAIResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_gather_using_ai_with_all_params(self, client: Telnyx) -> None: action = client.calls.actions.gather_using_ai( @@ -422,6 +444,7 @@ def test_method_gather_using_ai_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ActionGatherUsingAIResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_gather_using_ai(self, client: Telnyx) -> None: response = client.calls.actions.with_raw_response.gather_using_ai( @@ -447,6 +470,7 @@ def test_raw_response_gather_using_ai(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionGatherUsingAIResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_gather_using_ai(self, client: Telnyx) -> None: with client.calls.actions.with_streaming_response.gather_using_ai( @@ -474,6 +498,7 @@ def test_streaming_response_gather_using_ai(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_gather_using_ai(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_control_id` but received ''"): @@ -495,6 +520,7 @@ def test_path_params_gather_using_ai(self, client: Telnyx) -> None: }, ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_gather_using_audio(self, client: Telnyx) -> None: action = client.calls.actions.gather_using_audio( @@ -502,6 +528,7 @@ def test_method_gather_using_audio(self, client: Telnyx) -> None: ) assert_matches_type(ActionGatherUsingAudioResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_gather_using_audio_with_all_params(self, client: Telnyx) -> None: action = client.calls.actions.gather_using_audio( @@ -522,6 +549,7 @@ def test_method_gather_using_audio_with_all_params(self, client: Telnyx) -> None ) assert_matches_type(ActionGatherUsingAudioResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_gather_using_audio(self, client: Telnyx) -> None: response = client.calls.actions.with_raw_response.gather_using_audio( @@ -533,6 +561,7 @@ def test_raw_response_gather_using_audio(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionGatherUsingAudioResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_gather_using_audio(self, client: Telnyx) -> None: with client.calls.actions.with_streaming_response.gather_using_audio( @@ -546,6 +575,7 @@ def test_streaming_response_gather_using_audio(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_gather_using_audio(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_control_id` but received ''"): @@ -553,6 +583,7 @@ def test_path_params_gather_using_audio(self, client: Telnyx) -> None: call_control_id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_gather_using_speak(self, client: Telnyx) -> None: action = client.calls.actions.gather_using_speak( @@ -562,6 +593,7 @@ def test_method_gather_using_speak(self, client: Telnyx) -> None: ) assert_matches_type(ActionGatherUsingSpeakResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_gather_using_speak_with_all_params(self, client: Telnyx) -> None: action = client.calls.actions.gather_using_speak( @@ -585,6 +617,7 @@ def test_method_gather_using_speak_with_all_params(self, client: Telnyx) -> None ) assert_matches_type(ActionGatherUsingSpeakResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_gather_using_speak(self, client: Telnyx) -> None: response = client.calls.actions.with_raw_response.gather_using_speak( @@ -598,6 +631,7 @@ def test_raw_response_gather_using_speak(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionGatherUsingSpeakResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_gather_using_speak(self, client: Telnyx) -> None: with client.calls.actions.with_streaming_response.gather_using_speak( @@ -613,6 +647,7 @@ def test_streaming_response_gather_using_speak(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_gather_using_speak(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_control_id` but received ''"): @@ -622,6 +657,7 @@ def test_path_params_gather_using_speak(self, client: Telnyx) -> None: voice="male", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_hangup(self, client: Telnyx) -> None: action = client.calls.actions.hangup( @@ -629,6 +665,7 @@ def test_method_hangup(self, client: Telnyx) -> None: ) assert_matches_type(ActionHangupResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_hangup_with_all_params(self, client: Telnyx) -> None: action = client.calls.actions.hangup( @@ -638,6 +675,7 @@ def test_method_hangup_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ActionHangupResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_hangup(self, client: Telnyx) -> None: response = client.calls.actions.with_raw_response.hangup( @@ -649,6 +687,7 @@ def test_raw_response_hangup(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionHangupResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_hangup(self, client: Telnyx) -> None: with client.calls.actions.with_streaming_response.hangup( @@ -662,6 +701,7 @@ def test_streaming_response_hangup(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_hangup(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_control_id` but received ''"): @@ -669,6 +709,7 @@ def test_path_params_hangup(self, client: Telnyx) -> None: call_control_id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_leave_queue(self, client: Telnyx) -> None: action = client.calls.actions.leave_queue( @@ -676,6 +717,7 @@ def test_method_leave_queue(self, client: Telnyx) -> None: ) assert_matches_type(ActionLeaveQueueResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_leave_queue_with_all_params(self, client: Telnyx) -> None: action = client.calls.actions.leave_queue( @@ -685,6 +727,7 @@ def test_method_leave_queue_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ActionLeaveQueueResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_leave_queue(self, client: Telnyx) -> None: response = client.calls.actions.with_raw_response.leave_queue( @@ -696,6 +739,7 @@ def test_raw_response_leave_queue(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionLeaveQueueResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_leave_queue(self, client: Telnyx) -> None: with client.calls.actions.with_streaming_response.leave_queue( @@ -709,6 +753,7 @@ def test_streaming_response_leave_queue(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_leave_queue(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_control_id` but received ''"): @@ -716,6 +761,7 @@ def test_path_params_leave_queue(self, client: Telnyx) -> None: call_control_id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_pause_recording(self, client: Telnyx) -> None: action = client.calls.actions.pause_recording( @@ -723,6 +769,7 @@ def test_method_pause_recording(self, client: Telnyx) -> None: ) assert_matches_type(ActionPauseRecordingResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_pause_recording_with_all_params(self, client: Telnyx) -> None: action = client.calls.actions.pause_recording( @@ -733,6 +780,7 @@ def test_method_pause_recording_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ActionPauseRecordingResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_pause_recording(self, client: Telnyx) -> None: response = client.calls.actions.with_raw_response.pause_recording( @@ -744,6 +792,7 @@ def test_raw_response_pause_recording(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionPauseRecordingResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_pause_recording(self, client: Telnyx) -> None: with client.calls.actions.with_streaming_response.pause_recording( @@ -757,6 +806,7 @@ def test_streaming_response_pause_recording(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_pause_recording(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_control_id` but received ''"): @@ -764,6 +814,7 @@ def test_path_params_pause_recording(self, client: Telnyx) -> None: call_control_id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_refer(self, client: Telnyx) -> None: action = client.calls.actions.refer( @@ -772,6 +823,7 @@ def test_method_refer(self, client: Telnyx) -> None: ) assert_matches_type(ActionReferResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_refer_with_all_params(self, client: Telnyx) -> None: action = client.calls.actions.refer( @@ -800,6 +852,7 @@ def test_method_refer_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ActionReferResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_refer(self, client: Telnyx) -> None: response = client.calls.actions.with_raw_response.refer( @@ -812,6 +865,7 @@ def test_raw_response_refer(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionReferResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_refer(self, client: Telnyx) -> None: with client.calls.actions.with_streaming_response.refer( @@ -826,6 +880,7 @@ def test_streaming_response_refer(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_refer(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_control_id` but received ''"): @@ -834,6 +889,7 @@ def test_path_params_refer(self, client: Telnyx) -> None: sip_address="sip:username@sip.non-telnyx-address.com", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_reject(self, client: Telnyx) -> None: action = client.calls.actions.reject( @@ -842,6 +898,7 @@ def test_method_reject(self, client: Telnyx) -> None: ) assert_matches_type(ActionRejectResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_reject_with_all_params(self, client: Telnyx) -> None: action = client.calls.actions.reject( @@ -852,6 +909,7 @@ def test_method_reject_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ActionRejectResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_reject(self, client: Telnyx) -> None: response = client.calls.actions.with_raw_response.reject( @@ -864,6 +922,7 @@ def test_raw_response_reject(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionRejectResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_reject(self, client: Telnyx) -> None: with client.calls.actions.with_streaming_response.reject( @@ -878,6 +937,7 @@ def test_streaming_response_reject(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_reject(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_control_id` but received ''"): @@ -886,6 +946,7 @@ def test_path_params_reject(self, client: Telnyx) -> None: cause="USER_BUSY", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_resume_recording(self, client: Telnyx) -> None: action = client.calls.actions.resume_recording( @@ -893,6 +954,7 @@ def test_method_resume_recording(self, client: Telnyx) -> None: ) assert_matches_type(ActionResumeRecordingResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_resume_recording_with_all_params(self, client: Telnyx) -> None: action = client.calls.actions.resume_recording( @@ -903,6 +965,7 @@ def test_method_resume_recording_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ActionResumeRecordingResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_resume_recording(self, client: Telnyx) -> None: response = client.calls.actions.with_raw_response.resume_recording( @@ -914,6 +977,7 @@ def test_raw_response_resume_recording(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionResumeRecordingResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_resume_recording(self, client: Telnyx) -> None: with client.calls.actions.with_streaming_response.resume_recording( @@ -927,6 +991,7 @@ def test_streaming_response_resume_recording(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_resume_recording(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_control_id` but received ''"): @@ -934,6 +999,7 @@ def test_path_params_resume_recording(self, client: Telnyx) -> None: call_control_id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_send_dtmf(self, client: Telnyx) -> None: action = client.calls.actions.send_dtmf( @@ -942,6 +1008,7 @@ def test_method_send_dtmf(self, client: Telnyx) -> None: ) assert_matches_type(ActionSendDtmfResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_send_dtmf_with_all_params(self, client: Telnyx) -> None: action = client.calls.actions.send_dtmf( @@ -953,6 +1020,7 @@ def test_method_send_dtmf_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ActionSendDtmfResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_send_dtmf(self, client: Telnyx) -> None: response = client.calls.actions.with_raw_response.send_dtmf( @@ -965,6 +1033,7 @@ def test_raw_response_send_dtmf(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionSendDtmfResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_send_dtmf(self, client: Telnyx) -> None: with client.calls.actions.with_streaming_response.send_dtmf( @@ -979,6 +1048,7 @@ def test_streaming_response_send_dtmf(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_send_dtmf(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_control_id` but received ''"): @@ -987,6 +1057,7 @@ def test_path_params_send_dtmf(self, client: Telnyx) -> None: digits="1www2WABCDw9", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_send_sip_info(self, client: Telnyx) -> None: action = client.calls.actions.send_sip_info( @@ -996,6 +1067,7 @@ def test_method_send_sip_info(self, client: Telnyx) -> None: ) assert_matches_type(ActionSendSipInfoResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_send_sip_info_with_all_params(self, client: Telnyx) -> None: action = client.calls.actions.send_sip_info( @@ -1007,6 +1079,7 @@ def test_method_send_sip_info_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ActionSendSipInfoResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_send_sip_info(self, client: Telnyx) -> None: response = client.calls.actions.with_raw_response.send_sip_info( @@ -1020,6 +1093,7 @@ def test_raw_response_send_sip_info(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionSendSipInfoResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_send_sip_info(self, client: Telnyx) -> None: with client.calls.actions.with_streaming_response.send_sip_info( @@ -1035,6 +1109,7 @@ def test_streaming_response_send_sip_info(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_send_sip_info(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_control_id` but received ''"): @@ -1044,6 +1119,7 @@ def test_path_params_send_sip_info(self, client: Telnyx) -> None: content_type="application/json", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_speak(self, client: Telnyx) -> None: action = client.calls.actions.speak( @@ -1053,6 +1129,7 @@ def test_method_speak(self, client: Telnyx) -> None: ) assert_matches_type(ActionSpeakResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_speak_with_all_params(self, client: Telnyx) -> None: action = client.calls.actions.speak( @@ -1069,6 +1146,7 @@ def test_method_speak_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ActionSpeakResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_speak(self, client: Telnyx) -> None: response = client.calls.actions.with_raw_response.speak( @@ -1082,6 +1160,7 @@ def test_raw_response_speak(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionSpeakResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_speak(self, client: Telnyx) -> None: with client.calls.actions.with_streaming_response.speak( @@ -1097,6 +1176,7 @@ def test_streaming_response_speak(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_speak(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_control_id` but received ''"): @@ -1106,6 +1186,7 @@ def test_path_params_speak(self, client: Telnyx) -> None: voice="female", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_start_ai_assistant(self, client: Telnyx) -> None: action = client.calls.actions.start_ai_assistant( @@ -1113,6 +1194,7 @@ def test_method_start_ai_assistant(self, client: Telnyx) -> None: ) assert_matches_type(ActionStartAIAssistantResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_start_ai_assistant_with_all_params(self, client: Telnyx) -> None: action = client.calls.actions.start_ai_assistant( @@ -1132,6 +1214,7 @@ def test_method_start_ai_assistant_with_all_params(self, client: Telnyx) -> None ) assert_matches_type(ActionStartAIAssistantResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_start_ai_assistant(self, client: Telnyx) -> None: response = client.calls.actions.with_raw_response.start_ai_assistant( @@ -1143,6 +1226,7 @@ def test_raw_response_start_ai_assistant(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionStartAIAssistantResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_start_ai_assistant(self, client: Telnyx) -> None: with client.calls.actions.with_streaming_response.start_ai_assistant( @@ -1156,6 +1240,7 @@ def test_streaming_response_start_ai_assistant(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_start_ai_assistant(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_control_id` but received ''"): @@ -1163,6 +1248,7 @@ def test_path_params_start_ai_assistant(self, client: Telnyx) -> None: call_control_id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_start_forking(self, client: Telnyx) -> None: action = client.calls.actions.start_forking( @@ -1170,6 +1256,7 @@ def test_method_start_forking(self, client: Telnyx) -> None: ) assert_matches_type(ActionStartForkingResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_start_forking_with_all_params(self, client: Telnyx) -> None: action = client.calls.actions.start_forking( @@ -1182,6 +1269,7 @@ def test_method_start_forking_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ActionStartForkingResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_start_forking(self, client: Telnyx) -> None: response = client.calls.actions.with_raw_response.start_forking( @@ -1193,6 +1281,7 @@ def test_raw_response_start_forking(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionStartForkingResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_start_forking(self, client: Telnyx) -> None: with client.calls.actions.with_streaming_response.start_forking( @@ -1206,6 +1295,7 @@ def test_streaming_response_start_forking(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_start_forking(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_control_id` but received ''"): @@ -1213,6 +1303,7 @@ def test_path_params_start_forking(self, client: Telnyx) -> None: call_control_id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_start_noise_suppression(self, client: Telnyx) -> None: action = client.calls.actions.start_noise_suppression( @@ -1220,6 +1311,7 @@ def test_method_start_noise_suppression(self, client: Telnyx) -> None: ) assert_matches_type(ActionStartNoiseSuppressionResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_start_noise_suppression_with_all_params(self, client: Telnyx) -> None: action = client.calls.actions.start_noise_suppression( @@ -1231,6 +1323,7 @@ def test_method_start_noise_suppression_with_all_params(self, client: Telnyx) -> ) assert_matches_type(ActionStartNoiseSuppressionResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_start_noise_suppression(self, client: Telnyx) -> None: response = client.calls.actions.with_raw_response.start_noise_suppression( @@ -1242,6 +1335,7 @@ def test_raw_response_start_noise_suppression(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionStartNoiseSuppressionResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_start_noise_suppression(self, client: Telnyx) -> None: with client.calls.actions.with_streaming_response.start_noise_suppression( @@ -1255,6 +1349,7 @@ def test_streaming_response_start_noise_suppression(self, client: Telnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_start_noise_suppression(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_control_id` but received ''"): @@ -1262,6 +1357,7 @@ def test_path_params_start_noise_suppression(self, client: Telnyx) -> None: call_control_id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_start_playback(self, client: Telnyx) -> None: action = client.calls.actions.start_playback( @@ -1269,6 +1365,7 @@ def test_method_start_playback(self, client: Telnyx) -> None: ) assert_matches_type(ActionStartPlaybackResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_start_playback_with_all_params(self, client: Telnyx) -> None: action = client.calls.actions.start_playback( @@ -1287,6 +1384,7 @@ def test_method_start_playback_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ActionStartPlaybackResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_start_playback(self, client: Telnyx) -> None: response = client.calls.actions.with_raw_response.start_playback( @@ -1298,6 +1396,7 @@ def test_raw_response_start_playback(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionStartPlaybackResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_start_playback(self, client: Telnyx) -> None: with client.calls.actions.with_streaming_response.start_playback( @@ -1311,6 +1410,7 @@ def test_streaming_response_start_playback(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_start_playback(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_control_id` but received ''"): @@ -1318,6 +1418,7 @@ def test_path_params_start_playback(self, client: Telnyx) -> None: call_control_id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_start_recording(self, client: Telnyx) -> None: action = client.calls.actions.start_recording( @@ -1327,6 +1428,7 @@ def test_method_start_recording(self, client: Telnyx) -> None: ) assert_matches_type(ActionStartRecordingResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_start_recording_with_all_params(self, client: Telnyx) -> None: action = client.calls.actions.start_recording( @@ -1351,6 +1453,7 @@ def test_method_start_recording_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ActionStartRecordingResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_start_recording(self, client: Telnyx) -> None: response = client.calls.actions.with_raw_response.start_recording( @@ -1364,6 +1467,7 @@ def test_raw_response_start_recording(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionStartRecordingResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_start_recording(self, client: Telnyx) -> None: with client.calls.actions.with_streaming_response.start_recording( @@ -1379,6 +1483,7 @@ def test_streaming_response_start_recording(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_start_recording(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_control_id` but received ''"): @@ -1388,6 +1493,7 @@ def test_path_params_start_recording(self, client: Telnyx) -> None: format="wav", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_start_siprec(self, client: Telnyx) -> None: action = client.calls.actions.start_siprec( @@ -1395,6 +1501,7 @@ def test_method_start_siprec(self, client: Telnyx) -> None: ) assert_matches_type(ActionStartSiprecResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_start_siprec_with_all_params(self, client: Telnyx) -> None: action = client.calls.actions.start_siprec( @@ -1409,6 +1516,7 @@ def test_method_start_siprec_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ActionStartSiprecResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_start_siprec(self, client: Telnyx) -> None: response = client.calls.actions.with_raw_response.start_siprec( @@ -1420,6 +1528,7 @@ def test_raw_response_start_siprec(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionStartSiprecResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_start_siprec(self, client: Telnyx) -> None: with client.calls.actions.with_streaming_response.start_siprec( @@ -1433,6 +1542,7 @@ def test_streaming_response_start_siprec(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_start_siprec(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_control_id` but received ''"): @@ -1440,6 +1550,7 @@ def test_path_params_start_siprec(self, client: Telnyx) -> None: call_control_id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_start_streaming(self, client: Telnyx) -> None: action = client.calls.actions.start_streaming( @@ -1447,6 +1558,7 @@ def test_method_start_streaming(self, client: Telnyx) -> None: ) assert_matches_type(ActionStartStreamingResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_start_streaming_with_all_params(self, client: Telnyx) -> None: action = client.calls.actions.start_streaming( @@ -1467,6 +1579,7 @@ def test_method_start_streaming_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ActionStartStreamingResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_start_streaming(self, client: Telnyx) -> None: response = client.calls.actions.with_raw_response.start_streaming( @@ -1478,6 +1591,7 @@ def test_raw_response_start_streaming(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionStartStreamingResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_start_streaming(self, client: Telnyx) -> None: with client.calls.actions.with_streaming_response.start_streaming( @@ -1491,6 +1605,7 @@ def test_streaming_response_start_streaming(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_start_streaming(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_control_id` but received ''"): @@ -1498,6 +1613,7 @@ def test_path_params_start_streaming(self, client: Telnyx) -> None: call_control_id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_start_transcription(self, client: Telnyx) -> None: action = client.calls.actions.start_transcription( @@ -1505,6 +1621,7 @@ def test_method_start_transcription(self, client: Telnyx) -> None: ) assert_matches_type(ActionStartTranscriptionResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_start_transcription_with_all_params(self, client: Telnyx) -> None: action = client.calls.actions.start_transcription( @@ -1534,6 +1651,7 @@ def test_method_start_transcription_with_all_params(self, client: Telnyx) -> Non ) assert_matches_type(ActionStartTranscriptionResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_start_transcription(self, client: Telnyx) -> None: response = client.calls.actions.with_raw_response.start_transcription( @@ -1545,6 +1663,7 @@ def test_raw_response_start_transcription(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionStartTranscriptionResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_start_transcription(self, client: Telnyx) -> None: with client.calls.actions.with_streaming_response.start_transcription( @@ -1558,6 +1677,7 @@ def test_streaming_response_start_transcription(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_start_transcription(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_control_id` but received ''"): @@ -1565,6 +1685,7 @@ def test_path_params_start_transcription(self, client: Telnyx) -> None: call_control_id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_stop_ai_assistant(self, client: Telnyx) -> None: action = client.calls.actions.stop_ai_assistant( @@ -1572,6 +1693,7 @@ def test_method_stop_ai_assistant(self, client: Telnyx) -> None: ) assert_matches_type(ActionStopAIAssistantResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_stop_ai_assistant_with_all_params(self, client: Telnyx) -> None: action = client.calls.actions.stop_ai_assistant( @@ -1581,6 +1703,7 @@ def test_method_stop_ai_assistant_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ActionStopAIAssistantResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_stop_ai_assistant(self, client: Telnyx) -> None: response = client.calls.actions.with_raw_response.stop_ai_assistant( @@ -1592,6 +1715,7 @@ def test_raw_response_stop_ai_assistant(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionStopAIAssistantResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_stop_ai_assistant(self, client: Telnyx) -> None: with client.calls.actions.with_streaming_response.stop_ai_assistant( @@ -1605,6 +1729,7 @@ def test_streaming_response_stop_ai_assistant(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_stop_ai_assistant(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_control_id` but received ''"): @@ -1612,6 +1737,7 @@ def test_path_params_stop_ai_assistant(self, client: Telnyx) -> None: call_control_id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_stop_forking(self, client: Telnyx) -> None: action = client.calls.actions.stop_forking( @@ -1619,6 +1745,7 @@ def test_method_stop_forking(self, client: Telnyx) -> None: ) assert_matches_type(ActionStopForkingResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_stop_forking_with_all_params(self, client: Telnyx) -> None: action = client.calls.actions.stop_forking( @@ -1629,6 +1756,7 @@ def test_method_stop_forking_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ActionStopForkingResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_stop_forking(self, client: Telnyx) -> None: response = client.calls.actions.with_raw_response.stop_forking( @@ -1640,6 +1768,7 @@ def test_raw_response_stop_forking(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionStopForkingResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_stop_forking(self, client: Telnyx) -> None: with client.calls.actions.with_streaming_response.stop_forking( @@ -1653,6 +1782,7 @@ def test_streaming_response_stop_forking(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_stop_forking(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_control_id` but received ''"): @@ -1660,6 +1790,7 @@ def test_path_params_stop_forking(self, client: Telnyx) -> None: call_control_id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_stop_gather(self, client: Telnyx) -> None: action = client.calls.actions.stop_gather( @@ -1667,6 +1798,7 @@ def test_method_stop_gather(self, client: Telnyx) -> None: ) assert_matches_type(ActionStopGatherResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_stop_gather_with_all_params(self, client: Telnyx) -> None: action = client.calls.actions.stop_gather( @@ -1676,6 +1808,7 @@ def test_method_stop_gather_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ActionStopGatherResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_stop_gather(self, client: Telnyx) -> None: response = client.calls.actions.with_raw_response.stop_gather( @@ -1687,6 +1820,7 @@ def test_raw_response_stop_gather(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionStopGatherResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_stop_gather(self, client: Telnyx) -> None: with client.calls.actions.with_streaming_response.stop_gather( @@ -1700,6 +1834,7 @@ def test_streaming_response_stop_gather(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_stop_gather(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_control_id` but received ''"): @@ -1707,6 +1842,7 @@ def test_path_params_stop_gather(self, client: Telnyx) -> None: call_control_id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_stop_noise_suppression(self, client: Telnyx) -> None: action = client.calls.actions.stop_noise_suppression( @@ -1714,6 +1850,7 @@ def test_method_stop_noise_suppression(self, client: Telnyx) -> None: ) assert_matches_type(ActionStopNoiseSuppressionResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_stop_noise_suppression_with_all_params(self, client: Telnyx) -> None: action = client.calls.actions.stop_noise_suppression( @@ -1723,6 +1860,7 @@ def test_method_stop_noise_suppression_with_all_params(self, client: Telnyx) -> ) assert_matches_type(ActionStopNoiseSuppressionResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_stop_noise_suppression(self, client: Telnyx) -> None: response = client.calls.actions.with_raw_response.stop_noise_suppression( @@ -1734,6 +1872,7 @@ def test_raw_response_stop_noise_suppression(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionStopNoiseSuppressionResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_stop_noise_suppression(self, client: Telnyx) -> None: with client.calls.actions.with_streaming_response.stop_noise_suppression( @@ -1747,6 +1886,7 @@ def test_streaming_response_stop_noise_suppression(self, client: Telnyx) -> None assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_stop_noise_suppression(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_control_id` but received ''"): @@ -1754,6 +1894,7 @@ def test_path_params_stop_noise_suppression(self, client: Telnyx) -> None: call_control_id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_stop_playback(self, client: Telnyx) -> None: action = client.calls.actions.stop_playback( @@ -1761,6 +1902,7 @@ def test_method_stop_playback(self, client: Telnyx) -> None: ) assert_matches_type(ActionStopPlaybackResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_stop_playback_with_all_params(self, client: Telnyx) -> None: action = client.calls.actions.stop_playback( @@ -1772,6 +1914,7 @@ def test_method_stop_playback_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ActionStopPlaybackResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_stop_playback(self, client: Telnyx) -> None: response = client.calls.actions.with_raw_response.stop_playback( @@ -1783,6 +1926,7 @@ def test_raw_response_stop_playback(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionStopPlaybackResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_stop_playback(self, client: Telnyx) -> None: with client.calls.actions.with_streaming_response.stop_playback( @@ -1796,6 +1940,7 @@ def test_streaming_response_stop_playback(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_stop_playback(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_control_id` but received ''"): @@ -1803,6 +1948,7 @@ def test_path_params_stop_playback(self, client: Telnyx) -> None: call_control_id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_stop_recording(self, client: Telnyx) -> None: action = client.calls.actions.stop_recording( @@ -1810,6 +1956,7 @@ def test_method_stop_recording(self, client: Telnyx) -> None: ) assert_matches_type(ActionStopRecordingResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_stop_recording_with_all_params(self, client: Telnyx) -> None: action = client.calls.actions.stop_recording( @@ -1820,6 +1967,7 @@ def test_method_stop_recording_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ActionStopRecordingResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_stop_recording(self, client: Telnyx) -> None: response = client.calls.actions.with_raw_response.stop_recording( @@ -1831,6 +1979,7 @@ def test_raw_response_stop_recording(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionStopRecordingResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_stop_recording(self, client: Telnyx) -> None: with client.calls.actions.with_streaming_response.stop_recording( @@ -1844,6 +1993,7 @@ def test_streaming_response_stop_recording(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_stop_recording(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_control_id` but received ''"): @@ -1851,6 +2001,7 @@ def test_path_params_stop_recording(self, client: Telnyx) -> None: call_control_id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_stop_siprec(self, client: Telnyx) -> None: action = client.calls.actions.stop_siprec( @@ -1858,6 +2009,7 @@ def test_method_stop_siprec(self, client: Telnyx) -> None: ) assert_matches_type(ActionStopSiprecResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_stop_siprec_with_all_params(self, client: Telnyx) -> None: action = client.calls.actions.stop_siprec( @@ -1867,6 +2019,7 @@ def test_method_stop_siprec_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ActionStopSiprecResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_stop_siprec(self, client: Telnyx) -> None: response = client.calls.actions.with_raw_response.stop_siprec( @@ -1878,6 +2031,7 @@ def test_raw_response_stop_siprec(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionStopSiprecResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_stop_siprec(self, client: Telnyx) -> None: with client.calls.actions.with_streaming_response.stop_siprec( @@ -1891,6 +2045,7 @@ def test_streaming_response_stop_siprec(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_stop_siprec(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_control_id` but received ''"): @@ -1898,6 +2053,7 @@ def test_path_params_stop_siprec(self, client: Telnyx) -> None: call_control_id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_stop_streaming(self, client: Telnyx) -> None: action = client.calls.actions.stop_streaming( @@ -1905,6 +2061,7 @@ def test_method_stop_streaming(self, client: Telnyx) -> None: ) assert_matches_type(ActionStopStreamingResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_stop_streaming_with_all_params(self, client: Telnyx) -> None: action = client.calls.actions.stop_streaming( @@ -1915,6 +2072,7 @@ def test_method_stop_streaming_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ActionStopStreamingResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_stop_streaming(self, client: Telnyx) -> None: response = client.calls.actions.with_raw_response.stop_streaming( @@ -1926,6 +2084,7 @@ def test_raw_response_stop_streaming(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionStopStreamingResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_stop_streaming(self, client: Telnyx) -> None: with client.calls.actions.with_streaming_response.stop_streaming( @@ -1939,6 +2098,7 @@ def test_streaming_response_stop_streaming(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_stop_streaming(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_control_id` but received ''"): @@ -1946,6 +2106,7 @@ def test_path_params_stop_streaming(self, client: Telnyx) -> None: call_control_id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_stop_transcription(self, client: Telnyx) -> None: action = client.calls.actions.stop_transcription( @@ -1953,6 +2114,7 @@ def test_method_stop_transcription(self, client: Telnyx) -> None: ) assert_matches_type(ActionStopTranscriptionResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_stop_transcription_with_all_params(self, client: Telnyx) -> None: action = client.calls.actions.stop_transcription( @@ -1962,6 +2124,7 @@ def test_method_stop_transcription_with_all_params(self, client: Telnyx) -> None ) assert_matches_type(ActionStopTranscriptionResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_stop_transcription(self, client: Telnyx) -> None: response = client.calls.actions.with_raw_response.stop_transcription( @@ -1973,6 +2136,7 @@ def test_raw_response_stop_transcription(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionStopTranscriptionResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_stop_transcription(self, client: Telnyx) -> None: with client.calls.actions.with_streaming_response.stop_transcription( @@ -1986,6 +2150,7 @@ def test_streaming_response_stop_transcription(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_stop_transcription(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_control_id` but received ''"): @@ -1993,6 +2158,7 @@ def test_path_params_stop_transcription(self, client: Telnyx) -> None: call_control_id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_switch_supervisor_role(self, client: Telnyx) -> None: action = client.calls.actions.switch_supervisor_role( @@ -2001,6 +2167,7 @@ def test_method_switch_supervisor_role(self, client: Telnyx) -> None: ) assert_matches_type(ActionSwitchSupervisorRoleResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_switch_supervisor_role(self, client: Telnyx) -> None: response = client.calls.actions.with_raw_response.switch_supervisor_role( @@ -2013,6 +2180,7 @@ def test_raw_response_switch_supervisor_role(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionSwitchSupervisorRoleResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_switch_supervisor_role(self, client: Telnyx) -> None: with client.calls.actions.with_streaming_response.switch_supervisor_role( @@ -2027,6 +2195,7 @@ def test_streaming_response_switch_supervisor_role(self, client: Telnyx) -> None assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_switch_supervisor_role(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_control_id` but received ''"): @@ -2035,6 +2204,7 @@ def test_path_params_switch_supervisor_role(self, client: Telnyx) -> None: role="barge", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_transfer(self, client: Telnyx) -> None: action = client.calls.actions.transfer( @@ -2043,6 +2213,7 @@ def test_method_transfer(self, client: Telnyx) -> None: ) assert_matches_type(ActionTransferResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_transfer_with_all_params(self, client: Telnyx) -> None: action = client.calls.actions.transfer( @@ -2104,6 +2275,7 @@ def test_method_transfer_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ActionTransferResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_transfer(self, client: Telnyx) -> None: response = client.calls.actions.with_raw_response.transfer( @@ -2116,6 +2288,7 @@ def test_raw_response_transfer(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionTransferResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_transfer(self, client: Telnyx) -> None: with client.calls.actions.with_streaming_response.transfer( @@ -2130,6 +2303,7 @@ def test_streaming_response_transfer(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_transfer(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_control_id` but received ''"): @@ -2138,6 +2312,7 @@ def test_path_params_transfer(self, client: Telnyx) -> None: to="+18005550100 or sip:username@sip.telnyx.com", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_client_state(self, client: Telnyx) -> None: action = client.calls.actions.update_client_state( @@ -2146,6 +2321,7 @@ def test_method_update_client_state(self, client: Telnyx) -> None: ) assert_matches_type(ActionUpdateClientStateResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update_client_state(self, client: Telnyx) -> None: response = client.calls.actions.with_raw_response.update_client_state( @@ -2158,6 +2334,7 @@ def test_raw_response_update_client_state(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionUpdateClientStateResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update_client_state(self, client: Telnyx) -> None: with client.calls.actions.with_streaming_response.update_client_state( @@ -2172,6 +2349,7 @@ def test_streaming_response_update_client_state(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update_client_state(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_control_id` but received ''"): @@ -2186,6 +2364,7 @@ class TestAsyncActions: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_answer(self, async_client: AsyncTelnyx) -> None: action = await async_client.calls.actions.answer( @@ -2193,6 +2372,7 @@ async def test_method_answer(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ActionAnswerResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_answer_with_all_params(self, async_client: AsyncTelnyx) -> None: action = await async_client.calls.actions.answer( @@ -2268,6 +2448,7 @@ async def test_method_answer_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(ActionAnswerResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_answer(self, async_client: AsyncTelnyx) -> None: response = await async_client.calls.actions.with_raw_response.answer( @@ -2279,6 +2460,7 @@ async def test_raw_response_answer(self, async_client: AsyncTelnyx) -> None: action = await response.parse() assert_matches_type(ActionAnswerResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_answer(self, async_client: AsyncTelnyx) -> None: async with async_client.calls.actions.with_streaming_response.answer( @@ -2292,6 +2474,7 @@ async def test_streaming_response_answer(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_answer(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_control_id` but received ''"): @@ -2299,6 +2482,7 @@ async def test_path_params_answer(self, async_client: AsyncTelnyx) -> None: call_control_id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_bridge(self, async_client: AsyncTelnyx) -> None: action = await async_client.calls.actions.bridge( @@ -2307,6 +2491,7 @@ async def test_method_bridge(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ActionBridgeResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_bridge_with_all_params(self, async_client: AsyncTelnyx) -> None: action = await async_client.calls.actions.bridge( @@ -2332,6 +2517,7 @@ async def test_method_bridge_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(ActionBridgeResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_bridge(self, async_client: AsyncTelnyx) -> None: response = await async_client.calls.actions.with_raw_response.bridge( @@ -2344,6 +2530,7 @@ async def test_raw_response_bridge(self, async_client: AsyncTelnyx) -> None: action = await response.parse() assert_matches_type(ActionBridgeResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_bridge(self, async_client: AsyncTelnyx) -> None: async with async_client.calls.actions.with_streaming_response.bridge( @@ -2358,6 +2545,7 @@ async def test_streaming_response_bridge(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_bridge(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `path_call_control_id` but received ''"): @@ -2366,6 +2554,7 @@ async def test_path_params_bridge(self, async_client: AsyncTelnyx) -> None: body_call_control_id="v3:MdI91X4lWFEs7IgbBEOT9M4AigoY08M0WWZFISt1Yw2axZ_IiE4pqg", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_enqueue(self, async_client: AsyncTelnyx) -> None: action = await async_client.calls.actions.enqueue( @@ -2374,6 +2563,7 @@ async def test_method_enqueue(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ActionEnqueueResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_enqueue_with_all_params(self, async_client: AsyncTelnyx) -> None: action = await async_client.calls.actions.enqueue( @@ -2386,6 +2576,7 @@ async def test_method_enqueue_with_all_params(self, async_client: AsyncTelnyx) - ) assert_matches_type(ActionEnqueueResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_enqueue(self, async_client: AsyncTelnyx) -> None: response = await async_client.calls.actions.with_raw_response.enqueue( @@ -2398,6 +2589,7 @@ async def test_raw_response_enqueue(self, async_client: AsyncTelnyx) -> None: action = await response.parse() assert_matches_type(ActionEnqueueResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_enqueue(self, async_client: AsyncTelnyx) -> None: async with async_client.calls.actions.with_streaming_response.enqueue( @@ -2412,6 +2604,7 @@ async def test_streaming_response_enqueue(self, async_client: AsyncTelnyx) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_enqueue(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_control_id` but received ''"): @@ -2420,6 +2613,7 @@ async def test_path_params_enqueue(self, async_client: AsyncTelnyx) -> None: queue_name="support", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_gather(self, async_client: AsyncTelnyx) -> None: action = await async_client.calls.actions.gather( @@ -2427,6 +2621,7 @@ async def test_method_gather(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ActionGatherResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_gather_with_all_params(self, async_client: AsyncTelnyx) -> None: action = await async_client.calls.actions.gather( @@ -2444,6 +2639,7 @@ async def test_method_gather_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(ActionGatherResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_gather(self, async_client: AsyncTelnyx) -> None: response = await async_client.calls.actions.with_raw_response.gather( @@ -2455,6 +2651,7 @@ async def test_raw_response_gather(self, async_client: AsyncTelnyx) -> None: action = await response.parse() assert_matches_type(ActionGatherResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_gather(self, async_client: AsyncTelnyx) -> None: async with async_client.calls.actions.with_streaming_response.gather( @@ -2468,6 +2665,7 @@ async def test_streaming_response_gather(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_gather(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_control_id` but received ''"): @@ -2475,6 +2673,7 @@ async def test_path_params_gather(self, async_client: AsyncTelnyx) -> None: call_control_id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_gather_using_ai(self, async_client: AsyncTelnyx) -> None: action = await async_client.calls.actions.gather_using_ai( @@ -2496,6 +2695,7 @@ async def test_method_gather_using_ai(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ActionGatherUsingAIResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_gather_using_ai_with_all_params(self, async_client: AsyncTelnyx) -> None: action = await async_client.calls.actions.gather_using_ai( @@ -2554,6 +2754,7 @@ async def test_method_gather_using_ai_with_all_params(self, async_client: AsyncT ) assert_matches_type(ActionGatherUsingAIResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_gather_using_ai(self, async_client: AsyncTelnyx) -> None: response = await async_client.calls.actions.with_raw_response.gather_using_ai( @@ -2579,6 +2780,7 @@ async def test_raw_response_gather_using_ai(self, async_client: AsyncTelnyx) -> action = await response.parse() assert_matches_type(ActionGatherUsingAIResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_gather_using_ai(self, async_client: AsyncTelnyx) -> None: async with async_client.calls.actions.with_streaming_response.gather_using_ai( @@ -2606,6 +2808,7 @@ async def test_streaming_response_gather_using_ai(self, async_client: AsyncTelny assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_gather_using_ai(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_control_id` but received ''"): @@ -2627,6 +2830,7 @@ async def test_path_params_gather_using_ai(self, async_client: AsyncTelnyx) -> N }, ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_gather_using_audio(self, async_client: AsyncTelnyx) -> None: action = await async_client.calls.actions.gather_using_audio( @@ -2634,6 +2838,7 @@ async def test_method_gather_using_audio(self, async_client: AsyncTelnyx) -> Non ) assert_matches_type(ActionGatherUsingAudioResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_gather_using_audio_with_all_params(self, async_client: AsyncTelnyx) -> None: action = await async_client.calls.actions.gather_using_audio( @@ -2654,6 +2859,7 @@ async def test_method_gather_using_audio_with_all_params(self, async_client: Asy ) assert_matches_type(ActionGatherUsingAudioResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_gather_using_audio(self, async_client: AsyncTelnyx) -> None: response = await async_client.calls.actions.with_raw_response.gather_using_audio( @@ -2665,6 +2871,7 @@ async def test_raw_response_gather_using_audio(self, async_client: AsyncTelnyx) action = await response.parse() assert_matches_type(ActionGatherUsingAudioResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_gather_using_audio(self, async_client: AsyncTelnyx) -> None: async with async_client.calls.actions.with_streaming_response.gather_using_audio( @@ -2678,6 +2885,7 @@ async def test_streaming_response_gather_using_audio(self, async_client: AsyncTe assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_gather_using_audio(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_control_id` but received ''"): @@ -2685,6 +2893,7 @@ async def test_path_params_gather_using_audio(self, async_client: AsyncTelnyx) - call_control_id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_gather_using_speak(self, async_client: AsyncTelnyx) -> None: action = await async_client.calls.actions.gather_using_speak( @@ -2694,6 +2903,7 @@ async def test_method_gather_using_speak(self, async_client: AsyncTelnyx) -> Non ) assert_matches_type(ActionGatherUsingSpeakResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_gather_using_speak_with_all_params(self, async_client: AsyncTelnyx) -> None: action = await async_client.calls.actions.gather_using_speak( @@ -2717,6 +2927,7 @@ async def test_method_gather_using_speak_with_all_params(self, async_client: Asy ) assert_matches_type(ActionGatherUsingSpeakResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_gather_using_speak(self, async_client: AsyncTelnyx) -> None: response = await async_client.calls.actions.with_raw_response.gather_using_speak( @@ -2730,6 +2941,7 @@ async def test_raw_response_gather_using_speak(self, async_client: AsyncTelnyx) action = await response.parse() assert_matches_type(ActionGatherUsingSpeakResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_gather_using_speak(self, async_client: AsyncTelnyx) -> None: async with async_client.calls.actions.with_streaming_response.gather_using_speak( @@ -2745,6 +2957,7 @@ async def test_streaming_response_gather_using_speak(self, async_client: AsyncTe assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_gather_using_speak(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_control_id` but received ''"): @@ -2754,6 +2967,7 @@ async def test_path_params_gather_using_speak(self, async_client: AsyncTelnyx) - voice="male", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_hangup(self, async_client: AsyncTelnyx) -> None: action = await async_client.calls.actions.hangup( @@ -2761,6 +2975,7 @@ async def test_method_hangup(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ActionHangupResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_hangup_with_all_params(self, async_client: AsyncTelnyx) -> None: action = await async_client.calls.actions.hangup( @@ -2770,6 +2985,7 @@ async def test_method_hangup_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(ActionHangupResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_hangup(self, async_client: AsyncTelnyx) -> None: response = await async_client.calls.actions.with_raw_response.hangup( @@ -2781,6 +2997,7 @@ async def test_raw_response_hangup(self, async_client: AsyncTelnyx) -> None: action = await response.parse() assert_matches_type(ActionHangupResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_hangup(self, async_client: AsyncTelnyx) -> None: async with async_client.calls.actions.with_streaming_response.hangup( @@ -2794,6 +3011,7 @@ async def test_streaming_response_hangup(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_hangup(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_control_id` but received ''"): @@ -2801,6 +3019,7 @@ async def test_path_params_hangup(self, async_client: AsyncTelnyx) -> None: call_control_id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_leave_queue(self, async_client: AsyncTelnyx) -> None: action = await async_client.calls.actions.leave_queue( @@ -2808,6 +3027,7 @@ async def test_method_leave_queue(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ActionLeaveQueueResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_leave_queue_with_all_params(self, async_client: AsyncTelnyx) -> None: action = await async_client.calls.actions.leave_queue( @@ -2817,6 +3037,7 @@ async def test_method_leave_queue_with_all_params(self, async_client: AsyncTelny ) assert_matches_type(ActionLeaveQueueResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_leave_queue(self, async_client: AsyncTelnyx) -> None: response = await async_client.calls.actions.with_raw_response.leave_queue( @@ -2828,6 +3049,7 @@ async def test_raw_response_leave_queue(self, async_client: AsyncTelnyx) -> None action = await response.parse() assert_matches_type(ActionLeaveQueueResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_leave_queue(self, async_client: AsyncTelnyx) -> None: async with async_client.calls.actions.with_streaming_response.leave_queue( @@ -2841,6 +3063,7 @@ async def test_streaming_response_leave_queue(self, async_client: AsyncTelnyx) - assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_leave_queue(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_control_id` but received ''"): @@ -2848,6 +3071,7 @@ async def test_path_params_leave_queue(self, async_client: AsyncTelnyx) -> None: call_control_id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_pause_recording(self, async_client: AsyncTelnyx) -> None: action = await async_client.calls.actions.pause_recording( @@ -2855,6 +3079,7 @@ async def test_method_pause_recording(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ActionPauseRecordingResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_pause_recording_with_all_params(self, async_client: AsyncTelnyx) -> None: action = await async_client.calls.actions.pause_recording( @@ -2865,6 +3090,7 @@ async def test_method_pause_recording_with_all_params(self, async_client: AsyncT ) assert_matches_type(ActionPauseRecordingResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_pause_recording(self, async_client: AsyncTelnyx) -> None: response = await async_client.calls.actions.with_raw_response.pause_recording( @@ -2876,6 +3102,7 @@ async def test_raw_response_pause_recording(self, async_client: AsyncTelnyx) -> action = await response.parse() assert_matches_type(ActionPauseRecordingResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_pause_recording(self, async_client: AsyncTelnyx) -> None: async with async_client.calls.actions.with_streaming_response.pause_recording( @@ -2889,6 +3116,7 @@ async def test_streaming_response_pause_recording(self, async_client: AsyncTelny assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_pause_recording(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_control_id` but received ''"): @@ -2896,6 +3124,7 @@ async def test_path_params_pause_recording(self, async_client: AsyncTelnyx) -> N call_control_id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_refer(self, async_client: AsyncTelnyx) -> None: action = await async_client.calls.actions.refer( @@ -2904,6 +3133,7 @@ async def test_method_refer(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ActionReferResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_refer_with_all_params(self, async_client: AsyncTelnyx) -> None: action = await async_client.calls.actions.refer( @@ -2932,6 +3162,7 @@ async def test_method_refer_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(ActionReferResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_refer(self, async_client: AsyncTelnyx) -> None: response = await async_client.calls.actions.with_raw_response.refer( @@ -2944,6 +3175,7 @@ async def test_raw_response_refer(self, async_client: AsyncTelnyx) -> None: action = await response.parse() assert_matches_type(ActionReferResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_refer(self, async_client: AsyncTelnyx) -> None: async with async_client.calls.actions.with_streaming_response.refer( @@ -2958,6 +3190,7 @@ async def test_streaming_response_refer(self, async_client: AsyncTelnyx) -> None assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_refer(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_control_id` but received ''"): @@ -2966,6 +3199,7 @@ async def test_path_params_refer(self, async_client: AsyncTelnyx) -> None: sip_address="sip:username@sip.non-telnyx-address.com", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_reject(self, async_client: AsyncTelnyx) -> None: action = await async_client.calls.actions.reject( @@ -2974,6 +3208,7 @@ async def test_method_reject(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ActionRejectResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_reject_with_all_params(self, async_client: AsyncTelnyx) -> None: action = await async_client.calls.actions.reject( @@ -2984,6 +3219,7 @@ async def test_method_reject_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(ActionRejectResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_reject(self, async_client: AsyncTelnyx) -> None: response = await async_client.calls.actions.with_raw_response.reject( @@ -2996,6 +3232,7 @@ async def test_raw_response_reject(self, async_client: AsyncTelnyx) -> None: action = await response.parse() assert_matches_type(ActionRejectResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_reject(self, async_client: AsyncTelnyx) -> None: async with async_client.calls.actions.with_streaming_response.reject( @@ -3010,6 +3247,7 @@ async def test_streaming_response_reject(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_reject(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_control_id` but received ''"): @@ -3018,6 +3256,7 @@ async def test_path_params_reject(self, async_client: AsyncTelnyx) -> None: cause="USER_BUSY", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_resume_recording(self, async_client: AsyncTelnyx) -> None: action = await async_client.calls.actions.resume_recording( @@ -3025,6 +3264,7 @@ async def test_method_resume_recording(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ActionResumeRecordingResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_resume_recording_with_all_params(self, async_client: AsyncTelnyx) -> None: action = await async_client.calls.actions.resume_recording( @@ -3035,6 +3275,7 @@ async def test_method_resume_recording_with_all_params(self, async_client: Async ) assert_matches_type(ActionResumeRecordingResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_resume_recording(self, async_client: AsyncTelnyx) -> None: response = await async_client.calls.actions.with_raw_response.resume_recording( @@ -3046,6 +3287,7 @@ async def test_raw_response_resume_recording(self, async_client: AsyncTelnyx) -> action = await response.parse() assert_matches_type(ActionResumeRecordingResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_resume_recording(self, async_client: AsyncTelnyx) -> None: async with async_client.calls.actions.with_streaming_response.resume_recording( @@ -3059,6 +3301,7 @@ async def test_streaming_response_resume_recording(self, async_client: AsyncTeln assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_resume_recording(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_control_id` but received ''"): @@ -3066,6 +3309,7 @@ async def test_path_params_resume_recording(self, async_client: AsyncTelnyx) -> call_control_id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_send_dtmf(self, async_client: AsyncTelnyx) -> None: action = await async_client.calls.actions.send_dtmf( @@ -3074,6 +3318,7 @@ async def test_method_send_dtmf(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ActionSendDtmfResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_send_dtmf_with_all_params(self, async_client: AsyncTelnyx) -> None: action = await async_client.calls.actions.send_dtmf( @@ -3085,6 +3330,7 @@ async def test_method_send_dtmf_with_all_params(self, async_client: AsyncTelnyx) ) assert_matches_type(ActionSendDtmfResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_send_dtmf(self, async_client: AsyncTelnyx) -> None: response = await async_client.calls.actions.with_raw_response.send_dtmf( @@ -3097,6 +3343,7 @@ async def test_raw_response_send_dtmf(self, async_client: AsyncTelnyx) -> None: action = await response.parse() assert_matches_type(ActionSendDtmfResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_send_dtmf(self, async_client: AsyncTelnyx) -> None: async with async_client.calls.actions.with_streaming_response.send_dtmf( @@ -3111,6 +3358,7 @@ async def test_streaming_response_send_dtmf(self, async_client: AsyncTelnyx) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_send_dtmf(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_control_id` but received ''"): @@ -3119,6 +3367,7 @@ async def test_path_params_send_dtmf(self, async_client: AsyncTelnyx) -> None: digits="1www2WABCDw9", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_send_sip_info(self, async_client: AsyncTelnyx) -> None: action = await async_client.calls.actions.send_sip_info( @@ -3128,6 +3377,7 @@ async def test_method_send_sip_info(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ActionSendSipInfoResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_send_sip_info_with_all_params(self, async_client: AsyncTelnyx) -> None: action = await async_client.calls.actions.send_sip_info( @@ -3139,6 +3389,7 @@ async def test_method_send_sip_info_with_all_params(self, async_client: AsyncTel ) assert_matches_type(ActionSendSipInfoResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_send_sip_info(self, async_client: AsyncTelnyx) -> None: response = await async_client.calls.actions.with_raw_response.send_sip_info( @@ -3152,6 +3403,7 @@ async def test_raw_response_send_sip_info(self, async_client: AsyncTelnyx) -> No action = await response.parse() assert_matches_type(ActionSendSipInfoResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_send_sip_info(self, async_client: AsyncTelnyx) -> None: async with async_client.calls.actions.with_streaming_response.send_sip_info( @@ -3167,6 +3419,7 @@ async def test_streaming_response_send_sip_info(self, async_client: AsyncTelnyx) assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_send_sip_info(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_control_id` but received ''"): @@ -3176,6 +3429,7 @@ async def test_path_params_send_sip_info(self, async_client: AsyncTelnyx) -> Non content_type="application/json", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_speak(self, async_client: AsyncTelnyx) -> None: action = await async_client.calls.actions.speak( @@ -3185,6 +3439,7 @@ async def test_method_speak(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ActionSpeakResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_speak_with_all_params(self, async_client: AsyncTelnyx) -> None: action = await async_client.calls.actions.speak( @@ -3201,6 +3456,7 @@ async def test_method_speak_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(ActionSpeakResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_speak(self, async_client: AsyncTelnyx) -> None: response = await async_client.calls.actions.with_raw_response.speak( @@ -3214,6 +3470,7 @@ async def test_raw_response_speak(self, async_client: AsyncTelnyx) -> None: action = await response.parse() assert_matches_type(ActionSpeakResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_speak(self, async_client: AsyncTelnyx) -> None: async with async_client.calls.actions.with_streaming_response.speak( @@ -3229,6 +3486,7 @@ async def test_streaming_response_speak(self, async_client: AsyncTelnyx) -> None assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_speak(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_control_id` but received ''"): @@ -3238,6 +3496,7 @@ async def test_path_params_speak(self, async_client: AsyncTelnyx) -> None: voice="female", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_start_ai_assistant(self, async_client: AsyncTelnyx) -> None: action = await async_client.calls.actions.start_ai_assistant( @@ -3245,6 +3504,7 @@ async def test_method_start_ai_assistant(self, async_client: AsyncTelnyx) -> Non ) assert_matches_type(ActionStartAIAssistantResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_start_ai_assistant_with_all_params(self, async_client: AsyncTelnyx) -> None: action = await async_client.calls.actions.start_ai_assistant( @@ -3264,6 +3524,7 @@ async def test_method_start_ai_assistant_with_all_params(self, async_client: Asy ) assert_matches_type(ActionStartAIAssistantResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_start_ai_assistant(self, async_client: AsyncTelnyx) -> None: response = await async_client.calls.actions.with_raw_response.start_ai_assistant( @@ -3275,6 +3536,7 @@ async def test_raw_response_start_ai_assistant(self, async_client: AsyncTelnyx) action = await response.parse() assert_matches_type(ActionStartAIAssistantResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_start_ai_assistant(self, async_client: AsyncTelnyx) -> None: async with async_client.calls.actions.with_streaming_response.start_ai_assistant( @@ -3288,6 +3550,7 @@ async def test_streaming_response_start_ai_assistant(self, async_client: AsyncTe assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_start_ai_assistant(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_control_id` but received ''"): @@ -3295,6 +3558,7 @@ async def test_path_params_start_ai_assistant(self, async_client: AsyncTelnyx) - call_control_id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_start_forking(self, async_client: AsyncTelnyx) -> None: action = await async_client.calls.actions.start_forking( @@ -3302,6 +3566,7 @@ async def test_method_start_forking(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ActionStartForkingResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_start_forking_with_all_params(self, async_client: AsyncTelnyx) -> None: action = await async_client.calls.actions.start_forking( @@ -3314,6 +3579,7 @@ async def test_method_start_forking_with_all_params(self, async_client: AsyncTel ) assert_matches_type(ActionStartForkingResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_start_forking(self, async_client: AsyncTelnyx) -> None: response = await async_client.calls.actions.with_raw_response.start_forking( @@ -3325,6 +3591,7 @@ async def test_raw_response_start_forking(self, async_client: AsyncTelnyx) -> No action = await response.parse() assert_matches_type(ActionStartForkingResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_start_forking(self, async_client: AsyncTelnyx) -> None: async with async_client.calls.actions.with_streaming_response.start_forking( @@ -3338,6 +3605,7 @@ async def test_streaming_response_start_forking(self, async_client: AsyncTelnyx) assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_start_forking(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_control_id` but received ''"): @@ -3345,6 +3613,7 @@ async def test_path_params_start_forking(self, async_client: AsyncTelnyx) -> Non call_control_id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_start_noise_suppression(self, async_client: AsyncTelnyx) -> None: action = await async_client.calls.actions.start_noise_suppression( @@ -3352,6 +3621,7 @@ async def test_method_start_noise_suppression(self, async_client: AsyncTelnyx) - ) assert_matches_type(ActionStartNoiseSuppressionResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_start_noise_suppression_with_all_params(self, async_client: AsyncTelnyx) -> None: action = await async_client.calls.actions.start_noise_suppression( @@ -3363,6 +3633,7 @@ async def test_method_start_noise_suppression_with_all_params(self, async_client ) assert_matches_type(ActionStartNoiseSuppressionResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_start_noise_suppression(self, async_client: AsyncTelnyx) -> None: response = await async_client.calls.actions.with_raw_response.start_noise_suppression( @@ -3374,6 +3645,7 @@ async def test_raw_response_start_noise_suppression(self, async_client: AsyncTel action = await response.parse() assert_matches_type(ActionStartNoiseSuppressionResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_start_noise_suppression(self, async_client: AsyncTelnyx) -> None: async with async_client.calls.actions.with_streaming_response.start_noise_suppression( @@ -3387,6 +3659,7 @@ async def test_streaming_response_start_noise_suppression(self, async_client: As assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_start_noise_suppression(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_control_id` but received ''"): @@ -3394,6 +3667,7 @@ async def test_path_params_start_noise_suppression(self, async_client: AsyncTeln call_control_id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_start_playback(self, async_client: AsyncTelnyx) -> None: action = await async_client.calls.actions.start_playback( @@ -3401,6 +3675,7 @@ async def test_method_start_playback(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ActionStartPlaybackResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_start_playback_with_all_params(self, async_client: AsyncTelnyx) -> None: action = await async_client.calls.actions.start_playback( @@ -3419,6 +3694,7 @@ async def test_method_start_playback_with_all_params(self, async_client: AsyncTe ) assert_matches_type(ActionStartPlaybackResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_start_playback(self, async_client: AsyncTelnyx) -> None: response = await async_client.calls.actions.with_raw_response.start_playback( @@ -3430,6 +3706,7 @@ async def test_raw_response_start_playback(self, async_client: AsyncTelnyx) -> N action = await response.parse() assert_matches_type(ActionStartPlaybackResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_start_playback(self, async_client: AsyncTelnyx) -> None: async with async_client.calls.actions.with_streaming_response.start_playback( @@ -3443,6 +3720,7 @@ async def test_streaming_response_start_playback(self, async_client: AsyncTelnyx assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_start_playback(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_control_id` but received ''"): @@ -3450,6 +3728,7 @@ async def test_path_params_start_playback(self, async_client: AsyncTelnyx) -> No call_control_id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_start_recording(self, async_client: AsyncTelnyx) -> None: action = await async_client.calls.actions.start_recording( @@ -3459,6 +3738,7 @@ async def test_method_start_recording(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ActionStartRecordingResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_start_recording_with_all_params(self, async_client: AsyncTelnyx) -> None: action = await async_client.calls.actions.start_recording( @@ -3483,6 +3763,7 @@ async def test_method_start_recording_with_all_params(self, async_client: AsyncT ) assert_matches_type(ActionStartRecordingResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_start_recording(self, async_client: AsyncTelnyx) -> None: response = await async_client.calls.actions.with_raw_response.start_recording( @@ -3496,6 +3777,7 @@ async def test_raw_response_start_recording(self, async_client: AsyncTelnyx) -> action = await response.parse() assert_matches_type(ActionStartRecordingResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_start_recording(self, async_client: AsyncTelnyx) -> None: async with async_client.calls.actions.with_streaming_response.start_recording( @@ -3511,6 +3793,7 @@ async def test_streaming_response_start_recording(self, async_client: AsyncTelny assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_start_recording(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_control_id` but received ''"): @@ -3520,6 +3803,7 @@ async def test_path_params_start_recording(self, async_client: AsyncTelnyx) -> N format="wav", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_start_siprec(self, async_client: AsyncTelnyx) -> None: action = await async_client.calls.actions.start_siprec( @@ -3527,6 +3811,7 @@ async def test_method_start_siprec(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ActionStartSiprecResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_start_siprec_with_all_params(self, async_client: AsyncTelnyx) -> None: action = await async_client.calls.actions.start_siprec( @@ -3541,6 +3826,7 @@ async def test_method_start_siprec_with_all_params(self, async_client: AsyncTeln ) assert_matches_type(ActionStartSiprecResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_start_siprec(self, async_client: AsyncTelnyx) -> None: response = await async_client.calls.actions.with_raw_response.start_siprec( @@ -3552,6 +3838,7 @@ async def test_raw_response_start_siprec(self, async_client: AsyncTelnyx) -> Non action = await response.parse() assert_matches_type(ActionStartSiprecResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_start_siprec(self, async_client: AsyncTelnyx) -> None: async with async_client.calls.actions.with_streaming_response.start_siprec( @@ -3565,6 +3852,7 @@ async def test_streaming_response_start_siprec(self, async_client: AsyncTelnyx) assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_start_siprec(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_control_id` but received ''"): @@ -3572,6 +3860,7 @@ async def test_path_params_start_siprec(self, async_client: AsyncTelnyx) -> None call_control_id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_start_streaming(self, async_client: AsyncTelnyx) -> None: action = await async_client.calls.actions.start_streaming( @@ -3579,6 +3868,7 @@ async def test_method_start_streaming(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ActionStartStreamingResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_start_streaming_with_all_params(self, async_client: AsyncTelnyx) -> None: action = await async_client.calls.actions.start_streaming( @@ -3599,6 +3889,7 @@ async def test_method_start_streaming_with_all_params(self, async_client: AsyncT ) assert_matches_type(ActionStartStreamingResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_start_streaming(self, async_client: AsyncTelnyx) -> None: response = await async_client.calls.actions.with_raw_response.start_streaming( @@ -3610,6 +3901,7 @@ async def test_raw_response_start_streaming(self, async_client: AsyncTelnyx) -> action = await response.parse() assert_matches_type(ActionStartStreamingResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_start_streaming(self, async_client: AsyncTelnyx) -> None: async with async_client.calls.actions.with_streaming_response.start_streaming( @@ -3623,6 +3915,7 @@ async def test_streaming_response_start_streaming(self, async_client: AsyncTelny assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_start_streaming(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_control_id` but received ''"): @@ -3630,6 +3923,7 @@ async def test_path_params_start_streaming(self, async_client: AsyncTelnyx) -> N call_control_id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_start_transcription(self, async_client: AsyncTelnyx) -> None: action = await async_client.calls.actions.start_transcription( @@ -3637,6 +3931,7 @@ async def test_method_start_transcription(self, async_client: AsyncTelnyx) -> No ) assert_matches_type(ActionStartTranscriptionResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_start_transcription_with_all_params(self, async_client: AsyncTelnyx) -> None: action = await async_client.calls.actions.start_transcription( @@ -3666,6 +3961,7 @@ async def test_method_start_transcription_with_all_params(self, async_client: As ) assert_matches_type(ActionStartTranscriptionResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_start_transcription(self, async_client: AsyncTelnyx) -> None: response = await async_client.calls.actions.with_raw_response.start_transcription( @@ -3677,6 +3973,7 @@ async def test_raw_response_start_transcription(self, async_client: AsyncTelnyx) action = await response.parse() assert_matches_type(ActionStartTranscriptionResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_start_transcription(self, async_client: AsyncTelnyx) -> None: async with async_client.calls.actions.with_streaming_response.start_transcription( @@ -3690,6 +3987,7 @@ async def test_streaming_response_start_transcription(self, async_client: AsyncT assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_start_transcription(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_control_id` but received ''"): @@ -3697,6 +3995,7 @@ async def test_path_params_start_transcription(self, async_client: AsyncTelnyx) call_control_id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_stop_ai_assistant(self, async_client: AsyncTelnyx) -> None: action = await async_client.calls.actions.stop_ai_assistant( @@ -3704,6 +4003,7 @@ async def test_method_stop_ai_assistant(self, async_client: AsyncTelnyx) -> None ) assert_matches_type(ActionStopAIAssistantResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_stop_ai_assistant_with_all_params(self, async_client: AsyncTelnyx) -> None: action = await async_client.calls.actions.stop_ai_assistant( @@ -3713,6 +4013,7 @@ async def test_method_stop_ai_assistant_with_all_params(self, async_client: Asyn ) assert_matches_type(ActionStopAIAssistantResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_stop_ai_assistant(self, async_client: AsyncTelnyx) -> None: response = await async_client.calls.actions.with_raw_response.stop_ai_assistant( @@ -3724,6 +4025,7 @@ async def test_raw_response_stop_ai_assistant(self, async_client: AsyncTelnyx) - action = await response.parse() assert_matches_type(ActionStopAIAssistantResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_stop_ai_assistant(self, async_client: AsyncTelnyx) -> None: async with async_client.calls.actions.with_streaming_response.stop_ai_assistant( @@ -3737,6 +4039,7 @@ async def test_streaming_response_stop_ai_assistant(self, async_client: AsyncTel assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_stop_ai_assistant(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_control_id` but received ''"): @@ -3744,6 +4047,7 @@ async def test_path_params_stop_ai_assistant(self, async_client: AsyncTelnyx) -> call_control_id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_stop_forking(self, async_client: AsyncTelnyx) -> None: action = await async_client.calls.actions.stop_forking( @@ -3751,6 +4055,7 @@ async def test_method_stop_forking(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ActionStopForkingResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_stop_forking_with_all_params(self, async_client: AsyncTelnyx) -> None: action = await async_client.calls.actions.stop_forking( @@ -3761,6 +4066,7 @@ async def test_method_stop_forking_with_all_params(self, async_client: AsyncTeln ) assert_matches_type(ActionStopForkingResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_stop_forking(self, async_client: AsyncTelnyx) -> None: response = await async_client.calls.actions.with_raw_response.stop_forking( @@ -3772,6 +4078,7 @@ async def test_raw_response_stop_forking(self, async_client: AsyncTelnyx) -> Non action = await response.parse() assert_matches_type(ActionStopForkingResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_stop_forking(self, async_client: AsyncTelnyx) -> None: async with async_client.calls.actions.with_streaming_response.stop_forking( @@ -3785,6 +4092,7 @@ async def test_streaming_response_stop_forking(self, async_client: AsyncTelnyx) assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_stop_forking(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_control_id` but received ''"): @@ -3792,6 +4100,7 @@ async def test_path_params_stop_forking(self, async_client: AsyncTelnyx) -> None call_control_id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_stop_gather(self, async_client: AsyncTelnyx) -> None: action = await async_client.calls.actions.stop_gather( @@ -3799,6 +4108,7 @@ async def test_method_stop_gather(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ActionStopGatherResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_stop_gather_with_all_params(self, async_client: AsyncTelnyx) -> None: action = await async_client.calls.actions.stop_gather( @@ -3808,6 +4118,7 @@ async def test_method_stop_gather_with_all_params(self, async_client: AsyncTelny ) assert_matches_type(ActionStopGatherResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_stop_gather(self, async_client: AsyncTelnyx) -> None: response = await async_client.calls.actions.with_raw_response.stop_gather( @@ -3819,6 +4130,7 @@ async def test_raw_response_stop_gather(self, async_client: AsyncTelnyx) -> None action = await response.parse() assert_matches_type(ActionStopGatherResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_stop_gather(self, async_client: AsyncTelnyx) -> None: async with async_client.calls.actions.with_streaming_response.stop_gather( @@ -3832,6 +4144,7 @@ async def test_streaming_response_stop_gather(self, async_client: AsyncTelnyx) - assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_stop_gather(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_control_id` but received ''"): @@ -3839,6 +4152,7 @@ async def test_path_params_stop_gather(self, async_client: AsyncTelnyx) -> None: call_control_id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_stop_noise_suppression(self, async_client: AsyncTelnyx) -> None: action = await async_client.calls.actions.stop_noise_suppression( @@ -3846,6 +4160,7 @@ async def test_method_stop_noise_suppression(self, async_client: AsyncTelnyx) -> ) assert_matches_type(ActionStopNoiseSuppressionResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_stop_noise_suppression_with_all_params(self, async_client: AsyncTelnyx) -> None: action = await async_client.calls.actions.stop_noise_suppression( @@ -3855,6 +4170,7 @@ async def test_method_stop_noise_suppression_with_all_params(self, async_client: ) assert_matches_type(ActionStopNoiseSuppressionResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_stop_noise_suppression(self, async_client: AsyncTelnyx) -> None: response = await async_client.calls.actions.with_raw_response.stop_noise_suppression( @@ -3866,6 +4182,7 @@ async def test_raw_response_stop_noise_suppression(self, async_client: AsyncTeln action = await response.parse() assert_matches_type(ActionStopNoiseSuppressionResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_stop_noise_suppression(self, async_client: AsyncTelnyx) -> None: async with async_client.calls.actions.with_streaming_response.stop_noise_suppression( @@ -3879,6 +4196,7 @@ async def test_streaming_response_stop_noise_suppression(self, async_client: Asy assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_stop_noise_suppression(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_control_id` but received ''"): @@ -3886,6 +4204,7 @@ async def test_path_params_stop_noise_suppression(self, async_client: AsyncTelny call_control_id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_stop_playback(self, async_client: AsyncTelnyx) -> None: action = await async_client.calls.actions.stop_playback( @@ -3893,6 +4212,7 @@ async def test_method_stop_playback(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ActionStopPlaybackResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_stop_playback_with_all_params(self, async_client: AsyncTelnyx) -> None: action = await async_client.calls.actions.stop_playback( @@ -3904,6 +4224,7 @@ async def test_method_stop_playback_with_all_params(self, async_client: AsyncTel ) assert_matches_type(ActionStopPlaybackResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_stop_playback(self, async_client: AsyncTelnyx) -> None: response = await async_client.calls.actions.with_raw_response.stop_playback( @@ -3915,6 +4236,7 @@ async def test_raw_response_stop_playback(self, async_client: AsyncTelnyx) -> No action = await response.parse() assert_matches_type(ActionStopPlaybackResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_stop_playback(self, async_client: AsyncTelnyx) -> None: async with async_client.calls.actions.with_streaming_response.stop_playback( @@ -3928,6 +4250,7 @@ async def test_streaming_response_stop_playback(self, async_client: AsyncTelnyx) assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_stop_playback(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_control_id` but received ''"): @@ -3935,6 +4258,7 @@ async def test_path_params_stop_playback(self, async_client: AsyncTelnyx) -> Non call_control_id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_stop_recording(self, async_client: AsyncTelnyx) -> None: action = await async_client.calls.actions.stop_recording( @@ -3942,6 +4266,7 @@ async def test_method_stop_recording(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ActionStopRecordingResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_stop_recording_with_all_params(self, async_client: AsyncTelnyx) -> None: action = await async_client.calls.actions.stop_recording( @@ -3952,6 +4277,7 @@ async def test_method_stop_recording_with_all_params(self, async_client: AsyncTe ) assert_matches_type(ActionStopRecordingResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_stop_recording(self, async_client: AsyncTelnyx) -> None: response = await async_client.calls.actions.with_raw_response.stop_recording( @@ -3963,6 +4289,7 @@ async def test_raw_response_stop_recording(self, async_client: AsyncTelnyx) -> N action = await response.parse() assert_matches_type(ActionStopRecordingResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_stop_recording(self, async_client: AsyncTelnyx) -> None: async with async_client.calls.actions.with_streaming_response.stop_recording( @@ -3976,6 +4303,7 @@ async def test_streaming_response_stop_recording(self, async_client: AsyncTelnyx assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_stop_recording(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_control_id` but received ''"): @@ -3983,6 +4311,7 @@ async def test_path_params_stop_recording(self, async_client: AsyncTelnyx) -> No call_control_id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_stop_siprec(self, async_client: AsyncTelnyx) -> None: action = await async_client.calls.actions.stop_siprec( @@ -3990,6 +4319,7 @@ async def test_method_stop_siprec(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ActionStopSiprecResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_stop_siprec_with_all_params(self, async_client: AsyncTelnyx) -> None: action = await async_client.calls.actions.stop_siprec( @@ -3999,6 +4329,7 @@ async def test_method_stop_siprec_with_all_params(self, async_client: AsyncTelny ) assert_matches_type(ActionStopSiprecResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_stop_siprec(self, async_client: AsyncTelnyx) -> None: response = await async_client.calls.actions.with_raw_response.stop_siprec( @@ -4010,6 +4341,7 @@ async def test_raw_response_stop_siprec(self, async_client: AsyncTelnyx) -> None action = await response.parse() assert_matches_type(ActionStopSiprecResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_stop_siprec(self, async_client: AsyncTelnyx) -> None: async with async_client.calls.actions.with_streaming_response.stop_siprec( @@ -4023,6 +4355,7 @@ async def test_streaming_response_stop_siprec(self, async_client: AsyncTelnyx) - assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_stop_siprec(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_control_id` but received ''"): @@ -4030,6 +4363,7 @@ async def test_path_params_stop_siprec(self, async_client: AsyncTelnyx) -> None: call_control_id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_stop_streaming(self, async_client: AsyncTelnyx) -> None: action = await async_client.calls.actions.stop_streaming( @@ -4037,6 +4371,7 @@ async def test_method_stop_streaming(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ActionStopStreamingResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_stop_streaming_with_all_params(self, async_client: AsyncTelnyx) -> None: action = await async_client.calls.actions.stop_streaming( @@ -4047,6 +4382,7 @@ async def test_method_stop_streaming_with_all_params(self, async_client: AsyncTe ) assert_matches_type(ActionStopStreamingResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_stop_streaming(self, async_client: AsyncTelnyx) -> None: response = await async_client.calls.actions.with_raw_response.stop_streaming( @@ -4058,6 +4394,7 @@ async def test_raw_response_stop_streaming(self, async_client: AsyncTelnyx) -> N action = await response.parse() assert_matches_type(ActionStopStreamingResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_stop_streaming(self, async_client: AsyncTelnyx) -> None: async with async_client.calls.actions.with_streaming_response.stop_streaming( @@ -4071,6 +4408,7 @@ async def test_streaming_response_stop_streaming(self, async_client: AsyncTelnyx assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_stop_streaming(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_control_id` but received ''"): @@ -4078,6 +4416,7 @@ async def test_path_params_stop_streaming(self, async_client: AsyncTelnyx) -> No call_control_id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_stop_transcription(self, async_client: AsyncTelnyx) -> None: action = await async_client.calls.actions.stop_transcription( @@ -4085,6 +4424,7 @@ async def test_method_stop_transcription(self, async_client: AsyncTelnyx) -> Non ) assert_matches_type(ActionStopTranscriptionResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_stop_transcription_with_all_params(self, async_client: AsyncTelnyx) -> None: action = await async_client.calls.actions.stop_transcription( @@ -4094,6 +4434,7 @@ async def test_method_stop_transcription_with_all_params(self, async_client: Asy ) assert_matches_type(ActionStopTranscriptionResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_stop_transcription(self, async_client: AsyncTelnyx) -> None: response = await async_client.calls.actions.with_raw_response.stop_transcription( @@ -4105,6 +4446,7 @@ async def test_raw_response_stop_transcription(self, async_client: AsyncTelnyx) action = await response.parse() assert_matches_type(ActionStopTranscriptionResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_stop_transcription(self, async_client: AsyncTelnyx) -> None: async with async_client.calls.actions.with_streaming_response.stop_transcription( @@ -4118,6 +4460,7 @@ async def test_streaming_response_stop_transcription(self, async_client: AsyncTe assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_stop_transcription(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_control_id` but received ''"): @@ -4125,6 +4468,7 @@ async def test_path_params_stop_transcription(self, async_client: AsyncTelnyx) - call_control_id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_switch_supervisor_role(self, async_client: AsyncTelnyx) -> None: action = await async_client.calls.actions.switch_supervisor_role( @@ -4133,6 +4477,7 @@ async def test_method_switch_supervisor_role(self, async_client: AsyncTelnyx) -> ) assert_matches_type(ActionSwitchSupervisorRoleResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_switch_supervisor_role(self, async_client: AsyncTelnyx) -> None: response = await async_client.calls.actions.with_raw_response.switch_supervisor_role( @@ -4145,6 +4490,7 @@ async def test_raw_response_switch_supervisor_role(self, async_client: AsyncTeln action = await response.parse() assert_matches_type(ActionSwitchSupervisorRoleResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_switch_supervisor_role(self, async_client: AsyncTelnyx) -> None: async with async_client.calls.actions.with_streaming_response.switch_supervisor_role( @@ -4159,6 +4505,7 @@ async def test_streaming_response_switch_supervisor_role(self, async_client: Asy assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_switch_supervisor_role(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_control_id` but received ''"): @@ -4167,6 +4514,7 @@ async def test_path_params_switch_supervisor_role(self, async_client: AsyncTelny role="barge", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_transfer(self, async_client: AsyncTelnyx) -> None: action = await async_client.calls.actions.transfer( @@ -4175,6 +4523,7 @@ async def test_method_transfer(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ActionTransferResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_transfer_with_all_params(self, async_client: AsyncTelnyx) -> None: action = await async_client.calls.actions.transfer( @@ -4236,6 +4585,7 @@ async def test_method_transfer_with_all_params(self, async_client: AsyncTelnyx) ) assert_matches_type(ActionTransferResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_transfer(self, async_client: AsyncTelnyx) -> None: response = await async_client.calls.actions.with_raw_response.transfer( @@ -4248,6 +4598,7 @@ async def test_raw_response_transfer(self, async_client: AsyncTelnyx) -> None: action = await response.parse() assert_matches_type(ActionTransferResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_transfer(self, async_client: AsyncTelnyx) -> None: async with async_client.calls.actions.with_streaming_response.transfer( @@ -4262,6 +4613,7 @@ async def test_streaming_response_transfer(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_transfer(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_control_id` but received ''"): @@ -4270,6 +4622,7 @@ async def test_path_params_transfer(self, async_client: AsyncTelnyx) -> None: to="+18005550100 or sip:username@sip.telnyx.com", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_client_state(self, async_client: AsyncTelnyx) -> None: action = await async_client.calls.actions.update_client_state( @@ -4278,6 +4631,7 @@ async def test_method_update_client_state(self, async_client: AsyncTelnyx) -> No ) assert_matches_type(ActionUpdateClientStateResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update_client_state(self, async_client: AsyncTelnyx) -> None: response = await async_client.calls.actions.with_raw_response.update_client_state( @@ -4290,6 +4644,7 @@ async def test_raw_response_update_client_state(self, async_client: AsyncTelnyx) action = await response.parse() assert_matches_type(ActionUpdateClientStateResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update_client_state(self, async_client: AsyncTelnyx) -> None: async with async_client.calls.actions.with_streaming_response.update_client_state( @@ -4304,6 +4659,7 @@ async def test_streaming_response_update_client_state(self, async_client: AsyncT assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update_client_state(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_control_id` but received ''"): diff --git a/tests/api_resources/campaign/test_osr.py b/tests/api_resources/campaign/test_osr.py index 286bd8d8..af90459a 100644 --- a/tests/api_resources/campaign/test_osr.py +++ b/tests/api_resources/campaign/test_osr.py @@ -16,6 +16,7 @@ class TestOsr: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_get_attributes(self, client: Telnyx) -> None: osr = client.campaign.osr.get_attributes( @@ -23,6 +24,7 @@ def test_method_get_attributes(self, client: Telnyx) -> None: ) assert_matches_type(object, osr, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_get_attributes(self, client: Telnyx) -> None: response = client.campaign.osr.with_raw_response.get_attributes( @@ -34,6 +36,7 @@ def test_raw_response_get_attributes(self, client: Telnyx) -> None: osr = response.parse() assert_matches_type(object, osr, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_get_attributes(self, client: Telnyx) -> None: with client.campaign.osr.with_streaming_response.get_attributes( @@ -47,6 +50,7 @@ def test_streaming_response_get_attributes(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_get_attributes(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `campaign_id` but received ''"): @@ -60,6 +64,7 @@ class TestAsyncOsr: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_get_attributes(self, async_client: AsyncTelnyx) -> None: osr = await async_client.campaign.osr.get_attributes( @@ -67,6 +72,7 @@ async def test_method_get_attributes(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(object, osr, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_get_attributes(self, async_client: AsyncTelnyx) -> None: response = await async_client.campaign.osr.with_raw_response.get_attributes( @@ -78,6 +84,7 @@ async def test_raw_response_get_attributes(self, async_client: AsyncTelnyx) -> N osr = await response.parse() assert_matches_type(object, osr, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_get_attributes(self, async_client: AsyncTelnyx) -> None: async with async_client.campaign.osr.with_streaming_response.get_attributes( @@ -91,6 +98,7 @@ async def test_streaming_response_get_attributes(self, async_client: AsyncTelnyx assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_get_attributes(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `campaign_id` but received ''"): diff --git a/tests/api_resources/campaign/test_usecase.py b/tests/api_resources/campaign/test_usecase.py index b68440b2..ac9c84ce 100644 --- a/tests/api_resources/campaign/test_usecase.py +++ b/tests/api_resources/campaign/test_usecase.py @@ -17,6 +17,7 @@ class TestUsecase: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_get_cost(self, client: Telnyx) -> None: usecase = client.campaign.usecase.get_cost( @@ -24,6 +25,7 @@ def test_method_get_cost(self, client: Telnyx) -> None: ) assert_matches_type(UsecaseGetCostResponse, usecase, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_get_cost(self, client: Telnyx) -> None: response = client.campaign.usecase.with_raw_response.get_cost( @@ -35,6 +37,7 @@ def test_raw_response_get_cost(self, client: Telnyx) -> None: usecase = response.parse() assert_matches_type(UsecaseGetCostResponse, usecase, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_get_cost(self, client: Telnyx) -> None: with client.campaign.usecase.with_streaming_response.get_cost( @@ -54,6 +57,7 @@ class TestAsyncUsecase: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_get_cost(self, async_client: AsyncTelnyx) -> None: usecase = await async_client.campaign.usecase.get_cost( @@ -61,6 +65,7 @@ async def test_method_get_cost(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(UsecaseGetCostResponse, usecase, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_get_cost(self, async_client: AsyncTelnyx) -> None: response = await async_client.campaign.usecase.with_raw_response.get_cost( @@ -72,6 +77,7 @@ async def test_raw_response_get_cost(self, async_client: AsyncTelnyx) -> None: usecase = await response.parse() assert_matches_type(UsecaseGetCostResponse, usecase, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_get_cost(self, async_client: AsyncTelnyx) -> None: async with async_client.campaign.usecase.with_streaming_response.get_cost( diff --git a/tests/api_resources/campaign_builder/test_brand.py b/tests/api_resources/campaign_builder/test_brand.py index 93ae3885..dc6939d2 100644 --- a/tests/api_resources/campaign_builder/test_brand.py +++ b/tests/api_resources/campaign_builder/test_brand.py @@ -17,6 +17,7 @@ class TestBrand: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_qualify_by_usecase(self, client: Telnyx) -> None: brand = client.campaign_builder.brand.qualify_by_usecase( @@ -25,6 +26,7 @@ def test_method_qualify_by_usecase(self, client: Telnyx) -> None: ) assert_matches_type(BrandQualifyByUsecaseResponse, brand, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_qualify_by_usecase(self, client: Telnyx) -> None: response = client.campaign_builder.brand.with_raw_response.qualify_by_usecase( @@ -37,6 +39,7 @@ def test_raw_response_qualify_by_usecase(self, client: Telnyx) -> None: brand = response.parse() assert_matches_type(BrandQualifyByUsecaseResponse, brand, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_qualify_by_usecase(self, client: Telnyx) -> None: with client.campaign_builder.brand.with_streaming_response.qualify_by_usecase( @@ -51,6 +54,7 @@ def test_streaming_response_qualify_by_usecase(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_qualify_by_usecase(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `brand_id` but received ''"): @@ -71,6 +75,7 @@ class TestAsyncBrand: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_qualify_by_usecase(self, async_client: AsyncTelnyx) -> None: brand = await async_client.campaign_builder.brand.qualify_by_usecase( @@ -79,6 +84,7 @@ async def test_method_qualify_by_usecase(self, async_client: AsyncTelnyx) -> Non ) assert_matches_type(BrandQualifyByUsecaseResponse, brand, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_qualify_by_usecase(self, async_client: AsyncTelnyx) -> None: response = await async_client.campaign_builder.brand.with_raw_response.qualify_by_usecase( @@ -91,6 +97,7 @@ async def test_raw_response_qualify_by_usecase(self, async_client: AsyncTelnyx) brand = await response.parse() assert_matches_type(BrandQualifyByUsecaseResponse, brand, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_qualify_by_usecase(self, async_client: AsyncTelnyx) -> None: async with async_client.campaign_builder.brand.with_streaming_response.qualify_by_usecase( @@ -105,6 +112,7 @@ async def test_streaming_response_qualify_by_usecase(self, async_client: AsyncTe assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_qualify_by_usecase(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `brand_id` but received ''"): diff --git a/tests/api_resources/conferences/test_actions.py b/tests/api_resources/conferences/test_actions.py index 21a2f315..dda5d760 100644 --- a/tests/api_resources/conferences/test_actions.py +++ b/tests/api_resources/conferences/test_actions.py @@ -32,6 +32,7 @@ class TestActions: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update(self, client: Telnyx) -> None: action = client.conferences.actions.update( @@ -41,6 +42,7 @@ def test_method_update(self, client: Telnyx) -> None: ) assert_matches_type(ActionUpdateResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_with_all_params(self, client: Telnyx) -> None: action = client.conferences.actions.update( @@ -55,6 +57,7 @@ def test_method_update_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ActionUpdateResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update(self, client: Telnyx) -> None: response = client.conferences.actions.with_raw_response.update( @@ -68,6 +71,7 @@ def test_raw_response_update(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionUpdateResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update(self, client: Telnyx) -> None: with client.conferences.actions.with_streaming_response.update( @@ -83,6 +87,7 @@ def test_streaming_response_update(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -92,6 +97,7 @@ def test_path_params_update(self, client: Telnyx) -> None: supervisor_role="whisper", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_hold(self, client: Telnyx) -> None: action = client.conferences.actions.hold( @@ -99,6 +105,7 @@ def test_method_hold(self, client: Telnyx) -> None: ) assert_matches_type(ActionHoldResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_hold_with_all_params(self, client: Telnyx) -> None: action = client.conferences.actions.hold( @@ -109,6 +116,7 @@ def test_method_hold_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ActionHoldResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_hold(self, client: Telnyx) -> None: response = client.conferences.actions.with_raw_response.hold( @@ -120,6 +128,7 @@ def test_raw_response_hold(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionHoldResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_hold(self, client: Telnyx) -> None: with client.conferences.actions.with_streaming_response.hold( @@ -133,6 +142,7 @@ def test_streaming_response_hold(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_hold(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -140,6 +150,7 @@ def test_path_params_hold(self, client: Telnyx) -> None: id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_join(self, client: Telnyx) -> None: action = client.conferences.actions.join( @@ -148,6 +159,7 @@ def test_method_join(self, client: Telnyx) -> None: ) assert_matches_type(ActionJoinResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_join_with_all_params(self, client: Telnyx) -> None: action = client.conferences.actions.join( @@ -171,6 +183,7 @@ def test_method_join_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ActionJoinResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_join(self, client: Telnyx) -> None: response = client.conferences.actions.with_raw_response.join( @@ -183,6 +196,7 @@ def test_raw_response_join(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionJoinResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_join(self, client: Telnyx) -> None: with client.conferences.actions.with_streaming_response.join( @@ -197,6 +211,7 @@ def test_streaming_response_join(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_join(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -205,6 +220,7 @@ def test_path_params_join(self, client: Telnyx) -> None: call_control_id="v3:MdI91X4lWFEs7IgbBEOT9M4AigoY08M0WWZFISt1Yw2axZ_IiE4pqg", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_leave(self, client: Telnyx) -> None: action = client.conferences.actions.leave( @@ -213,6 +229,7 @@ def test_method_leave(self, client: Telnyx) -> None: ) assert_matches_type(ActionLeaveResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_leave_with_all_params(self, client: Telnyx) -> None: action = client.conferences.actions.leave( @@ -223,6 +240,7 @@ def test_method_leave_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ActionLeaveResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_leave(self, client: Telnyx) -> None: response = client.conferences.actions.with_raw_response.leave( @@ -235,6 +253,7 @@ def test_raw_response_leave(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionLeaveResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_leave(self, client: Telnyx) -> None: with client.conferences.actions.with_streaming_response.leave( @@ -249,6 +268,7 @@ def test_streaming_response_leave(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_leave(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -257,6 +277,7 @@ def test_path_params_leave(self, client: Telnyx) -> None: call_control_id="c46e06d7-b78f-4b13-96b6-c576af9640ff", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_mute(self, client: Telnyx) -> None: action = client.conferences.actions.mute( @@ -264,6 +285,7 @@ def test_method_mute(self, client: Telnyx) -> None: ) assert_matches_type(ActionMuteResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_mute_with_all_params(self, client: Telnyx) -> None: action = client.conferences.actions.mute( @@ -272,6 +294,7 @@ def test_method_mute_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ActionMuteResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_mute(self, client: Telnyx) -> None: response = client.conferences.actions.with_raw_response.mute( @@ -283,6 +306,7 @@ def test_raw_response_mute(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionMuteResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_mute(self, client: Telnyx) -> None: with client.conferences.actions.with_streaming_response.mute( @@ -296,6 +320,7 @@ def test_streaming_response_mute(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_mute(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -303,6 +328,7 @@ def test_path_params_mute(self, client: Telnyx) -> None: id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_play(self, client: Telnyx) -> None: action = client.conferences.actions.play( @@ -310,6 +336,7 @@ def test_method_play(self, client: Telnyx) -> None: ) assert_matches_type(ActionPlayResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_play_with_all_params(self, client: Telnyx) -> None: action = client.conferences.actions.play( @@ -321,6 +348,7 @@ def test_method_play_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ActionPlayResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_play(self, client: Telnyx) -> None: response = client.conferences.actions.with_raw_response.play( @@ -332,6 +360,7 @@ def test_raw_response_play(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionPlayResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_play(self, client: Telnyx) -> None: with client.conferences.actions.with_streaming_response.play( @@ -345,6 +374,7 @@ def test_streaming_response_play(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_play(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -352,6 +382,7 @@ def test_path_params_play(self, client: Telnyx) -> None: id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_record_pause(self, client: Telnyx) -> None: action = client.conferences.actions.record_pause( @@ -359,6 +390,7 @@ def test_method_record_pause(self, client: Telnyx) -> None: ) assert_matches_type(ActionRecordPauseResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_record_pause_with_all_params(self, client: Telnyx) -> None: action = client.conferences.actions.record_pause( @@ -368,6 +400,7 @@ def test_method_record_pause_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ActionRecordPauseResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_record_pause(self, client: Telnyx) -> None: response = client.conferences.actions.with_raw_response.record_pause( @@ -379,6 +412,7 @@ def test_raw_response_record_pause(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionRecordPauseResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_record_pause(self, client: Telnyx) -> None: with client.conferences.actions.with_streaming_response.record_pause( @@ -392,6 +426,7 @@ def test_streaming_response_record_pause(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_record_pause(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -399,6 +434,7 @@ def test_path_params_record_pause(self, client: Telnyx) -> None: id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_record_resume(self, client: Telnyx) -> None: action = client.conferences.actions.record_resume( @@ -406,6 +442,7 @@ def test_method_record_resume(self, client: Telnyx) -> None: ) assert_matches_type(ActionRecordResumeResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_record_resume_with_all_params(self, client: Telnyx) -> None: action = client.conferences.actions.record_resume( @@ -415,6 +452,7 @@ def test_method_record_resume_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ActionRecordResumeResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_record_resume(self, client: Telnyx) -> None: response = client.conferences.actions.with_raw_response.record_resume( @@ -426,6 +464,7 @@ def test_raw_response_record_resume(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionRecordResumeResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_record_resume(self, client: Telnyx) -> None: with client.conferences.actions.with_streaming_response.record_resume( @@ -439,6 +478,7 @@ def test_streaming_response_record_resume(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_record_resume(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -446,6 +486,7 @@ def test_path_params_record_resume(self, client: Telnyx) -> None: id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_record_start(self, client: Telnyx) -> None: action = client.conferences.actions.record_start( @@ -454,6 +495,7 @@ def test_method_record_start(self, client: Telnyx) -> None: ) assert_matches_type(ActionRecordStartResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_record_start_with_all_params(self, client: Telnyx) -> None: action = client.conferences.actions.record_start( @@ -466,6 +508,7 @@ def test_method_record_start_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ActionRecordStartResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_record_start(self, client: Telnyx) -> None: response = client.conferences.actions.with_raw_response.record_start( @@ -478,6 +521,7 @@ def test_raw_response_record_start(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionRecordStartResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_record_start(self, client: Telnyx) -> None: with client.conferences.actions.with_streaming_response.record_start( @@ -492,6 +536,7 @@ def test_streaming_response_record_start(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_record_start(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -500,6 +545,7 @@ def test_path_params_record_start(self, client: Telnyx) -> None: format="wav", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_record_stop(self, client: Telnyx) -> None: action = client.conferences.actions.record_stop( @@ -507,6 +553,7 @@ def test_method_record_stop(self, client: Telnyx) -> None: ) assert_matches_type(ActionRecordStopResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_record_stop_with_all_params(self, client: Telnyx) -> None: action = client.conferences.actions.record_stop( @@ -517,6 +564,7 @@ def test_method_record_stop_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ActionRecordStopResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_record_stop(self, client: Telnyx) -> None: response = client.conferences.actions.with_raw_response.record_stop( @@ -528,6 +576,7 @@ def test_raw_response_record_stop(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionRecordStopResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_record_stop(self, client: Telnyx) -> None: with client.conferences.actions.with_streaming_response.record_stop( @@ -541,6 +590,7 @@ def test_streaming_response_record_stop(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_record_stop(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -548,6 +598,7 @@ def test_path_params_record_stop(self, client: Telnyx) -> None: id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_speak(self, client: Telnyx) -> None: action = client.conferences.actions.speak( @@ -557,6 +608,7 @@ def test_method_speak(self, client: Telnyx) -> None: ) assert_matches_type(ActionSpeakResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_speak_with_all_params(self, client: Telnyx) -> None: action = client.conferences.actions.speak( @@ -571,6 +623,7 @@ def test_method_speak_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ActionSpeakResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_speak(self, client: Telnyx) -> None: response = client.conferences.actions.with_raw_response.speak( @@ -584,6 +637,7 @@ def test_raw_response_speak(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionSpeakResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_speak(self, client: Telnyx) -> None: with client.conferences.actions.with_streaming_response.speak( @@ -599,6 +653,7 @@ def test_streaming_response_speak(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_speak(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -608,6 +663,7 @@ def test_path_params_speak(self, client: Telnyx) -> None: voice="female", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_stop(self, client: Telnyx) -> None: action = client.conferences.actions.stop( @@ -615,6 +671,7 @@ def test_method_stop(self, client: Telnyx) -> None: ) assert_matches_type(ActionStopResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_stop_with_all_params(self, client: Telnyx) -> None: action = client.conferences.actions.stop( @@ -623,6 +680,7 @@ def test_method_stop_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ActionStopResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_stop(self, client: Telnyx) -> None: response = client.conferences.actions.with_raw_response.stop( @@ -634,6 +692,7 @@ def test_raw_response_stop(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionStopResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_stop(self, client: Telnyx) -> None: with client.conferences.actions.with_streaming_response.stop( @@ -647,6 +706,7 @@ def test_streaming_response_stop(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_stop(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -654,6 +714,7 @@ def test_path_params_stop(self, client: Telnyx) -> None: id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_unhold(self, client: Telnyx) -> None: action = client.conferences.actions.unhold( @@ -662,6 +723,7 @@ def test_method_unhold(self, client: Telnyx) -> None: ) assert_matches_type(ActionUnholdResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_unhold(self, client: Telnyx) -> None: response = client.conferences.actions.with_raw_response.unhold( @@ -674,6 +736,7 @@ def test_raw_response_unhold(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionUnholdResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_unhold(self, client: Telnyx) -> None: with client.conferences.actions.with_streaming_response.unhold( @@ -688,6 +751,7 @@ def test_streaming_response_unhold(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_unhold(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -696,6 +760,7 @@ def test_path_params_unhold(self, client: Telnyx) -> None: call_control_ids=["v3:MdI91X4lWFEs7IgbBEOT9M4AigoY08M0WWZFISt1Yw2axZ_IiE4pqg"], ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_unmute(self, client: Telnyx) -> None: action = client.conferences.actions.unmute( @@ -703,6 +768,7 @@ def test_method_unmute(self, client: Telnyx) -> None: ) assert_matches_type(ActionUnmuteResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_unmute_with_all_params(self, client: Telnyx) -> None: action = client.conferences.actions.unmute( @@ -711,6 +777,7 @@ def test_method_unmute_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ActionUnmuteResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_unmute(self, client: Telnyx) -> None: response = client.conferences.actions.with_raw_response.unmute( @@ -722,6 +789,7 @@ def test_raw_response_unmute(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionUnmuteResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_unmute(self, client: Telnyx) -> None: with client.conferences.actions.with_streaming_response.unmute( @@ -735,6 +803,7 @@ def test_streaming_response_unmute(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_unmute(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -748,6 +817,7 @@ class TestAsyncActions: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update(self, async_client: AsyncTelnyx) -> None: action = await async_client.conferences.actions.update( @@ -757,6 +827,7 @@ async def test_method_update(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ActionUpdateResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> None: action = await async_client.conferences.actions.update( @@ -771,6 +842,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(ActionUpdateResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: response = await async_client.conferences.actions.with_raw_response.update( @@ -784,6 +856,7 @@ async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: action = await response.parse() assert_matches_type(ActionUpdateResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> None: async with async_client.conferences.actions.with_streaming_response.update( @@ -799,6 +872,7 @@ async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -808,6 +882,7 @@ async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: supervisor_role="whisper", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_hold(self, async_client: AsyncTelnyx) -> None: action = await async_client.conferences.actions.hold( @@ -815,6 +890,7 @@ async def test_method_hold(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ActionHoldResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_hold_with_all_params(self, async_client: AsyncTelnyx) -> None: action = await async_client.conferences.actions.hold( @@ -825,6 +901,7 @@ async def test_method_hold_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(ActionHoldResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_hold(self, async_client: AsyncTelnyx) -> None: response = await async_client.conferences.actions.with_raw_response.hold( @@ -836,6 +913,7 @@ async def test_raw_response_hold(self, async_client: AsyncTelnyx) -> None: action = await response.parse() assert_matches_type(ActionHoldResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_hold(self, async_client: AsyncTelnyx) -> None: async with async_client.conferences.actions.with_streaming_response.hold( @@ -849,6 +927,7 @@ async def test_streaming_response_hold(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_hold(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -856,6 +935,7 @@ async def test_path_params_hold(self, async_client: AsyncTelnyx) -> None: id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_join(self, async_client: AsyncTelnyx) -> None: action = await async_client.conferences.actions.join( @@ -864,6 +944,7 @@ async def test_method_join(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ActionJoinResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_join_with_all_params(self, async_client: AsyncTelnyx) -> None: action = await async_client.conferences.actions.join( @@ -887,6 +968,7 @@ async def test_method_join_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(ActionJoinResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_join(self, async_client: AsyncTelnyx) -> None: response = await async_client.conferences.actions.with_raw_response.join( @@ -899,6 +981,7 @@ async def test_raw_response_join(self, async_client: AsyncTelnyx) -> None: action = await response.parse() assert_matches_type(ActionJoinResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_join(self, async_client: AsyncTelnyx) -> None: async with async_client.conferences.actions.with_streaming_response.join( @@ -913,6 +996,7 @@ async def test_streaming_response_join(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_join(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -921,6 +1005,7 @@ async def test_path_params_join(self, async_client: AsyncTelnyx) -> None: call_control_id="v3:MdI91X4lWFEs7IgbBEOT9M4AigoY08M0WWZFISt1Yw2axZ_IiE4pqg", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_leave(self, async_client: AsyncTelnyx) -> None: action = await async_client.conferences.actions.leave( @@ -929,6 +1014,7 @@ async def test_method_leave(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ActionLeaveResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_leave_with_all_params(self, async_client: AsyncTelnyx) -> None: action = await async_client.conferences.actions.leave( @@ -939,6 +1025,7 @@ async def test_method_leave_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(ActionLeaveResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_leave(self, async_client: AsyncTelnyx) -> None: response = await async_client.conferences.actions.with_raw_response.leave( @@ -951,6 +1038,7 @@ async def test_raw_response_leave(self, async_client: AsyncTelnyx) -> None: action = await response.parse() assert_matches_type(ActionLeaveResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_leave(self, async_client: AsyncTelnyx) -> None: async with async_client.conferences.actions.with_streaming_response.leave( @@ -965,6 +1053,7 @@ async def test_streaming_response_leave(self, async_client: AsyncTelnyx) -> None assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_leave(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -973,6 +1062,7 @@ async def test_path_params_leave(self, async_client: AsyncTelnyx) -> None: call_control_id="c46e06d7-b78f-4b13-96b6-c576af9640ff", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_mute(self, async_client: AsyncTelnyx) -> None: action = await async_client.conferences.actions.mute( @@ -980,6 +1070,7 @@ async def test_method_mute(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ActionMuteResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_mute_with_all_params(self, async_client: AsyncTelnyx) -> None: action = await async_client.conferences.actions.mute( @@ -988,6 +1079,7 @@ async def test_method_mute_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(ActionMuteResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_mute(self, async_client: AsyncTelnyx) -> None: response = await async_client.conferences.actions.with_raw_response.mute( @@ -999,6 +1091,7 @@ async def test_raw_response_mute(self, async_client: AsyncTelnyx) -> None: action = await response.parse() assert_matches_type(ActionMuteResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_mute(self, async_client: AsyncTelnyx) -> None: async with async_client.conferences.actions.with_streaming_response.mute( @@ -1012,6 +1105,7 @@ async def test_streaming_response_mute(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_mute(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -1019,6 +1113,7 @@ async def test_path_params_mute(self, async_client: AsyncTelnyx) -> None: id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_play(self, async_client: AsyncTelnyx) -> None: action = await async_client.conferences.actions.play( @@ -1026,6 +1121,7 @@ async def test_method_play(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ActionPlayResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_play_with_all_params(self, async_client: AsyncTelnyx) -> None: action = await async_client.conferences.actions.play( @@ -1037,6 +1133,7 @@ async def test_method_play_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(ActionPlayResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_play(self, async_client: AsyncTelnyx) -> None: response = await async_client.conferences.actions.with_raw_response.play( @@ -1048,6 +1145,7 @@ async def test_raw_response_play(self, async_client: AsyncTelnyx) -> None: action = await response.parse() assert_matches_type(ActionPlayResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_play(self, async_client: AsyncTelnyx) -> None: async with async_client.conferences.actions.with_streaming_response.play( @@ -1061,6 +1159,7 @@ async def test_streaming_response_play(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_play(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -1068,6 +1167,7 @@ async def test_path_params_play(self, async_client: AsyncTelnyx) -> None: id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_record_pause(self, async_client: AsyncTelnyx) -> None: action = await async_client.conferences.actions.record_pause( @@ -1075,6 +1175,7 @@ async def test_method_record_pause(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ActionRecordPauseResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_record_pause_with_all_params(self, async_client: AsyncTelnyx) -> None: action = await async_client.conferences.actions.record_pause( @@ -1084,6 +1185,7 @@ async def test_method_record_pause_with_all_params(self, async_client: AsyncTeln ) assert_matches_type(ActionRecordPauseResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_record_pause(self, async_client: AsyncTelnyx) -> None: response = await async_client.conferences.actions.with_raw_response.record_pause( @@ -1095,6 +1197,7 @@ async def test_raw_response_record_pause(self, async_client: AsyncTelnyx) -> Non action = await response.parse() assert_matches_type(ActionRecordPauseResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_record_pause(self, async_client: AsyncTelnyx) -> None: async with async_client.conferences.actions.with_streaming_response.record_pause( @@ -1108,6 +1211,7 @@ async def test_streaming_response_record_pause(self, async_client: AsyncTelnyx) assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_record_pause(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -1115,6 +1219,7 @@ async def test_path_params_record_pause(self, async_client: AsyncTelnyx) -> None id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_record_resume(self, async_client: AsyncTelnyx) -> None: action = await async_client.conferences.actions.record_resume( @@ -1122,6 +1227,7 @@ async def test_method_record_resume(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ActionRecordResumeResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_record_resume_with_all_params(self, async_client: AsyncTelnyx) -> None: action = await async_client.conferences.actions.record_resume( @@ -1131,6 +1237,7 @@ async def test_method_record_resume_with_all_params(self, async_client: AsyncTel ) assert_matches_type(ActionRecordResumeResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_record_resume(self, async_client: AsyncTelnyx) -> None: response = await async_client.conferences.actions.with_raw_response.record_resume( @@ -1142,6 +1249,7 @@ async def test_raw_response_record_resume(self, async_client: AsyncTelnyx) -> No action = await response.parse() assert_matches_type(ActionRecordResumeResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_record_resume(self, async_client: AsyncTelnyx) -> None: async with async_client.conferences.actions.with_streaming_response.record_resume( @@ -1155,6 +1263,7 @@ async def test_streaming_response_record_resume(self, async_client: AsyncTelnyx) assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_record_resume(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -1162,6 +1271,7 @@ async def test_path_params_record_resume(self, async_client: AsyncTelnyx) -> Non id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_record_start(self, async_client: AsyncTelnyx) -> None: action = await async_client.conferences.actions.record_start( @@ -1170,6 +1280,7 @@ async def test_method_record_start(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ActionRecordStartResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_record_start_with_all_params(self, async_client: AsyncTelnyx) -> None: action = await async_client.conferences.actions.record_start( @@ -1182,6 +1293,7 @@ async def test_method_record_start_with_all_params(self, async_client: AsyncTeln ) assert_matches_type(ActionRecordStartResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_record_start(self, async_client: AsyncTelnyx) -> None: response = await async_client.conferences.actions.with_raw_response.record_start( @@ -1194,6 +1306,7 @@ async def test_raw_response_record_start(self, async_client: AsyncTelnyx) -> Non action = await response.parse() assert_matches_type(ActionRecordStartResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_record_start(self, async_client: AsyncTelnyx) -> None: async with async_client.conferences.actions.with_streaming_response.record_start( @@ -1208,6 +1321,7 @@ async def test_streaming_response_record_start(self, async_client: AsyncTelnyx) assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_record_start(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -1216,6 +1330,7 @@ async def test_path_params_record_start(self, async_client: AsyncTelnyx) -> None format="wav", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_record_stop(self, async_client: AsyncTelnyx) -> None: action = await async_client.conferences.actions.record_stop( @@ -1223,6 +1338,7 @@ async def test_method_record_stop(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ActionRecordStopResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_record_stop_with_all_params(self, async_client: AsyncTelnyx) -> None: action = await async_client.conferences.actions.record_stop( @@ -1233,6 +1349,7 @@ async def test_method_record_stop_with_all_params(self, async_client: AsyncTelny ) assert_matches_type(ActionRecordStopResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_record_stop(self, async_client: AsyncTelnyx) -> None: response = await async_client.conferences.actions.with_raw_response.record_stop( @@ -1244,6 +1361,7 @@ async def test_raw_response_record_stop(self, async_client: AsyncTelnyx) -> None action = await response.parse() assert_matches_type(ActionRecordStopResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_record_stop(self, async_client: AsyncTelnyx) -> None: async with async_client.conferences.actions.with_streaming_response.record_stop( @@ -1257,6 +1375,7 @@ async def test_streaming_response_record_stop(self, async_client: AsyncTelnyx) - assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_record_stop(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -1264,6 +1383,7 @@ async def test_path_params_record_stop(self, async_client: AsyncTelnyx) -> None: id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_speak(self, async_client: AsyncTelnyx) -> None: action = await async_client.conferences.actions.speak( @@ -1273,6 +1393,7 @@ async def test_method_speak(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ActionSpeakResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_speak_with_all_params(self, async_client: AsyncTelnyx) -> None: action = await async_client.conferences.actions.speak( @@ -1287,6 +1408,7 @@ async def test_method_speak_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(ActionSpeakResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_speak(self, async_client: AsyncTelnyx) -> None: response = await async_client.conferences.actions.with_raw_response.speak( @@ -1300,6 +1422,7 @@ async def test_raw_response_speak(self, async_client: AsyncTelnyx) -> None: action = await response.parse() assert_matches_type(ActionSpeakResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_speak(self, async_client: AsyncTelnyx) -> None: async with async_client.conferences.actions.with_streaming_response.speak( @@ -1315,6 +1438,7 @@ async def test_streaming_response_speak(self, async_client: AsyncTelnyx) -> None assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_speak(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -1324,6 +1448,7 @@ async def test_path_params_speak(self, async_client: AsyncTelnyx) -> None: voice="female", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_stop(self, async_client: AsyncTelnyx) -> None: action = await async_client.conferences.actions.stop( @@ -1331,6 +1456,7 @@ async def test_method_stop(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ActionStopResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_stop_with_all_params(self, async_client: AsyncTelnyx) -> None: action = await async_client.conferences.actions.stop( @@ -1339,6 +1465,7 @@ async def test_method_stop_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(ActionStopResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_stop(self, async_client: AsyncTelnyx) -> None: response = await async_client.conferences.actions.with_raw_response.stop( @@ -1350,6 +1477,7 @@ async def test_raw_response_stop(self, async_client: AsyncTelnyx) -> None: action = await response.parse() assert_matches_type(ActionStopResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_stop(self, async_client: AsyncTelnyx) -> None: async with async_client.conferences.actions.with_streaming_response.stop( @@ -1363,6 +1491,7 @@ async def test_streaming_response_stop(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_stop(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -1370,6 +1499,7 @@ async def test_path_params_stop(self, async_client: AsyncTelnyx) -> None: id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_unhold(self, async_client: AsyncTelnyx) -> None: action = await async_client.conferences.actions.unhold( @@ -1378,6 +1508,7 @@ async def test_method_unhold(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ActionUnholdResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_unhold(self, async_client: AsyncTelnyx) -> None: response = await async_client.conferences.actions.with_raw_response.unhold( @@ -1390,6 +1521,7 @@ async def test_raw_response_unhold(self, async_client: AsyncTelnyx) -> None: action = await response.parse() assert_matches_type(ActionUnholdResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_unhold(self, async_client: AsyncTelnyx) -> None: async with async_client.conferences.actions.with_streaming_response.unhold( @@ -1404,6 +1536,7 @@ async def test_streaming_response_unhold(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_unhold(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -1412,6 +1545,7 @@ async def test_path_params_unhold(self, async_client: AsyncTelnyx) -> None: call_control_ids=["v3:MdI91X4lWFEs7IgbBEOT9M4AigoY08M0WWZFISt1Yw2axZ_IiE4pqg"], ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_unmute(self, async_client: AsyncTelnyx) -> None: action = await async_client.conferences.actions.unmute( @@ -1419,6 +1553,7 @@ async def test_method_unmute(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ActionUnmuteResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_unmute_with_all_params(self, async_client: AsyncTelnyx) -> None: action = await async_client.conferences.actions.unmute( @@ -1427,6 +1562,7 @@ async def test_method_unmute_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(ActionUnmuteResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_unmute(self, async_client: AsyncTelnyx) -> None: response = await async_client.conferences.actions.with_raw_response.unmute( @@ -1438,6 +1574,7 @@ async def test_raw_response_unmute(self, async_client: AsyncTelnyx) -> None: action = await response.parse() assert_matches_type(ActionUnmuteResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_unmute(self, async_client: AsyncTelnyx) -> None: async with async_client.conferences.actions.with_streaming_response.unmute( @@ -1451,6 +1588,7 @@ async def test_streaming_response_unmute(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_unmute(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): diff --git a/tests/api_resources/credential_connections/test_actions.py b/tests/api_resources/credential_connections/test_actions.py index 4ba3b9da..96740b21 100644 --- a/tests/api_resources/credential_connections/test_actions.py +++ b/tests/api_resources/credential_connections/test_actions.py @@ -17,6 +17,7 @@ class TestActions: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_check_registration_status(self, client: Telnyx) -> None: action = client.credential_connections.actions.check_registration_status( @@ -24,6 +25,7 @@ def test_method_check_registration_status(self, client: Telnyx) -> None: ) assert_matches_type(ActionCheckRegistrationStatusResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_check_registration_status(self, client: Telnyx) -> None: response = client.credential_connections.actions.with_raw_response.check_registration_status( @@ -35,6 +37,7 @@ def test_raw_response_check_registration_status(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionCheckRegistrationStatusResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_check_registration_status(self, client: Telnyx) -> None: with client.credential_connections.actions.with_streaming_response.check_registration_status( @@ -48,6 +51,7 @@ def test_streaming_response_check_registration_status(self, client: Telnyx) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_check_registration_status(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -61,6 +65,7 @@ class TestAsyncActions: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_check_registration_status(self, async_client: AsyncTelnyx) -> None: action = await async_client.credential_connections.actions.check_registration_status( @@ -68,6 +73,7 @@ async def test_method_check_registration_status(self, async_client: AsyncTelnyx) ) assert_matches_type(ActionCheckRegistrationStatusResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_check_registration_status(self, async_client: AsyncTelnyx) -> None: response = await async_client.credential_connections.actions.with_raw_response.check_registration_status( @@ -79,6 +85,7 @@ async def test_raw_response_check_registration_status(self, async_client: AsyncT action = await response.parse() assert_matches_type(ActionCheckRegistrationStatusResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_check_registration_status(self, async_client: AsyncTelnyx) -> None: async with async_client.credential_connections.actions.with_streaming_response.check_registration_status( @@ -92,6 +99,7 @@ async def test_streaming_response_check_registration_status(self, async_client: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_check_registration_status(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): diff --git a/tests/api_resources/external_connections/test_civic_addresses.py b/tests/api_resources/external_connections/test_civic_addresses.py index f28a551d..88553cce 100644 --- a/tests/api_resources/external_connections/test_civic_addresses.py +++ b/tests/api_resources/external_connections/test_civic_addresses.py @@ -20,6 +20,7 @@ class TestCivicAddresses: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: civic_address = client.external_connections.civic_addresses.retrieve( @@ -28,6 +29,7 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(CivicAddressRetrieveResponse, civic_address, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.external_connections.civic_addresses.with_raw_response.retrieve( @@ -40,6 +42,7 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: civic_address = response.parse() assert_matches_type(CivicAddressRetrieveResponse, civic_address, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.external_connections.civic_addresses.with_streaming_response.retrieve( @@ -54,6 +57,7 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -68,6 +72,7 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: id="id", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: civic_address = client.external_connections.civic_addresses.list( @@ -75,6 +80,7 @@ def test_method_list(self, client: Telnyx) -> None: ) assert_matches_type(CivicAddressListResponse, civic_address, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: civic_address = client.external_connections.civic_addresses.list( @@ -83,6 +89,7 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(CivicAddressListResponse, civic_address, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.external_connections.civic_addresses.with_raw_response.list( @@ -94,6 +101,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: civic_address = response.parse() assert_matches_type(CivicAddressListResponse, civic_address, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.external_connections.civic_addresses.with_streaming_response.list( @@ -107,6 +115,7 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_list(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -120,6 +129,7 @@ class TestAsyncCivicAddresses: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: civic_address = await async_client.external_connections.civic_addresses.retrieve( @@ -128,6 +138,7 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(CivicAddressRetrieveResponse, civic_address, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.external_connections.civic_addresses.with_raw_response.retrieve( @@ -140,6 +151,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: civic_address = await response.parse() assert_matches_type(CivicAddressRetrieveResponse, civic_address, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.external_connections.civic_addresses.with_streaming_response.retrieve( @@ -154,6 +166,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -168,6 +181,7 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: id="id", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: civic_address = await async_client.external_connections.civic_addresses.list( @@ -175,6 +189,7 @@ async def test_method_list(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(CivicAddressListResponse, civic_address, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: civic_address = await async_client.external_connections.civic_addresses.list( @@ -183,6 +198,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(CivicAddressListResponse, civic_address, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.external_connections.civic_addresses.with_raw_response.list( @@ -194,6 +210,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: civic_address = await response.parse() assert_matches_type(CivicAddressListResponse, civic_address, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.external_connections.civic_addresses.with_streaming_response.list( @@ -207,6 +224,7 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_list(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): diff --git a/tests/api_resources/external_connections/test_log_messages.py b/tests/api_resources/external_connections/test_log_messages.py index 7a38ca67..393254a8 100644 --- a/tests/api_resources/external_connections/test_log_messages.py +++ b/tests/api_resources/external_connections/test_log_messages.py @@ -21,6 +21,7 @@ class TestLogMessages: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: log_message = client.external_connections.log_messages.retrieve( @@ -28,6 +29,7 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(LogMessageRetrieveResponse, log_message, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.external_connections.log_messages.with_raw_response.retrieve( @@ -39,6 +41,7 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: log_message = response.parse() assert_matches_type(LogMessageRetrieveResponse, log_message, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.external_connections.log_messages.with_streaming_response.retrieve( @@ -52,6 +55,7 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -59,11 +63,13 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: log_message = client.external_connections.log_messages.list() assert_matches_type(LogMessageListResponse, log_message, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: log_message = client.external_connections.log_messages.list( @@ -81,6 +87,7 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(LogMessageListResponse, log_message, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.external_connections.log_messages.with_raw_response.list() @@ -90,6 +97,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: log_message = response.parse() assert_matches_type(LogMessageListResponse, log_message, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.external_connections.log_messages.with_streaming_response.list() as response: @@ -101,6 +109,7 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_dismiss(self, client: Telnyx) -> None: log_message = client.external_connections.log_messages.dismiss( @@ -108,6 +117,7 @@ def test_method_dismiss(self, client: Telnyx) -> None: ) assert_matches_type(LogMessageDismissResponse, log_message, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_dismiss(self, client: Telnyx) -> None: response = client.external_connections.log_messages.with_raw_response.dismiss( @@ -119,6 +129,7 @@ def test_raw_response_dismiss(self, client: Telnyx) -> None: log_message = response.parse() assert_matches_type(LogMessageDismissResponse, log_message, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_dismiss(self, client: Telnyx) -> None: with client.external_connections.log_messages.with_streaming_response.dismiss( @@ -132,6 +143,7 @@ def test_streaming_response_dismiss(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_dismiss(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -145,6 +157,7 @@ class TestAsyncLogMessages: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: log_message = await async_client.external_connections.log_messages.retrieve( @@ -152,6 +165,7 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(LogMessageRetrieveResponse, log_message, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.external_connections.log_messages.with_raw_response.retrieve( @@ -163,6 +177,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: log_message = await response.parse() assert_matches_type(LogMessageRetrieveResponse, log_message, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.external_connections.log_messages.with_streaming_response.retrieve( @@ -176,6 +191,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -183,11 +199,13 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: log_message = await async_client.external_connections.log_messages.list() assert_matches_type(LogMessageListResponse, log_message, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: log_message = await async_client.external_connections.log_messages.list( @@ -205,6 +223,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(LogMessageListResponse, log_message, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.external_connections.log_messages.with_raw_response.list() @@ -214,6 +233,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: log_message = await response.parse() assert_matches_type(LogMessageListResponse, log_message, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.external_connections.log_messages.with_streaming_response.list() as response: @@ -225,6 +245,7 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_dismiss(self, async_client: AsyncTelnyx) -> None: log_message = await async_client.external_connections.log_messages.dismiss( @@ -232,6 +253,7 @@ async def test_method_dismiss(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(LogMessageDismissResponse, log_message, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_dismiss(self, async_client: AsyncTelnyx) -> None: response = await async_client.external_connections.log_messages.with_raw_response.dismiss( @@ -243,6 +265,7 @@ async def test_raw_response_dismiss(self, async_client: AsyncTelnyx) -> None: log_message = await response.parse() assert_matches_type(LogMessageDismissResponse, log_message, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_dismiss(self, async_client: AsyncTelnyx) -> None: async with async_client.external_connections.log_messages.with_streaming_response.dismiss( @@ -256,6 +279,7 @@ async def test_streaming_response_dismiss(self, async_client: AsyncTelnyx) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_dismiss(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): diff --git a/tests/api_resources/external_connections/test_phone_numbers.py b/tests/api_resources/external_connections/test_phone_numbers.py index 859fe568..384ca9e6 100644 --- a/tests/api_resources/external_connections/test_phone_numbers.py +++ b/tests/api_resources/external_connections/test_phone_numbers.py @@ -21,6 +21,7 @@ class TestPhoneNumbers: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: phone_number = client.external_connections.phone_numbers.retrieve( @@ -29,6 +30,7 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(PhoneNumberRetrieveResponse, phone_number, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.external_connections.phone_numbers.with_raw_response.retrieve( @@ -41,6 +43,7 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: phone_number = response.parse() assert_matches_type(PhoneNumberRetrieveResponse, phone_number, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.external_connections.phone_numbers.with_streaming_response.retrieve( @@ -55,6 +58,7 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -69,6 +73,7 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: id="id", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update(self, client: Telnyx) -> None: phone_number = client.external_connections.phone_numbers.update( @@ -77,6 +82,7 @@ def test_method_update(self, client: Telnyx) -> None: ) assert_matches_type(PhoneNumberUpdateResponse, phone_number, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_with_all_params(self, client: Telnyx) -> None: phone_number = client.external_connections.phone_numbers.update( @@ -86,6 +92,7 @@ def test_method_update_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(PhoneNumberUpdateResponse, phone_number, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update(self, client: Telnyx) -> None: response = client.external_connections.phone_numbers.with_raw_response.update( @@ -98,6 +105,7 @@ def test_raw_response_update(self, client: Telnyx) -> None: phone_number = response.parse() assert_matches_type(PhoneNumberUpdateResponse, phone_number, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update(self, client: Telnyx) -> None: with client.external_connections.phone_numbers.with_streaming_response.update( @@ -112,6 +120,7 @@ def test_streaming_response_update(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -126,6 +135,7 @@ def test_path_params_update(self, client: Telnyx) -> None: id="id", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: phone_number = client.external_connections.phone_numbers.list( @@ -133,6 +143,7 @@ def test_method_list(self, client: Telnyx) -> None: ) assert_matches_type(PhoneNumberListResponse, phone_number, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: phone_number = client.external_connections.phone_numbers.list( @@ -152,6 +163,7 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(PhoneNumberListResponse, phone_number, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.external_connections.phone_numbers.with_raw_response.list( @@ -163,6 +175,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: phone_number = response.parse() assert_matches_type(PhoneNumberListResponse, phone_number, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.external_connections.phone_numbers.with_streaming_response.list( @@ -176,6 +189,7 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_list(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -189,6 +203,7 @@ class TestAsyncPhoneNumbers: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: phone_number = await async_client.external_connections.phone_numbers.retrieve( @@ -197,6 +212,7 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(PhoneNumberRetrieveResponse, phone_number, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.external_connections.phone_numbers.with_raw_response.retrieve( @@ -209,6 +225,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: phone_number = await response.parse() assert_matches_type(PhoneNumberRetrieveResponse, phone_number, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.external_connections.phone_numbers.with_streaming_response.retrieve( @@ -223,6 +240,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -237,6 +255,7 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: id="id", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update(self, async_client: AsyncTelnyx) -> None: phone_number = await async_client.external_connections.phone_numbers.update( @@ -245,6 +264,7 @@ async def test_method_update(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(PhoneNumberUpdateResponse, phone_number, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> None: phone_number = await async_client.external_connections.phone_numbers.update( @@ -254,6 +274,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(PhoneNumberUpdateResponse, phone_number, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: response = await async_client.external_connections.phone_numbers.with_raw_response.update( @@ -266,6 +287,7 @@ async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: phone_number = await response.parse() assert_matches_type(PhoneNumberUpdateResponse, phone_number, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> None: async with async_client.external_connections.phone_numbers.with_streaming_response.update( @@ -280,6 +302,7 @@ async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -294,6 +317,7 @@ async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: id="id", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: phone_number = await async_client.external_connections.phone_numbers.list( @@ -301,6 +325,7 @@ async def test_method_list(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(PhoneNumberListResponse, phone_number, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: phone_number = await async_client.external_connections.phone_numbers.list( @@ -320,6 +345,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(PhoneNumberListResponse, phone_number, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.external_connections.phone_numbers.with_raw_response.list( @@ -331,6 +357,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: phone_number = await response.parse() assert_matches_type(PhoneNumberListResponse, phone_number, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.external_connections.phone_numbers.with_streaming_response.list( @@ -344,6 +371,7 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_list(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): diff --git a/tests/api_resources/external_connections/test_releases.py b/tests/api_resources/external_connections/test_releases.py index 807a9215..b2c369db 100644 --- a/tests/api_resources/external_connections/test_releases.py +++ b/tests/api_resources/external_connections/test_releases.py @@ -17,6 +17,7 @@ class TestReleases: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: release = client.external_connections.releases.retrieve( @@ -25,6 +26,7 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(ReleaseRetrieveResponse, release, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.external_connections.releases.with_raw_response.retrieve( @@ -37,6 +39,7 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: release = response.parse() assert_matches_type(ReleaseRetrieveResponse, release, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.external_connections.releases.with_streaming_response.retrieve( @@ -51,6 +54,7 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -65,6 +69,7 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: id="id", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: release = client.external_connections.releases.list( @@ -72,6 +77,7 @@ def test_method_list(self, client: Telnyx) -> None: ) assert_matches_type(ReleaseListResponse, release, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: release = client.external_connections.releases.list( @@ -92,6 +98,7 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ReleaseListResponse, release, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.external_connections.releases.with_raw_response.list( @@ -103,6 +110,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: release = response.parse() assert_matches_type(ReleaseListResponse, release, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.external_connections.releases.with_streaming_response.list( @@ -116,6 +124,7 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_list(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -129,6 +138,7 @@ class TestAsyncReleases: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: release = await async_client.external_connections.releases.retrieve( @@ -137,6 +147,7 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ReleaseRetrieveResponse, release, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.external_connections.releases.with_raw_response.retrieve( @@ -149,6 +160,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: release = await response.parse() assert_matches_type(ReleaseRetrieveResponse, release, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.external_connections.releases.with_streaming_response.retrieve( @@ -163,6 +175,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -177,6 +190,7 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: id="id", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: release = await async_client.external_connections.releases.list( @@ -184,6 +198,7 @@ async def test_method_list(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ReleaseListResponse, release, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: release = await async_client.external_connections.releases.list( @@ -204,6 +219,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(ReleaseListResponse, release, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.external_connections.releases.with_raw_response.list( @@ -215,6 +231,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: release = await response.parse() assert_matches_type(ReleaseListResponse, release, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.external_connections.releases.with_streaming_response.list( @@ -228,6 +245,7 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_list(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): diff --git a/tests/api_resources/external_connections/test_uploads.py b/tests/api_resources/external_connections/test_uploads.py index f7fce944..699606cf 100644 --- a/tests/api_resources/external_connections/test_uploads.py +++ b/tests/api_resources/external_connections/test_uploads.py @@ -24,6 +24,7 @@ class TestUploads: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: upload = client.external_connections.uploads.create( @@ -32,6 +33,7 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(UploadCreateResponse, upload, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: upload = client.external_connections.uploads.create( @@ -44,6 +46,7 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(UploadCreateResponse, upload, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.external_connections.uploads.with_raw_response.create( @@ -56,6 +59,7 @@ def test_raw_response_create(self, client: Telnyx) -> None: upload = response.parse() assert_matches_type(UploadCreateResponse, upload, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.external_connections.uploads.with_streaming_response.create( @@ -70,6 +74,7 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_create(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -78,6 +83,7 @@ def test_path_params_create(self, client: Telnyx) -> None: number_ids=["3920457616934164700", "3920457616934164701", "3920457616934164702", "3920457616934164703"], ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: upload = client.external_connections.uploads.retrieve( @@ -86,6 +92,7 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(UploadRetrieveResponse, upload, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.external_connections.uploads.with_raw_response.retrieve( @@ -98,6 +105,7 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: upload = response.parse() assert_matches_type(UploadRetrieveResponse, upload, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.external_connections.uploads.with_streaming_response.retrieve( @@ -112,6 +120,7 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -126,6 +135,7 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: id="id", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: upload = client.external_connections.uploads.list( @@ -133,6 +143,7 @@ def test_method_list(self, client: Telnyx) -> None: ) assert_matches_type(UploadListResponse, upload, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: upload = client.external_connections.uploads.list( @@ -153,6 +164,7 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(UploadListResponse, upload, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.external_connections.uploads.with_raw_response.list( @@ -164,6 +176,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: upload = response.parse() assert_matches_type(UploadListResponse, upload, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.external_connections.uploads.with_streaming_response.list( @@ -177,6 +190,7 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_list(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -184,6 +198,7 @@ def test_path_params_list(self, client: Telnyx) -> None: id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_pending_count(self, client: Telnyx) -> None: upload = client.external_connections.uploads.pending_count( @@ -191,6 +206,7 @@ def test_method_pending_count(self, client: Telnyx) -> None: ) assert_matches_type(UploadPendingCountResponse, upload, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_pending_count(self, client: Telnyx) -> None: response = client.external_connections.uploads.with_raw_response.pending_count( @@ -202,6 +218,7 @@ def test_raw_response_pending_count(self, client: Telnyx) -> None: upload = response.parse() assert_matches_type(UploadPendingCountResponse, upload, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_pending_count(self, client: Telnyx) -> None: with client.external_connections.uploads.with_streaming_response.pending_count( @@ -215,6 +232,7 @@ def test_streaming_response_pending_count(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_pending_count(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -222,6 +240,7 @@ def test_path_params_pending_count(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_refresh_status(self, client: Telnyx) -> None: upload = client.external_connections.uploads.refresh_status( @@ -229,6 +248,7 @@ def test_method_refresh_status(self, client: Telnyx) -> None: ) assert_matches_type(UploadRefreshStatusResponse, upload, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_refresh_status(self, client: Telnyx) -> None: response = client.external_connections.uploads.with_raw_response.refresh_status( @@ -240,6 +260,7 @@ def test_raw_response_refresh_status(self, client: Telnyx) -> None: upload = response.parse() assert_matches_type(UploadRefreshStatusResponse, upload, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_refresh_status(self, client: Telnyx) -> None: with client.external_connections.uploads.with_streaming_response.refresh_status( @@ -253,6 +274,7 @@ def test_streaming_response_refresh_status(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_refresh_status(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -260,6 +282,7 @@ def test_path_params_refresh_status(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retry(self, client: Telnyx) -> None: upload = client.external_connections.uploads.retry( @@ -268,6 +291,7 @@ def test_method_retry(self, client: Telnyx) -> None: ) assert_matches_type(UploadRetryResponse, upload, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retry(self, client: Telnyx) -> None: response = client.external_connections.uploads.with_raw_response.retry( @@ -280,6 +304,7 @@ def test_raw_response_retry(self, client: Telnyx) -> None: upload = response.parse() assert_matches_type(UploadRetryResponse, upload, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retry(self, client: Telnyx) -> None: with client.external_connections.uploads.with_streaming_response.retry( @@ -294,6 +319,7 @@ def test_streaming_response_retry(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retry(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -314,6 +340,7 @@ class TestAsyncUploads: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: upload = await async_client.external_connections.uploads.create( @@ -322,6 +349,7 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(UploadCreateResponse, upload, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: upload = await async_client.external_connections.uploads.create( @@ -334,6 +362,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(UploadCreateResponse, upload, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.external_connections.uploads.with_raw_response.create( @@ -346,6 +375,7 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: upload = await response.parse() assert_matches_type(UploadCreateResponse, upload, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.external_connections.uploads.with_streaming_response.create( @@ -360,6 +390,7 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_create(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -368,6 +399,7 @@ async def test_path_params_create(self, async_client: AsyncTelnyx) -> None: number_ids=["3920457616934164700", "3920457616934164701", "3920457616934164702", "3920457616934164703"], ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: upload = await async_client.external_connections.uploads.retrieve( @@ -376,6 +408,7 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(UploadRetrieveResponse, upload, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.external_connections.uploads.with_raw_response.retrieve( @@ -388,6 +421,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: upload = await response.parse() assert_matches_type(UploadRetrieveResponse, upload, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.external_connections.uploads.with_streaming_response.retrieve( @@ -402,6 +436,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -416,6 +451,7 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: id="id", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: upload = await async_client.external_connections.uploads.list( @@ -423,6 +459,7 @@ async def test_method_list(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(UploadListResponse, upload, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: upload = await async_client.external_connections.uploads.list( @@ -443,6 +480,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(UploadListResponse, upload, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.external_connections.uploads.with_raw_response.list( @@ -454,6 +492,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: upload = await response.parse() assert_matches_type(UploadListResponse, upload, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.external_connections.uploads.with_streaming_response.list( @@ -467,6 +506,7 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_list(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -474,6 +514,7 @@ async def test_path_params_list(self, async_client: AsyncTelnyx) -> None: id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_pending_count(self, async_client: AsyncTelnyx) -> None: upload = await async_client.external_connections.uploads.pending_count( @@ -481,6 +522,7 @@ async def test_method_pending_count(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(UploadPendingCountResponse, upload, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_pending_count(self, async_client: AsyncTelnyx) -> None: response = await async_client.external_connections.uploads.with_raw_response.pending_count( @@ -492,6 +534,7 @@ async def test_raw_response_pending_count(self, async_client: AsyncTelnyx) -> No upload = await response.parse() assert_matches_type(UploadPendingCountResponse, upload, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_pending_count(self, async_client: AsyncTelnyx) -> None: async with async_client.external_connections.uploads.with_streaming_response.pending_count( @@ -505,6 +548,7 @@ async def test_streaming_response_pending_count(self, async_client: AsyncTelnyx) assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_pending_count(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -512,6 +556,7 @@ async def test_path_params_pending_count(self, async_client: AsyncTelnyx) -> Non "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_refresh_status(self, async_client: AsyncTelnyx) -> None: upload = await async_client.external_connections.uploads.refresh_status( @@ -519,6 +564,7 @@ async def test_method_refresh_status(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(UploadRefreshStatusResponse, upload, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_refresh_status(self, async_client: AsyncTelnyx) -> None: response = await async_client.external_connections.uploads.with_raw_response.refresh_status( @@ -530,6 +576,7 @@ async def test_raw_response_refresh_status(self, async_client: AsyncTelnyx) -> N upload = await response.parse() assert_matches_type(UploadRefreshStatusResponse, upload, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_refresh_status(self, async_client: AsyncTelnyx) -> None: async with async_client.external_connections.uploads.with_streaming_response.refresh_status( @@ -543,6 +590,7 @@ async def test_streaming_response_refresh_status(self, async_client: AsyncTelnyx assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_refresh_status(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -550,6 +598,7 @@ async def test_path_params_refresh_status(self, async_client: AsyncTelnyx) -> No "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retry(self, async_client: AsyncTelnyx) -> None: upload = await async_client.external_connections.uploads.retry( @@ -558,6 +607,7 @@ async def test_method_retry(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(UploadRetryResponse, upload, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retry(self, async_client: AsyncTelnyx) -> None: response = await async_client.external_connections.uploads.with_raw_response.retry( @@ -570,6 +620,7 @@ async def test_raw_response_retry(self, async_client: AsyncTelnyx) -> None: upload = await response.parse() assert_matches_type(UploadRetryResponse, upload, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retry(self, async_client: AsyncTelnyx) -> None: async with async_client.external_connections.uploads.with_streaming_response.retry( @@ -584,6 +635,7 @@ async def test_streaming_response_retry(self, async_client: AsyncTelnyx) -> None assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retry(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): diff --git a/tests/api_resources/faxes/test_actions.py b/tests/api_resources/faxes/test_actions.py index d0301117..fb601024 100644 --- a/tests/api_resources/faxes/test_actions.py +++ b/tests/api_resources/faxes/test_actions.py @@ -17,6 +17,7 @@ class TestActions: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_cancel(self, client: Telnyx) -> None: action = client.faxes.actions.cancel( @@ -24,6 +25,7 @@ def test_method_cancel(self, client: Telnyx) -> None: ) assert_matches_type(ActionCancelResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_cancel(self, client: Telnyx) -> None: response = client.faxes.actions.with_raw_response.cancel( @@ -35,6 +37,7 @@ def test_raw_response_cancel(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionCancelResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_cancel(self, client: Telnyx) -> None: with client.faxes.actions.with_streaming_response.cancel( @@ -48,6 +51,7 @@ def test_streaming_response_cancel(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_cancel(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -55,6 +59,7 @@ def test_path_params_cancel(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_refresh(self, client: Telnyx) -> None: action = client.faxes.actions.refresh( @@ -62,6 +67,7 @@ def test_method_refresh(self, client: Telnyx) -> None: ) assert_matches_type(ActionRefreshResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_refresh(self, client: Telnyx) -> None: response = client.faxes.actions.with_raw_response.refresh( @@ -73,6 +79,7 @@ def test_raw_response_refresh(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionRefreshResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_refresh(self, client: Telnyx) -> None: with client.faxes.actions.with_streaming_response.refresh( @@ -86,6 +93,7 @@ def test_streaming_response_refresh(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_refresh(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -99,6 +107,7 @@ class TestAsyncActions: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_cancel(self, async_client: AsyncTelnyx) -> None: action = await async_client.faxes.actions.cancel( @@ -106,6 +115,7 @@ async def test_method_cancel(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ActionCancelResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_cancel(self, async_client: AsyncTelnyx) -> None: response = await async_client.faxes.actions.with_raw_response.cancel( @@ -117,6 +127,7 @@ async def test_raw_response_cancel(self, async_client: AsyncTelnyx) -> None: action = await response.parse() assert_matches_type(ActionCancelResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_cancel(self, async_client: AsyncTelnyx) -> None: async with async_client.faxes.actions.with_streaming_response.cancel( @@ -130,6 +141,7 @@ async def test_streaming_response_cancel(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_cancel(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -137,6 +149,7 @@ async def test_path_params_cancel(self, async_client: AsyncTelnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_refresh(self, async_client: AsyncTelnyx) -> None: action = await async_client.faxes.actions.refresh( @@ -144,6 +157,7 @@ async def test_method_refresh(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ActionRefreshResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_refresh(self, async_client: AsyncTelnyx) -> None: response = await async_client.faxes.actions.with_raw_response.refresh( @@ -155,6 +169,7 @@ async def test_raw_response_refresh(self, async_client: AsyncTelnyx) -> None: action = await response.parse() assert_matches_type(ActionRefreshResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_refresh(self, async_client: AsyncTelnyx) -> None: async with async_client.faxes.actions.with_streaming_response.refresh( @@ -168,6 +183,7 @@ async def test_streaming_response_refresh(self, async_client: AsyncTelnyx) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_refresh(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): diff --git a/tests/api_resources/managed_accounts/test_actions.py b/tests/api_resources/managed_accounts/test_actions.py index e72bc71a..add97628 100644 --- a/tests/api_resources/managed_accounts/test_actions.py +++ b/tests/api_resources/managed_accounts/test_actions.py @@ -17,6 +17,7 @@ class TestActions: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_disable(self, client: Telnyx) -> None: action = client.managed_accounts.actions.disable( @@ -24,6 +25,7 @@ def test_method_disable(self, client: Telnyx) -> None: ) assert_matches_type(ActionDisableResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_disable(self, client: Telnyx) -> None: response = client.managed_accounts.actions.with_raw_response.disable( @@ -35,6 +37,7 @@ def test_raw_response_disable(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionDisableResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_disable(self, client: Telnyx) -> None: with client.managed_accounts.actions.with_streaming_response.disable( @@ -48,6 +51,7 @@ def test_streaming_response_disable(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_disable(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -55,6 +59,7 @@ def test_path_params_disable(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_enable(self, client: Telnyx) -> None: action = client.managed_accounts.actions.enable( @@ -62,6 +67,7 @@ def test_method_enable(self, client: Telnyx) -> None: ) assert_matches_type(ActionEnableResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_enable_with_all_params(self, client: Telnyx) -> None: action = client.managed_accounts.actions.enable( @@ -70,6 +76,7 @@ def test_method_enable_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ActionEnableResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_enable(self, client: Telnyx) -> None: response = client.managed_accounts.actions.with_raw_response.enable( @@ -81,6 +88,7 @@ def test_raw_response_enable(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionEnableResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_enable(self, client: Telnyx) -> None: with client.managed_accounts.actions.with_streaming_response.enable( @@ -94,6 +102,7 @@ def test_streaming_response_enable(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_enable(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -107,6 +116,7 @@ class TestAsyncActions: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_disable(self, async_client: AsyncTelnyx) -> None: action = await async_client.managed_accounts.actions.disable( @@ -114,6 +124,7 @@ async def test_method_disable(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ActionDisableResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_disable(self, async_client: AsyncTelnyx) -> None: response = await async_client.managed_accounts.actions.with_raw_response.disable( @@ -125,6 +136,7 @@ async def test_raw_response_disable(self, async_client: AsyncTelnyx) -> None: action = await response.parse() assert_matches_type(ActionDisableResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_disable(self, async_client: AsyncTelnyx) -> None: async with async_client.managed_accounts.actions.with_streaming_response.disable( @@ -138,6 +150,7 @@ async def test_streaming_response_disable(self, async_client: AsyncTelnyx) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_disable(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -145,6 +158,7 @@ async def test_path_params_disable(self, async_client: AsyncTelnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_enable(self, async_client: AsyncTelnyx) -> None: action = await async_client.managed_accounts.actions.enable( @@ -152,6 +166,7 @@ async def test_method_enable(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ActionEnableResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_enable_with_all_params(self, async_client: AsyncTelnyx) -> None: action = await async_client.managed_accounts.actions.enable( @@ -160,6 +175,7 @@ async def test_method_enable_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(ActionEnableResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_enable(self, async_client: AsyncTelnyx) -> None: response = await async_client.managed_accounts.actions.with_raw_response.enable( @@ -171,6 +187,7 @@ async def test_raw_response_enable(self, async_client: AsyncTelnyx) -> None: action = await response.parse() assert_matches_type(ActionEnableResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_enable(self, async_client: AsyncTelnyx) -> None: async with async_client.managed_accounts.actions.with_streaming_response.enable( @@ -184,6 +201,7 @@ async def test_streaming_response_enable(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_enable(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): diff --git a/tests/api_resources/messages/test_rcs.py b/tests/api_resources/messages/test_rcs.py index e229674d..8e653f21 100644 --- a/tests/api_resources/messages/test_rcs.py +++ b/tests/api_resources/messages/test_rcs.py @@ -17,6 +17,7 @@ class TestRcs: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_generate_deeplink(self, client: Telnyx) -> None: rc = client.messages.rcs.generate_deeplink( @@ -24,6 +25,7 @@ def test_method_generate_deeplink(self, client: Telnyx) -> None: ) assert_matches_type(RcGenerateDeeplinkResponse, rc, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_generate_deeplink_with_all_params(self, client: Telnyx) -> None: rc = client.messages.rcs.generate_deeplink( @@ -33,6 +35,7 @@ def test_method_generate_deeplink_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(RcGenerateDeeplinkResponse, rc, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_generate_deeplink(self, client: Telnyx) -> None: response = client.messages.rcs.with_raw_response.generate_deeplink( @@ -44,6 +47,7 @@ def test_raw_response_generate_deeplink(self, client: Telnyx) -> None: rc = response.parse() assert_matches_type(RcGenerateDeeplinkResponse, rc, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_generate_deeplink(self, client: Telnyx) -> None: with client.messages.rcs.with_streaming_response.generate_deeplink( @@ -57,6 +61,7 @@ def test_streaming_response_generate_deeplink(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_generate_deeplink(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `agent_id` but received ''"): @@ -70,6 +75,7 @@ class TestAsyncRcs: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_generate_deeplink(self, async_client: AsyncTelnyx) -> None: rc = await async_client.messages.rcs.generate_deeplink( @@ -77,6 +83,7 @@ async def test_method_generate_deeplink(self, async_client: AsyncTelnyx) -> None ) assert_matches_type(RcGenerateDeeplinkResponse, rc, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_generate_deeplink_with_all_params(self, async_client: AsyncTelnyx) -> None: rc = await async_client.messages.rcs.generate_deeplink( @@ -86,6 +93,7 @@ async def test_method_generate_deeplink_with_all_params(self, async_client: Asyn ) assert_matches_type(RcGenerateDeeplinkResponse, rc, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_generate_deeplink(self, async_client: AsyncTelnyx) -> None: response = await async_client.messages.rcs.with_raw_response.generate_deeplink( @@ -97,6 +105,7 @@ async def test_raw_response_generate_deeplink(self, async_client: AsyncTelnyx) - rc = await response.parse() assert_matches_type(RcGenerateDeeplinkResponse, rc, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_generate_deeplink(self, async_client: AsyncTelnyx) -> None: async with async_client.messages.rcs.with_streaming_response.generate_deeplink( @@ -110,6 +119,7 @@ async def test_streaming_response_generate_deeplink(self, async_client: AsyncTel assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_generate_deeplink(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `agent_id` but received ''"): diff --git a/tests/api_resources/messaging/rcs/test_agents.py b/tests/api_resources/messaging/rcs/test_agents.py index ac86083b..3fb214cf 100644 --- a/tests/api_resources/messaging/rcs/test_agents.py +++ b/tests/api_resources/messaging/rcs/test_agents.py @@ -18,6 +18,7 @@ class TestAgents: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: agent = client.messaging.rcs.agents.retrieve( @@ -25,6 +26,7 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(RcsAgentResponse, agent, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.messaging.rcs.agents.with_raw_response.retrieve( @@ -36,6 +38,7 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: agent = response.parse() assert_matches_type(RcsAgentResponse, agent, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.messaging.rcs.agents.with_streaming_response.retrieve( @@ -49,6 +52,7 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -56,6 +60,7 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update(self, client: Telnyx) -> None: agent = client.messaging.rcs.agents.update( @@ -63,6 +68,7 @@ def test_method_update(self, client: Telnyx) -> None: ) assert_matches_type(RcsAgentResponse, agent, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_with_all_params(self, client: Telnyx) -> None: agent = client.messaging.rcs.agents.update( @@ -73,6 +79,7 @@ def test_method_update_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(RcsAgentResponse, agent, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update(self, client: Telnyx) -> None: response = client.messaging.rcs.agents.with_raw_response.update( @@ -84,6 +91,7 @@ def test_raw_response_update(self, client: Telnyx) -> None: agent = response.parse() assert_matches_type(RcsAgentResponse, agent, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update(self, client: Telnyx) -> None: with client.messaging.rcs.agents.with_streaming_response.update( @@ -97,6 +105,7 @@ def test_streaming_response_update(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -104,11 +113,13 @@ def test_path_params_update(self, client: Telnyx) -> None: id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: agent = client.messaging.rcs.agents.list() assert_matches_type(AgentListResponse, agent, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: agent = client.messaging.rcs.agents.list( @@ -119,6 +130,7 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(AgentListResponse, agent, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.messaging.rcs.agents.with_raw_response.list() @@ -128,6 +140,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: agent = response.parse() assert_matches_type(AgentListResponse, agent, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.messaging.rcs.agents.with_streaming_response.list() as response: @@ -145,6 +158,7 @@ class TestAsyncAgents: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: agent = await async_client.messaging.rcs.agents.retrieve( @@ -152,6 +166,7 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(RcsAgentResponse, agent, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.messaging.rcs.agents.with_raw_response.retrieve( @@ -163,6 +178,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: agent = await response.parse() assert_matches_type(RcsAgentResponse, agent, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.messaging.rcs.agents.with_streaming_response.retrieve( @@ -176,6 +192,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -183,6 +200,7 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update(self, async_client: AsyncTelnyx) -> None: agent = await async_client.messaging.rcs.agents.update( @@ -190,6 +208,7 @@ async def test_method_update(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(RcsAgentResponse, agent, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> None: agent = await async_client.messaging.rcs.agents.update( @@ -200,6 +219,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(RcsAgentResponse, agent, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: response = await async_client.messaging.rcs.agents.with_raw_response.update( @@ -211,6 +231,7 @@ async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: agent = await response.parse() assert_matches_type(RcsAgentResponse, agent, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> None: async with async_client.messaging.rcs.agents.with_streaming_response.update( @@ -224,6 +245,7 @@ async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -231,11 +253,13 @@ async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: agent = await async_client.messaging.rcs.agents.list() assert_matches_type(AgentListResponse, agent, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: agent = await async_client.messaging.rcs.agents.list( @@ -246,6 +270,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(AgentListResponse, agent, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.messaging.rcs.agents.with_raw_response.list() @@ -255,6 +280,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: agent = await response.parse() assert_matches_type(AgentListResponse, agent, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.messaging.rcs.agents.with_streaming_response.list() as response: diff --git a/tests/api_resources/messaging/test_rcs.py b/tests/api_resources/messaging/test_rcs.py index 9b2991e6..3b71375e 100644 --- a/tests/api_resources/messaging/test_rcs.py +++ b/tests/api_resources/messaging/test_rcs.py @@ -21,6 +21,7 @@ class TestRcs: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_invite_test_number(self, client: Telnyx) -> None: rc = client.messaging.rcs.invite_test_number( @@ -29,6 +30,7 @@ def test_method_invite_test_number(self, client: Telnyx) -> None: ) assert_matches_type(RcInviteTestNumberResponse, rc, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_invite_test_number(self, client: Telnyx) -> None: response = client.messaging.rcs.with_raw_response.invite_test_number( @@ -41,6 +43,7 @@ def test_raw_response_invite_test_number(self, client: Telnyx) -> None: rc = response.parse() assert_matches_type(RcInviteTestNumberResponse, rc, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_invite_test_number(self, client: Telnyx) -> None: with client.messaging.rcs.with_streaming_response.invite_test_number( @@ -55,6 +58,7 @@ def test_streaming_response_invite_test_number(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_invite_test_number(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -69,6 +73,7 @@ def test_path_params_invite_test_number(self, client: Telnyx) -> None: id="id", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_bulk_capabilities(self, client: Telnyx) -> None: rc = client.messaging.rcs.list_bulk_capabilities( @@ -77,6 +82,7 @@ def test_method_list_bulk_capabilities(self, client: Telnyx) -> None: ) assert_matches_type(RcListBulkCapabilitiesResponse, rc, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list_bulk_capabilities(self, client: Telnyx) -> None: response = client.messaging.rcs.with_raw_response.list_bulk_capabilities( @@ -89,6 +95,7 @@ def test_raw_response_list_bulk_capabilities(self, client: Telnyx) -> None: rc = response.parse() assert_matches_type(RcListBulkCapabilitiesResponse, rc, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list_bulk_capabilities(self, client: Telnyx) -> None: with client.messaging.rcs.with_streaming_response.list_bulk_capabilities( @@ -103,6 +110,7 @@ def test_streaming_response_list_bulk_capabilities(self, client: Telnyx) -> None assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve_capabilities(self, client: Telnyx) -> None: rc = client.messaging.rcs.retrieve_capabilities( @@ -111,6 +119,7 @@ def test_method_retrieve_capabilities(self, client: Telnyx) -> None: ) assert_matches_type(RcRetrieveCapabilitiesResponse, rc, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve_capabilities(self, client: Telnyx) -> None: response = client.messaging.rcs.with_raw_response.retrieve_capabilities( @@ -123,6 +132,7 @@ def test_raw_response_retrieve_capabilities(self, client: Telnyx) -> None: rc = response.parse() assert_matches_type(RcRetrieveCapabilitiesResponse, rc, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve_capabilities(self, client: Telnyx) -> None: with client.messaging.rcs.with_streaming_response.retrieve_capabilities( @@ -137,6 +147,7 @@ def test_streaming_response_retrieve_capabilities(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve_capabilities(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `agent_id` but received ''"): @@ -157,6 +168,7 @@ class TestAsyncRcs: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_invite_test_number(self, async_client: AsyncTelnyx) -> None: rc = await async_client.messaging.rcs.invite_test_number( @@ -165,6 +177,7 @@ async def test_method_invite_test_number(self, async_client: AsyncTelnyx) -> Non ) assert_matches_type(RcInviteTestNumberResponse, rc, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_invite_test_number(self, async_client: AsyncTelnyx) -> None: response = await async_client.messaging.rcs.with_raw_response.invite_test_number( @@ -177,6 +190,7 @@ async def test_raw_response_invite_test_number(self, async_client: AsyncTelnyx) rc = await response.parse() assert_matches_type(RcInviteTestNumberResponse, rc, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_invite_test_number(self, async_client: AsyncTelnyx) -> None: async with async_client.messaging.rcs.with_streaming_response.invite_test_number( @@ -191,6 +205,7 @@ async def test_streaming_response_invite_test_number(self, async_client: AsyncTe assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_invite_test_number(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -205,6 +220,7 @@ async def test_path_params_invite_test_number(self, async_client: AsyncTelnyx) - id="id", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_bulk_capabilities(self, async_client: AsyncTelnyx) -> None: rc = await async_client.messaging.rcs.list_bulk_capabilities( @@ -213,6 +229,7 @@ async def test_method_list_bulk_capabilities(self, async_client: AsyncTelnyx) -> ) assert_matches_type(RcListBulkCapabilitiesResponse, rc, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list_bulk_capabilities(self, async_client: AsyncTelnyx) -> None: response = await async_client.messaging.rcs.with_raw_response.list_bulk_capabilities( @@ -225,6 +242,7 @@ async def test_raw_response_list_bulk_capabilities(self, async_client: AsyncTeln rc = await response.parse() assert_matches_type(RcListBulkCapabilitiesResponse, rc, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list_bulk_capabilities(self, async_client: AsyncTelnyx) -> None: async with async_client.messaging.rcs.with_streaming_response.list_bulk_capabilities( @@ -239,6 +257,7 @@ async def test_streaming_response_list_bulk_capabilities(self, async_client: Asy assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve_capabilities(self, async_client: AsyncTelnyx) -> None: rc = await async_client.messaging.rcs.retrieve_capabilities( @@ -247,6 +266,7 @@ async def test_method_retrieve_capabilities(self, async_client: AsyncTelnyx) -> ) assert_matches_type(RcRetrieveCapabilitiesResponse, rc, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve_capabilities(self, async_client: AsyncTelnyx) -> None: response = await async_client.messaging.rcs.with_raw_response.retrieve_capabilities( @@ -259,6 +279,7 @@ async def test_raw_response_retrieve_capabilities(self, async_client: AsyncTelny rc = await response.parse() assert_matches_type(RcRetrieveCapabilitiesResponse, rc, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve_capabilities(self, async_client: AsyncTelnyx) -> None: async with async_client.messaging.rcs.with_streaming_response.retrieve_capabilities( @@ -273,6 +294,7 @@ async def test_streaming_response_retrieve_capabilities(self, async_client: Asyn assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve_capabilities(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `agent_id` but received ''"): diff --git a/tests/api_resources/messaging_hosted_number_orders/test_actions.py b/tests/api_resources/messaging_hosted_number_orders/test_actions.py index 8ae806d3..350aa9e2 100644 --- a/tests/api_resources/messaging_hosted_number_orders/test_actions.py +++ b/tests/api_resources/messaging_hosted_number_orders/test_actions.py @@ -17,6 +17,7 @@ class TestActions: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_upload_file(self, client: Telnyx) -> None: action = client.messaging_hosted_number_orders.actions.upload_file( @@ -24,6 +25,7 @@ def test_method_upload_file(self, client: Telnyx) -> None: ) assert_matches_type(ActionUploadFileResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_upload_file_with_all_params(self, client: Telnyx) -> None: action = client.messaging_hosted_number_orders.actions.upload_file( @@ -33,6 +35,7 @@ def test_method_upload_file_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ActionUploadFileResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_upload_file(self, client: Telnyx) -> None: response = client.messaging_hosted_number_orders.actions.with_raw_response.upload_file( @@ -44,6 +47,7 @@ def test_raw_response_upload_file(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionUploadFileResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_upload_file(self, client: Telnyx) -> None: with client.messaging_hosted_number_orders.actions.with_streaming_response.upload_file( @@ -57,6 +61,7 @@ def test_streaming_response_upload_file(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_upload_file(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -70,6 +75,7 @@ class TestAsyncActions: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_upload_file(self, async_client: AsyncTelnyx) -> None: action = await async_client.messaging_hosted_number_orders.actions.upload_file( @@ -77,6 +83,7 @@ async def test_method_upload_file(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ActionUploadFileResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_upload_file_with_all_params(self, async_client: AsyncTelnyx) -> None: action = await async_client.messaging_hosted_number_orders.actions.upload_file( @@ -86,6 +93,7 @@ async def test_method_upload_file_with_all_params(self, async_client: AsyncTelny ) assert_matches_type(ActionUploadFileResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_upload_file(self, async_client: AsyncTelnyx) -> None: response = await async_client.messaging_hosted_number_orders.actions.with_raw_response.upload_file( @@ -97,6 +105,7 @@ async def test_raw_response_upload_file(self, async_client: AsyncTelnyx) -> None action = await response.parse() assert_matches_type(ActionUploadFileResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_upload_file(self, async_client: AsyncTelnyx) -> None: async with async_client.messaging_hosted_number_orders.actions.with_streaming_response.upload_file( @@ -110,6 +119,7 @@ async def test_streaming_response_upload_file(self, async_client: AsyncTelnyx) - assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_upload_file(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): diff --git a/tests/api_resources/messaging_profiles/test_autoresp_configs.py b/tests/api_resources/messaging_profiles/test_autoresp_configs.py index fa7048f0..16f5c11e 100644 --- a/tests/api_resources/messaging_profiles/test_autoresp_configs.py +++ b/tests/api_resources/messaging_profiles/test_autoresp_configs.py @@ -20,6 +20,7 @@ class TestAutorespConfigs: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: autoresp_config = client.messaging_profiles.autoresp_configs.create( @@ -30,6 +31,7 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(AutoRespConfigResponse, autoresp_config, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: autoresp_config = client.messaging_profiles.autoresp_configs.create( @@ -41,6 +43,7 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(AutoRespConfigResponse, autoresp_config, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.messaging_profiles.autoresp_configs.with_raw_response.create( @@ -55,6 +58,7 @@ def test_raw_response_create(self, client: Telnyx) -> None: autoresp_config = response.parse() assert_matches_type(AutoRespConfigResponse, autoresp_config, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.messaging_profiles.autoresp_configs.with_streaming_response.create( @@ -71,6 +75,7 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_create(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `profile_id` but received ''"): @@ -81,6 +86,7 @@ def test_path_params_create(self, client: Telnyx) -> None: op="start", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: autoresp_config = client.messaging_profiles.autoresp_configs.retrieve( @@ -89,6 +95,7 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(AutoRespConfigResponse, autoresp_config, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.messaging_profiles.autoresp_configs.with_raw_response.retrieve( @@ -101,6 +108,7 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: autoresp_config = response.parse() assert_matches_type(AutoRespConfigResponse, autoresp_config, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.messaging_profiles.autoresp_configs.with_streaming_response.retrieve( @@ -115,6 +123,7 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `profile_id` but received ''"): @@ -129,6 +138,7 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: profile_id="182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update(self, client: Telnyx) -> None: autoresp_config = client.messaging_profiles.autoresp_configs.update( @@ -140,6 +150,7 @@ def test_method_update(self, client: Telnyx) -> None: ) assert_matches_type(AutoRespConfigResponse, autoresp_config, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_with_all_params(self, client: Telnyx) -> None: autoresp_config = client.messaging_profiles.autoresp_configs.update( @@ -152,6 +163,7 @@ def test_method_update_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(AutoRespConfigResponse, autoresp_config, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update(self, client: Telnyx) -> None: response = client.messaging_profiles.autoresp_configs.with_raw_response.update( @@ -167,6 +179,7 @@ def test_raw_response_update(self, client: Telnyx) -> None: autoresp_config = response.parse() assert_matches_type(AutoRespConfigResponse, autoresp_config, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update(self, client: Telnyx) -> None: with client.messaging_profiles.autoresp_configs.with_streaming_response.update( @@ -184,6 +197,7 @@ def test_streaming_response_update(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `profile_id` but received ''"): @@ -204,6 +218,7 @@ def test_path_params_update(self, client: Telnyx) -> None: op="start", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: autoresp_config = client.messaging_profiles.autoresp_configs.list( @@ -211,6 +226,7 @@ def test_method_list(self, client: Telnyx) -> None: ) assert_matches_type(AutorespConfigListResponse, autoresp_config, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: autoresp_config = client.messaging_profiles.autoresp_configs.list( @@ -227,6 +243,7 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(AutorespConfigListResponse, autoresp_config, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.messaging_profiles.autoresp_configs.with_raw_response.list( @@ -238,6 +255,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: autoresp_config = response.parse() assert_matches_type(AutorespConfigListResponse, autoresp_config, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.messaging_profiles.autoresp_configs.with_streaming_response.list( @@ -251,6 +269,7 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_list(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `profile_id` but received ''"): @@ -258,6 +277,7 @@ def test_path_params_list(self, client: Telnyx) -> None: profile_id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: autoresp_config = client.messaging_profiles.autoresp_configs.delete( @@ -266,6 +286,7 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert_matches_type(object, autoresp_config, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.messaging_profiles.autoresp_configs.with_raw_response.delete( @@ -278,6 +299,7 @@ def test_raw_response_delete(self, client: Telnyx) -> None: autoresp_config = response.parse() assert_matches_type(object, autoresp_config, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.messaging_profiles.autoresp_configs.with_streaming_response.delete( @@ -292,6 +314,7 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `profile_id` but received ''"): @@ -312,6 +335,7 @@ class TestAsyncAutorespConfigs: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: autoresp_config = await async_client.messaging_profiles.autoresp_configs.create( @@ -322,6 +346,7 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(AutoRespConfigResponse, autoresp_config, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: autoresp_config = await async_client.messaging_profiles.autoresp_configs.create( @@ -333,6 +358,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(AutoRespConfigResponse, autoresp_config, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.messaging_profiles.autoresp_configs.with_raw_response.create( @@ -347,6 +373,7 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: autoresp_config = await response.parse() assert_matches_type(AutoRespConfigResponse, autoresp_config, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.messaging_profiles.autoresp_configs.with_streaming_response.create( @@ -363,6 +390,7 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_create(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `profile_id` but received ''"): @@ -373,6 +401,7 @@ async def test_path_params_create(self, async_client: AsyncTelnyx) -> None: op="start", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: autoresp_config = await async_client.messaging_profiles.autoresp_configs.retrieve( @@ -381,6 +410,7 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(AutoRespConfigResponse, autoresp_config, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.messaging_profiles.autoresp_configs.with_raw_response.retrieve( @@ -393,6 +423,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: autoresp_config = await response.parse() assert_matches_type(AutoRespConfigResponse, autoresp_config, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.messaging_profiles.autoresp_configs.with_streaming_response.retrieve( @@ -407,6 +438,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `profile_id` but received ''"): @@ -421,6 +453,7 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: profile_id="182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update(self, async_client: AsyncTelnyx) -> None: autoresp_config = await async_client.messaging_profiles.autoresp_configs.update( @@ -432,6 +465,7 @@ async def test_method_update(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(AutoRespConfigResponse, autoresp_config, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> None: autoresp_config = await async_client.messaging_profiles.autoresp_configs.update( @@ -444,6 +478,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(AutoRespConfigResponse, autoresp_config, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: response = await async_client.messaging_profiles.autoresp_configs.with_raw_response.update( @@ -459,6 +494,7 @@ async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: autoresp_config = await response.parse() assert_matches_type(AutoRespConfigResponse, autoresp_config, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> None: async with async_client.messaging_profiles.autoresp_configs.with_streaming_response.update( @@ -476,6 +512,7 @@ async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `profile_id` but received ''"): @@ -496,6 +533,7 @@ async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: op="start", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: autoresp_config = await async_client.messaging_profiles.autoresp_configs.list( @@ -503,6 +541,7 @@ async def test_method_list(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(AutorespConfigListResponse, autoresp_config, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: autoresp_config = await async_client.messaging_profiles.autoresp_configs.list( @@ -519,6 +558,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(AutorespConfigListResponse, autoresp_config, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.messaging_profiles.autoresp_configs.with_raw_response.list( @@ -530,6 +570,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: autoresp_config = await response.parse() assert_matches_type(AutorespConfigListResponse, autoresp_config, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.messaging_profiles.autoresp_configs.with_streaming_response.list( @@ -543,6 +584,7 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_list(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `profile_id` but received ''"): @@ -550,6 +592,7 @@ async def test_path_params_list(self, async_client: AsyncTelnyx) -> None: profile_id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: autoresp_config = await async_client.messaging_profiles.autoresp_configs.delete( @@ -558,6 +601,7 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(object, autoresp_config, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.messaging_profiles.autoresp_configs.with_raw_response.delete( @@ -570,6 +614,7 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: autoresp_config = await response.parse() assert_matches_type(object, autoresp_config, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.messaging_profiles.autoresp_configs.with_streaming_response.delete( @@ -584,6 +629,7 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `profile_id` but received ''"): diff --git a/tests/api_resources/messaging_tollfree/verification/test_requests.py b/tests/api_resources/messaging_tollfree/verification/test_requests.py index defbf3af..54b75eba 100644 --- a/tests/api_resources/messaging_tollfree/verification/test_requests.py +++ b/tests/api_resources/messaging_tollfree/verification/test_requests.py @@ -22,6 +22,7 @@ class TestRequests: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: request = client.messaging_tollfree.verification.requests.create( @@ -50,6 +51,7 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(VerificationRequestEgress, request, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: request = client.messaging_tollfree.verification.requests.create( @@ -80,6 +82,7 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(VerificationRequestEgress, request, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.messaging_tollfree.verification.requests.with_raw_response.create( @@ -112,6 +115,7 @@ def test_raw_response_create(self, client: Telnyx) -> None: request = response.parse() assert_matches_type(VerificationRequestEgress, request, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.messaging_tollfree.verification.requests.with_streaming_response.create( @@ -146,6 +150,7 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: request = client.messaging_tollfree.verification.requests.retrieve( @@ -153,6 +158,7 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(VerificationRequestStatus, request, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.messaging_tollfree.verification.requests.with_raw_response.retrieve( @@ -164,6 +170,7 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: request = response.parse() assert_matches_type(VerificationRequestStatus, request, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.messaging_tollfree.verification.requests.with_streaming_response.retrieve( @@ -177,6 +184,7 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -184,6 +192,7 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update(self, client: Telnyx) -> None: request = client.messaging_tollfree.verification.requests.update( @@ -213,6 +222,7 @@ def test_method_update(self, client: Telnyx) -> None: ) assert_matches_type(VerificationRequestEgress, request, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_with_all_params(self, client: Telnyx) -> None: request = client.messaging_tollfree.verification.requests.update( @@ -244,6 +254,7 @@ def test_method_update_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(VerificationRequestEgress, request, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update(self, client: Telnyx) -> None: response = client.messaging_tollfree.verification.requests.with_raw_response.update( @@ -277,6 +288,7 @@ def test_raw_response_update(self, client: Telnyx) -> None: request = response.parse() assert_matches_type(VerificationRequestEgress, request, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update(self, client: Telnyx) -> None: with client.messaging_tollfree.verification.requests.with_streaming_response.update( @@ -312,6 +324,7 @@ def test_streaming_response_update(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -341,6 +354,7 @@ def test_path_params_update(self, client: Telnyx) -> None: use_case_summary="This is a use case where Telnyx sends out 2FA codes to portal users to verify their identity in order to sign into the portal", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: request = client.messaging_tollfree.verification.requests.list( @@ -349,6 +363,7 @@ def test_method_list(self, client: Telnyx) -> None: ) assert_matches_type(RequestListResponse, request, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: request = client.messaging_tollfree.verification.requests.list( @@ -361,6 +376,7 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(RequestListResponse, request, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.messaging_tollfree.verification.requests.with_raw_response.list( @@ -373,6 +389,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: request = response.parse() assert_matches_type(RequestListResponse, request, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.messaging_tollfree.verification.requests.with_streaming_response.list( @@ -387,6 +404,7 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: request = client.messaging_tollfree.verification.requests.delete( @@ -394,6 +412,7 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert_matches_type(object, request, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.messaging_tollfree.verification.requests.with_raw_response.delete( @@ -405,6 +424,7 @@ def test_raw_response_delete(self, client: Telnyx) -> None: request = response.parse() assert_matches_type(object, request, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.messaging_tollfree.verification.requests.with_streaming_response.delete( @@ -418,6 +438,7 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -431,6 +452,7 @@ class TestAsyncRequests: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: request = await async_client.messaging_tollfree.verification.requests.create( @@ -459,6 +481,7 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(VerificationRequestEgress, request, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: request = await async_client.messaging_tollfree.verification.requests.create( @@ -489,6 +512,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(VerificationRequestEgress, request, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.messaging_tollfree.verification.requests.with_raw_response.create( @@ -521,6 +545,7 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: request = await response.parse() assert_matches_type(VerificationRequestEgress, request, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.messaging_tollfree.verification.requests.with_streaming_response.create( @@ -555,6 +580,7 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: request = await async_client.messaging_tollfree.verification.requests.retrieve( @@ -562,6 +588,7 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(VerificationRequestStatus, request, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.messaging_tollfree.verification.requests.with_raw_response.retrieve( @@ -573,6 +600,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: request = await response.parse() assert_matches_type(VerificationRequestStatus, request, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.messaging_tollfree.verification.requests.with_streaming_response.retrieve( @@ -586,6 +614,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -593,6 +622,7 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update(self, async_client: AsyncTelnyx) -> None: request = await async_client.messaging_tollfree.verification.requests.update( @@ -622,6 +652,7 @@ async def test_method_update(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(VerificationRequestEgress, request, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> None: request = await async_client.messaging_tollfree.verification.requests.update( @@ -653,6 +684,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(VerificationRequestEgress, request, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: response = await async_client.messaging_tollfree.verification.requests.with_raw_response.update( @@ -686,6 +718,7 @@ async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: request = await response.parse() assert_matches_type(VerificationRequestEgress, request, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> None: async with async_client.messaging_tollfree.verification.requests.with_streaming_response.update( @@ -721,6 +754,7 @@ async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -750,6 +784,7 @@ async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: use_case_summary="This is a use case where Telnyx sends out 2FA codes to portal users to verify their identity in order to sign into the portal", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: request = await async_client.messaging_tollfree.verification.requests.list( @@ -758,6 +793,7 @@ async def test_method_list(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(RequestListResponse, request, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: request = await async_client.messaging_tollfree.verification.requests.list( @@ -770,6 +806,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(RequestListResponse, request, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.messaging_tollfree.verification.requests.with_raw_response.list( @@ -782,6 +819,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: request = await response.parse() assert_matches_type(RequestListResponse, request, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.messaging_tollfree.verification.requests.with_streaming_response.list( @@ -796,6 +834,7 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: request = await async_client.messaging_tollfree.verification.requests.delete( @@ -803,6 +842,7 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(object, request, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.messaging_tollfree.verification.requests.with_raw_response.delete( @@ -814,6 +854,7 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: request = await response.parse() assert_matches_type(object, request, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.messaging_tollfree.verification.requests.with_streaming_response.delete( @@ -827,6 +868,7 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): diff --git a/tests/api_resources/networks/test_default_gateway.py b/tests/api_resources/networks/test_default_gateway.py index 55ccc82d..47eec478 100644 --- a/tests/api_resources/networks/test_default_gateway.py +++ b/tests/api_resources/networks/test_default_gateway.py @@ -21,6 +21,7 @@ class TestDefaultGateway: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: default_gateway = client.networks.default_gateway.create( @@ -28,6 +29,7 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(DefaultGatewayCreateResponse, default_gateway, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: default_gateway = client.networks.default_gateway.create( @@ -36,6 +38,7 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(DefaultGatewayCreateResponse, default_gateway, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.networks.default_gateway.with_raw_response.create( @@ -47,6 +50,7 @@ def test_raw_response_create(self, client: Telnyx) -> None: default_gateway = response.parse() assert_matches_type(DefaultGatewayCreateResponse, default_gateway, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.networks.default_gateway.with_streaming_response.create( @@ -60,6 +64,7 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_create(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -67,6 +72,7 @@ def test_path_params_create(self, client: Telnyx) -> None: id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: default_gateway = client.networks.default_gateway.retrieve( @@ -74,6 +80,7 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(DefaultGatewayRetrieveResponse, default_gateway, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.networks.default_gateway.with_raw_response.retrieve( @@ -85,6 +92,7 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: default_gateway = response.parse() assert_matches_type(DefaultGatewayRetrieveResponse, default_gateway, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.networks.default_gateway.with_streaming_response.retrieve( @@ -98,6 +106,7 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -105,6 +114,7 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: default_gateway = client.networks.default_gateway.delete( @@ -112,6 +122,7 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert_matches_type(DefaultGatewayDeleteResponse, default_gateway, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.networks.default_gateway.with_raw_response.delete( @@ -123,6 +134,7 @@ def test_raw_response_delete(self, client: Telnyx) -> None: default_gateway = response.parse() assert_matches_type(DefaultGatewayDeleteResponse, default_gateway, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.networks.default_gateway.with_streaming_response.delete( @@ -136,6 +148,7 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -149,6 +162,7 @@ class TestAsyncDefaultGateway: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: default_gateway = await async_client.networks.default_gateway.create( @@ -156,6 +170,7 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(DefaultGatewayCreateResponse, default_gateway, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: default_gateway = await async_client.networks.default_gateway.create( @@ -164,6 +179,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(DefaultGatewayCreateResponse, default_gateway, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.networks.default_gateway.with_raw_response.create( @@ -175,6 +191,7 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: default_gateway = await response.parse() assert_matches_type(DefaultGatewayCreateResponse, default_gateway, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.networks.default_gateway.with_streaming_response.create( @@ -188,6 +205,7 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_create(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -195,6 +213,7 @@ async def test_path_params_create(self, async_client: AsyncTelnyx) -> None: id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: default_gateway = await async_client.networks.default_gateway.retrieve( @@ -202,6 +221,7 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(DefaultGatewayRetrieveResponse, default_gateway, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.networks.default_gateway.with_raw_response.retrieve( @@ -213,6 +233,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: default_gateway = await response.parse() assert_matches_type(DefaultGatewayRetrieveResponse, default_gateway, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.networks.default_gateway.with_streaming_response.retrieve( @@ -226,6 +247,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -233,6 +255,7 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: default_gateway = await async_client.networks.default_gateway.delete( @@ -240,6 +263,7 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(DefaultGatewayDeleteResponse, default_gateway, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.networks.default_gateway.with_raw_response.delete( @@ -251,6 +275,7 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: default_gateway = await response.parse() assert_matches_type(DefaultGatewayDeleteResponse, default_gateway, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.networks.default_gateway.with_streaming_response.delete( @@ -264,6 +289,7 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): diff --git a/tests/api_resources/number_reservations/test_actions.py b/tests/api_resources/number_reservations/test_actions.py index 6f5b90e6..9a253808 100644 --- a/tests/api_resources/number_reservations/test_actions.py +++ b/tests/api_resources/number_reservations/test_actions.py @@ -17,6 +17,7 @@ class TestActions: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_extend(self, client: Telnyx) -> None: action = client.number_reservations.actions.extend( @@ -24,6 +25,7 @@ def test_method_extend(self, client: Telnyx) -> None: ) assert_matches_type(ActionExtendResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_extend(self, client: Telnyx) -> None: response = client.number_reservations.actions.with_raw_response.extend( @@ -35,6 +37,7 @@ def test_raw_response_extend(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionExtendResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_extend(self, client: Telnyx) -> None: with client.number_reservations.actions.with_streaming_response.extend( @@ -48,6 +51,7 @@ def test_streaming_response_extend(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_extend(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `number_reservation_id` but received ''"): @@ -61,6 +65,7 @@ class TestAsyncActions: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_extend(self, async_client: AsyncTelnyx) -> None: action = await async_client.number_reservations.actions.extend( @@ -68,6 +73,7 @@ async def test_method_extend(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ActionExtendResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_extend(self, async_client: AsyncTelnyx) -> None: response = await async_client.number_reservations.actions.with_raw_response.extend( @@ -79,6 +85,7 @@ async def test_raw_response_extend(self, async_client: AsyncTelnyx) -> None: action = await response.parse() assert_matches_type(ActionExtendResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_extend(self, async_client: AsyncTelnyx) -> None: async with async_client.number_reservations.actions.with_streaming_response.extend( @@ -92,6 +99,7 @@ async def test_streaming_response_extend(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_extend(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `number_reservation_id` but received ''"): diff --git a/tests/api_resources/operator_connect/test_actions.py b/tests/api_resources/operator_connect/test_actions.py index ab601180..0824b31a 100644 --- a/tests/api_resources/operator_connect/test_actions.py +++ b/tests/api_resources/operator_connect/test_actions.py @@ -17,11 +17,13 @@ class TestActions: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_refresh(self, client: Telnyx) -> None: action = client.operator_connect.actions.refresh() assert_matches_type(ActionRefreshResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_refresh(self, client: Telnyx) -> None: response = client.operator_connect.actions.with_raw_response.refresh() @@ -31,6 +33,7 @@ def test_raw_response_refresh(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionRefreshResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_refresh(self, client: Telnyx) -> None: with client.operator_connect.actions.with_streaming_response.refresh() as response: @@ -48,11 +51,13 @@ class TestAsyncActions: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_refresh(self, async_client: AsyncTelnyx) -> None: action = await async_client.operator_connect.actions.refresh() assert_matches_type(ActionRefreshResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_refresh(self, async_client: AsyncTelnyx) -> None: response = await async_client.operator_connect.actions.with_raw_response.refresh() @@ -62,6 +67,7 @@ async def test_raw_response_refresh(self, async_client: AsyncTelnyx) -> None: action = await response.parse() assert_matches_type(ActionRefreshResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_refresh(self, async_client: AsyncTelnyx) -> None: async with async_client.operator_connect.actions.with_streaming_response.refresh() as response: diff --git a/tests/api_resources/payment/test_auto_recharge_prefs.py b/tests/api_resources/payment/test_auto_recharge_prefs.py index c503fbf9..3f1e3576 100644 --- a/tests/api_resources/payment/test_auto_recharge_prefs.py +++ b/tests/api_resources/payment/test_auto_recharge_prefs.py @@ -20,11 +20,13 @@ class TestAutoRechargePrefs: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update(self, client: Telnyx) -> None: auto_recharge_pref = client.payment.auto_recharge_prefs.update() assert_matches_type(AutoRechargePrefUpdateResponse, auto_recharge_pref, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_with_all_params(self, client: Telnyx) -> None: auto_recharge_pref = client.payment.auto_recharge_prefs.update( @@ -36,6 +38,7 @@ def test_method_update_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(AutoRechargePrefUpdateResponse, auto_recharge_pref, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update(self, client: Telnyx) -> None: response = client.payment.auto_recharge_prefs.with_raw_response.update() @@ -45,6 +48,7 @@ def test_raw_response_update(self, client: Telnyx) -> None: auto_recharge_pref = response.parse() assert_matches_type(AutoRechargePrefUpdateResponse, auto_recharge_pref, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update(self, client: Telnyx) -> None: with client.payment.auto_recharge_prefs.with_streaming_response.update() as response: @@ -56,11 +60,13 @@ def test_streaming_response_update(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: auto_recharge_pref = client.payment.auto_recharge_prefs.list() assert_matches_type(AutoRechargePrefListResponse, auto_recharge_pref, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.payment.auto_recharge_prefs.with_raw_response.list() @@ -70,6 +76,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: auto_recharge_pref = response.parse() assert_matches_type(AutoRechargePrefListResponse, auto_recharge_pref, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.payment.auto_recharge_prefs.with_streaming_response.list() as response: @@ -87,11 +94,13 @@ class TestAsyncAutoRechargePrefs: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update(self, async_client: AsyncTelnyx) -> None: auto_recharge_pref = await async_client.payment.auto_recharge_prefs.update() assert_matches_type(AutoRechargePrefUpdateResponse, auto_recharge_pref, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> None: auto_recharge_pref = await async_client.payment.auto_recharge_prefs.update( @@ -103,6 +112,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(AutoRechargePrefUpdateResponse, auto_recharge_pref, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: response = await async_client.payment.auto_recharge_prefs.with_raw_response.update() @@ -112,6 +122,7 @@ async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: auto_recharge_pref = await response.parse() assert_matches_type(AutoRechargePrefUpdateResponse, auto_recharge_pref, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> None: async with async_client.payment.auto_recharge_prefs.with_streaming_response.update() as response: @@ -123,11 +134,13 @@ async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: auto_recharge_pref = await async_client.payment.auto_recharge_prefs.list() assert_matches_type(AutoRechargePrefListResponse, auto_recharge_pref, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.payment.auto_recharge_prefs.with_raw_response.list() @@ -137,6 +150,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: auto_recharge_pref = await response.parse() assert_matches_type(AutoRechargePrefListResponse, auto_recharge_pref, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.payment.auto_recharge_prefs.with_streaming_response.list() as response: diff --git a/tests/api_resources/phone_number_blocks/test_jobs.py b/tests/api_resources/phone_number_blocks/test_jobs.py index 9b858410..7e3dcd9a 100644 --- a/tests/api_resources/phone_number_blocks/test_jobs.py +++ b/tests/api_resources/phone_number_blocks/test_jobs.py @@ -21,6 +21,7 @@ class TestJobs: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: job = client.phone_number_blocks.jobs.retrieve( @@ -28,6 +29,7 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(JobRetrieveResponse, job, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.phone_number_blocks.jobs.with_raw_response.retrieve( @@ -39,6 +41,7 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: job = response.parse() assert_matches_type(JobRetrieveResponse, job, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.phone_number_blocks.jobs.with_streaming_response.retrieve( @@ -52,6 +55,7 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -59,11 +63,13 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: job = client.phone_number_blocks.jobs.list() assert_matches_type(JobListResponse, job, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: job = client.phone_number_blocks.jobs.list( @@ -79,6 +85,7 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(JobListResponse, job, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.phone_number_blocks.jobs.with_raw_response.list() @@ -88,6 +95,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: job = response.parse() assert_matches_type(JobListResponse, job, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.phone_number_blocks.jobs.with_streaming_response.list() as response: @@ -99,6 +107,7 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete_phone_number_block(self, client: Telnyx) -> None: job = client.phone_number_blocks.jobs.delete_phone_number_block( @@ -106,6 +115,7 @@ def test_method_delete_phone_number_block(self, client: Telnyx) -> None: ) assert_matches_type(JobDeletePhoneNumberBlockResponse, job, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete_phone_number_block(self, client: Telnyx) -> None: response = client.phone_number_blocks.jobs.with_raw_response.delete_phone_number_block( @@ -117,6 +127,7 @@ def test_raw_response_delete_phone_number_block(self, client: Telnyx) -> None: job = response.parse() assert_matches_type(JobDeletePhoneNumberBlockResponse, job, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete_phone_number_block(self, client: Telnyx) -> None: with client.phone_number_blocks.jobs.with_streaming_response.delete_phone_number_block( @@ -136,6 +147,7 @@ class TestAsyncJobs: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: job = await async_client.phone_number_blocks.jobs.retrieve( @@ -143,6 +155,7 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(JobRetrieveResponse, job, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.phone_number_blocks.jobs.with_raw_response.retrieve( @@ -154,6 +167,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: job = await response.parse() assert_matches_type(JobRetrieveResponse, job, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.phone_number_blocks.jobs.with_streaming_response.retrieve( @@ -167,6 +181,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -174,11 +189,13 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: job = await async_client.phone_number_blocks.jobs.list() assert_matches_type(JobListResponse, job, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: job = await async_client.phone_number_blocks.jobs.list( @@ -194,6 +211,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(JobListResponse, job, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.phone_number_blocks.jobs.with_raw_response.list() @@ -203,6 +221,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: job = await response.parse() assert_matches_type(JobListResponse, job, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.phone_number_blocks.jobs.with_streaming_response.list() as response: @@ -214,6 +233,7 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete_phone_number_block(self, async_client: AsyncTelnyx) -> None: job = await async_client.phone_number_blocks.jobs.delete_phone_number_block( @@ -221,6 +241,7 @@ async def test_method_delete_phone_number_block(self, async_client: AsyncTelnyx) ) assert_matches_type(JobDeletePhoneNumberBlockResponse, job, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete_phone_number_block(self, async_client: AsyncTelnyx) -> None: response = await async_client.phone_number_blocks.jobs.with_raw_response.delete_phone_number_block( @@ -232,6 +253,7 @@ async def test_raw_response_delete_phone_number_block(self, async_client: AsyncT job = await response.parse() assert_matches_type(JobDeletePhoneNumberBlockResponse, job, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete_phone_number_block(self, async_client: AsyncTelnyx) -> None: async with async_client.phone_number_blocks.jobs.with_streaming_response.delete_phone_number_block( diff --git a/tests/api_resources/phone_numbers/test_actions.py b/tests/api_resources/phone_numbers/test_actions.py index 56130ce7..43766d0f 100644 --- a/tests/api_resources/phone_numbers/test_actions.py +++ b/tests/api_resources/phone_numbers/test_actions.py @@ -21,6 +21,7 @@ class TestActions: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_change_bundle_status(self, client: Telnyx) -> None: action = client.phone_numbers.actions.change_bundle_status( @@ -29,6 +30,7 @@ def test_method_change_bundle_status(self, client: Telnyx) -> None: ) assert_matches_type(ActionChangeBundleStatusResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_change_bundle_status(self, client: Telnyx) -> None: response = client.phone_numbers.actions.with_raw_response.change_bundle_status( @@ -41,6 +43,7 @@ def test_raw_response_change_bundle_status(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionChangeBundleStatusResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_change_bundle_status(self, client: Telnyx) -> None: with client.phone_numbers.actions.with_streaming_response.change_bundle_status( @@ -55,6 +58,7 @@ def test_streaming_response_change_bundle_status(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_change_bundle_status(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -63,6 +67,7 @@ def test_path_params_change_bundle_status(self, client: Telnyx) -> None: bundle_id="5194d8fc-87e6-4188-baa9-1c434bbe861b", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_enable_emergency(self, client: Telnyx) -> None: action = client.phone_numbers.actions.enable_emergency( @@ -72,6 +77,7 @@ def test_method_enable_emergency(self, client: Telnyx) -> None: ) assert_matches_type(ActionEnableEmergencyResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_enable_emergency(self, client: Telnyx) -> None: response = client.phone_numbers.actions.with_raw_response.enable_emergency( @@ -85,6 +91,7 @@ def test_raw_response_enable_emergency(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionEnableEmergencyResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_enable_emergency(self, client: Telnyx) -> None: with client.phone_numbers.actions.with_streaming_response.enable_emergency( @@ -100,6 +107,7 @@ def test_streaming_response_enable_emergency(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_enable_emergency(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -109,6 +117,7 @@ def test_path_params_enable_emergency(self, client: Telnyx) -> None: emergency_enabled=True, ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_verify_ownership(self, client: Telnyx) -> None: action = client.phone_numbers.actions.verify_ownership( @@ -116,6 +125,7 @@ def test_method_verify_ownership(self, client: Telnyx) -> None: ) assert_matches_type(ActionVerifyOwnershipResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_verify_ownership(self, client: Telnyx) -> None: response = client.phone_numbers.actions.with_raw_response.verify_ownership( @@ -127,6 +137,7 @@ def test_raw_response_verify_ownership(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionVerifyOwnershipResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_verify_ownership(self, client: Telnyx) -> None: with client.phone_numbers.actions.with_streaming_response.verify_ownership( @@ -146,6 +157,7 @@ class TestAsyncActions: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_change_bundle_status(self, async_client: AsyncTelnyx) -> None: action = await async_client.phone_numbers.actions.change_bundle_status( @@ -154,6 +166,7 @@ async def test_method_change_bundle_status(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(ActionChangeBundleStatusResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_change_bundle_status(self, async_client: AsyncTelnyx) -> None: response = await async_client.phone_numbers.actions.with_raw_response.change_bundle_status( @@ -166,6 +179,7 @@ async def test_raw_response_change_bundle_status(self, async_client: AsyncTelnyx action = await response.parse() assert_matches_type(ActionChangeBundleStatusResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_change_bundle_status(self, async_client: AsyncTelnyx) -> None: async with async_client.phone_numbers.actions.with_streaming_response.change_bundle_status( @@ -180,6 +194,7 @@ async def test_streaming_response_change_bundle_status(self, async_client: Async assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_change_bundle_status(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -188,6 +203,7 @@ async def test_path_params_change_bundle_status(self, async_client: AsyncTelnyx) bundle_id="5194d8fc-87e6-4188-baa9-1c434bbe861b", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_enable_emergency(self, async_client: AsyncTelnyx) -> None: action = await async_client.phone_numbers.actions.enable_emergency( @@ -197,6 +213,7 @@ async def test_method_enable_emergency(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ActionEnableEmergencyResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_enable_emergency(self, async_client: AsyncTelnyx) -> None: response = await async_client.phone_numbers.actions.with_raw_response.enable_emergency( @@ -210,6 +227,7 @@ async def test_raw_response_enable_emergency(self, async_client: AsyncTelnyx) -> action = await response.parse() assert_matches_type(ActionEnableEmergencyResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_enable_emergency(self, async_client: AsyncTelnyx) -> None: async with async_client.phone_numbers.actions.with_streaming_response.enable_emergency( @@ -225,6 +243,7 @@ async def test_streaming_response_enable_emergency(self, async_client: AsyncTeln assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_enable_emergency(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -234,6 +253,7 @@ async def test_path_params_enable_emergency(self, async_client: AsyncTelnyx) -> emergency_enabled=True, ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_verify_ownership(self, async_client: AsyncTelnyx) -> None: action = await async_client.phone_numbers.actions.verify_ownership( @@ -241,6 +261,7 @@ async def test_method_verify_ownership(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ActionVerifyOwnershipResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_verify_ownership(self, async_client: AsyncTelnyx) -> None: response = await async_client.phone_numbers.actions.with_raw_response.verify_ownership( @@ -252,6 +273,7 @@ async def test_raw_response_verify_ownership(self, async_client: AsyncTelnyx) -> action = await response.parse() assert_matches_type(ActionVerifyOwnershipResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_verify_ownership(self, async_client: AsyncTelnyx) -> None: async with async_client.phone_numbers.actions.with_streaming_response.verify_ownership( diff --git a/tests/api_resources/phone_numbers/test_csv_downloads.py b/tests/api_resources/phone_numbers/test_csv_downloads.py index 64fd35b5..7ce457fd 100644 --- a/tests/api_resources/phone_numbers/test_csv_downloads.py +++ b/tests/api_resources/phone_numbers/test_csv_downloads.py @@ -21,11 +21,13 @@ class TestCsvDownloads: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: csv_download = client.phone_numbers.csv_downloads.create() assert_matches_type(CsvDownloadCreateResponse, csv_download, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: csv_download = client.phone_numbers.csv_downloads.create( @@ -50,6 +52,7 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(CsvDownloadCreateResponse, csv_download, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.phone_numbers.csv_downloads.with_raw_response.create() @@ -59,6 +62,7 @@ def test_raw_response_create(self, client: Telnyx) -> None: csv_download = response.parse() assert_matches_type(CsvDownloadCreateResponse, csv_download, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.phone_numbers.csv_downloads.with_streaming_response.create() as response: @@ -70,6 +74,7 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: csv_download = client.phone_numbers.csv_downloads.retrieve( @@ -77,6 +82,7 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(CsvDownloadRetrieveResponse, csv_download, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.phone_numbers.csv_downloads.with_raw_response.retrieve( @@ -88,6 +94,7 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: csv_download = response.parse() assert_matches_type(CsvDownloadRetrieveResponse, csv_download, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.phone_numbers.csv_downloads.with_streaming_response.retrieve( @@ -101,6 +108,7 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -108,11 +116,13 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: csv_download = client.phone_numbers.csv_downloads.list() assert_matches_type(CsvDownloadListResponse, csv_download, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: csv_download = client.phone_numbers.csv_downloads.list( @@ -123,6 +133,7 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(CsvDownloadListResponse, csv_download, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.phone_numbers.csv_downloads.with_raw_response.list() @@ -132,6 +143,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: csv_download = response.parse() assert_matches_type(CsvDownloadListResponse, csv_download, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.phone_numbers.csv_downloads.with_streaming_response.list() as response: @@ -149,11 +161,13 @@ class TestAsyncCsvDownloads: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: csv_download = await async_client.phone_numbers.csv_downloads.create() assert_matches_type(CsvDownloadCreateResponse, csv_download, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: csv_download = await async_client.phone_numbers.csv_downloads.create( @@ -178,6 +192,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(CsvDownloadCreateResponse, csv_download, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.phone_numbers.csv_downloads.with_raw_response.create() @@ -187,6 +202,7 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: csv_download = await response.parse() assert_matches_type(CsvDownloadCreateResponse, csv_download, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.phone_numbers.csv_downloads.with_streaming_response.create() as response: @@ -198,6 +214,7 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: csv_download = await async_client.phone_numbers.csv_downloads.retrieve( @@ -205,6 +222,7 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(CsvDownloadRetrieveResponse, csv_download, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.phone_numbers.csv_downloads.with_raw_response.retrieve( @@ -216,6 +234,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: csv_download = await response.parse() assert_matches_type(CsvDownloadRetrieveResponse, csv_download, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.phone_numbers.csv_downloads.with_streaming_response.retrieve( @@ -229,6 +248,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -236,11 +256,13 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: csv_download = await async_client.phone_numbers.csv_downloads.list() assert_matches_type(CsvDownloadListResponse, csv_download, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: csv_download = await async_client.phone_numbers.csv_downloads.list( @@ -251,6 +273,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(CsvDownloadListResponse, csv_download, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.phone_numbers.csv_downloads.with_raw_response.list() @@ -260,6 +283,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: csv_download = await response.parse() assert_matches_type(CsvDownloadListResponse, csv_download, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.phone_numbers.csv_downloads.with_streaming_response.list() as response: diff --git a/tests/api_resources/phone_numbers/test_jobs.py b/tests/api_resources/phone_numbers/test_jobs.py index 2ba298cc..2e64b4e3 100644 --- a/tests/api_resources/phone_numbers/test_jobs.py +++ b/tests/api_resources/phone_numbers/test_jobs.py @@ -23,6 +23,7 @@ class TestJobs: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: job = client.phone_numbers.jobs.retrieve( @@ -30,6 +31,7 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(JobRetrieveResponse, job, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.phone_numbers.jobs.with_raw_response.retrieve( @@ -41,6 +43,7 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: job = response.parse() assert_matches_type(JobRetrieveResponse, job, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.phone_numbers.jobs.with_streaming_response.retrieve( @@ -54,6 +57,7 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -61,11 +65,13 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: job = client.phone_numbers.jobs.list() assert_matches_type(JobListResponse, job, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: job = client.phone_numbers.jobs.list( @@ -78,6 +84,7 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(JobListResponse, job, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.phone_numbers.jobs.with_raw_response.list() @@ -87,6 +94,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: job = response.parse() assert_matches_type(JobListResponse, job, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.phone_numbers.jobs.with_streaming_response.list() as response: @@ -98,6 +106,7 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete_batch(self, client: Telnyx) -> None: job = client.phone_numbers.jobs.delete_batch( @@ -105,6 +114,7 @@ def test_method_delete_batch(self, client: Telnyx) -> None: ) assert_matches_type(JobDeleteBatchResponse, job, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete_batch(self, client: Telnyx) -> None: response = client.phone_numbers.jobs.with_raw_response.delete_batch( @@ -116,6 +126,7 @@ def test_raw_response_delete_batch(self, client: Telnyx) -> None: job = response.parse() assert_matches_type(JobDeleteBatchResponse, job, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete_batch(self, client: Telnyx) -> None: with client.phone_numbers.jobs.with_streaming_response.delete_batch( @@ -129,6 +140,7 @@ def test_streaming_response_delete_batch(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_batch(self, client: Telnyx) -> None: job = client.phone_numbers.jobs.update_batch( @@ -136,6 +148,7 @@ def test_method_update_batch(self, client: Telnyx) -> None: ) assert_matches_type(JobUpdateBatchResponse, job, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_batch_with_all_params(self, client: Telnyx) -> None: job = client.phone_numbers.jobs.update_batch( @@ -192,6 +205,7 @@ def test_method_update_batch_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(JobUpdateBatchResponse, job, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update_batch(self, client: Telnyx) -> None: response = client.phone_numbers.jobs.with_raw_response.update_batch( @@ -203,6 +217,7 @@ def test_raw_response_update_batch(self, client: Telnyx) -> None: job = response.parse() assert_matches_type(JobUpdateBatchResponse, job, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update_batch(self, client: Telnyx) -> None: with client.phone_numbers.jobs.with_streaming_response.update_batch( @@ -216,6 +231,7 @@ def test_streaming_response_update_batch(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_emergency_settings_batch(self, client: Telnyx) -> None: job = client.phone_numbers.jobs.update_emergency_settings_batch( @@ -224,6 +240,7 @@ def test_method_update_emergency_settings_batch(self, client: Telnyx) -> None: ) assert_matches_type(JobUpdateEmergencySettingsBatchResponse, job, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_emergency_settings_batch_with_all_params(self, client: Telnyx) -> None: job = client.phone_numbers.jobs.update_emergency_settings_batch( @@ -233,6 +250,7 @@ def test_method_update_emergency_settings_batch_with_all_params(self, client: Te ) assert_matches_type(JobUpdateEmergencySettingsBatchResponse, job, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update_emergency_settings_batch(self, client: Telnyx) -> None: response = client.phone_numbers.jobs.with_raw_response.update_emergency_settings_batch( @@ -245,6 +263,7 @@ def test_raw_response_update_emergency_settings_batch(self, client: Telnyx) -> N job = response.parse() assert_matches_type(JobUpdateEmergencySettingsBatchResponse, job, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update_emergency_settings_batch(self, client: Telnyx) -> None: with client.phone_numbers.jobs.with_streaming_response.update_emergency_settings_batch( @@ -265,6 +284,7 @@ class TestAsyncJobs: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: job = await async_client.phone_numbers.jobs.retrieve( @@ -272,6 +292,7 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(JobRetrieveResponse, job, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.phone_numbers.jobs.with_raw_response.retrieve( @@ -283,6 +304,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: job = await response.parse() assert_matches_type(JobRetrieveResponse, job, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.phone_numbers.jobs.with_streaming_response.retrieve( @@ -296,6 +318,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -303,11 +326,13 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: job = await async_client.phone_numbers.jobs.list() assert_matches_type(JobListResponse, job, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: job = await async_client.phone_numbers.jobs.list( @@ -320,6 +345,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(JobListResponse, job, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.phone_numbers.jobs.with_raw_response.list() @@ -329,6 +355,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: job = await response.parse() assert_matches_type(JobListResponse, job, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.phone_numbers.jobs.with_streaming_response.list() as response: @@ -340,6 +367,7 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete_batch(self, async_client: AsyncTelnyx) -> None: job = await async_client.phone_numbers.jobs.delete_batch( @@ -347,6 +375,7 @@ async def test_method_delete_batch(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(JobDeleteBatchResponse, job, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete_batch(self, async_client: AsyncTelnyx) -> None: response = await async_client.phone_numbers.jobs.with_raw_response.delete_batch( @@ -358,6 +387,7 @@ async def test_raw_response_delete_batch(self, async_client: AsyncTelnyx) -> Non job = await response.parse() assert_matches_type(JobDeleteBatchResponse, job, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete_batch(self, async_client: AsyncTelnyx) -> None: async with async_client.phone_numbers.jobs.with_streaming_response.delete_batch( @@ -371,6 +401,7 @@ async def test_streaming_response_delete_batch(self, async_client: AsyncTelnyx) assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_batch(self, async_client: AsyncTelnyx) -> None: job = await async_client.phone_numbers.jobs.update_batch( @@ -378,6 +409,7 @@ async def test_method_update_batch(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(JobUpdateBatchResponse, job, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_batch_with_all_params(self, async_client: AsyncTelnyx) -> None: job = await async_client.phone_numbers.jobs.update_batch( @@ -434,6 +466,7 @@ async def test_method_update_batch_with_all_params(self, async_client: AsyncTeln ) assert_matches_type(JobUpdateBatchResponse, job, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update_batch(self, async_client: AsyncTelnyx) -> None: response = await async_client.phone_numbers.jobs.with_raw_response.update_batch( @@ -445,6 +478,7 @@ async def test_raw_response_update_batch(self, async_client: AsyncTelnyx) -> Non job = await response.parse() assert_matches_type(JobUpdateBatchResponse, job, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update_batch(self, async_client: AsyncTelnyx) -> None: async with async_client.phone_numbers.jobs.with_streaming_response.update_batch( @@ -458,6 +492,7 @@ async def test_streaming_response_update_batch(self, async_client: AsyncTelnyx) assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_emergency_settings_batch(self, async_client: AsyncTelnyx) -> None: job = await async_client.phone_numbers.jobs.update_emergency_settings_batch( @@ -466,6 +501,7 @@ async def test_method_update_emergency_settings_batch(self, async_client: AsyncT ) assert_matches_type(JobUpdateEmergencySettingsBatchResponse, job, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_emergency_settings_batch_with_all_params(self, async_client: AsyncTelnyx) -> None: job = await async_client.phone_numbers.jobs.update_emergency_settings_batch( @@ -475,6 +511,7 @@ async def test_method_update_emergency_settings_batch_with_all_params(self, asyn ) assert_matches_type(JobUpdateEmergencySettingsBatchResponse, job, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update_emergency_settings_batch(self, async_client: AsyncTelnyx) -> None: response = await async_client.phone_numbers.jobs.with_raw_response.update_emergency_settings_batch( @@ -487,6 +524,7 @@ async def test_raw_response_update_emergency_settings_batch(self, async_client: job = await response.parse() assert_matches_type(JobUpdateEmergencySettingsBatchResponse, job, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update_emergency_settings_batch(self, async_client: AsyncTelnyx) -> None: async with async_client.phone_numbers.jobs.with_streaming_response.update_emergency_settings_batch( diff --git a/tests/api_resources/phone_numbers/test_messaging.py b/tests/api_resources/phone_numbers/test_messaging.py index 130c5d27..265e8801 100644 --- a/tests/api_resources/phone_numbers/test_messaging.py +++ b/tests/api_resources/phone_numbers/test_messaging.py @@ -21,6 +21,7 @@ class TestMessaging: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: messaging = client.phone_numbers.messaging.retrieve( @@ -28,6 +29,7 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(MessagingRetrieveResponse, messaging, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.phone_numbers.messaging.with_raw_response.retrieve( @@ -39,6 +41,7 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: messaging = response.parse() assert_matches_type(MessagingRetrieveResponse, messaging, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.phone_numbers.messaging.with_streaming_response.retrieve( @@ -52,6 +55,7 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -59,6 +63,7 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update(self, client: Telnyx) -> None: messaging = client.phone_numbers.messaging.update( @@ -66,6 +71,7 @@ def test_method_update(self, client: Telnyx) -> None: ) assert_matches_type(MessagingUpdateResponse, messaging, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_with_all_params(self, client: Telnyx) -> None: messaging = client.phone_numbers.messaging.update( @@ -75,6 +81,7 @@ def test_method_update_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(MessagingUpdateResponse, messaging, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update(self, client: Telnyx) -> None: response = client.phone_numbers.messaging.with_raw_response.update( @@ -86,6 +93,7 @@ def test_raw_response_update(self, client: Telnyx) -> None: messaging = response.parse() assert_matches_type(MessagingUpdateResponse, messaging, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update(self, client: Telnyx) -> None: with client.phone_numbers.messaging.with_streaming_response.update( @@ -99,6 +107,7 @@ def test_streaming_response_update(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -106,11 +115,13 @@ def test_path_params_update(self, client: Telnyx) -> None: id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: messaging = client.phone_numbers.messaging.list() assert_matches_type(MessagingListResponse, messaging, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: messaging = client.phone_numbers.messaging.list( @@ -121,6 +132,7 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(MessagingListResponse, messaging, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.phone_numbers.messaging.with_raw_response.list() @@ -130,6 +142,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: messaging = response.parse() assert_matches_type(MessagingListResponse, messaging, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.phone_numbers.messaging.with_streaming_response.list() as response: @@ -147,6 +160,7 @@ class TestAsyncMessaging: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: messaging = await async_client.phone_numbers.messaging.retrieve( @@ -154,6 +168,7 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(MessagingRetrieveResponse, messaging, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.phone_numbers.messaging.with_raw_response.retrieve( @@ -165,6 +180,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: messaging = await response.parse() assert_matches_type(MessagingRetrieveResponse, messaging, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.phone_numbers.messaging.with_streaming_response.retrieve( @@ -178,6 +194,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -185,6 +202,7 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update(self, async_client: AsyncTelnyx) -> None: messaging = await async_client.phone_numbers.messaging.update( @@ -192,6 +210,7 @@ async def test_method_update(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(MessagingUpdateResponse, messaging, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> None: messaging = await async_client.phone_numbers.messaging.update( @@ -201,6 +220,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(MessagingUpdateResponse, messaging, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: response = await async_client.phone_numbers.messaging.with_raw_response.update( @@ -212,6 +232,7 @@ async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: messaging = await response.parse() assert_matches_type(MessagingUpdateResponse, messaging, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> None: async with async_client.phone_numbers.messaging.with_streaming_response.update( @@ -225,6 +246,7 @@ async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -232,11 +254,13 @@ async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: messaging = await async_client.phone_numbers.messaging.list() assert_matches_type(MessagingListResponse, messaging, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: messaging = await async_client.phone_numbers.messaging.list( @@ -247,6 +271,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(MessagingListResponse, messaging, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.phone_numbers.messaging.with_raw_response.list() @@ -256,6 +281,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: messaging = await response.parse() assert_matches_type(MessagingListResponse, messaging, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.phone_numbers.messaging.with_streaming_response.list() as response: diff --git a/tests/api_resources/phone_numbers/test_voice.py b/tests/api_resources/phone_numbers/test_voice.py index 8a0eae42..8c5b3978 100644 --- a/tests/api_resources/phone_numbers/test_voice.py +++ b/tests/api_resources/phone_numbers/test_voice.py @@ -21,6 +21,7 @@ class TestVoice: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: voice = client.phone_numbers.voice.retrieve( @@ -28,6 +29,7 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(VoiceRetrieveResponse, voice, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.phone_numbers.voice.with_raw_response.retrieve( @@ -39,6 +41,7 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: voice = response.parse() assert_matches_type(VoiceRetrieveResponse, voice, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.phone_numbers.voice.with_streaming_response.retrieve( @@ -52,6 +55,7 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -59,6 +63,7 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update(self, client: Telnyx) -> None: voice = client.phone_numbers.voice.update( @@ -66,6 +71,7 @@ def test_method_update(self, client: Telnyx) -> None: ) assert_matches_type(VoiceUpdateResponse, voice, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_with_all_params(self, client: Telnyx) -> None: voice = client.phone_numbers.voice.update( @@ -97,6 +103,7 @@ def test_method_update_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(VoiceUpdateResponse, voice, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update(self, client: Telnyx) -> None: response = client.phone_numbers.voice.with_raw_response.update( @@ -108,6 +115,7 @@ def test_raw_response_update(self, client: Telnyx) -> None: voice = response.parse() assert_matches_type(VoiceUpdateResponse, voice, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update(self, client: Telnyx) -> None: with client.phone_numbers.voice.with_streaming_response.update( @@ -121,6 +129,7 @@ def test_streaming_response_update(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -128,11 +137,13 @@ def test_path_params_update(self, client: Telnyx) -> None: id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: voice = client.phone_numbers.voice.list() assert_matches_type(VoiceListResponse, voice, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: voice = client.phone_numbers.voice.list( @@ -150,6 +161,7 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(VoiceListResponse, voice, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.phone_numbers.voice.with_raw_response.list() @@ -159,6 +171,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: voice = response.parse() assert_matches_type(VoiceListResponse, voice, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.phone_numbers.voice.with_streaming_response.list() as response: @@ -176,6 +189,7 @@ class TestAsyncVoice: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: voice = await async_client.phone_numbers.voice.retrieve( @@ -183,6 +197,7 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(VoiceRetrieveResponse, voice, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.phone_numbers.voice.with_raw_response.retrieve( @@ -194,6 +209,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: voice = await response.parse() assert_matches_type(VoiceRetrieveResponse, voice, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.phone_numbers.voice.with_streaming_response.retrieve( @@ -207,6 +223,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -214,6 +231,7 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update(self, async_client: AsyncTelnyx) -> None: voice = await async_client.phone_numbers.voice.update( @@ -221,6 +239,7 @@ async def test_method_update(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(VoiceUpdateResponse, voice, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> None: voice = await async_client.phone_numbers.voice.update( @@ -252,6 +271,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(VoiceUpdateResponse, voice, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: response = await async_client.phone_numbers.voice.with_raw_response.update( @@ -263,6 +283,7 @@ async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: voice = await response.parse() assert_matches_type(VoiceUpdateResponse, voice, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> None: async with async_client.phone_numbers.voice.with_streaming_response.update( @@ -276,6 +297,7 @@ async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -283,11 +305,13 @@ async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: voice = await async_client.phone_numbers.voice.list() assert_matches_type(VoiceListResponse, voice, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: voice = await async_client.phone_numbers.voice.list( @@ -305,6 +329,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(VoiceListResponse, voice, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.phone_numbers.voice.with_raw_response.list() @@ -314,6 +339,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: voice = await response.parse() assert_matches_type(VoiceListResponse, voice, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.phone_numbers.voice.with_streaming_response.list() as response: diff --git a/tests/api_resources/phone_numbers/test_voicemail.py b/tests/api_resources/phone_numbers/test_voicemail.py index 11cde37b..928d32a4 100644 --- a/tests/api_resources/phone_numbers/test_voicemail.py +++ b/tests/api_resources/phone_numbers/test_voicemail.py @@ -21,6 +21,7 @@ class TestVoicemail: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: voicemail = client.phone_numbers.voicemail.create( @@ -28,6 +29,7 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(VoicemailCreateResponse, voicemail, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: voicemail = client.phone_numbers.voicemail.create( @@ -37,6 +39,7 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(VoicemailCreateResponse, voicemail, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.phone_numbers.voicemail.with_raw_response.create( @@ -48,6 +51,7 @@ def test_raw_response_create(self, client: Telnyx) -> None: voicemail = response.parse() assert_matches_type(VoicemailCreateResponse, voicemail, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.phone_numbers.voicemail.with_streaming_response.create( @@ -61,6 +65,7 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_create(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `phone_number_id` but received ''"): @@ -68,6 +73,7 @@ def test_path_params_create(self, client: Telnyx) -> None: phone_number_id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: voicemail = client.phone_numbers.voicemail.retrieve( @@ -75,6 +81,7 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(VoicemailRetrieveResponse, voicemail, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.phone_numbers.voicemail.with_raw_response.retrieve( @@ -86,6 +93,7 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: voicemail = response.parse() assert_matches_type(VoicemailRetrieveResponse, voicemail, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.phone_numbers.voicemail.with_streaming_response.retrieve( @@ -99,6 +107,7 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `phone_number_id` but received ''"): @@ -106,6 +115,7 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update(self, client: Telnyx) -> None: voicemail = client.phone_numbers.voicemail.update( @@ -113,6 +123,7 @@ def test_method_update(self, client: Telnyx) -> None: ) assert_matches_type(VoicemailUpdateResponse, voicemail, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_with_all_params(self, client: Telnyx) -> None: voicemail = client.phone_numbers.voicemail.update( @@ -122,6 +133,7 @@ def test_method_update_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(VoicemailUpdateResponse, voicemail, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update(self, client: Telnyx) -> None: response = client.phone_numbers.voicemail.with_raw_response.update( @@ -133,6 +145,7 @@ def test_raw_response_update(self, client: Telnyx) -> None: voicemail = response.parse() assert_matches_type(VoicemailUpdateResponse, voicemail, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update(self, client: Telnyx) -> None: with client.phone_numbers.voicemail.with_streaming_response.update( @@ -146,6 +159,7 @@ def test_streaming_response_update(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `phone_number_id` but received ''"): @@ -159,6 +173,7 @@ class TestAsyncVoicemail: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: voicemail = await async_client.phone_numbers.voicemail.create( @@ -166,6 +181,7 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(VoicemailCreateResponse, voicemail, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: voicemail = await async_client.phone_numbers.voicemail.create( @@ -175,6 +191,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(VoicemailCreateResponse, voicemail, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.phone_numbers.voicemail.with_raw_response.create( @@ -186,6 +203,7 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: voicemail = await response.parse() assert_matches_type(VoicemailCreateResponse, voicemail, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.phone_numbers.voicemail.with_streaming_response.create( @@ -199,6 +217,7 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_create(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `phone_number_id` but received ''"): @@ -206,6 +225,7 @@ async def test_path_params_create(self, async_client: AsyncTelnyx) -> None: phone_number_id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: voicemail = await async_client.phone_numbers.voicemail.retrieve( @@ -213,6 +233,7 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(VoicemailRetrieveResponse, voicemail, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.phone_numbers.voicemail.with_raw_response.retrieve( @@ -224,6 +245,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: voicemail = await response.parse() assert_matches_type(VoicemailRetrieveResponse, voicemail, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.phone_numbers.voicemail.with_streaming_response.retrieve( @@ -237,6 +259,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `phone_number_id` but received ''"): @@ -244,6 +267,7 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update(self, async_client: AsyncTelnyx) -> None: voicemail = await async_client.phone_numbers.voicemail.update( @@ -251,6 +275,7 @@ async def test_method_update(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(VoicemailUpdateResponse, voicemail, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> None: voicemail = await async_client.phone_numbers.voicemail.update( @@ -260,6 +285,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(VoicemailUpdateResponse, voicemail, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: response = await async_client.phone_numbers.voicemail.with_raw_response.update( @@ -271,6 +297,7 @@ async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: voicemail = await response.parse() assert_matches_type(VoicemailUpdateResponse, voicemail, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> None: async with async_client.phone_numbers.voicemail.with_streaming_response.update( @@ -284,6 +311,7 @@ async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `phone_number_id` but received ''"): diff --git a/tests/api_resources/porting/test_events.py b/tests/api_resources/porting/test_events.py index 55d28d1b..ba33eef3 100644 --- a/tests/api_resources/porting/test_events.py +++ b/tests/api_resources/porting/test_events.py @@ -18,6 +18,7 @@ class TestEvents: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: event = client.porting.events.retrieve( @@ -25,6 +26,7 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(EventRetrieveResponse, event, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.porting.events.with_raw_response.retrieve( @@ -36,6 +38,7 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: event = response.parse() assert_matches_type(EventRetrieveResponse, event, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.porting.events.with_streaming_response.retrieve( @@ -49,6 +52,7 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -56,11 +60,13 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: event = client.porting.events.list() assert_matches_type(EventListResponse, event, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: event = client.porting.events.list( @@ -79,6 +85,7 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(EventListResponse, event, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.porting.events.with_raw_response.list() @@ -88,6 +95,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: event = response.parse() assert_matches_type(EventListResponse, event, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.porting.events.with_streaming_response.list() as response: @@ -99,6 +107,7 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_republish(self, client: Telnyx) -> None: event = client.porting.events.republish( @@ -106,6 +115,7 @@ def test_method_republish(self, client: Telnyx) -> None: ) assert event is None + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_republish(self, client: Telnyx) -> None: response = client.porting.events.with_raw_response.republish( @@ -117,6 +127,7 @@ def test_raw_response_republish(self, client: Telnyx) -> None: event = response.parse() assert event is None + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_republish(self, client: Telnyx) -> None: with client.porting.events.with_streaming_response.republish( @@ -130,6 +141,7 @@ def test_streaming_response_republish(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_republish(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -143,6 +155,7 @@ class TestAsyncEvents: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: event = await async_client.porting.events.retrieve( @@ -150,6 +163,7 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(EventRetrieveResponse, event, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.porting.events.with_raw_response.retrieve( @@ -161,6 +175,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: event = await response.parse() assert_matches_type(EventRetrieveResponse, event, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.porting.events.with_streaming_response.retrieve( @@ -174,6 +189,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -181,11 +197,13 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: event = await async_client.porting.events.list() assert_matches_type(EventListResponse, event, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: event = await async_client.porting.events.list( @@ -204,6 +222,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(EventListResponse, event, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.porting.events.with_raw_response.list() @@ -213,6 +232,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: event = await response.parse() assert_matches_type(EventListResponse, event, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.porting.events.with_streaming_response.list() as response: @@ -224,6 +244,7 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_republish(self, async_client: AsyncTelnyx) -> None: event = await async_client.porting.events.republish( @@ -231,6 +252,7 @@ async def test_method_republish(self, async_client: AsyncTelnyx) -> None: ) assert event is None + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_republish(self, async_client: AsyncTelnyx) -> None: response = await async_client.porting.events.with_raw_response.republish( @@ -242,6 +264,7 @@ async def test_raw_response_republish(self, async_client: AsyncTelnyx) -> None: event = await response.parse() assert event is None + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_republish(self, async_client: AsyncTelnyx) -> None: async with async_client.porting.events.with_streaming_response.republish( @@ -255,6 +278,7 @@ async def test_streaming_response_republish(self, async_client: AsyncTelnyx) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_republish(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): diff --git a/tests/api_resources/porting/test_loa_configurations.py b/tests/api_resources/porting/test_loa_configurations.py index 34c81a6f..923e87ed 100644 --- a/tests/api_resources/porting/test_loa_configurations.py +++ b/tests/api_resources/porting/test_loa_configurations.py @@ -30,6 +30,7 @@ class TestLoaConfigurations: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: loa_configuration = client.porting.loa_configurations.create( @@ -50,6 +51,7 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(LoaConfigurationCreateResponse, loa_configuration, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: loa_configuration = client.porting.loa_configurations.create( @@ -71,6 +73,7 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(LoaConfigurationCreateResponse, loa_configuration, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.porting.loa_configurations.with_raw_response.create( @@ -95,6 +98,7 @@ def test_raw_response_create(self, client: Telnyx) -> None: loa_configuration = response.parse() assert_matches_type(LoaConfigurationCreateResponse, loa_configuration, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.porting.loa_configurations.with_streaming_response.create( @@ -121,6 +125,7 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: loa_configuration = client.porting.loa_configurations.retrieve( @@ -128,6 +133,7 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(LoaConfigurationRetrieveResponse, loa_configuration, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.porting.loa_configurations.with_raw_response.retrieve( @@ -139,6 +145,7 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: loa_configuration = response.parse() assert_matches_type(LoaConfigurationRetrieveResponse, loa_configuration, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.porting.loa_configurations.with_streaming_response.retrieve( @@ -152,6 +159,7 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -159,6 +167,7 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update(self, client: Telnyx) -> None: loa_configuration = client.porting.loa_configurations.update( @@ -180,6 +189,7 @@ def test_method_update(self, client: Telnyx) -> None: ) assert_matches_type(LoaConfigurationUpdateResponse, loa_configuration, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_with_all_params(self, client: Telnyx) -> None: loa_configuration = client.porting.loa_configurations.update( @@ -202,6 +212,7 @@ def test_method_update_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(LoaConfigurationUpdateResponse, loa_configuration, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update(self, client: Telnyx) -> None: response = client.porting.loa_configurations.with_raw_response.update( @@ -227,6 +238,7 @@ def test_raw_response_update(self, client: Telnyx) -> None: loa_configuration = response.parse() assert_matches_type(LoaConfigurationUpdateResponse, loa_configuration, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update(self, client: Telnyx) -> None: with client.porting.loa_configurations.with_streaming_response.update( @@ -254,6 +266,7 @@ def test_streaming_response_update(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -275,11 +288,13 @@ def test_path_params_update(self, client: Telnyx) -> None: name="My LOA Configuration", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: loa_configuration = client.porting.loa_configurations.list() assert_matches_type(LoaConfigurationListResponse, loa_configuration, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: loa_configuration = client.porting.loa_configurations.list( @@ -290,6 +305,7 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(LoaConfigurationListResponse, loa_configuration, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.porting.loa_configurations.with_raw_response.list() @@ -299,6 +315,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: loa_configuration = response.parse() assert_matches_type(LoaConfigurationListResponse, loa_configuration, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.porting.loa_configurations.with_streaming_response.list() as response: @@ -310,6 +327,7 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: loa_configuration = client.porting.loa_configurations.delete( @@ -317,6 +335,7 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert loa_configuration is None + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.porting.loa_configurations.with_raw_response.delete( @@ -328,6 +347,7 @@ def test_raw_response_delete(self, client: Telnyx) -> None: loa_configuration = response.parse() assert loa_configuration is None + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.porting.loa_configurations.with_streaming_response.delete( @@ -341,6 +361,7 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -525,6 +546,7 @@ class TestAsyncLoaConfigurations: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: loa_configuration = await async_client.porting.loa_configurations.create( @@ -545,6 +567,7 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(LoaConfigurationCreateResponse, loa_configuration, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: loa_configuration = await async_client.porting.loa_configurations.create( @@ -566,6 +589,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(LoaConfigurationCreateResponse, loa_configuration, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.porting.loa_configurations.with_raw_response.create( @@ -590,6 +614,7 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: loa_configuration = await response.parse() assert_matches_type(LoaConfigurationCreateResponse, loa_configuration, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.porting.loa_configurations.with_streaming_response.create( @@ -616,6 +641,7 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: loa_configuration = await async_client.porting.loa_configurations.retrieve( @@ -623,6 +649,7 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(LoaConfigurationRetrieveResponse, loa_configuration, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.porting.loa_configurations.with_raw_response.retrieve( @@ -634,6 +661,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: loa_configuration = await response.parse() assert_matches_type(LoaConfigurationRetrieveResponse, loa_configuration, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.porting.loa_configurations.with_streaming_response.retrieve( @@ -647,6 +675,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -654,6 +683,7 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update(self, async_client: AsyncTelnyx) -> None: loa_configuration = await async_client.porting.loa_configurations.update( @@ -675,6 +705,7 @@ async def test_method_update(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(LoaConfigurationUpdateResponse, loa_configuration, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> None: loa_configuration = await async_client.porting.loa_configurations.update( @@ -697,6 +728,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(LoaConfigurationUpdateResponse, loa_configuration, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: response = await async_client.porting.loa_configurations.with_raw_response.update( @@ -722,6 +754,7 @@ async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: loa_configuration = await response.parse() assert_matches_type(LoaConfigurationUpdateResponse, loa_configuration, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> None: async with async_client.porting.loa_configurations.with_streaming_response.update( @@ -749,6 +782,7 @@ async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -770,11 +804,13 @@ async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: name="My LOA Configuration", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: loa_configuration = await async_client.porting.loa_configurations.list() assert_matches_type(LoaConfigurationListResponse, loa_configuration, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: loa_configuration = await async_client.porting.loa_configurations.list( @@ -785,6 +821,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(LoaConfigurationListResponse, loa_configuration, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.porting.loa_configurations.with_raw_response.list() @@ -794,6 +831,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: loa_configuration = await response.parse() assert_matches_type(LoaConfigurationListResponse, loa_configuration, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.porting.loa_configurations.with_streaming_response.list() as response: @@ -805,6 +843,7 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: loa_configuration = await async_client.porting.loa_configurations.delete( @@ -812,6 +851,7 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert loa_configuration is None + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.porting.loa_configurations.with_raw_response.delete( @@ -823,6 +863,7 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: loa_configuration = await response.parse() assert loa_configuration is None + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.porting.loa_configurations.with_streaming_response.delete( @@ -836,6 +877,7 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): diff --git a/tests/api_resources/porting/test_reports.py b/tests/api_resources/porting/test_reports.py index d8b3be01..91bc3724 100644 --- a/tests/api_resources/porting/test_reports.py +++ b/tests/api_resources/porting/test_reports.py @@ -21,6 +21,7 @@ class TestReports: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: report = client.porting.reports.create( @@ -29,6 +30,7 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(ReportCreateResponse, report, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.porting.reports.with_raw_response.create( @@ -41,6 +43,7 @@ def test_raw_response_create(self, client: Telnyx) -> None: report = response.parse() assert_matches_type(ReportCreateResponse, report, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.porting.reports.with_streaming_response.create( @@ -55,6 +58,7 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: report = client.porting.reports.retrieve( @@ -62,6 +66,7 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(ReportRetrieveResponse, report, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.porting.reports.with_raw_response.retrieve( @@ -73,6 +78,7 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: report = response.parse() assert_matches_type(ReportRetrieveResponse, report, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.porting.reports.with_streaming_response.retrieve( @@ -86,6 +92,7 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -93,11 +100,13 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: report = client.porting.reports.list() assert_matches_type(ReportListResponse, report, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: report = client.porting.reports.list( @@ -112,6 +121,7 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ReportListResponse, report, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.porting.reports.with_raw_response.list() @@ -121,6 +131,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: report = response.parse() assert_matches_type(ReportListResponse, report, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.porting.reports.with_streaming_response.list() as response: @@ -138,6 +149,7 @@ class TestAsyncReports: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: report = await async_client.porting.reports.create( @@ -146,6 +158,7 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ReportCreateResponse, report, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.porting.reports.with_raw_response.create( @@ -158,6 +171,7 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: report = await response.parse() assert_matches_type(ReportCreateResponse, report, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.porting.reports.with_streaming_response.create( @@ -172,6 +186,7 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: report = await async_client.porting.reports.retrieve( @@ -179,6 +194,7 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ReportRetrieveResponse, report, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.porting.reports.with_raw_response.retrieve( @@ -190,6 +206,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: report = await response.parse() assert_matches_type(ReportRetrieveResponse, report, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.porting.reports.with_streaming_response.retrieve( @@ -203,6 +220,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -210,11 +228,13 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: report = await async_client.porting.reports.list() assert_matches_type(ReportListResponse, report, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: report = await async_client.porting.reports.list( @@ -229,6 +249,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(ReportListResponse, report, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.porting.reports.with_raw_response.list() @@ -238,6 +259,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: report = await response.parse() assert_matches_type(ReportListResponse, report, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.porting.reports.with_streaming_response.list() as response: diff --git a/tests/api_resources/porting_orders/test_action_requirements.py b/tests/api_resources/porting_orders/test_action_requirements.py index fd24a1fb..cf0a13a4 100644 --- a/tests/api_resources/porting_orders/test_action_requirements.py +++ b/tests/api_resources/porting_orders/test_action_requirements.py @@ -20,6 +20,7 @@ class TestActionRequirements: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: action_requirement = client.porting_orders.action_requirements.list( @@ -27,6 +28,7 @@ def test_method_list(self, client: Telnyx) -> None: ) assert_matches_type(ActionRequirementListResponse, action_requirement, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: action_requirement = client.porting_orders.action_requirements.list( @@ -45,6 +47,7 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ActionRequirementListResponse, action_requirement, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.porting_orders.action_requirements.with_raw_response.list( @@ -56,6 +59,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: action_requirement = response.parse() assert_matches_type(ActionRequirementListResponse, action_requirement, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.porting_orders.action_requirements.with_streaming_response.list( @@ -69,6 +73,7 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_list(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `porting_order_id` but received ''"): @@ -76,6 +81,7 @@ def test_path_params_list(self, client: Telnyx) -> None: porting_order_id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_initiate(self, client: Telnyx) -> None: action_requirement = client.porting_orders.action_requirements.initiate( @@ -88,6 +94,7 @@ def test_method_initiate(self, client: Telnyx) -> None: ) assert_matches_type(ActionRequirementInitiateResponse, action_requirement, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_initiate(self, client: Telnyx) -> None: response = client.porting_orders.action_requirements.with_raw_response.initiate( @@ -104,6 +111,7 @@ def test_raw_response_initiate(self, client: Telnyx) -> None: action_requirement = response.parse() assert_matches_type(ActionRequirementInitiateResponse, action_requirement, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_initiate(self, client: Telnyx) -> None: with client.porting_orders.action_requirements.with_streaming_response.initiate( @@ -122,6 +130,7 @@ def test_streaming_response_initiate(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_initiate(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `porting_order_id` but received ''"): @@ -150,6 +159,7 @@ class TestAsyncActionRequirements: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: action_requirement = await async_client.porting_orders.action_requirements.list( @@ -157,6 +167,7 @@ async def test_method_list(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ActionRequirementListResponse, action_requirement, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: action_requirement = await async_client.porting_orders.action_requirements.list( @@ -175,6 +186,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(ActionRequirementListResponse, action_requirement, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.porting_orders.action_requirements.with_raw_response.list( @@ -186,6 +198,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: action_requirement = await response.parse() assert_matches_type(ActionRequirementListResponse, action_requirement, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.porting_orders.action_requirements.with_streaming_response.list( @@ -199,6 +212,7 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_list(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `porting_order_id` but received ''"): @@ -206,6 +220,7 @@ async def test_path_params_list(self, async_client: AsyncTelnyx) -> None: porting_order_id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_initiate(self, async_client: AsyncTelnyx) -> None: action_requirement = await async_client.porting_orders.action_requirements.initiate( @@ -218,6 +233,7 @@ async def test_method_initiate(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ActionRequirementInitiateResponse, action_requirement, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_initiate(self, async_client: AsyncTelnyx) -> None: response = await async_client.porting_orders.action_requirements.with_raw_response.initiate( @@ -234,6 +250,7 @@ async def test_raw_response_initiate(self, async_client: AsyncTelnyx) -> None: action_requirement = await response.parse() assert_matches_type(ActionRequirementInitiateResponse, action_requirement, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_initiate(self, async_client: AsyncTelnyx) -> None: async with async_client.porting_orders.action_requirements.with_streaming_response.initiate( @@ -252,6 +269,7 @@ async def test_streaming_response_initiate(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_initiate(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `porting_order_id` but received ''"): diff --git a/tests/api_resources/porting_orders/test_actions.py b/tests/api_resources/porting_orders/test_actions.py index 7c6c5dda..bfada793 100644 --- a/tests/api_resources/porting_orders/test_actions.py +++ b/tests/api_resources/porting_orders/test_actions.py @@ -22,6 +22,7 @@ class TestActions: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_activate(self, client: Telnyx) -> None: action = client.porting_orders.actions.activate( @@ -29,6 +30,7 @@ def test_method_activate(self, client: Telnyx) -> None: ) assert_matches_type(ActionActivateResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_activate(self, client: Telnyx) -> None: response = client.porting_orders.actions.with_raw_response.activate( @@ -40,6 +42,7 @@ def test_raw_response_activate(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionActivateResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_activate(self, client: Telnyx) -> None: with client.porting_orders.actions.with_streaming_response.activate( @@ -53,6 +56,7 @@ def test_streaming_response_activate(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_activate(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -60,6 +64,7 @@ def test_path_params_activate(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_cancel(self, client: Telnyx) -> None: action = client.porting_orders.actions.cancel( @@ -67,6 +72,7 @@ def test_method_cancel(self, client: Telnyx) -> None: ) assert_matches_type(ActionCancelResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_cancel(self, client: Telnyx) -> None: response = client.porting_orders.actions.with_raw_response.cancel( @@ -78,6 +84,7 @@ def test_raw_response_cancel(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionCancelResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_cancel(self, client: Telnyx) -> None: with client.porting_orders.actions.with_streaming_response.cancel( @@ -91,6 +98,7 @@ def test_streaming_response_cancel(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_cancel(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -98,6 +106,7 @@ def test_path_params_cancel(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_confirm(self, client: Telnyx) -> None: action = client.porting_orders.actions.confirm( @@ -105,6 +114,7 @@ def test_method_confirm(self, client: Telnyx) -> None: ) assert_matches_type(ActionConfirmResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_confirm(self, client: Telnyx) -> None: response = client.porting_orders.actions.with_raw_response.confirm( @@ -116,6 +126,7 @@ def test_raw_response_confirm(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionConfirmResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_confirm(self, client: Telnyx) -> None: with client.porting_orders.actions.with_streaming_response.confirm( @@ -129,6 +140,7 @@ def test_streaming_response_confirm(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_confirm(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -136,6 +148,7 @@ def test_path_params_confirm(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_share(self, client: Telnyx) -> None: action = client.porting_orders.actions.share( @@ -143,6 +156,7 @@ def test_method_share(self, client: Telnyx) -> None: ) assert_matches_type(ActionShareResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_share_with_all_params(self, client: Telnyx) -> None: action = client.porting_orders.actions.share( @@ -152,6 +166,7 @@ def test_method_share_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ActionShareResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_share(self, client: Telnyx) -> None: response = client.porting_orders.actions.with_raw_response.share( @@ -163,6 +178,7 @@ def test_raw_response_share(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionShareResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_share(self, client: Telnyx) -> None: with client.porting_orders.actions.with_streaming_response.share( @@ -176,6 +192,7 @@ def test_streaming_response_share(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_share(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -189,6 +206,7 @@ class TestAsyncActions: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_activate(self, async_client: AsyncTelnyx) -> None: action = await async_client.porting_orders.actions.activate( @@ -196,6 +214,7 @@ async def test_method_activate(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ActionActivateResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_activate(self, async_client: AsyncTelnyx) -> None: response = await async_client.porting_orders.actions.with_raw_response.activate( @@ -207,6 +226,7 @@ async def test_raw_response_activate(self, async_client: AsyncTelnyx) -> None: action = await response.parse() assert_matches_type(ActionActivateResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_activate(self, async_client: AsyncTelnyx) -> None: async with async_client.porting_orders.actions.with_streaming_response.activate( @@ -220,6 +240,7 @@ async def test_streaming_response_activate(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_activate(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -227,6 +248,7 @@ async def test_path_params_activate(self, async_client: AsyncTelnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_cancel(self, async_client: AsyncTelnyx) -> None: action = await async_client.porting_orders.actions.cancel( @@ -234,6 +256,7 @@ async def test_method_cancel(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ActionCancelResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_cancel(self, async_client: AsyncTelnyx) -> None: response = await async_client.porting_orders.actions.with_raw_response.cancel( @@ -245,6 +268,7 @@ async def test_raw_response_cancel(self, async_client: AsyncTelnyx) -> None: action = await response.parse() assert_matches_type(ActionCancelResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_cancel(self, async_client: AsyncTelnyx) -> None: async with async_client.porting_orders.actions.with_streaming_response.cancel( @@ -258,6 +282,7 @@ async def test_streaming_response_cancel(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_cancel(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -265,6 +290,7 @@ async def test_path_params_cancel(self, async_client: AsyncTelnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_confirm(self, async_client: AsyncTelnyx) -> None: action = await async_client.porting_orders.actions.confirm( @@ -272,6 +298,7 @@ async def test_method_confirm(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ActionConfirmResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_confirm(self, async_client: AsyncTelnyx) -> None: response = await async_client.porting_orders.actions.with_raw_response.confirm( @@ -283,6 +310,7 @@ async def test_raw_response_confirm(self, async_client: AsyncTelnyx) -> None: action = await response.parse() assert_matches_type(ActionConfirmResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_confirm(self, async_client: AsyncTelnyx) -> None: async with async_client.porting_orders.actions.with_streaming_response.confirm( @@ -296,6 +324,7 @@ async def test_streaming_response_confirm(self, async_client: AsyncTelnyx) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_confirm(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -303,6 +332,7 @@ async def test_path_params_confirm(self, async_client: AsyncTelnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_share(self, async_client: AsyncTelnyx) -> None: action = await async_client.porting_orders.actions.share( @@ -310,6 +340,7 @@ async def test_method_share(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ActionShareResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_share_with_all_params(self, async_client: AsyncTelnyx) -> None: action = await async_client.porting_orders.actions.share( @@ -319,6 +350,7 @@ async def test_method_share_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(ActionShareResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_share(self, async_client: AsyncTelnyx) -> None: response = await async_client.porting_orders.actions.with_raw_response.share( @@ -330,6 +362,7 @@ async def test_raw_response_share(self, async_client: AsyncTelnyx) -> None: action = await response.parse() assert_matches_type(ActionShareResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_share(self, async_client: AsyncTelnyx) -> None: async with async_client.porting_orders.actions.with_streaming_response.share( @@ -343,6 +376,7 @@ async def test_streaming_response_share(self, async_client: AsyncTelnyx) -> None assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_share(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): diff --git a/tests/api_resources/porting_orders/test_activation_jobs.py b/tests/api_resources/porting_orders/test_activation_jobs.py index 3aa7343f..99c5d881 100644 --- a/tests/api_resources/porting_orders/test_activation_jobs.py +++ b/tests/api_resources/porting_orders/test_activation_jobs.py @@ -22,6 +22,7 @@ class TestActivationJobs: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: activation_job = client.porting_orders.activation_jobs.retrieve( @@ -30,6 +31,7 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(ActivationJobRetrieveResponse, activation_job, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.porting_orders.activation_jobs.with_raw_response.retrieve( @@ -42,6 +44,7 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: activation_job = response.parse() assert_matches_type(ActivationJobRetrieveResponse, activation_job, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.porting_orders.activation_jobs.with_streaming_response.retrieve( @@ -56,6 +59,7 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -70,6 +74,7 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: id="182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update(self, client: Telnyx) -> None: activation_job = client.porting_orders.activation_jobs.update( @@ -78,6 +83,7 @@ def test_method_update(self, client: Telnyx) -> None: ) assert_matches_type(ActivationJobUpdateResponse, activation_job, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_with_all_params(self, client: Telnyx) -> None: activation_job = client.porting_orders.activation_jobs.update( @@ -87,6 +93,7 @@ def test_method_update_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ActivationJobUpdateResponse, activation_job, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update(self, client: Telnyx) -> None: response = client.porting_orders.activation_jobs.with_raw_response.update( @@ -99,6 +106,7 @@ def test_raw_response_update(self, client: Telnyx) -> None: activation_job = response.parse() assert_matches_type(ActivationJobUpdateResponse, activation_job, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update(self, client: Telnyx) -> None: with client.porting_orders.activation_jobs.with_streaming_response.update( @@ -113,6 +121,7 @@ def test_streaming_response_update(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -127,6 +136,7 @@ def test_path_params_update(self, client: Telnyx) -> None: id="182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: activation_job = client.porting_orders.activation_jobs.list( @@ -134,6 +144,7 @@ def test_method_list(self, client: Telnyx) -> None: ) assert_matches_type(ActivationJobListResponse, activation_job, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: activation_job = client.porting_orders.activation_jobs.list( @@ -145,6 +156,7 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ActivationJobListResponse, activation_job, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.porting_orders.activation_jobs.with_raw_response.list( @@ -156,6 +168,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: activation_job = response.parse() assert_matches_type(ActivationJobListResponse, activation_job, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.porting_orders.activation_jobs.with_streaming_response.list( @@ -169,6 +182,7 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_list(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -182,6 +196,7 @@ class TestAsyncActivationJobs: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: activation_job = await async_client.porting_orders.activation_jobs.retrieve( @@ -190,6 +205,7 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ActivationJobRetrieveResponse, activation_job, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.porting_orders.activation_jobs.with_raw_response.retrieve( @@ -202,6 +218,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: activation_job = await response.parse() assert_matches_type(ActivationJobRetrieveResponse, activation_job, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.porting_orders.activation_jobs.with_streaming_response.retrieve( @@ -216,6 +233,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -230,6 +248,7 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: id="182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update(self, async_client: AsyncTelnyx) -> None: activation_job = await async_client.porting_orders.activation_jobs.update( @@ -238,6 +257,7 @@ async def test_method_update(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ActivationJobUpdateResponse, activation_job, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> None: activation_job = await async_client.porting_orders.activation_jobs.update( @@ -247,6 +267,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(ActivationJobUpdateResponse, activation_job, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: response = await async_client.porting_orders.activation_jobs.with_raw_response.update( @@ -259,6 +280,7 @@ async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: activation_job = await response.parse() assert_matches_type(ActivationJobUpdateResponse, activation_job, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> None: async with async_client.porting_orders.activation_jobs.with_streaming_response.update( @@ -273,6 +295,7 @@ async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -287,6 +310,7 @@ async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: id="182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: activation_job = await async_client.porting_orders.activation_jobs.list( @@ -294,6 +318,7 @@ async def test_method_list(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ActivationJobListResponse, activation_job, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: activation_job = await async_client.porting_orders.activation_jobs.list( @@ -305,6 +330,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(ActivationJobListResponse, activation_job, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.porting_orders.activation_jobs.with_raw_response.list( @@ -316,6 +342,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: activation_job = await response.parse() assert_matches_type(ActivationJobListResponse, activation_job, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.porting_orders.activation_jobs.with_streaming_response.list( @@ -329,6 +356,7 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_list(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): diff --git a/tests/api_resources/porting_orders/test_additional_documents.py b/tests/api_resources/porting_orders/test_additional_documents.py index 41b68ffa..3f3eebb4 100644 --- a/tests/api_resources/porting_orders/test_additional_documents.py +++ b/tests/api_resources/porting_orders/test_additional_documents.py @@ -20,6 +20,7 @@ class TestAdditionalDocuments: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: additional_document = client.porting_orders.additional_documents.create( @@ -27,6 +28,7 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(AdditionalDocumentCreateResponse, additional_document, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: additional_document = client.porting_orders.additional_documents.create( @@ -44,6 +46,7 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(AdditionalDocumentCreateResponse, additional_document, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.porting_orders.additional_documents.with_raw_response.create( @@ -55,6 +58,7 @@ def test_raw_response_create(self, client: Telnyx) -> None: additional_document = response.parse() assert_matches_type(AdditionalDocumentCreateResponse, additional_document, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.porting_orders.additional_documents.with_streaming_response.create( @@ -68,6 +72,7 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_create(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -75,6 +80,7 @@ def test_path_params_create(self, client: Telnyx) -> None: id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: additional_document = client.porting_orders.additional_documents.list( @@ -82,6 +88,7 @@ def test_method_list(self, client: Telnyx) -> None: ) assert_matches_type(AdditionalDocumentListResponse, additional_document, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: additional_document = client.porting_orders.additional_documents.list( @@ -95,6 +102,7 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(AdditionalDocumentListResponse, additional_document, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.porting_orders.additional_documents.with_raw_response.list( @@ -106,6 +114,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: additional_document = response.parse() assert_matches_type(AdditionalDocumentListResponse, additional_document, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.porting_orders.additional_documents.with_streaming_response.list( @@ -119,6 +128,7 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_list(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -126,6 +136,7 @@ def test_path_params_list(self, client: Telnyx) -> None: id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: additional_document = client.porting_orders.additional_documents.delete( @@ -134,6 +145,7 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert additional_document is None + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.porting_orders.additional_documents.with_raw_response.delete( @@ -146,6 +158,7 @@ def test_raw_response_delete(self, client: Telnyx) -> None: additional_document = response.parse() assert additional_document is None + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.porting_orders.additional_documents.with_streaming_response.delete( @@ -160,6 +173,7 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -182,6 +196,7 @@ class TestAsyncAdditionalDocuments: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: additional_document = await async_client.porting_orders.additional_documents.create( @@ -189,6 +204,7 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(AdditionalDocumentCreateResponse, additional_document, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: additional_document = await async_client.porting_orders.additional_documents.create( @@ -206,6 +222,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(AdditionalDocumentCreateResponse, additional_document, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.porting_orders.additional_documents.with_raw_response.create( @@ -217,6 +234,7 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: additional_document = await response.parse() assert_matches_type(AdditionalDocumentCreateResponse, additional_document, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.porting_orders.additional_documents.with_streaming_response.create( @@ -230,6 +248,7 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_create(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -237,6 +256,7 @@ async def test_path_params_create(self, async_client: AsyncTelnyx) -> None: id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: additional_document = await async_client.porting_orders.additional_documents.list( @@ -244,6 +264,7 @@ async def test_method_list(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(AdditionalDocumentListResponse, additional_document, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: additional_document = await async_client.porting_orders.additional_documents.list( @@ -257,6 +278,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(AdditionalDocumentListResponse, additional_document, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.porting_orders.additional_documents.with_raw_response.list( @@ -268,6 +290,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: additional_document = await response.parse() assert_matches_type(AdditionalDocumentListResponse, additional_document, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.porting_orders.additional_documents.with_streaming_response.list( @@ -281,6 +304,7 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_list(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -288,6 +312,7 @@ async def test_path_params_list(self, async_client: AsyncTelnyx) -> None: id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: additional_document = await async_client.porting_orders.additional_documents.delete( @@ -296,6 +321,7 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert additional_document is None + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.porting_orders.additional_documents.with_raw_response.delete( @@ -308,6 +334,7 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: additional_document = await response.parse() assert additional_document is None + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.porting_orders.additional_documents.with_streaming_response.delete( @@ -322,6 +349,7 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): diff --git a/tests/api_resources/porting_orders/test_associated_phone_numbers.py b/tests/api_resources/porting_orders/test_associated_phone_numbers.py index ff983a65..2d9ba572 100644 --- a/tests/api_resources/porting_orders/test_associated_phone_numbers.py +++ b/tests/api_resources/porting_orders/test_associated_phone_numbers.py @@ -21,6 +21,7 @@ class TestAssociatedPhoneNumbers: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: associated_phone_number = client.porting_orders.associated_phone_numbers.create( @@ -30,6 +31,7 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(AssociatedPhoneNumberCreateResponse, associated_phone_number, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: associated_phone_number = client.porting_orders.associated_phone_numbers.create( @@ -42,6 +44,7 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(AssociatedPhoneNumberCreateResponse, associated_phone_number, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.porting_orders.associated_phone_numbers.with_raw_response.create( @@ -55,6 +58,7 @@ def test_raw_response_create(self, client: Telnyx) -> None: associated_phone_number = response.parse() assert_matches_type(AssociatedPhoneNumberCreateResponse, associated_phone_number, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.porting_orders.associated_phone_numbers.with_streaming_response.create( @@ -70,6 +74,7 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_create(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `porting_order_id` but received ''"): @@ -79,6 +84,7 @@ def test_path_params_create(self, client: Telnyx) -> None: phone_number_range={}, ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: associated_phone_number = client.porting_orders.associated_phone_numbers.list( @@ -86,6 +92,7 @@ def test_method_list(self, client: Telnyx) -> None: ) assert_matches_type(AssociatedPhoneNumberListResponse, associated_phone_number, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: associated_phone_number = client.porting_orders.associated_phone_numbers.list( @@ -102,6 +109,7 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(AssociatedPhoneNumberListResponse, associated_phone_number, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.porting_orders.associated_phone_numbers.with_raw_response.list( @@ -113,6 +121,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: associated_phone_number = response.parse() assert_matches_type(AssociatedPhoneNumberListResponse, associated_phone_number, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.porting_orders.associated_phone_numbers.with_streaming_response.list( @@ -126,6 +135,7 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_list(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `porting_order_id` but received ''"): @@ -133,6 +143,7 @@ def test_path_params_list(self, client: Telnyx) -> None: porting_order_id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: associated_phone_number = client.porting_orders.associated_phone_numbers.delete( @@ -141,6 +152,7 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert_matches_type(AssociatedPhoneNumberDeleteResponse, associated_phone_number, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.porting_orders.associated_phone_numbers.with_raw_response.delete( @@ -153,6 +165,7 @@ def test_raw_response_delete(self, client: Telnyx) -> None: associated_phone_number = response.parse() assert_matches_type(AssociatedPhoneNumberDeleteResponse, associated_phone_number, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.porting_orders.associated_phone_numbers.with_streaming_response.delete( @@ -167,6 +180,7 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `porting_order_id` but received ''"): @@ -187,6 +201,7 @@ class TestAsyncAssociatedPhoneNumbers: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: associated_phone_number = await async_client.porting_orders.associated_phone_numbers.create( @@ -196,6 +211,7 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(AssociatedPhoneNumberCreateResponse, associated_phone_number, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: associated_phone_number = await async_client.porting_orders.associated_phone_numbers.create( @@ -208,6 +224,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(AssociatedPhoneNumberCreateResponse, associated_phone_number, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.porting_orders.associated_phone_numbers.with_raw_response.create( @@ -221,6 +238,7 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: associated_phone_number = await response.parse() assert_matches_type(AssociatedPhoneNumberCreateResponse, associated_phone_number, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.porting_orders.associated_phone_numbers.with_streaming_response.create( @@ -236,6 +254,7 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_create(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `porting_order_id` but received ''"): @@ -245,6 +264,7 @@ async def test_path_params_create(self, async_client: AsyncTelnyx) -> None: phone_number_range={}, ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: associated_phone_number = await async_client.porting_orders.associated_phone_numbers.list( @@ -252,6 +272,7 @@ async def test_method_list(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(AssociatedPhoneNumberListResponse, associated_phone_number, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: associated_phone_number = await async_client.porting_orders.associated_phone_numbers.list( @@ -268,6 +289,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(AssociatedPhoneNumberListResponse, associated_phone_number, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.porting_orders.associated_phone_numbers.with_raw_response.list( @@ -279,6 +301,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: associated_phone_number = await response.parse() assert_matches_type(AssociatedPhoneNumberListResponse, associated_phone_number, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.porting_orders.associated_phone_numbers.with_streaming_response.list( @@ -292,6 +315,7 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_list(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `porting_order_id` but received ''"): @@ -299,6 +323,7 @@ async def test_path_params_list(self, async_client: AsyncTelnyx) -> None: porting_order_id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: associated_phone_number = await async_client.porting_orders.associated_phone_numbers.delete( @@ -307,6 +332,7 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(AssociatedPhoneNumberDeleteResponse, associated_phone_number, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.porting_orders.associated_phone_numbers.with_raw_response.delete( @@ -319,6 +345,7 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: associated_phone_number = await response.parse() assert_matches_type(AssociatedPhoneNumberDeleteResponse, associated_phone_number, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.porting_orders.associated_phone_numbers.with_streaming_response.delete( @@ -333,6 +360,7 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `porting_order_id` but received ''"): diff --git a/tests/api_resources/porting_orders/test_comments.py b/tests/api_resources/porting_orders/test_comments.py index f3b5c14e..4365e368 100644 --- a/tests/api_resources/porting_orders/test_comments.py +++ b/tests/api_resources/porting_orders/test_comments.py @@ -20,6 +20,7 @@ class TestComments: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: comment = client.porting_orders.comments.create( @@ -27,6 +28,7 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(CommentCreateResponse, comment, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: comment = client.porting_orders.comments.create( @@ -35,6 +37,7 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(CommentCreateResponse, comment, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.porting_orders.comments.with_raw_response.create( @@ -46,6 +49,7 @@ def test_raw_response_create(self, client: Telnyx) -> None: comment = response.parse() assert_matches_type(CommentCreateResponse, comment, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.porting_orders.comments.with_streaming_response.create( @@ -59,6 +63,7 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_create(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -66,6 +71,7 @@ def test_path_params_create(self, client: Telnyx) -> None: id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: comment = client.porting_orders.comments.list( @@ -73,6 +79,7 @@ def test_method_list(self, client: Telnyx) -> None: ) assert_matches_type(CommentListResponse, comment, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: comment = client.porting_orders.comments.list( @@ -84,6 +91,7 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(CommentListResponse, comment, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.porting_orders.comments.with_raw_response.list( @@ -95,6 +103,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: comment = response.parse() assert_matches_type(CommentListResponse, comment, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.porting_orders.comments.with_streaming_response.list( @@ -108,6 +117,7 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_list(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -121,6 +131,7 @@ class TestAsyncComments: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: comment = await async_client.porting_orders.comments.create( @@ -128,6 +139,7 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(CommentCreateResponse, comment, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: comment = await async_client.porting_orders.comments.create( @@ -136,6 +148,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(CommentCreateResponse, comment, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.porting_orders.comments.with_raw_response.create( @@ -147,6 +160,7 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: comment = await response.parse() assert_matches_type(CommentCreateResponse, comment, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.porting_orders.comments.with_streaming_response.create( @@ -160,6 +174,7 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_create(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -167,6 +182,7 @@ async def test_path_params_create(self, async_client: AsyncTelnyx) -> None: id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: comment = await async_client.porting_orders.comments.list( @@ -174,6 +190,7 @@ async def test_method_list(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(CommentListResponse, comment, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: comment = await async_client.porting_orders.comments.list( @@ -185,6 +202,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(CommentListResponse, comment, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.porting_orders.comments.with_raw_response.list( @@ -196,6 +214,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: comment = await response.parse() assert_matches_type(CommentListResponse, comment, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.porting_orders.comments.with_streaming_response.list( @@ -209,6 +228,7 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_list(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): diff --git a/tests/api_resources/porting_orders/test_phone_number_blocks.py b/tests/api_resources/porting_orders/test_phone_number_blocks.py index df9d9f3b..cb7e7b2b 100644 --- a/tests/api_resources/porting_orders/test_phone_number_blocks.py +++ b/tests/api_resources/porting_orders/test_phone_number_blocks.py @@ -21,6 +21,7 @@ class TestPhoneNumberBlocks: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: phone_number_block = client.porting_orders.phone_number_blocks.create( @@ -38,6 +39,7 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(PhoneNumberBlockCreateResponse, phone_number_block, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.porting_orders.phone_number_blocks.with_raw_response.create( @@ -59,6 +61,7 @@ def test_raw_response_create(self, client: Telnyx) -> None: phone_number_block = response.parse() assert_matches_type(PhoneNumberBlockCreateResponse, phone_number_block, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.porting_orders.phone_number_blocks.with_streaming_response.create( @@ -82,6 +85,7 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_create(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `porting_order_id` but received ''"): @@ -99,6 +103,7 @@ def test_path_params_create(self, client: Telnyx) -> None: }, ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: phone_number_block = client.porting_orders.phone_number_blocks.list( @@ -106,6 +111,7 @@ def test_method_list(self, client: Telnyx) -> None: ) assert_matches_type(PhoneNumberBlockListResponse, phone_number_block, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: phone_number_block = client.porting_orders.phone_number_blocks.list( @@ -126,6 +132,7 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(PhoneNumberBlockListResponse, phone_number_block, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.porting_orders.phone_number_blocks.with_raw_response.list( @@ -137,6 +144,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: phone_number_block = response.parse() assert_matches_type(PhoneNumberBlockListResponse, phone_number_block, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.porting_orders.phone_number_blocks.with_streaming_response.list( @@ -150,6 +158,7 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_list(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `porting_order_id` but received ''"): @@ -157,6 +166,7 @@ def test_path_params_list(self, client: Telnyx) -> None: porting_order_id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: phone_number_block = client.porting_orders.phone_number_blocks.delete( @@ -165,6 +175,7 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert_matches_type(PhoneNumberBlockDeleteResponse, phone_number_block, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.porting_orders.phone_number_blocks.with_raw_response.delete( @@ -177,6 +188,7 @@ def test_raw_response_delete(self, client: Telnyx) -> None: phone_number_block = response.parse() assert_matches_type(PhoneNumberBlockDeleteResponse, phone_number_block, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.porting_orders.phone_number_blocks.with_streaming_response.delete( @@ -191,6 +203,7 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `porting_order_id` but received ''"): @@ -211,6 +224,7 @@ class TestAsyncPhoneNumberBlocks: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: phone_number_block = await async_client.porting_orders.phone_number_blocks.create( @@ -228,6 +242,7 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(PhoneNumberBlockCreateResponse, phone_number_block, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.porting_orders.phone_number_blocks.with_raw_response.create( @@ -249,6 +264,7 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: phone_number_block = await response.parse() assert_matches_type(PhoneNumberBlockCreateResponse, phone_number_block, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.porting_orders.phone_number_blocks.with_streaming_response.create( @@ -272,6 +288,7 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_create(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `porting_order_id` but received ''"): @@ -289,6 +306,7 @@ async def test_path_params_create(self, async_client: AsyncTelnyx) -> None: }, ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: phone_number_block = await async_client.porting_orders.phone_number_blocks.list( @@ -296,6 +314,7 @@ async def test_method_list(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(PhoneNumberBlockListResponse, phone_number_block, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: phone_number_block = await async_client.porting_orders.phone_number_blocks.list( @@ -316,6 +335,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(PhoneNumberBlockListResponse, phone_number_block, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.porting_orders.phone_number_blocks.with_raw_response.list( @@ -327,6 +347,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: phone_number_block = await response.parse() assert_matches_type(PhoneNumberBlockListResponse, phone_number_block, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.porting_orders.phone_number_blocks.with_streaming_response.list( @@ -340,6 +361,7 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_list(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `porting_order_id` but received ''"): @@ -347,6 +369,7 @@ async def test_path_params_list(self, async_client: AsyncTelnyx) -> None: porting_order_id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: phone_number_block = await async_client.porting_orders.phone_number_blocks.delete( @@ -355,6 +378,7 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(PhoneNumberBlockDeleteResponse, phone_number_block, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.porting_orders.phone_number_blocks.with_raw_response.delete( @@ -367,6 +391,7 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: phone_number_block = await response.parse() assert_matches_type(PhoneNumberBlockDeleteResponse, phone_number_block, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.porting_orders.phone_number_blocks.with_streaming_response.delete( @@ -381,6 +406,7 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `porting_order_id` but received ''"): diff --git a/tests/api_resources/porting_orders/test_phone_number_configurations.py b/tests/api_resources/porting_orders/test_phone_number_configurations.py index 7f740449..1080111e 100644 --- a/tests/api_resources/porting_orders/test_phone_number_configurations.py +++ b/tests/api_resources/porting_orders/test_phone_number_configurations.py @@ -20,11 +20,13 @@ class TestPhoneNumberConfigurations: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: phone_number_configuration = client.porting_orders.phone_number_configurations.create() assert_matches_type(PhoneNumberConfigurationCreateResponse, phone_number_configuration, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: phone_number_configuration = client.porting_orders.phone_number_configurations.create( @@ -37,6 +39,7 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(PhoneNumberConfigurationCreateResponse, phone_number_configuration, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.porting_orders.phone_number_configurations.with_raw_response.create() @@ -46,6 +49,7 @@ def test_raw_response_create(self, client: Telnyx) -> None: phone_number_configuration = response.parse() assert_matches_type(PhoneNumberConfigurationCreateResponse, phone_number_configuration, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.porting_orders.phone_number_configurations.with_streaming_response.create() as response: @@ -57,11 +61,13 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: phone_number_configuration = client.porting_orders.phone_number_configurations.list() assert_matches_type(PhoneNumberConfigurationListResponse, phone_number_configuration, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: phone_number_configuration = client.porting_orders.phone_number_configurations.list( @@ -78,6 +84,7 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(PhoneNumberConfigurationListResponse, phone_number_configuration, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.porting_orders.phone_number_configurations.with_raw_response.list() @@ -87,6 +94,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: phone_number_configuration = response.parse() assert_matches_type(PhoneNumberConfigurationListResponse, phone_number_configuration, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.porting_orders.phone_number_configurations.with_streaming_response.list() as response: @@ -104,11 +112,13 @@ class TestAsyncPhoneNumberConfigurations: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: phone_number_configuration = await async_client.porting_orders.phone_number_configurations.create() assert_matches_type(PhoneNumberConfigurationCreateResponse, phone_number_configuration, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: phone_number_configuration = await async_client.porting_orders.phone_number_configurations.create( @@ -121,6 +131,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(PhoneNumberConfigurationCreateResponse, phone_number_configuration, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.porting_orders.phone_number_configurations.with_raw_response.create() @@ -130,6 +141,7 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: phone_number_configuration = await response.parse() assert_matches_type(PhoneNumberConfigurationCreateResponse, phone_number_configuration, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.porting_orders.phone_number_configurations.with_streaming_response.create() as response: @@ -141,11 +153,13 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: phone_number_configuration = await async_client.porting_orders.phone_number_configurations.list() assert_matches_type(PhoneNumberConfigurationListResponse, phone_number_configuration, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: phone_number_configuration = await async_client.porting_orders.phone_number_configurations.list( @@ -162,6 +176,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(PhoneNumberConfigurationListResponse, phone_number_configuration, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.porting_orders.phone_number_configurations.with_raw_response.list() @@ -171,6 +186,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: phone_number_configuration = await response.parse() assert_matches_type(PhoneNumberConfigurationListResponse, phone_number_configuration, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.porting_orders.phone_number_configurations.with_streaming_response.list() as response: diff --git a/tests/api_resources/porting_orders/test_phone_number_extensions.py b/tests/api_resources/porting_orders/test_phone_number_extensions.py index 0a67b6dd..60327fba 100644 --- a/tests/api_resources/porting_orders/test_phone_number_extensions.py +++ b/tests/api_resources/porting_orders/test_phone_number_extensions.py @@ -21,6 +21,7 @@ class TestPhoneNumberExtensions: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: phone_number_extension = client.porting_orders.phone_number_extensions.create( @@ -39,6 +40,7 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(PhoneNumberExtensionCreateResponse, phone_number_extension, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.porting_orders.phone_number_extensions.with_raw_response.create( @@ -61,6 +63,7 @@ def test_raw_response_create(self, client: Telnyx) -> None: phone_number_extension = response.parse() assert_matches_type(PhoneNumberExtensionCreateResponse, phone_number_extension, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.porting_orders.phone_number_extensions.with_streaming_response.create( @@ -85,6 +88,7 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_create(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `porting_order_id` but received ''"): @@ -103,6 +107,7 @@ def test_path_params_create(self, client: Telnyx) -> None: porting_phone_number_id="f24151b6-3389-41d3-8747-7dd8c681e5e2", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: phone_number_extension = client.porting_orders.phone_number_extensions.list( @@ -110,6 +115,7 @@ def test_method_list(self, client: Telnyx) -> None: ) assert_matches_type(PhoneNumberExtensionListResponse, phone_number_extension, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: phone_number_extension = client.porting_orders.phone_number_extensions.list( @@ -123,6 +129,7 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(PhoneNumberExtensionListResponse, phone_number_extension, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.porting_orders.phone_number_extensions.with_raw_response.list( @@ -134,6 +141,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: phone_number_extension = response.parse() assert_matches_type(PhoneNumberExtensionListResponse, phone_number_extension, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.porting_orders.phone_number_extensions.with_streaming_response.list( @@ -147,6 +155,7 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_list(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `porting_order_id` but received ''"): @@ -154,6 +163,7 @@ def test_path_params_list(self, client: Telnyx) -> None: porting_order_id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: phone_number_extension = client.porting_orders.phone_number_extensions.delete( @@ -162,6 +172,7 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert_matches_type(PhoneNumberExtensionDeleteResponse, phone_number_extension, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.porting_orders.phone_number_extensions.with_raw_response.delete( @@ -174,6 +185,7 @@ def test_raw_response_delete(self, client: Telnyx) -> None: phone_number_extension = response.parse() assert_matches_type(PhoneNumberExtensionDeleteResponse, phone_number_extension, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.porting_orders.phone_number_extensions.with_streaming_response.delete( @@ -188,6 +200,7 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `porting_order_id` but received ''"): @@ -208,6 +221,7 @@ class TestAsyncPhoneNumberExtensions: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: phone_number_extension = await async_client.porting_orders.phone_number_extensions.create( @@ -226,6 +240,7 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(PhoneNumberExtensionCreateResponse, phone_number_extension, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.porting_orders.phone_number_extensions.with_raw_response.create( @@ -248,6 +263,7 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: phone_number_extension = await response.parse() assert_matches_type(PhoneNumberExtensionCreateResponse, phone_number_extension, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.porting_orders.phone_number_extensions.with_streaming_response.create( @@ -272,6 +288,7 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_create(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `porting_order_id` but received ''"): @@ -290,6 +307,7 @@ async def test_path_params_create(self, async_client: AsyncTelnyx) -> None: porting_phone_number_id="f24151b6-3389-41d3-8747-7dd8c681e5e2", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: phone_number_extension = await async_client.porting_orders.phone_number_extensions.list( @@ -297,6 +315,7 @@ async def test_method_list(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(PhoneNumberExtensionListResponse, phone_number_extension, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: phone_number_extension = await async_client.porting_orders.phone_number_extensions.list( @@ -310,6 +329,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(PhoneNumberExtensionListResponse, phone_number_extension, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.porting_orders.phone_number_extensions.with_raw_response.list( @@ -321,6 +341,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: phone_number_extension = await response.parse() assert_matches_type(PhoneNumberExtensionListResponse, phone_number_extension, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.porting_orders.phone_number_extensions.with_streaming_response.list( @@ -334,6 +355,7 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_list(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `porting_order_id` but received ''"): @@ -341,6 +363,7 @@ async def test_path_params_list(self, async_client: AsyncTelnyx) -> None: porting_order_id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: phone_number_extension = await async_client.porting_orders.phone_number_extensions.delete( @@ -349,6 +372,7 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(PhoneNumberExtensionDeleteResponse, phone_number_extension, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.porting_orders.phone_number_extensions.with_raw_response.delete( @@ -361,6 +385,7 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: phone_number_extension = await response.parse() assert_matches_type(PhoneNumberExtensionDeleteResponse, phone_number_extension, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.porting_orders.phone_number_extensions.with_streaming_response.delete( @@ -375,6 +400,7 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `porting_order_id` but received ''"): diff --git a/tests/api_resources/porting_orders/test_verification_codes.py b/tests/api_resources/porting_orders/test_verification_codes.py index 1802292f..3bd0498a 100644 --- a/tests/api_resources/porting_orders/test_verification_codes.py +++ b/tests/api_resources/porting_orders/test_verification_codes.py @@ -20,6 +20,7 @@ class TestVerificationCodes: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: verification_code = client.porting_orders.verification_codes.list( @@ -27,6 +28,7 @@ def test_method_list(self, client: Telnyx) -> None: ) assert_matches_type(VerificationCodeListResponse, verification_code, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: verification_code = client.porting_orders.verification_codes.list( @@ -40,6 +42,7 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(VerificationCodeListResponse, verification_code, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.porting_orders.verification_codes.with_raw_response.list( @@ -51,6 +54,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: verification_code = response.parse() assert_matches_type(VerificationCodeListResponse, verification_code, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.porting_orders.verification_codes.with_streaming_response.list( @@ -64,6 +68,7 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_list(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -71,6 +76,7 @@ def test_path_params_list(self, client: Telnyx) -> None: id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_send(self, client: Telnyx) -> None: verification_code = client.porting_orders.verification_codes.send( @@ -78,6 +84,7 @@ def test_method_send(self, client: Telnyx) -> None: ) assert verification_code is None + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_send_with_all_params(self, client: Telnyx) -> None: verification_code = client.porting_orders.verification_codes.send( @@ -87,6 +94,7 @@ def test_method_send_with_all_params(self, client: Telnyx) -> None: ) assert verification_code is None + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_send(self, client: Telnyx) -> None: response = client.porting_orders.verification_codes.with_raw_response.send( @@ -98,6 +106,7 @@ def test_raw_response_send(self, client: Telnyx) -> None: verification_code = response.parse() assert verification_code is None + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_send(self, client: Telnyx) -> None: with client.porting_orders.verification_codes.with_streaming_response.send( @@ -111,6 +120,7 @@ def test_streaming_response_send(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_send(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -118,6 +128,7 @@ def test_path_params_send(self, client: Telnyx) -> None: id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_verify(self, client: Telnyx) -> None: verification_code = client.porting_orders.verification_codes.verify( @@ -125,6 +136,7 @@ def test_method_verify(self, client: Telnyx) -> None: ) assert_matches_type(VerificationCodeVerifyResponse, verification_code, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_verify_with_all_params(self, client: Telnyx) -> None: verification_code = client.porting_orders.verification_codes.verify( @@ -142,6 +154,7 @@ def test_method_verify_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(VerificationCodeVerifyResponse, verification_code, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_verify(self, client: Telnyx) -> None: response = client.porting_orders.verification_codes.with_raw_response.verify( @@ -153,6 +166,7 @@ def test_raw_response_verify(self, client: Telnyx) -> None: verification_code = response.parse() assert_matches_type(VerificationCodeVerifyResponse, verification_code, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_verify(self, client: Telnyx) -> None: with client.porting_orders.verification_codes.with_streaming_response.verify( @@ -166,6 +180,7 @@ def test_streaming_response_verify(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_verify(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -179,6 +194,7 @@ class TestAsyncVerificationCodes: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: verification_code = await async_client.porting_orders.verification_codes.list( @@ -186,6 +202,7 @@ async def test_method_list(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(VerificationCodeListResponse, verification_code, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: verification_code = await async_client.porting_orders.verification_codes.list( @@ -199,6 +216,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(VerificationCodeListResponse, verification_code, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.porting_orders.verification_codes.with_raw_response.list( @@ -210,6 +228,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: verification_code = await response.parse() assert_matches_type(VerificationCodeListResponse, verification_code, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.porting_orders.verification_codes.with_streaming_response.list( @@ -223,6 +242,7 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_list(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -230,6 +250,7 @@ async def test_path_params_list(self, async_client: AsyncTelnyx) -> None: id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_send(self, async_client: AsyncTelnyx) -> None: verification_code = await async_client.porting_orders.verification_codes.send( @@ -237,6 +258,7 @@ async def test_method_send(self, async_client: AsyncTelnyx) -> None: ) assert verification_code is None + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_send_with_all_params(self, async_client: AsyncTelnyx) -> None: verification_code = await async_client.porting_orders.verification_codes.send( @@ -246,6 +268,7 @@ async def test_method_send_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert verification_code is None + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_send(self, async_client: AsyncTelnyx) -> None: response = await async_client.porting_orders.verification_codes.with_raw_response.send( @@ -257,6 +280,7 @@ async def test_raw_response_send(self, async_client: AsyncTelnyx) -> None: verification_code = await response.parse() assert verification_code is None + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_send(self, async_client: AsyncTelnyx) -> None: async with async_client.porting_orders.verification_codes.with_streaming_response.send( @@ -270,6 +294,7 @@ async def test_streaming_response_send(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_send(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -277,6 +302,7 @@ async def test_path_params_send(self, async_client: AsyncTelnyx) -> None: id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_verify(self, async_client: AsyncTelnyx) -> None: verification_code = await async_client.porting_orders.verification_codes.verify( @@ -284,6 +310,7 @@ async def test_method_verify(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(VerificationCodeVerifyResponse, verification_code, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_verify_with_all_params(self, async_client: AsyncTelnyx) -> None: verification_code = await async_client.porting_orders.verification_codes.verify( @@ -301,6 +328,7 @@ async def test_method_verify_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(VerificationCodeVerifyResponse, verification_code, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_verify(self, async_client: AsyncTelnyx) -> None: response = await async_client.porting_orders.verification_codes.with_raw_response.verify( @@ -312,6 +340,7 @@ async def test_raw_response_verify(self, async_client: AsyncTelnyx) -> None: verification_code = await response.parse() assert_matches_type(VerificationCodeVerifyResponse, verification_code, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_verify(self, async_client: AsyncTelnyx) -> None: async with async_client.porting_orders.verification_codes.with_streaming_response.verify( @@ -325,6 +354,7 @@ async def test_streaming_response_verify(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_verify(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): diff --git a/tests/api_resources/portouts/test_comments.py b/tests/api_resources/portouts/test_comments.py index 79b5e943..9effc8c0 100644 --- a/tests/api_resources/portouts/test_comments.py +++ b/tests/api_resources/portouts/test_comments.py @@ -17,6 +17,7 @@ class TestComments: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: comment = client.portouts.comments.create( @@ -24,6 +25,7 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(CommentCreateResponse, comment, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: comment = client.portouts.comments.create( @@ -32,6 +34,7 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(CommentCreateResponse, comment, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.portouts.comments.with_raw_response.create( @@ -43,6 +46,7 @@ def test_raw_response_create(self, client: Telnyx) -> None: comment = response.parse() assert_matches_type(CommentCreateResponse, comment, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.portouts.comments.with_streaming_response.create( @@ -56,6 +60,7 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_create(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -63,6 +68,7 @@ def test_path_params_create(self, client: Telnyx) -> None: id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: comment = client.portouts.comments.list( @@ -70,6 +76,7 @@ def test_method_list(self, client: Telnyx) -> None: ) assert_matches_type(CommentListResponse, comment, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.portouts.comments.with_raw_response.list( @@ -81,6 +88,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: comment = response.parse() assert_matches_type(CommentListResponse, comment, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.portouts.comments.with_streaming_response.list( @@ -94,6 +102,7 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_list(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -107,6 +116,7 @@ class TestAsyncComments: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: comment = await async_client.portouts.comments.create( @@ -114,6 +124,7 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(CommentCreateResponse, comment, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: comment = await async_client.portouts.comments.create( @@ -122,6 +133,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(CommentCreateResponse, comment, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.portouts.comments.with_raw_response.create( @@ -133,6 +145,7 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: comment = await response.parse() assert_matches_type(CommentCreateResponse, comment, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.portouts.comments.with_streaming_response.create( @@ -146,6 +159,7 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_create(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -153,6 +167,7 @@ async def test_path_params_create(self, async_client: AsyncTelnyx) -> None: id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: comment = await async_client.portouts.comments.list( @@ -160,6 +175,7 @@ async def test_method_list(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(CommentListResponse, comment, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.portouts.comments.with_raw_response.list( @@ -171,6 +187,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: comment = await response.parse() assert_matches_type(CommentListResponse, comment, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.portouts.comments.with_streaming_response.list( @@ -184,6 +201,7 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_list(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): diff --git a/tests/api_resources/portouts/test_events.py b/tests/api_resources/portouts/test_events.py index c1310284..1c08002f 100644 --- a/tests/api_resources/portouts/test_events.py +++ b/tests/api_resources/portouts/test_events.py @@ -18,6 +18,7 @@ class TestEvents: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: event = client.portouts.events.retrieve( @@ -25,6 +26,7 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(EventRetrieveResponse, event, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.portouts.events.with_raw_response.retrieve( @@ -36,6 +38,7 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: event = response.parse() assert_matches_type(EventRetrieveResponse, event, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.portouts.events.with_streaming_response.retrieve( @@ -49,6 +52,7 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -56,11 +60,13 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: event = client.portouts.events.list() assert_matches_type(EventListResponse, event, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: event = client.portouts.events.list( @@ -79,6 +85,7 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(EventListResponse, event, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.portouts.events.with_raw_response.list() @@ -88,6 +95,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: event = response.parse() assert_matches_type(EventListResponse, event, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.portouts.events.with_streaming_response.list() as response: @@ -99,6 +107,7 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_republish(self, client: Telnyx) -> None: event = client.portouts.events.republish( @@ -106,6 +115,7 @@ def test_method_republish(self, client: Telnyx) -> None: ) assert event is None + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_republish(self, client: Telnyx) -> None: response = client.portouts.events.with_raw_response.republish( @@ -117,6 +127,7 @@ def test_raw_response_republish(self, client: Telnyx) -> None: event = response.parse() assert event is None + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_republish(self, client: Telnyx) -> None: with client.portouts.events.with_streaming_response.republish( @@ -130,6 +141,7 @@ def test_streaming_response_republish(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_republish(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -143,6 +155,7 @@ class TestAsyncEvents: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: event = await async_client.portouts.events.retrieve( @@ -150,6 +163,7 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(EventRetrieveResponse, event, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.portouts.events.with_raw_response.retrieve( @@ -161,6 +175,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: event = await response.parse() assert_matches_type(EventRetrieveResponse, event, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.portouts.events.with_streaming_response.retrieve( @@ -174,6 +189,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -181,11 +197,13 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: event = await async_client.portouts.events.list() assert_matches_type(EventListResponse, event, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: event = await async_client.portouts.events.list( @@ -204,6 +222,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(EventListResponse, event, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.portouts.events.with_raw_response.list() @@ -213,6 +232,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: event = await response.parse() assert_matches_type(EventListResponse, event, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.portouts.events.with_streaming_response.list() as response: @@ -224,6 +244,7 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_republish(self, async_client: AsyncTelnyx) -> None: event = await async_client.portouts.events.republish( @@ -231,6 +252,7 @@ async def test_method_republish(self, async_client: AsyncTelnyx) -> None: ) assert event is None + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_republish(self, async_client: AsyncTelnyx) -> None: response = await async_client.portouts.events.with_raw_response.republish( @@ -242,6 +264,7 @@ async def test_raw_response_republish(self, async_client: AsyncTelnyx) -> None: event = await response.parse() assert event is None + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_republish(self, async_client: AsyncTelnyx) -> None: async with async_client.portouts.events.with_streaming_response.republish( @@ -255,6 +278,7 @@ async def test_streaming_response_republish(self, async_client: AsyncTelnyx) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_republish(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): diff --git a/tests/api_resources/portouts/test_reports.py b/tests/api_resources/portouts/test_reports.py index 8f088e7e..c2ce5e94 100644 --- a/tests/api_resources/portouts/test_reports.py +++ b/tests/api_resources/portouts/test_reports.py @@ -21,6 +21,7 @@ class TestReports: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: report = client.portouts.reports.create( @@ -29,6 +30,7 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(ReportCreateResponse, report, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.portouts.reports.with_raw_response.create( @@ -41,6 +43,7 @@ def test_raw_response_create(self, client: Telnyx) -> None: report = response.parse() assert_matches_type(ReportCreateResponse, report, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.portouts.reports.with_streaming_response.create( @@ -55,6 +58,7 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: report = client.portouts.reports.retrieve( @@ -62,6 +66,7 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(ReportRetrieveResponse, report, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.portouts.reports.with_raw_response.retrieve( @@ -73,6 +78,7 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: report = response.parse() assert_matches_type(ReportRetrieveResponse, report, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.portouts.reports.with_streaming_response.retrieve( @@ -86,6 +92,7 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -93,11 +100,13 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: report = client.portouts.reports.list() assert_matches_type(ReportListResponse, report, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: report = client.portouts.reports.list( @@ -112,6 +121,7 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ReportListResponse, report, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.portouts.reports.with_raw_response.list() @@ -121,6 +131,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: report = response.parse() assert_matches_type(ReportListResponse, report, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.portouts.reports.with_streaming_response.list() as response: @@ -138,6 +149,7 @@ class TestAsyncReports: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: report = await async_client.portouts.reports.create( @@ -146,6 +158,7 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ReportCreateResponse, report, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.portouts.reports.with_raw_response.create( @@ -158,6 +171,7 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: report = await response.parse() assert_matches_type(ReportCreateResponse, report, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.portouts.reports.with_streaming_response.create( @@ -172,6 +186,7 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: report = await async_client.portouts.reports.retrieve( @@ -179,6 +194,7 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ReportRetrieveResponse, report, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.portouts.reports.with_raw_response.retrieve( @@ -190,6 +206,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: report = await response.parse() assert_matches_type(ReportRetrieveResponse, report, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.portouts.reports.with_streaming_response.retrieve( @@ -203,6 +220,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -210,11 +228,13 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: report = await async_client.portouts.reports.list() assert_matches_type(ReportListResponse, report, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: report = await async_client.portouts.reports.list( @@ -229,6 +249,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(ReportListResponse, report, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.portouts.reports.with_raw_response.list() @@ -238,6 +259,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: report = await response.parse() assert_matches_type(ReportListResponse, report, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.portouts.reports.with_streaming_response.list() as response: diff --git a/tests/api_resources/portouts/test_supporting_documents.py b/tests/api_resources/portouts/test_supporting_documents.py index cf6ae87d..f555cc1e 100644 --- a/tests/api_resources/portouts/test_supporting_documents.py +++ b/tests/api_resources/portouts/test_supporting_documents.py @@ -20,6 +20,7 @@ class TestSupportingDocuments: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: supporting_document = client.portouts.supporting_documents.create( @@ -27,6 +28,7 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(SupportingDocumentCreateResponse, supporting_document, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: supporting_document = client.portouts.supporting_documents.create( @@ -40,6 +42,7 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(SupportingDocumentCreateResponse, supporting_document, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.portouts.supporting_documents.with_raw_response.create( @@ -51,6 +54,7 @@ def test_raw_response_create(self, client: Telnyx) -> None: supporting_document = response.parse() assert_matches_type(SupportingDocumentCreateResponse, supporting_document, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.portouts.supporting_documents.with_streaming_response.create( @@ -64,6 +68,7 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_create(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -71,6 +76,7 @@ def test_path_params_create(self, client: Telnyx) -> None: id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: supporting_document = client.portouts.supporting_documents.list( @@ -78,6 +84,7 @@ def test_method_list(self, client: Telnyx) -> None: ) assert_matches_type(SupportingDocumentListResponse, supporting_document, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.portouts.supporting_documents.with_raw_response.list( @@ -89,6 +96,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: supporting_document = response.parse() assert_matches_type(SupportingDocumentListResponse, supporting_document, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.portouts.supporting_documents.with_streaming_response.list( @@ -102,6 +110,7 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_list(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -115,6 +124,7 @@ class TestAsyncSupportingDocuments: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: supporting_document = await async_client.portouts.supporting_documents.create( @@ -122,6 +132,7 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(SupportingDocumentCreateResponse, supporting_document, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: supporting_document = await async_client.portouts.supporting_documents.create( @@ -135,6 +146,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(SupportingDocumentCreateResponse, supporting_document, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.portouts.supporting_documents.with_raw_response.create( @@ -146,6 +158,7 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: supporting_document = await response.parse() assert_matches_type(SupportingDocumentCreateResponse, supporting_document, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.portouts.supporting_documents.with_streaming_response.create( @@ -159,6 +172,7 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_create(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -166,6 +180,7 @@ async def test_path_params_create(self, async_client: AsyncTelnyx) -> None: id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: supporting_document = await async_client.portouts.supporting_documents.list( @@ -173,6 +188,7 @@ async def test_method_list(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(SupportingDocumentListResponse, supporting_document, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.portouts.supporting_documents.with_raw_response.list( @@ -184,6 +200,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: supporting_document = await response.parse() assert_matches_type(SupportingDocumentListResponse, supporting_document, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.portouts.supporting_documents.with_streaming_response.list( @@ -197,6 +214,7 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_list(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): diff --git a/tests/api_resources/queues/test_calls.py b/tests/api_resources/queues/test_calls.py index efb361f8..514a5af5 100644 --- a/tests/api_resources/queues/test_calls.py +++ b/tests/api_resources/queues/test_calls.py @@ -17,6 +17,7 @@ class TestCalls: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: call = client.queues.calls.retrieve( @@ -25,6 +26,7 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(CallRetrieveResponse, call, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.queues.calls.with_raw_response.retrieve( @@ -37,6 +39,7 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: call = response.parse() assert_matches_type(CallRetrieveResponse, call, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.queues.calls.with_streaming_response.retrieve( @@ -51,6 +54,7 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `queue_name` but received ''"): @@ -65,6 +69,7 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: queue_name="queue_name", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: call = client.queues.calls.list( @@ -72,6 +77,7 @@ def test_method_list(self, client: Telnyx) -> None: ) assert_matches_type(CallListResponse, call, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: call = client.queues.calls.list( @@ -86,6 +92,7 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(CallListResponse, call, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.queues.calls.with_raw_response.list( @@ -97,6 +104,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: call = response.parse() assert_matches_type(CallListResponse, call, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.queues.calls.with_streaming_response.list( @@ -110,6 +118,7 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_list(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `queue_name` but received ''"): @@ -123,6 +132,7 @@ class TestAsyncCalls: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: call = await async_client.queues.calls.retrieve( @@ -131,6 +141,7 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(CallRetrieveResponse, call, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.queues.calls.with_raw_response.retrieve( @@ -143,6 +154,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: call = await response.parse() assert_matches_type(CallRetrieveResponse, call, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.queues.calls.with_streaming_response.retrieve( @@ -157,6 +169,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `queue_name` but received ''"): @@ -171,6 +184,7 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: queue_name="queue_name", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: call = await async_client.queues.calls.list( @@ -178,6 +192,7 @@ async def test_method_list(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(CallListResponse, call, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: call = await async_client.queues.calls.list( @@ -192,6 +207,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(CallListResponse, call, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.queues.calls.with_raw_response.list( @@ -203,6 +219,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: call = await response.parse() assert_matches_type(CallListResponse, call, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.queues.calls.with_streaming_response.list( @@ -216,6 +233,7 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_list(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `queue_name` but received ''"): diff --git a/tests/api_resources/recordings/test_actions.py b/tests/api_resources/recordings/test_actions.py index f45e63d4..b4b14fda 100644 --- a/tests/api_resources/recordings/test_actions.py +++ b/tests/api_resources/recordings/test_actions.py @@ -15,6 +15,7 @@ class TestActions: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: action = client.recordings.actions.delete( @@ -22,6 +23,7 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert action is None + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.recordings.actions.with_raw_response.delete( @@ -33,6 +35,7 @@ def test_raw_response_delete(self, client: Telnyx) -> None: action = response.parse() assert action is None + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.recordings.actions.with_streaming_response.delete( @@ -52,6 +55,7 @@ class TestAsyncActions: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: action = await async_client.recordings.actions.delete( @@ -59,6 +63,7 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert action is None + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.recordings.actions.with_raw_response.delete( @@ -70,6 +75,7 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: action = await response.parse() assert action is None + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.recordings.actions.with_streaming_response.delete( diff --git a/tests/api_resources/reports/test_cdr_usage_reports.py b/tests/api_resources/reports/test_cdr_usage_reports.py index 0ef79bb2..b4005f90 100644 --- a/tests/api_resources/reports/test_cdr_usage_reports.py +++ b/tests/api_resources/reports/test_cdr_usage_reports.py @@ -18,6 +18,7 @@ class TestCdrUsageReports: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_fetch_sync(self, client: Telnyx) -> None: cdr_usage_report = client.reports.cdr_usage_reports.fetch_sync( @@ -26,6 +27,7 @@ def test_method_fetch_sync(self, client: Telnyx) -> None: ) assert_matches_type(CdrUsageReportFetchSyncResponse, cdr_usage_report, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_fetch_sync_with_all_params(self, client: Telnyx) -> None: cdr_usage_report = client.reports.cdr_usage_reports.fetch_sync( @@ -37,6 +39,7 @@ def test_method_fetch_sync_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(CdrUsageReportFetchSyncResponse, cdr_usage_report, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_fetch_sync(self, client: Telnyx) -> None: response = client.reports.cdr_usage_reports.with_raw_response.fetch_sync( @@ -49,6 +52,7 @@ def test_raw_response_fetch_sync(self, client: Telnyx) -> None: cdr_usage_report = response.parse() assert_matches_type(CdrUsageReportFetchSyncResponse, cdr_usage_report, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_fetch_sync(self, client: Telnyx) -> None: with client.reports.cdr_usage_reports.with_streaming_response.fetch_sync( @@ -69,6 +73,7 @@ class TestAsyncCdrUsageReports: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_fetch_sync(self, async_client: AsyncTelnyx) -> None: cdr_usage_report = await async_client.reports.cdr_usage_reports.fetch_sync( @@ -77,6 +82,7 @@ async def test_method_fetch_sync(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(CdrUsageReportFetchSyncResponse, cdr_usage_report, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_fetch_sync_with_all_params(self, async_client: AsyncTelnyx) -> None: cdr_usage_report = await async_client.reports.cdr_usage_reports.fetch_sync( @@ -88,6 +94,7 @@ async def test_method_fetch_sync_with_all_params(self, async_client: AsyncTelnyx ) assert_matches_type(CdrUsageReportFetchSyncResponse, cdr_usage_report, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_fetch_sync(self, async_client: AsyncTelnyx) -> None: response = await async_client.reports.cdr_usage_reports.with_raw_response.fetch_sync( @@ -100,6 +107,7 @@ async def test_raw_response_fetch_sync(self, async_client: AsyncTelnyx) -> None: cdr_usage_report = await response.parse() assert_matches_type(CdrUsageReportFetchSyncResponse, cdr_usage_report, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_fetch_sync(self, async_client: AsyncTelnyx) -> None: async with async_client.reports.cdr_usage_reports.with_streaming_response.fetch_sync( diff --git a/tests/api_resources/reports/test_mdr_usage_reports.py b/tests/api_resources/reports/test_mdr_usage_reports.py index e5fd83d9..2aae479b 100644 --- a/tests/api_resources/reports/test_mdr_usage_reports.py +++ b/tests/api_resources/reports/test_mdr_usage_reports.py @@ -24,6 +24,7 @@ class TestMdrUsageReports: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: mdr_usage_report = client.reports.mdr_usage_reports.create( @@ -33,6 +34,7 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(MdrUsageReportCreateResponse, mdr_usage_report, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: mdr_usage_report = client.reports.mdr_usage_reports.create( @@ -43,6 +45,7 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(MdrUsageReportCreateResponse, mdr_usage_report, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.reports.mdr_usage_reports.with_raw_response.create( @@ -56,6 +59,7 @@ def test_raw_response_create(self, client: Telnyx) -> None: mdr_usage_report = response.parse() assert_matches_type(MdrUsageReportCreateResponse, mdr_usage_report, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.reports.mdr_usage_reports.with_streaming_response.create( @@ -71,6 +75,7 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: mdr_usage_report = client.reports.mdr_usage_reports.retrieve( @@ -78,6 +83,7 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(MdrUsageReportRetrieveResponse, mdr_usage_report, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.reports.mdr_usage_reports.with_raw_response.retrieve( @@ -89,6 +95,7 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: mdr_usage_report = response.parse() assert_matches_type(MdrUsageReportRetrieveResponse, mdr_usage_report, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.reports.mdr_usage_reports.with_streaming_response.retrieve( @@ -102,6 +109,7 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -109,11 +117,13 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: mdr_usage_report = client.reports.mdr_usage_reports.list() assert_matches_type(MdrUsageReportListResponse, mdr_usage_report, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: mdr_usage_report = client.reports.mdr_usage_reports.list( @@ -124,6 +134,7 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(MdrUsageReportListResponse, mdr_usage_report, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.reports.mdr_usage_reports.with_raw_response.list() @@ -133,6 +144,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: mdr_usage_report = response.parse() assert_matches_type(MdrUsageReportListResponse, mdr_usage_report, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.reports.mdr_usage_reports.with_streaming_response.list() as response: @@ -144,6 +156,7 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: mdr_usage_report = client.reports.mdr_usage_reports.delete( @@ -151,6 +164,7 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert_matches_type(MdrUsageReportDeleteResponse, mdr_usage_report, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.reports.mdr_usage_reports.with_raw_response.delete( @@ -162,6 +176,7 @@ def test_raw_response_delete(self, client: Telnyx) -> None: mdr_usage_report = response.parse() assert_matches_type(MdrUsageReportDeleteResponse, mdr_usage_report, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.reports.mdr_usage_reports.with_streaming_response.delete( @@ -175,6 +190,7 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -182,6 +198,7 @@ def test_path_params_delete(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_fetch_sync(self, client: Telnyx) -> None: mdr_usage_report = client.reports.mdr_usage_reports.fetch_sync( @@ -189,6 +206,7 @@ def test_method_fetch_sync(self, client: Telnyx) -> None: ) assert_matches_type(MdrUsageReportFetchSyncResponse, mdr_usage_report, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_fetch_sync_with_all_params(self, client: Telnyx) -> None: mdr_usage_report = client.reports.mdr_usage_reports.fetch_sync( @@ -199,6 +217,7 @@ def test_method_fetch_sync_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(MdrUsageReportFetchSyncResponse, mdr_usage_report, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_fetch_sync(self, client: Telnyx) -> None: response = client.reports.mdr_usage_reports.with_raw_response.fetch_sync( @@ -210,6 +229,7 @@ def test_raw_response_fetch_sync(self, client: Telnyx) -> None: mdr_usage_report = response.parse() assert_matches_type(MdrUsageReportFetchSyncResponse, mdr_usage_report, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_fetch_sync(self, client: Telnyx) -> None: with client.reports.mdr_usage_reports.with_streaming_response.fetch_sync( @@ -229,6 +249,7 @@ class TestAsyncMdrUsageReports: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: mdr_usage_report = await async_client.reports.mdr_usage_reports.create( @@ -238,6 +259,7 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(MdrUsageReportCreateResponse, mdr_usage_report, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: mdr_usage_report = await async_client.reports.mdr_usage_reports.create( @@ -248,6 +270,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(MdrUsageReportCreateResponse, mdr_usage_report, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.reports.mdr_usage_reports.with_raw_response.create( @@ -261,6 +284,7 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: mdr_usage_report = await response.parse() assert_matches_type(MdrUsageReportCreateResponse, mdr_usage_report, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.reports.mdr_usage_reports.with_streaming_response.create( @@ -276,6 +300,7 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: mdr_usage_report = await async_client.reports.mdr_usage_reports.retrieve( @@ -283,6 +308,7 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(MdrUsageReportRetrieveResponse, mdr_usage_report, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.reports.mdr_usage_reports.with_raw_response.retrieve( @@ -294,6 +320,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: mdr_usage_report = await response.parse() assert_matches_type(MdrUsageReportRetrieveResponse, mdr_usage_report, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.reports.mdr_usage_reports.with_streaming_response.retrieve( @@ -307,6 +334,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -314,11 +342,13 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: mdr_usage_report = await async_client.reports.mdr_usage_reports.list() assert_matches_type(MdrUsageReportListResponse, mdr_usage_report, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: mdr_usage_report = await async_client.reports.mdr_usage_reports.list( @@ -329,6 +359,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(MdrUsageReportListResponse, mdr_usage_report, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.reports.mdr_usage_reports.with_raw_response.list() @@ -338,6 +369,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: mdr_usage_report = await response.parse() assert_matches_type(MdrUsageReportListResponse, mdr_usage_report, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.reports.mdr_usage_reports.with_streaming_response.list() as response: @@ -349,6 +381,7 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: mdr_usage_report = await async_client.reports.mdr_usage_reports.delete( @@ -356,6 +389,7 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(MdrUsageReportDeleteResponse, mdr_usage_report, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.reports.mdr_usage_reports.with_raw_response.delete( @@ -367,6 +401,7 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: mdr_usage_report = await response.parse() assert_matches_type(MdrUsageReportDeleteResponse, mdr_usage_report, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.reports.mdr_usage_reports.with_streaming_response.delete( @@ -380,6 +415,7 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -387,6 +423,7 @@ async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_fetch_sync(self, async_client: AsyncTelnyx) -> None: mdr_usage_report = await async_client.reports.mdr_usage_reports.fetch_sync( @@ -394,6 +431,7 @@ async def test_method_fetch_sync(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(MdrUsageReportFetchSyncResponse, mdr_usage_report, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_fetch_sync_with_all_params(self, async_client: AsyncTelnyx) -> None: mdr_usage_report = await async_client.reports.mdr_usage_reports.fetch_sync( @@ -404,6 +442,7 @@ async def test_method_fetch_sync_with_all_params(self, async_client: AsyncTelnyx ) assert_matches_type(MdrUsageReportFetchSyncResponse, mdr_usage_report, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_fetch_sync(self, async_client: AsyncTelnyx) -> None: response = await async_client.reports.mdr_usage_reports.with_raw_response.fetch_sync( @@ -415,6 +454,7 @@ async def test_raw_response_fetch_sync(self, async_client: AsyncTelnyx) -> None: mdr_usage_report = await response.parse() assert_matches_type(MdrUsageReportFetchSyncResponse, mdr_usage_report, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_fetch_sync(self, async_client: AsyncTelnyx) -> None: async with async_client.reports.mdr_usage_reports.with_streaming_response.fetch_sync( diff --git a/tests/api_resources/rooms/sessions/test_actions.py b/tests/api_resources/rooms/sessions/test_actions.py index 88436fc5..02ad98db 100644 --- a/tests/api_resources/rooms/sessions/test_actions.py +++ b/tests/api_resources/rooms/sessions/test_actions.py @@ -22,6 +22,7 @@ class TestActions: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_end(self, client: Telnyx) -> None: action = client.rooms.sessions.actions.end( @@ -29,6 +30,7 @@ def test_method_end(self, client: Telnyx) -> None: ) assert_matches_type(ActionEndResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_end(self, client: Telnyx) -> None: response = client.rooms.sessions.actions.with_raw_response.end( @@ -40,6 +42,7 @@ def test_raw_response_end(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionEndResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_end(self, client: Telnyx) -> None: with client.rooms.sessions.actions.with_streaming_response.end( @@ -53,6 +56,7 @@ def test_streaming_response_end(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_end(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `room_session_id` but received ''"): @@ -60,6 +64,7 @@ def test_path_params_end(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_kick(self, client: Telnyx) -> None: action = client.rooms.sessions.actions.kick( @@ -67,6 +72,7 @@ def test_method_kick(self, client: Telnyx) -> None: ) assert_matches_type(ActionKickResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_kick_with_all_params(self, client: Telnyx) -> None: action = client.rooms.sessions.actions.kick( @@ -76,6 +82,7 @@ def test_method_kick_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ActionKickResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_kick(self, client: Telnyx) -> None: response = client.rooms.sessions.actions.with_raw_response.kick( @@ -87,6 +94,7 @@ def test_raw_response_kick(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionKickResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_kick(self, client: Telnyx) -> None: with client.rooms.sessions.actions.with_streaming_response.kick( @@ -100,6 +108,7 @@ def test_streaming_response_kick(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_kick(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `room_session_id` but received ''"): @@ -107,6 +116,7 @@ def test_path_params_kick(self, client: Telnyx) -> None: room_session_id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_mute(self, client: Telnyx) -> None: action = client.rooms.sessions.actions.mute( @@ -114,6 +124,7 @@ def test_method_mute(self, client: Telnyx) -> None: ) assert_matches_type(ActionMuteResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_mute_with_all_params(self, client: Telnyx) -> None: action = client.rooms.sessions.actions.mute( @@ -123,6 +134,7 @@ def test_method_mute_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ActionMuteResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_mute(self, client: Telnyx) -> None: response = client.rooms.sessions.actions.with_raw_response.mute( @@ -134,6 +146,7 @@ def test_raw_response_mute(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionMuteResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_mute(self, client: Telnyx) -> None: with client.rooms.sessions.actions.with_streaming_response.mute( @@ -147,6 +160,7 @@ def test_streaming_response_mute(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_mute(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `room_session_id` but received ''"): @@ -154,6 +168,7 @@ def test_path_params_mute(self, client: Telnyx) -> None: room_session_id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_unmute(self, client: Telnyx) -> None: action = client.rooms.sessions.actions.unmute( @@ -161,6 +176,7 @@ def test_method_unmute(self, client: Telnyx) -> None: ) assert_matches_type(ActionUnmuteResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_unmute_with_all_params(self, client: Telnyx) -> None: action = client.rooms.sessions.actions.unmute( @@ -170,6 +186,7 @@ def test_method_unmute_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ActionUnmuteResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_unmute(self, client: Telnyx) -> None: response = client.rooms.sessions.actions.with_raw_response.unmute( @@ -181,6 +198,7 @@ def test_raw_response_unmute(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionUnmuteResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_unmute(self, client: Telnyx) -> None: with client.rooms.sessions.actions.with_streaming_response.unmute( @@ -194,6 +212,7 @@ def test_streaming_response_unmute(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_unmute(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `room_session_id` but received ''"): @@ -207,6 +226,7 @@ class TestAsyncActions: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_end(self, async_client: AsyncTelnyx) -> None: action = await async_client.rooms.sessions.actions.end( @@ -214,6 +234,7 @@ async def test_method_end(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ActionEndResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_end(self, async_client: AsyncTelnyx) -> None: response = await async_client.rooms.sessions.actions.with_raw_response.end( @@ -225,6 +246,7 @@ async def test_raw_response_end(self, async_client: AsyncTelnyx) -> None: action = await response.parse() assert_matches_type(ActionEndResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_end(self, async_client: AsyncTelnyx) -> None: async with async_client.rooms.sessions.actions.with_streaming_response.end( @@ -238,6 +260,7 @@ async def test_streaming_response_end(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_end(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `room_session_id` but received ''"): @@ -245,6 +268,7 @@ async def test_path_params_end(self, async_client: AsyncTelnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_kick(self, async_client: AsyncTelnyx) -> None: action = await async_client.rooms.sessions.actions.kick( @@ -252,6 +276,7 @@ async def test_method_kick(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ActionKickResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_kick_with_all_params(self, async_client: AsyncTelnyx) -> None: action = await async_client.rooms.sessions.actions.kick( @@ -261,6 +286,7 @@ async def test_method_kick_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(ActionKickResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_kick(self, async_client: AsyncTelnyx) -> None: response = await async_client.rooms.sessions.actions.with_raw_response.kick( @@ -272,6 +298,7 @@ async def test_raw_response_kick(self, async_client: AsyncTelnyx) -> None: action = await response.parse() assert_matches_type(ActionKickResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_kick(self, async_client: AsyncTelnyx) -> None: async with async_client.rooms.sessions.actions.with_streaming_response.kick( @@ -285,6 +312,7 @@ async def test_streaming_response_kick(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_kick(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `room_session_id` but received ''"): @@ -292,6 +320,7 @@ async def test_path_params_kick(self, async_client: AsyncTelnyx) -> None: room_session_id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_mute(self, async_client: AsyncTelnyx) -> None: action = await async_client.rooms.sessions.actions.mute( @@ -299,6 +328,7 @@ async def test_method_mute(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ActionMuteResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_mute_with_all_params(self, async_client: AsyncTelnyx) -> None: action = await async_client.rooms.sessions.actions.mute( @@ -308,6 +338,7 @@ async def test_method_mute_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(ActionMuteResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_mute(self, async_client: AsyncTelnyx) -> None: response = await async_client.rooms.sessions.actions.with_raw_response.mute( @@ -319,6 +350,7 @@ async def test_raw_response_mute(self, async_client: AsyncTelnyx) -> None: action = await response.parse() assert_matches_type(ActionMuteResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_mute(self, async_client: AsyncTelnyx) -> None: async with async_client.rooms.sessions.actions.with_streaming_response.mute( @@ -332,6 +364,7 @@ async def test_streaming_response_mute(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_mute(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `room_session_id` but received ''"): @@ -339,6 +372,7 @@ async def test_path_params_mute(self, async_client: AsyncTelnyx) -> None: room_session_id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_unmute(self, async_client: AsyncTelnyx) -> None: action = await async_client.rooms.sessions.actions.unmute( @@ -346,6 +380,7 @@ async def test_method_unmute(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ActionUnmuteResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_unmute_with_all_params(self, async_client: AsyncTelnyx) -> None: action = await async_client.rooms.sessions.actions.unmute( @@ -355,6 +390,7 @@ async def test_method_unmute_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(ActionUnmuteResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_unmute(self, async_client: AsyncTelnyx) -> None: response = await async_client.rooms.sessions.actions.with_raw_response.unmute( @@ -366,6 +402,7 @@ async def test_raw_response_unmute(self, async_client: AsyncTelnyx) -> None: action = await response.parse() assert_matches_type(ActionUnmuteResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_unmute(self, async_client: AsyncTelnyx) -> None: async with async_client.rooms.sessions.actions.with_streaming_response.unmute( @@ -379,6 +416,7 @@ async def test_streaming_response_unmute(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_unmute(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `room_session_id` but received ''"): diff --git a/tests/api_resources/rooms/test_actions.py b/tests/api_resources/rooms/test_actions.py index 667886e5..187a7924 100644 --- a/tests/api_resources/rooms/test_actions.py +++ b/tests/api_resources/rooms/test_actions.py @@ -20,6 +20,7 @@ class TestActions: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_generate_join_client_token(self, client: Telnyx) -> None: action = client.rooms.actions.generate_join_client_token( @@ -27,6 +28,7 @@ def test_method_generate_join_client_token(self, client: Telnyx) -> None: ) assert_matches_type(ActionGenerateJoinClientTokenResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_generate_join_client_token_with_all_params(self, client: Telnyx) -> None: action = client.rooms.actions.generate_join_client_token( @@ -36,6 +38,7 @@ def test_method_generate_join_client_token_with_all_params(self, client: Telnyx) ) assert_matches_type(ActionGenerateJoinClientTokenResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_generate_join_client_token(self, client: Telnyx) -> None: response = client.rooms.actions.with_raw_response.generate_join_client_token( @@ -47,6 +50,7 @@ def test_raw_response_generate_join_client_token(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionGenerateJoinClientTokenResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_generate_join_client_token(self, client: Telnyx) -> None: with client.rooms.actions.with_streaming_response.generate_join_client_token( @@ -60,6 +64,7 @@ def test_streaming_response_generate_join_client_token(self, client: Telnyx) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_generate_join_client_token(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `room_id` but received ''"): @@ -67,6 +72,7 @@ def test_path_params_generate_join_client_token(self, client: Telnyx) -> None: room_id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_refresh_client_token(self, client: Telnyx) -> None: action = client.rooms.actions.refresh_client_token( @@ -75,6 +81,7 @@ def test_method_refresh_client_token(self, client: Telnyx) -> None: ) assert_matches_type(ActionRefreshClientTokenResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_refresh_client_token_with_all_params(self, client: Telnyx) -> None: action = client.rooms.actions.refresh_client_token( @@ -84,6 +91,7 @@ def test_method_refresh_client_token_with_all_params(self, client: Telnyx) -> No ) assert_matches_type(ActionRefreshClientTokenResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_refresh_client_token(self, client: Telnyx) -> None: response = client.rooms.actions.with_raw_response.refresh_client_token( @@ -96,6 +104,7 @@ def test_raw_response_refresh_client_token(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionRefreshClientTokenResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_refresh_client_token(self, client: Telnyx) -> None: with client.rooms.actions.with_streaming_response.refresh_client_token( @@ -110,6 +119,7 @@ def test_streaming_response_refresh_client_token(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_refresh_client_token(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `room_id` but received ''"): @@ -124,6 +134,7 @@ class TestAsyncActions: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_generate_join_client_token(self, async_client: AsyncTelnyx) -> None: action = await async_client.rooms.actions.generate_join_client_token( @@ -131,6 +142,7 @@ async def test_method_generate_join_client_token(self, async_client: AsyncTelnyx ) assert_matches_type(ActionGenerateJoinClientTokenResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_generate_join_client_token_with_all_params(self, async_client: AsyncTelnyx) -> None: action = await async_client.rooms.actions.generate_join_client_token( @@ -140,6 +152,7 @@ async def test_method_generate_join_client_token_with_all_params(self, async_cli ) assert_matches_type(ActionGenerateJoinClientTokenResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_generate_join_client_token(self, async_client: AsyncTelnyx) -> None: response = await async_client.rooms.actions.with_raw_response.generate_join_client_token( @@ -151,6 +164,7 @@ async def test_raw_response_generate_join_client_token(self, async_client: Async action = await response.parse() assert_matches_type(ActionGenerateJoinClientTokenResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_generate_join_client_token(self, async_client: AsyncTelnyx) -> None: async with async_client.rooms.actions.with_streaming_response.generate_join_client_token( @@ -164,6 +178,7 @@ async def test_streaming_response_generate_join_client_token(self, async_client: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_generate_join_client_token(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `room_id` but received ''"): @@ -171,6 +186,7 @@ async def test_path_params_generate_join_client_token(self, async_client: AsyncT room_id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_refresh_client_token(self, async_client: AsyncTelnyx) -> None: action = await async_client.rooms.actions.refresh_client_token( @@ -179,6 +195,7 @@ async def test_method_refresh_client_token(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(ActionRefreshClientTokenResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_refresh_client_token_with_all_params(self, async_client: AsyncTelnyx) -> None: action = await async_client.rooms.actions.refresh_client_token( @@ -188,6 +205,7 @@ async def test_method_refresh_client_token_with_all_params(self, async_client: A ) assert_matches_type(ActionRefreshClientTokenResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_refresh_client_token(self, async_client: AsyncTelnyx) -> None: response = await async_client.rooms.actions.with_raw_response.refresh_client_token( @@ -200,6 +218,7 @@ async def test_raw_response_refresh_client_token(self, async_client: AsyncTelnyx action = await response.parse() assert_matches_type(ActionRefreshClientTokenResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_refresh_client_token(self, async_client: AsyncTelnyx) -> None: async with async_client.rooms.actions.with_streaming_response.refresh_client_token( @@ -214,6 +233,7 @@ async def test_streaming_response_refresh_client_token(self, async_client: Async assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_refresh_client_token(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `room_id` but received ''"): diff --git a/tests/api_resources/rooms/test_sessions.py b/tests/api_resources/rooms/test_sessions.py index 5f931af9..9819a53b 100644 --- a/tests/api_resources/rooms/test_sessions.py +++ b/tests/api_resources/rooms/test_sessions.py @@ -23,6 +23,7 @@ class TestSessions: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: session = client.rooms.sessions.retrieve( @@ -30,6 +31,7 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(SessionRetrieveResponse, session, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve_with_all_params(self, client: Telnyx) -> None: session = client.rooms.sessions.retrieve( @@ -38,6 +40,7 @@ def test_method_retrieve_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(SessionRetrieveResponse, session, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.rooms.sessions.with_raw_response.retrieve( @@ -49,6 +52,7 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: session = response.parse() assert_matches_type(SessionRetrieveResponse, session, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.rooms.sessions.with_streaming_response.retrieve( @@ -62,6 +66,7 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `room_session_id` but received ''"): @@ -69,11 +74,13 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: room_session_id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_0(self, client: Telnyx) -> None: session = client.rooms.sessions.list_0() assert_matches_type(SessionList0Response, session, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_0_with_all_params(self, client: Telnyx) -> None: session = client.rooms.sessions.list_0( @@ -104,6 +111,7 @@ def test_method_list_0_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(SessionList0Response, session, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list_0(self, client: Telnyx) -> None: response = client.rooms.sessions.with_raw_response.list_0() @@ -113,6 +121,7 @@ def test_raw_response_list_0(self, client: Telnyx) -> None: session = response.parse() assert_matches_type(SessionList0Response, session, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list_0(self, client: Telnyx) -> None: with client.rooms.sessions.with_streaming_response.list_0() as response: @@ -124,6 +133,7 @@ def test_streaming_response_list_0(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_1(self, client: Telnyx) -> None: session = client.rooms.sessions.list_1( @@ -131,6 +141,7 @@ def test_method_list_1(self, client: Telnyx) -> None: ) assert_matches_type(SessionList1Response, session, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_1_with_all_params(self, client: Telnyx) -> None: session = client.rooms.sessions.list_1( @@ -161,6 +172,7 @@ def test_method_list_1_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(SessionList1Response, session, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list_1(self, client: Telnyx) -> None: response = client.rooms.sessions.with_raw_response.list_1( @@ -172,6 +184,7 @@ def test_raw_response_list_1(self, client: Telnyx) -> None: session = response.parse() assert_matches_type(SessionList1Response, session, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list_1(self, client: Telnyx) -> None: with client.rooms.sessions.with_streaming_response.list_1( @@ -185,6 +198,7 @@ def test_streaming_response_list_1(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_list_1(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `room_id` but received ''"): @@ -192,6 +206,7 @@ def test_path_params_list_1(self, client: Telnyx) -> None: room_id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve_participants(self, client: Telnyx) -> None: session = client.rooms.sessions.retrieve_participants( @@ -199,6 +214,7 @@ def test_method_retrieve_participants(self, client: Telnyx) -> None: ) assert_matches_type(SessionRetrieveParticipantsResponse, session, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve_participants_with_all_params(self, client: Telnyx) -> None: session = client.rooms.sessions.retrieve_participants( @@ -228,6 +244,7 @@ def test_method_retrieve_participants_with_all_params(self, client: Telnyx) -> N ) assert_matches_type(SessionRetrieveParticipantsResponse, session, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve_participants(self, client: Telnyx) -> None: response = client.rooms.sessions.with_raw_response.retrieve_participants( @@ -239,6 +256,7 @@ def test_raw_response_retrieve_participants(self, client: Telnyx) -> None: session = response.parse() assert_matches_type(SessionRetrieveParticipantsResponse, session, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve_participants(self, client: Telnyx) -> None: with client.rooms.sessions.with_streaming_response.retrieve_participants( @@ -252,6 +270,7 @@ def test_streaming_response_retrieve_participants(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve_participants(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `room_session_id` but received ''"): @@ -265,6 +284,7 @@ class TestAsyncSessions: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: session = await async_client.rooms.sessions.retrieve( @@ -272,6 +292,7 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(SessionRetrieveResponse, session, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve_with_all_params(self, async_client: AsyncTelnyx) -> None: session = await async_client.rooms.sessions.retrieve( @@ -280,6 +301,7 @@ async def test_method_retrieve_with_all_params(self, async_client: AsyncTelnyx) ) assert_matches_type(SessionRetrieveResponse, session, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.rooms.sessions.with_raw_response.retrieve( @@ -291,6 +313,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: session = await response.parse() assert_matches_type(SessionRetrieveResponse, session, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.rooms.sessions.with_streaming_response.retrieve( @@ -304,6 +327,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `room_session_id` but received ''"): @@ -311,11 +335,13 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: room_session_id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_0(self, async_client: AsyncTelnyx) -> None: session = await async_client.rooms.sessions.list_0() assert_matches_type(SessionList0Response, session, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_0_with_all_params(self, async_client: AsyncTelnyx) -> None: session = await async_client.rooms.sessions.list_0( @@ -346,6 +372,7 @@ async def test_method_list_0_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(SessionList0Response, session, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list_0(self, async_client: AsyncTelnyx) -> None: response = await async_client.rooms.sessions.with_raw_response.list_0() @@ -355,6 +382,7 @@ async def test_raw_response_list_0(self, async_client: AsyncTelnyx) -> None: session = await response.parse() assert_matches_type(SessionList0Response, session, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list_0(self, async_client: AsyncTelnyx) -> None: async with async_client.rooms.sessions.with_streaming_response.list_0() as response: @@ -366,6 +394,7 @@ async def test_streaming_response_list_0(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_1(self, async_client: AsyncTelnyx) -> None: session = await async_client.rooms.sessions.list_1( @@ -373,6 +402,7 @@ async def test_method_list_1(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(SessionList1Response, session, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_1_with_all_params(self, async_client: AsyncTelnyx) -> None: session = await async_client.rooms.sessions.list_1( @@ -403,6 +433,7 @@ async def test_method_list_1_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(SessionList1Response, session, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list_1(self, async_client: AsyncTelnyx) -> None: response = await async_client.rooms.sessions.with_raw_response.list_1( @@ -414,6 +445,7 @@ async def test_raw_response_list_1(self, async_client: AsyncTelnyx) -> None: session = await response.parse() assert_matches_type(SessionList1Response, session, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list_1(self, async_client: AsyncTelnyx) -> None: async with async_client.rooms.sessions.with_streaming_response.list_1( @@ -427,6 +459,7 @@ async def test_streaming_response_list_1(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_list_1(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `room_id` but received ''"): @@ -434,6 +467,7 @@ async def test_path_params_list_1(self, async_client: AsyncTelnyx) -> None: room_id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve_participants(self, async_client: AsyncTelnyx) -> None: session = await async_client.rooms.sessions.retrieve_participants( @@ -441,6 +475,7 @@ async def test_method_retrieve_participants(self, async_client: AsyncTelnyx) -> ) assert_matches_type(SessionRetrieveParticipantsResponse, session, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve_participants_with_all_params(self, async_client: AsyncTelnyx) -> None: session = await async_client.rooms.sessions.retrieve_participants( @@ -470,6 +505,7 @@ async def test_method_retrieve_participants_with_all_params(self, async_client: ) assert_matches_type(SessionRetrieveParticipantsResponse, session, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve_participants(self, async_client: AsyncTelnyx) -> None: response = await async_client.rooms.sessions.with_raw_response.retrieve_participants( @@ -481,6 +517,7 @@ async def test_raw_response_retrieve_participants(self, async_client: AsyncTelny session = await response.parse() assert_matches_type(SessionRetrieveParticipantsResponse, session, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve_participants(self, async_client: AsyncTelnyx) -> None: async with async_client.rooms.sessions.with_streaming_response.retrieve_participants( @@ -494,6 +531,7 @@ async def test_streaming_response_retrieve_participants(self, async_client: Asyn assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve_participants(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `room_session_id` but received ''"): diff --git a/tests/api_resources/sim_card_groups/test_actions.py b/tests/api_resources/sim_card_groups/test_actions.py index 51853980..1595174b 100644 --- a/tests/api_resources/sim_card_groups/test_actions.py +++ b/tests/api_resources/sim_card_groups/test_actions.py @@ -24,6 +24,7 @@ class TestActions: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: action = client.sim_card_groups.actions.retrieve( @@ -31,6 +32,7 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(ActionRetrieveResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.sim_card_groups.actions.with_raw_response.retrieve( @@ -42,6 +44,7 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionRetrieveResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.sim_card_groups.actions.with_streaming_response.retrieve( @@ -55,6 +58,7 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -62,11 +66,13 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: action = client.sim_card_groups.actions.list() assert_matches_type(ActionListResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: action = client.sim_card_groups.actions.list( @@ -78,6 +84,7 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ActionListResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.sim_card_groups.actions.with_raw_response.list() @@ -87,6 +94,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionListResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.sim_card_groups.actions.with_streaming_response.list() as response: @@ -98,6 +106,7 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_remove_private_wireless_gateway(self, client: Telnyx) -> None: action = client.sim_card_groups.actions.remove_private_wireless_gateway( @@ -105,6 +114,7 @@ def test_method_remove_private_wireless_gateway(self, client: Telnyx) -> None: ) assert_matches_type(ActionRemovePrivateWirelessGatewayResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_remove_private_wireless_gateway(self, client: Telnyx) -> None: response = client.sim_card_groups.actions.with_raw_response.remove_private_wireless_gateway( @@ -116,6 +126,7 @@ def test_raw_response_remove_private_wireless_gateway(self, client: Telnyx) -> N action = response.parse() assert_matches_type(ActionRemovePrivateWirelessGatewayResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_remove_private_wireless_gateway(self, client: Telnyx) -> None: with client.sim_card_groups.actions.with_streaming_response.remove_private_wireless_gateway( @@ -129,6 +140,7 @@ def test_streaming_response_remove_private_wireless_gateway(self, client: Telnyx assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_remove_private_wireless_gateway(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -136,6 +148,7 @@ def test_path_params_remove_private_wireless_gateway(self, client: Telnyx) -> No "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_remove_wireless_blocklist(self, client: Telnyx) -> None: action = client.sim_card_groups.actions.remove_wireless_blocklist( @@ -143,6 +156,7 @@ def test_method_remove_wireless_blocklist(self, client: Telnyx) -> None: ) assert_matches_type(ActionRemoveWirelessBlocklistResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_remove_wireless_blocklist(self, client: Telnyx) -> None: response = client.sim_card_groups.actions.with_raw_response.remove_wireless_blocklist( @@ -154,6 +168,7 @@ def test_raw_response_remove_wireless_blocklist(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionRemoveWirelessBlocklistResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_remove_wireless_blocklist(self, client: Telnyx) -> None: with client.sim_card_groups.actions.with_streaming_response.remove_wireless_blocklist( @@ -167,6 +182,7 @@ def test_streaming_response_remove_wireless_blocklist(self, client: Telnyx) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_remove_wireless_blocklist(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -174,6 +190,7 @@ def test_path_params_remove_wireless_blocklist(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_set_private_wireless_gateway(self, client: Telnyx) -> None: action = client.sim_card_groups.actions.set_private_wireless_gateway( @@ -182,6 +199,7 @@ def test_method_set_private_wireless_gateway(self, client: Telnyx) -> None: ) assert_matches_type(ActionSetPrivateWirelessGatewayResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_set_private_wireless_gateway(self, client: Telnyx) -> None: response = client.sim_card_groups.actions.with_raw_response.set_private_wireless_gateway( @@ -194,6 +212,7 @@ def test_raw_response_set_private_wireless_gateway(self, client: Telnyx) -> None action = response.parse() assert_matches_type(ActionSetPrivateWirelessGatewayResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_set_private_wireless_gateway(self, client: Telnyx) -> None: with client.sim_card_groups.actions.with_streaming_response.set_private_wireless_gateway( @@ -208,6 +227,7 @@ def test_streaming_response_set_private_wireless_gateway(self, client: Telnyx) - assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_set_private_wireless_gateway(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -216,6 +236,7 @@ def test_path_params_set_private_wireless_gateway(self, client: Telnyx) -> None: private_wireless_gateway_id="6a09cdc3-8948-47f0-aa62-74ac943d6c58", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_set_wireless_blocklist(self, client: Telnyx) -> None: action = client.sim_card_groups.actions.set_wireless_blocklist( @@ -224,6 +245,7 @@ def test_method_set_wireless_blocklist(self, client: Telnyx) -> None: ) assert_matches_type(ActionSetWirelessBlocklistResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_set_wireless_blocklist(self, client: Telnyx) -> None: response = client.sim_card_groups.actions.with_raw_response.set_wireless_blocklist( @@ -236,6 +258,7 @@ def test_raw_response_set_wireless_blocklist(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionSetWirelessBlocklistResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_set_wireless_blocklist(self, client: Telnyx) -> None: with client.sim_card_groups.actions.with_streaming_response.set_wireless_blocklist( @@ -250,6 +273,7 @@ def test_streaming_response_set_wireless_blocklist(self, client: Telnyx) -> None assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_set_wireless_blocklist(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -264,6 +288,7 @@ class TestAsyncActions: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: action = await async_client.sim_card_groups.actions.retrieve( @@ -271,6 +296,7 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ActionRetrieveResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.sim_card_groups.actions.with_raw_response.retrieve( @@ -282,6 +308,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: action = await response.parse() assert_matches_type(ActionRetrieveResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.sim_card_groups.actions.with_streaming_response.retrieve( @@ -295,6 +322,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -302,11 +330,13 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: action = await async_client.sim_card_groups.actions.list() assert_matches_type(ActionListResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: action = await async_client.sim_card_groups.actions.list( @@ -318,6 +348,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(ActionListResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.sim_card_groups.actions.with_raw_response.list() @@ -327,6 +358,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: action = await response.parse() assert_matches_type(ActionListResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.sim_card_groups.actions.with_streaming_response.list() as response: @@ -338,6 +370,7 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_remove_private_wireless_gateway(self, async_client: AsyncTelnyx) -> None: action = await async_client.sim_card_groups.actions.remove_private_wireless_gateway( @@ -345,6 +378,7 @@ async def test_method_remove_private_wireless_gateway(self, async_client: AsyncT ) assert_matches_type(ActionRemovePrivateWirelessGatewayResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_remove_private_wireless_gateway(self, async_client: AsyncTelnyx) -> None: response = await async_client.sim_card_groups.actions.with_raw_response.remove_private_wireless_gateway( @@ -356,6 +390,7 @@ async def test_raw_response_remove_private_wireless_gateway(self, async_client: action = await response.parse() assert_matches_type(ActionRemovePrivateWirelessGatewayResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_remove_private_wireless_gateway(self, async_client: AsyncTelnyx) -> None: async with async_client.sim_card_groups.actions.with_streaming_response.remove_private_wireless_gateway( @@ -369,6 +404,7 @@ async def test_streaming_response_remove_private_wireless_gateway(self, async_cl assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_remove_private_wireless_gateway(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -376,6 +412,7 @@ async def test_path_params_remove_private_wireless_gateway(self, async_client: A "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_remove_wireless_blocklist(self, async_client: AsyncTelnyx) -> None: action = await async_client.sim_card_groups.actions.remove_wireless_blocklist( @@ -383,6 +420,7 @@ async def test_method_remove_wireless_blocklist(self, async_client: AsyncTelnyx) ) assert_matches_type(ActionRemoveWirelessBlocklistResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_remove_wireless_blocklist(self, async_client: AsyncTelnyx) -> None: response = await async_client.sim_card_groups.actions.with_raw_response.remove_wireless_blocklist( @@ -394,6 +432,7 @@ async def test_raw_response_remove_wireless_blocklist(self, async_client: AsyncT action = await response.parse() assert_matches_type(ActionRemoveWirelessBlocklistResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_remove_wireless_blocklist(self, async_client: AsyncTelnyx) -> None: async with async_client.sim_card_groups.actions.with_streaming_response.remove_wireless_blocklist( @@ -407,6 +446,7 @@ async def test_streaming_response_remove_wireless_blocklist(self, async_client: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_remove_wireless_blocklist(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -414,6 +454,7 @@ async def test_path_params_remove_wireless_blocklist(self, async_client: AsyncTe "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_set_private_wireless_gateway(self, async_client: AsyncTelnyx) -> None: action = await async_client.sim_card_groups.actions.set_private_wireless_gateway( @@ -422,6 +463,7 @@ async def test_method_set_private_wireless_gateway(self, async_client: AsyncTeln ) assert_matches_type(ActionSetPrivateWirelessGatewayResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_set_private_wireless_gateway(self, async_client: AsyncTelnyx) -> None: response = await async_client.sim_card_groups.actions.with_raw_response.set_private_wireless_gateway( @@ -434,6 +476,7 @@ async def test_raw_response_set_private_wireless_gateway(self, async_client: Asy action = await response.parse() assert_matches_type(ActionSetPrivateWirelessGatewayResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_set_private_wireless_gateway(self, async_client: AsyncTelnyx) -> None: async with async_client.sim_card_groups.actions.with_streaming_response.set_private_wireless_gateway( @@ -448,6 +491,7 @@ async def test_streaming_response_set_private_wireless_gateway(self, async_clien assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_set_private_wireless_gateway(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -456,6 +500,7 @@ async def test_path_params_set_private_wireless_gateway(self, async_client: Asyn private_wireless_gateway_id="6a09cdc3-8948-47f0-aa62-74ac943d6c58", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_set_wireless_blocklist(self, async_client: AsyncTelnyx) -> None: action = await async_client.sim_card_groups.actions.set_wireless_blocklist( @@ -464,6 +509,7 @@ async def test_method_set_wireless_blocklist(self, async_client: AsyncTelnyx) -> ) assert_matches_type(ActionSetWirelessBlocklistResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_set_wireless_blocklist(self, async_client: AsyncTelnyx) -> None: response = await async_client.sim_card_groups.actions.with_raw_response.set_wireless_blocklist( @@ -476,6 +522,7 @@ async def test_raw_response_set_wireless_blocklist(self, async_client: AsyncTeln action = await response.parse() assert_matches_type(ActionSetWirelessBlocklistResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_set_wireless_blocklist(self, async_client: AsyncTelnyx) -> None: async with async_client.sim_card_groups.actions.with_streaming_response.set_wireless_blocklist( @@ -490,6 +537,7 @@ async def test_streaming_response_set_wireless_blocklist(self, async_client: Asy assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_set_wireless_blocklist(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): diff --git a/tests/api_resources/sim_cards/test_actions.py b/tests/api_resources/sim_cards/test_actions.py index 151a616c..edc2142f 100644 --- a/tests/api_resources/sim_cards/test_actions.py +++ b/tests/api_resources/sim_cards/test_actions.py @@ -27,6 +27,7 @@ class TestActions: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: action = client.sim_cards.actions.retrieve( @@ -34,6 +35,7 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(ActionRetrieveResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.sim_cards.actions.with_raw_response.retrieve( @@ -45,6 +47,7 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionRetrieveResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.sim_cards.actions.with_streaming_response.retrieve( @@ -58,6 +61,7 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -65,11 +69,13 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: action = client.sim_cards.actions.list() assert_matches_type(ActionListResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: action = client.sim_cards.actions.list( @@ -86,6 +92,7 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ActionListResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.sim_cards.actions.with_raw_response.list() @@ -95,6 +102,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionListResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.sim_cards.actions.with_streaming_response.list() as response: @@ -106,6 +114,7 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_bulk_set_public_ips(self, client: Telnyx) -> None: action = client.sim_cards.actions.bulk_set_public_ips( @@ -113,6 +122,7 @@ def test_method_bulk_set_public_ips(self, client: Telnyx) -> None: ) assert_matches_type(ActionBulkSetPublicIPsResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_bulk_set_public_ips(self, client: Telnyx) -> None: response = client.sim_cards.actions.with_raw_response.bulk_set_public_ips( @@ -124,6 +134,7 @@ def test_raw_response_bulk_set_public_ips(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionBulkSetPublicIPsResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_bulk_set_public_ips(self, client: Telnyx) -> None: with client.sim_cards.actions.with_streaming_response.bulk_set_public_ips( @@ -137,6 +148,7 @@ def test_streaming_response_bulk_set_public_ips(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_disable(self, client: Telnyx) -> None: action = client.sim_cards.actions.disable( @@ -144,6 +156,7 @@ def test_method_disable(self, client: Telnyx) -> None: ) assert_matches_type(ActionDisableResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_disable(self, client: Telnyx) -> None: response = client.sim_cards.actions.with_raw_response.disable( @@ -155,6 +168,7 @@ def test_raw_response_disable(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionDisableResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_disable(self, client: Telnyx) -> None: with client.sim_cards.actions.with_streaming_response.disable( @@ -168,6 +182,7 @@ def test_streaming_response_disable(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_disable(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -175,6 +190,7 @@ def test_path_params_disable(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_enable(self, client: Telnyx) -> None: action = client.sim_cards.actions.enable( @@ -182,6 +198,7 @@ def test_method_enable(self, client: Telnyx) -> None: ) assert_matches_type(ActionEnableResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_enable(self, client: Telnyx) -> None: response = client.sim_cards.actions.with_raw_response.enable( @@ -193,6 +210,7 @@ def test_raw_response_enable(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionEnableResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_enable(self, client: Telnyx) -> None: with client.sim_cards.actions.with_streaming_response.enable( @@ -206,6 +224,7 @@ def test_streaming_response_enable(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_enable(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -213,6 +232,7 @@ def test_path_params_enable(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_remove_public_ip(self, client: Telnyx) -> None: action = client.sim_cards.actions.remove_public_ip( @@ -220,6 +240,7 @@ def test_method_remove_public_ip(self, client: Telnyx) -> None: ) assert_matches_type(ActionRemovePublicIPResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_remove_public_ip(self, client: Telnyx) -> None: response = client.sim_cards.actions.with_raw_response.remove_public_ip( @@ -231,6 +252,7 @@ def test_raw_response_remove_public_ip(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionRemovePublicIPResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_remove_public_ip(self, client: Telnyx) -> None: with client.sim_cards.actions.with_streaming_response.remove_public_ip( @@ -244,6 +266,7 @@ def test_streaming_response_remove_public_ip(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_remove_public_ip(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -251,6 +274,7 @@ def test_path_params_remove_public_ip(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_set_public_ip(self, client: Telnyx) -> None: action = client.sim_cards.actions.set_public_ip( @@ -258,6 +282,7 @@ def test_method_set_public_ip(self, client: Telnyx) -> None: ) assert_matches_type(ActionSetPublicIPResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_set_public_ip_with_all_params(self, client: Telnyx) -> None: action = client.sim_cards.actions.set_public_ip( @@ -266,6 +291,7 @@ def test_method_set_public_ip_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ActionSetPublicIPResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_set_public_ip(self, client: Telnyx) -> None: response = client.sim_cards.actions.with_raw_response.set_public_ip( @@ -277,6 +303,7 @@ def test_raw_response_set_public_ip(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionSetPublicIPResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_set_public_ip(self, client: Telnyx) -> None: with client.sim_cards.actions.with_streaming_response.set_public_ip( @@ -290,6 +317,7 @@ def test_streaming_response_set_public_ip(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_set_public_ip(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -297,6 +325,7 @@ def test_path_params_set_public_ip(self, client: Telnyx) -> None: id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_set_standby(self, client: Telnyx) -> None: action = client.sim_cards.actions.set_standby( @@ -304,6 +333,7 @@ def test_method_set_standby(self, client: Telnyx) -> None: ) assert_matches_type(ActionSetStandbyResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_set_standby(self, client: Telnyx) -> None: response = client.sim_cards.actions.with_raw_response.set_standby( @@ -315,6 +345,7 @@ def test_raw_response_set_standby(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionSetStandbyResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_set_standby(self, client: Telnyx) -> None: with client.sim_cards.actions.with_streaming_response.set_standby( @@ -328,6 +359,7 @@ def test_streaming_response_set_standby(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_set_standby(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -335,11 +367,13 @@ def test_path_params_set_standby(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_validate_registration_codes(self, client: Telnyx) -> None: action = client.sim_cards.actions.validate_registration_codes() assert_matches_type(ActionValidateRegistrationCodesResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_validate_registration_codes_with_all_params(self, client: Telnyx) -> None: action = client.sim_cards.actions.validate_registration_codes( @@ -347,6 +381,7 @@ def test_method_validate_registration_codes_with_all_params(self, client: Telnyx ) assert_matches_type(ActionValidateRegistrationCodesResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_validate_registration_codes(self, client: Telnyx) -> None: response = client.sim_cards.actions.with_raw_response.validate_registration_codes() @@ -356,6 +391,7 @@ def test_raw_response_validate_registration_codes(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionValidateRegistrationCodesResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_validate_registration_codes(self, client: Telnyx) -> None: with client.sim_cards.actions.with_streaming_response.validate_registration_codes() as response: @@ -373,6 +409,7 @@ class TestAsyncActions: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: action = await async_client.sim_cards.actions.retrieve( @@ -380,6 +417,7 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ActionRetrieveResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.sim_cards.actions.with_raw_response.retrieve( @@ -391,6 +429,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: action = await response.parse() assert_matches_type(ActionRetrieveResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.sim_cards.actions.with_streaming_response.retrieve( @@ -404,6 +443,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -411,11 +451,13 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: action = await async_client.sim_cards.actions.list() assert_matches_type(ActionListResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: action = await async_client.sim_cards.actions.list( @@ -432,6 +474,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(ActionListResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.sim_cards.actions.with_raw_response.list() @@ -441,6 +484,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: action = await response.parse() assert_matches_type(ActionListResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.sim_cards.actions.with_streaming_response.list() as response: @@ -452,6 +496,7 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_bulk_set_public_ips(self, async_client: AsyncTelnyx) -> None: action = await async_client.sim_cards.actions.bulk_set_public_ips( @@ -459,6 +504,7 @@ async def test_method_bulk_set_public_ips(self, async_client: AsyncTelnyx) -> No ) assert_matches_type(ActionBulkSetPublicIPsResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_bulk_set_public_ips(self, async_client: AsyncTelnyx) -> None: response = await async_client.sim_cards.actions.with_raw_response.bulk_set_public_ips( @@ -470,6 +516,7 @@ async def test_raw_response_bulk_set_public_ips(self, async_client: AsyncTelnyx) action = await response.parse() assert_matches_type(ActionBulkSetPublicIPsResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_bulk_set_public_ips(self, async_client: AsyncTelnyx) -> None: async with async_client.sim_cards.actions.with_streaming_response.bulk_set_public_ips( @@ -483,6 +530,7 @@ async def test_streaming_response_bulk_set_public_ips(self, async_client: AsyncT assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_disable(self, async_client: AsyncTelnyx) -> None: action = await async_client.sim_cards.actions.disable( @@ -490,6 +538,7 @@ async def test_method_disable(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ActionDisableResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_disable(self, async_client: AsyncTelnyx) -> None: response = await async_client.sim_cards.actions.with_raw_response.disable( @@ -501,6 +550,7 @@ async def test_raw_response_disable(self, async_client: AsyncTelnyx) -> None: action = await response.parse() assert_matches_type(ActionDisableResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_disable(self, async_client: AsyncTelnyx) -> None: async with async_client.sim_cards.actions.with_streaming_response.disable( @@ -514,6 +564,7 @@ async def test_streaming_response_disable(self, async_client: AsyncTelnyx) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_disable(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -521,6 +572,7 @@ async def test_path_params_disable(self, async_client: AsyncTelnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_enable(self, async_client: AsyncTelnyx) -> None: action = await async_client.sim_cards.actions.enable( @@ -528,6 +580,7 @@ async def test_method_enable(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ActionEnableResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_enable(self, async_client: AsyncTelnyx) -> None: response = await async_client.sim_cards.actions.with_raw_response.enable( @@ -539,6 +592,7 @@ async def test_raw_response_enable(self, async_client: AsyncTelnyx) -> None: action = await response.parse() assert_matches_type(ActionEnableResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_enable(self, async_client: AsyncTelnyx) -> None: async with async_client.sim_cards.actions.with_streaming_response.enable( @@ -552,6 +606,7 @@ async def test_streaming_response_enable(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_enable(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -559,6 +614,7 @@ async def test_path_params_enable(self, async_client: AsyncTelnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_remove_public_ip(self, async_client: AsyncTelnyx) -> None: action = await async_client.sim_cards.actions.remove_public_ip( @@ -566,6 +622,7 @@ async def test_method_remove_public_ip(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ActionRemovePublicIPResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_remove_public_ip(self, async_client: AsyncTelnyx) -> None: response = await async_client.sim_cards.actions.with_raw_response.remove_public_ip( @@ -577,6 +634,7 @@ async def test_raw_response_remove_public_ip(self, async_client: AsyncTelnyx) -> action = await response.parse() assert_matches_type(ActionRemovePublicIPResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_remove_public_ip(self, async_client: AsyncTelnyx) -> None: async with async_client.sim_cards.actions.with_streaming_response.remove_public_ip( @@ -590,6 +648,7 @@ async def test_streaming_response_remove_public_ip(self, async_client: AsyncTeln assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_remove_public_ip(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -597,6 +656,7 @@ async def test_path_params_remove_public_ip(self, async_client: AsyncTelnyx) -> "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_set_public_ip(self, async_client: AsyncTelnyx) -> None: action = await async_client.sim_cards.actions.set_public_ip( @@ -604,6 +664,7 @@ async def test_method_set_public_ip(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ActionSetPublicIPResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_set_public_ip_with_all_params(self, async_client: AsyncTelnyx) -> None: action = await async_client.sim_cards.actions.set_public_ip( @@ -612,6 +673,7 @@ async def test_method_set_public_ip_with_all_params(self, async_client: AsyncTel ) assert_matches_type(ActionSetPublicIPResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_set_public_ip(self, async_client: AsyncTelnyx) -> None: response = await async_client.sim_cards.actions.with_raw_response.set_public_ip( @@ -623,6 +685,7 @@ async def test_raw_response_set_public_ip(self, async_client: AsyncTelnyx) -> No action = await response.parse() assert_matches_type(ActionSetPublicIPResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_set_public_ip(self, async_client: AsyncTelnyx) -> None: async with async_client.sim_cards.actions.with_streaming_response.set_public_ip( @@ -636,6 +699,7 @@ async def test_streaming_response_set_public_ip(self, async_client: AsyncTelnyx) assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_set_public_ip(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -643,6 +707,7 @@ async def test_path_params_set_public_ip(self, async_client: AsyncTelnyx) -> Non id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_set_standby(self, async_client: AsyncTelnyx) -> None: action = await async_client.sim_cards.actions.set_standby( @@ -650,6 +715,7 @@ async def test_method_set_standby(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ActionSetStandbyResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_set_standby(self, async_client: AsyncTelnyx) -> None: response = await async_client.sim_cards.actions.with_raw_response.set_standby( @@ -661,6 +727,7 @@ async def test_raw_response_set_standby(self, async_client: AsyncTelnyx) -> None action = await response.parse() assert_matches_type(ActionSetStandbyResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_set_standby(self, async_client: AsyncTelnyx) -> None: async with async_client.sim_cards.actions.with_streaming_response.set_standby( @@ -674,6 +741,7 @@ async def test_streaming_response_set_standby(self, async_client: AsyncTelnyx) - assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_set_standby(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -681,11 +749,13 @@ async def test_path_params_set_standby(self, async_client: AsyncTelnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_validate_registration_codes(self, async_client: AsyncTelnyx) -> None: action = await async_client.sim_cards.actions.validate_registration_codes() assert_matches_type(ActionValidateRegistrationCodesResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_validate_registration_codes_with_all_params(self, async_client: AsyncTelnyx) -> None: action = await async_client.sim_cards.actions.validate_registration_codes( @@ -693,6 +763,7 @@ async def test_method_validate_registration_codes_with_all_params(self, async_cl ) assert_matches_type(ActionValidateRegistrationCodesResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_validate_registration_codes(self, async_client: AsyncTelnyx) -> None: response = await async_client.sim_cards.actions.with_raw_response.validate_registration_codes() @@ -702,6 +773,7 @@ async def test_raw_response_validate_registration_codes(self, async_client: Asyn action = await response.parse() assert_matches_type(ActionValidateRegistrationCodesResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_validate_registration_codes(self, async_client: AsyncTelnyx) -> None: async with async_client.sim_cards.actions.with_streaming_response.validate_registration_codes() as response: diff --git a/tests/api_resources/storage/buckets/test_ssl_certificate.py b/tests/api_resources/storage/buckets/test_ssl_certificate.py index da0b70f5..c76ba281 100644 --- a/tests/api_resources/storage/buckets/test_ssl_certificate.py +++ b/tests/api_resources/storage/buckets/test_ssl_certificate.py @@ -21,6 +21,7 @@ class TestSslCertificate: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: ssl_certificate = client.storage.buckets.ssl_certificate.create( @@ -28,6 +29,7 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(SslCertificateCreateResponse, ssl_certificate, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: ssl_certificate = client.storage.buckets.ssl_certificate.create( @@ -37,6 +39,7 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(SslCertificateCreateResponse, ssl_certificate, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.storage.buckets.ssl_certificate.with_raw_response.create( @@ -48,6 +51,7 @@ def test_raw_response_create(self, client: Telnyx) -> None: ssl_certificate = response.parse() assert_matches_type(SslCertificateCreateResponse, ssl_certificate, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.storage.buckets.ssl_certificate.with_streaming_response.create( @@ -61,6 +65,7 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_create(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `bucket_name` but received ''"): @@ -68,6 +73,7 @@ def test_path_params_create(self, client: Telnyx) -> None: bucket_name="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: ssl_certificate = client.storage.buckets.ssl_certificate.retrieve( @@ -75,6 +81,7 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(SslCertificateRetrieveResponse, ssl_certificate, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.storage.buckets.ssl_certificate.with_raw_response.retrieve( @@ -86,6 +93,7 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: ssl_certificate = response.parse() assert_matches_type(SslCertificateRetrieveResponse, ssl_certificate, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.storage.buckets.ssl_certificate.with_streaming_response.retrieve( @@ -99,6 +107,7 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `bucket_name` but received ''"): @@ -106,6 +115,7 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: ssl_certificate = client.storage.buckets.ssl_certificate.delete( @@ -113,6 +123,7 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert_matches_type(SslCertificateDeleteResponse, ssl_certificate, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.storage.buckets.ssl_certificate.with_raw_response.delete( @@ -124,6 +135,7 @@ def test_raw_response_delete(self, client: Telnyx) -> None: ssl_certificate = response.parse() assert_matches_type(SslCertificateDeleteResponse, ssl_certificate, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.storage.buckets.ssl_certificate.with_streaming_response.delete( @@ -137,6 +149,7 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `bucket_name` but received ''"): @@ -150,6 +163,7 @@ class TestAsyncSslCertificate: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: ssl_certificate = await async_client.storage.buckets.ssl_certificate.create( @@ -157,6 +171,7 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(SslCertificateCreateResponse, ssl_certificate, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: ssl_certificate = await async_client.storage.buckets.ssl_certificate.create( @@ -166,6 +181,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(SslCertificateCreateResponse, ssl_certificate, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.storage.buckets.ssl_certificate.with_raw_response.create( @@ -177,6 +193,7 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: ssl_certificate = await response.parse() assert_matches_type(SslCertificateCreateResponse, ssl_certificate, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.storage.buckets.ssl_certificate.with_streaming_response.create( @@ -190,6 +207,7 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_create(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `bucket_name` but received ''"): @@ -197,6 +215,7 @@ async def test_path_params_create(self, async_client: AsyncTelnyx) -> None: bucket_name="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ssl_certificate = await async_client.storage.buckets.ssl_certificate.retrieve( @@ -204,6 +223,7 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(SslCertificateRetrieveResponse, ssl_certificate, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.storage.buckets.ssl_certificate.with_raw_response.retrieve( @@ -215,6 +235,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: ssl_certificate = await response.parse() assert_matches_type(SslCertificateRetrieveResponse, ssl_certificate, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.storage.buckets.ssl_certificate.with_streaming_response.retrieve( @@ -228,6 +249,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `bucket_name` but received ''"): @@ -235,6 +257,7 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ssl_certificate = await async_client.storage.buckets.ssl_certificate.delete( @@ -242,6 +265,7 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(SslCertificateDeleteResponse, ssl_certificate, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.storage.buckets.ssl_certificate.with_raw_response.delete( @@ -253,6 +277,7 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: ssl_certificate = await response.parse() assert_matches_type(SslCertificateDeleteResponse, ssl_certificate, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.storage.buckets.ssl_certificate.with_streaming_response.delete( @@ -266,6 +291,7 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `bucket_name` but received ''"): diff --git a/tests/api_resources/storage/buckets/test_usage.py b/tests/api_resources/storage/buckets/test_usage.py index 0b8f61de..d487e399 100644 --- a/tests/api_resources/storage/buckets/test_usage.py +++ b/tests/api_resources/storage/buckets/test_usage.py @@ -21,6 +21,7 @@ class TestUsage: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_get_api_usage(self, client: Telnyx) -> None: usage = client.storage.buckets.usage.get_api_usage( @@ -32,6 +33,7 @@ def test_method_get_api_usage(self, client: Telnyx) -> None: ) assert_matches_type(UsageGetAPIUsageResponse, usage, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_get_api_usage(self, client: Telnyx) -> None: response = client.storage.buckets.usage.with_raw_response.get_api_usage( @@ -47,6 +49,7 @@ def test_raw_response_get_api_usage(self, client: Telnyx) -> None: usage = response.parse() assert_matches_type(UsageGetAPIUsageResponse, usage, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_get_api_usage(self, client: Telnyx) -> None: with client.storage.buckets.usage.with_streaming_response.get_api_usage( @@ -64,6 +67,7 @@ def test_streaming_response_get_api_usage(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_get_api_usage(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `bucket_name` but received ''"): @@ -75,6 +79,7 @@ def test_path_params_get_api_usage(self, client: Telnyx) -> None: }, ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_get_bucket_usage(self, client: Telnyx) -> None: usage = client.storage.buckets.usage.get_bucket_usage( @@ -82,6 +87,7 @@ def test_method_get_bucket_usage(self, client: Telnyx) -> None: ) assert_matches_type(UsageGetBucketUsageResponse, usage, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_get_bucket_usage(self, client: Telnyx) -> None: response = client.storage.buckets.usage.with_raw_response.get_bucket_usage( @@ -93,6 +99,7 @@ def test_raw_response_get_bucket_usage(self, client: Telnyx) -> None: usage = response.parse() assert_matches_type(UsageGetBucketUsageResponse, usage, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_get_bucket_usage(self, client: Telnyx) -> None: with client.storage.buckets.usage.with_streaming_response.get_bucket_usage( @@ -106,6 +113,7 @@ def test_streaming_response_get_bucket_usage(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_get_bucket_usage(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `bucket_name` but received ''"): @@ -119,6 +127,7 @@ class TestAsyncUsage: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_get_api_usage(self, async_client: AsyncTelnyx) -> None: usage = await async_client.storage.buckets.usage.get_api_usage( @@ -130,6 +139,7 @@ async def test_method_get_api_usage(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(UsageGetAPIUsageResponse, usage, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_get_api_usage(self, async_client: AsyncTelnyx) -> None: response = await async_client.storage.buckets.usage.with_raw_response.get_api_usage( @@ -145,6 +155,7 @@ async def test_raw_response_get_api_usage(self, async_client: AsyncTelnyx) -> No usage = await response.parse() assert_matches_type(UsageGetAPIUsageResponse, usage, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_get_api_usage(self, async_client: AsyncTelnyx) -> None: async with async_client.storage.buckets.usage.with_streaming_response.get_api_usage( @@ -162,6 +173,7 @@ async def test_streaming_response_get_api_usage(self, async_client: AsyncTelnyx) assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_get_api_usage(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `bucket_name` but received ''"): @@ -173,6 +185,7 @@ async def test_path_params_get_api_usage(self, async_client: AsyncTelnyx) -> Non }, ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_get_bucket_usage(self, async_client: AsyncTelnyx) -> None: usage = await async_client.storage.buckets.usage.get_bucket_usage( @@ -180,6 +193,7 @@ async def test_method_get_bucket_usage(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(UsageGetBucketUsageResponse, usage, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_get_bucket_usage(self, async_client: AsyncTelnyx) -> None: response = await async_client.storage.buckets.usage.with_raw_response.get_bucket_usage( @@ -191,6 +205,7 @@ async def test_raw_response_get_bucket_usage(self, async_client: AsyncTelnyx) -> usage = await response.parse() assert_matches_type(UsageGetBucketUsageResponse, usage, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_get_bucket_usage(self, async_client: AsyncTelnyx) -> None: async with async_client.storage.buckets.usage.with_streaming_response.get_bucket_usage( @@ -204,6 +219,7 @@ async def test_streaming_response_get_bucket_usage(self, async_client: AsyncTeln assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_get_bucket_usage(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `bucket_name` but received ''"): diff --git a/tests/api_resources/storage/migrations/test_actions.py b/tests/api_resources/storage/migrations/test_actions.py index 12bb30e4..67c18a38 100644 --- a/tests/api_resources/storage/migrations/test_actions.py +++ b/tests/api_resources/storage/migrations/test_actions.py @@ -17,6 +17,7 @@ class TestActions: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_stop(self, client: Telnyx) -> None: action = client.storage.migrations.actions.stop( @@ -24,6 +25,7 @@ def test_method_stop(self, client: Telnyx) -> None: ) assert_matches_type(ActionStopResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_stop(self, client: Telnyx) -> None: response = client.storage.migrations.actions.with_raw_response.stop( @@ -35,6 +37,7 @@ def test_raw_response_stop(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(ActionStopResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_stop(self, client: Telnyx) -> None: with client.storage.migrations.actions.with_streaming_response.stop( @@ -48,6 +51,7 @@ def test_streaming_response_stop(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_stop(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -61,6 +65,7 @@ class TestAsyncActions: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_stop(self, async_client: AsyncTelnyx) -> None: action = await async_client.storage.migrations.actions.stop( @@ -68,6 +73,7 @@ async def test_method_stop(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ActionStopResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_stop(self, async_client: AsyncTelnyx) -> None: response = await async_client.storage.migrations.actions.with_raw_response.stop( @@ -79,6 +85,7 @@ async def test_raw_response_stop(self, async_client: AsyncTelnyx) -> None: action = await response.parse() assert_matches_type(ActionStopResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_stop(self, async_client: AsyncTelnyx) -> None: async with async_client.storage.migrations.actions.with_streaming_response.stop( @@ -92,6 +99,7 @@ async def test_streaming_response_stop(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_stop(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): diff --git a/tests/api_resources/storage/test_buckets.py b/tests/api_resources/storage/test_buckets.py index b5d6f6c5..83903b27 100644 --- a/tests/api_resources/storage/test_buckets.py +++ b/tests/api_resources/storage/test_buckets.py @@ -17,6 +17,7 @@ class TestBuckets: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_presigned_url(self, client: Telnyx) -> None: bucket = client.storage.buckets.create_presigned_url( @@ -25,6 +26,7 @@ def test_method_create_presigned_url(self, client: Telnyx) -> None: ) assert_matches_type(BucketCreatePresignedURLResponse, bucket, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_presigned_url_with_all_params(self, client: Telnyx) -> None: bucket = client.storage.buckets.create_presigned_url( @@ -34,6 +36,7 @@ def test_method_create_presigned_url_with_all_params(self, client: Telnyx) -> No ) assert_matches_type(BucketCreatePresignedURLResponse, bucket, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create_presigned_url(self, client: Telnyx) -> None: response = client.storage.buckets.with_raw_response.create_presigned_url( @@ -46,6 +49,7 @@ def test_raw_response_create_presigned_url(self, client: Telnyx) -> None: bucket = response.parse() assert_matches_type(BucketCreatePresignedURLResponse, bucket, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create_presigned_url(self, client: Telnyx) -> None: with client.storage.buckets.with_streaming_response.create_presigned_url( @@ -60,6 +64,7 @@ def test_streaming_response_create_presigned_url(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_create_presigned_url(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `bucket_name` but received ''"): @@ -80,6 +85,7 @@ class TestAsyncBuckets: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_presigned_url(self, async_client: AsyncTelnyx) -> None: bucket = await async_client.storage.buckets.create_presigned_url( @@ -88,6 +94,7 @@ async def test_method_create_presigned_url(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(BucketCreatePresignedURLResponse, bucket, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_presigned_url_with_all_params(self, async_client: AsyncTelnyx) -> None: bucket = await async_client.storage.buckets.create_presigned_url( @@ -97,6 +104,7 @@ async def test_method_create_presigned_url_with_all_params(self, async_client: A ) assert_matches_type(BucketCreatePresignedURLResponse, bucket, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create_presigned_url(self, async_client: AsyncTelnyx) -> None: response = await async_client.storage.buckets.with_raw_response.create_presigned_url( @@ -109,6 +117,7 @@ async def test_raw_response_create_presigned_url(self, async_client: AsyncTelnyx bucket = await response.parse() assert_matches_type(BucketCreatePresignedURLResponse, bucket, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create_presigned_url(self, async_client: AsyncTelnyx) -> None: async with async_client.storage.buckets.with_streaming_response.create_presigned_url( @@ -123,6 +132,7 @@ async def test_streaming_response_create_presigned_url(self, async_client: Async assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_create_presigned_url(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `bucket_name` but received ''"): diff --git a/tests/api_resources/storage/test_migration_sources.py b/tests/api_resources/storage/test_migration_sources.py index 3736188e..efdce519 100644 --- a/tests/api_resources/storage/test_migration_sources.py +++ b/tests/api_resources/storage/test_migration_sources.py @@ -22,6 +22,7 @@ class TestMigrationSources: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: migration_source = client.storage.migration_sources.create( @@ -31,6 +32,7 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(MigrationSourceCreateResponse, migration_source, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: migration_source = client.storage.migration_sources.create( @@ -44,6 +46,7 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(MigrationSourceCreateResponse, migration_source, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.storage.migration_sources.with_raw_response.create( @@ -57,6 +60,7 @@ def test_raw_response_create(self, client: Telnyx) -> None: migration_source = response.parse() assert_matches_type(MigrationSourceCreateResponse, migration_source, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.storage.migration_sources.with_streaming_response.create( @@ -72,6 +76,7 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: migration_source = client.storage.migration_sources.retrieve( @@ -79,6 +84,7 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(MigrationSourceRetrieveResponse, migration_source, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.storage.migration_sources.with_raw_response.retrieve( @@ -90,6 +96,7 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: migration_source = response.parse() assert_matches_type(MigrationSourceRetrieveResponse, migration_source, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.storage.migration_sources.with_streaming_response.retrieve( @@ -103,6 +110,7 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -110,11 +118,13 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: migration_source = client.storage.migration_sources.list() assert_matches_type(MigrationSourceListResponse, migration_source, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.storage.migration_sources.with_raw_response.list() @@ -124,6 +134,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: migration_source = response.parse() assert_matches_type(MigrationSourceListResponse, migration_source, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.storage.migration_sources.with_streaming_response.list() as response: @@ -135,6 +146,7 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: migration_source = client.storage.migration_sources.delete( @@ -142,6 +154,7 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert_matches_type(MigrationSourceDeleteResponse, migration_source, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.storage.migration_sources.with_raw_response.delete( @@ -153,6 +166,7 @@ def test_raw_response_delete(self, client: Telnyx) -> None: migration_source = response.parse() assert_matches_type(MigrationSourceDeleteResponse, migration_source, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.storage.migration_sources.with_streaming_response.delete( @@ -166,6 +180,7 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -179,6 +194,7 @@ class TestAsyncMigrationSources: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: migration_source = await async_client.storage.migration_sources.create( @@ -188,6 +204,7 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(MigrationSourceCreateResponse, migration_source, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: migration_source = await async_client.storage.migration_sources.create( @@ -201,6 +218,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(MigrationSourceCreateResponse, migration_source, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.storage.migration_sources.with_raw_response.create( @@ -214,6 +232,7 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: migration_source = await response.parse() assert_matches_type(MigrationSourceCreateResponse, migration_source, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.storage.migration_sources.with_streaming_response.create( @@ -229,6 +248,7 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: migration_source = await async_client.storage.migration_sources.retrieve( @@ -236,6 +256,7 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(MigrationSourceRetrieveResponse, migration_source, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.storage.migration_sources.with_raw_response.retrieve( @@ -247,6 +268,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: migration_source = await response.parse() assert_matches_type(MigrationSourceRetrieveResponse, migration_source, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.storage.migration_sources.with_streaming_response.retrieve( @@ -260,6 +282,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -267,11 +290,13 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: migration_source = await async_client.storage.migration_sources.list() assert_matches_type(MigrationSourceListResponse, migration_source, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.storage.migration_sources.with_raw_response.list() @@ -281,6 +306,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: migration_source = await response.parse() assert_matches_type(MigrationSourceListResponse, migration_source, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.storage.migration_sources.with_streaming_response.list() as response: @@ -292,6 +318,7 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: migration_source = await async_client.storage.migration_sources.delete( @@ -299,6 +326,7 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(MigrationSourceDeleteResponse, migration_source, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.storage.migration_sources.with_raw_response.delete( @@ -310,6 +338,7 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: migration_source = await response.parse() assert_matches_type(MigrationSourceDeleteResponse, migration_source, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.storage.migration_sources.with_streaming_response.delete( @@ -323,6 +352,7 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): diff --git a/tests/api_resources/storage/test_migrations.py b/tests/api_resources/storage/test_migrations.py index 38c51b11..b56b3e80 100644 --- a/tests/api_resources/storage/test_migrations.py +++ b/tests/api_resources/storage/test_migrations.py @@ -21,6 +21,7 @@ class TestMigrations: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: migration = client.storage.migrations.create( @@ -30,6 +31,7 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(MigrationCreateResponse, migration, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: migration = client.storage.migrations.create( @@ -40,6 +42,7 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(MigrationCreateResponse, migration, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.storage.migrations.with_raw_response.create( @@ -53,6 +56,7 @@ def test_raw_response_create(self, client: Telnyx) -> None: migration = response.parse() assert_matches_type(MigrationCreateResponse, migration, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.storage.migrations.with_streaming_response.create( @@ -68,6 +72,7 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: migration = client.storage.migrations.retrieve( @@ -75,6 +80,7 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(MigrationRetrieveResponse, migration, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.storage.migrations.with_raw_response.retrieve( @@ -86,6 +92,7 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: migration = response.parse() assert_matches_type(MigrationRetrieveResponse, migration, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.storage.migrations.with_streaming_response.retrieve( @@ -99,6 +106,7 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -106,11 +114,13 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: migration = client.storage.migrations.list() assert_matches_type(MigrationListResponse, migration, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.storage.migrations.with_raw_response.list() @@ -120,6 +130,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: migration = response.parse() assert_matches_type(MigrationListResponse, migration, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.storage.migrations.with_streaming_response.list() as response: @@ -137,6 +148,7 @@ class TestAsyncMigrations: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: migration = await async_client.storage.migrations.create( @@ -146,6 +158,7 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(MigrationCreateResponse, migration, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: migration = await async_client.storage.migrations.create( @@ -156,6 +169,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(MigrationCreateResponse, migration, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.storage.migrations.with_raw_response.create( @@ -169,6 +183,7 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: migration = await response.parse() assert_matches_type(MigrationCreateResponse, migration, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.storage.migrations.with_streaming_response.create( @@ -184,6 +199,7 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: migration = await async_client.storage.migrations.retrieve( @@ -191,6 +207,7 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(MigrationRetrieveResponse, migration, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.storage.migrations.with_raw_response.retrieve( @@ -202,6 +219,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: migration = await response.parse() assert_matches_type(MigrationRetrieveResponse, migration, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.storage.migrations.with_streaming_response.retrieve( @@ -215,6 +233,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -222,11 +241,13 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: migration = await async_client.storage.migrations.list() assert_matches_type(MigrationListResponse, migration, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.storage.migrations.with_raw_response.list() @@ -236,6 +257,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: migration = await response.parse() assert_matches_type(MigrationListResponse, migration, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.storage.migrations.with_streaming_response.list() as response: diff --git a/tests/api_resources/test_access_ip_address.py b/tests/api_resources/test_access_ip_address.py index 20dc9746..bb864b2d 100644 --- a/tests/api_resources/test_access_ip_address.py +++ b/tests/api_resources/test_access_ip_address.py @@ -21,6 +21,7 @@ class TestAccessIPAddress: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: access_ip_address = client.access_ip_address.create( @@ -28,6 +29,7 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(AccessIPAddressResponse, access_ip_address, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: access_ip_address = client.access_ip_address.create( @@ -36,6 +38,7 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(AccessIPAddressResponse, access_ip_address, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.access_ip_address.with_raw_response.create( @@ -47,6 +50,7 @@ def test_raw_response_create(self, client: Telnyx) -> None: access_ip_address = response.parse() assert_matches_type(AccessIPAddressResponse, access_ip_address, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.access_ip_address.with_streaming_response.create( @@ -60,6 +64,7 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: access_ip_address = client.access_ip_address.retrieve( @@ -67,6 +72,7 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(AccessIPAddressResponse, access_ip_address, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.access_ip_address.with_raw_response.retrieve( @@ -78,6 +84,7 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: access_ip_address = response.parse() assert_matches_type(AccessIPAddressResponse, access_ip_address, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.access_ip_address.with_streaming_response.retrieve( @@ -91,6 +98,7 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `access_ip_address_id` but received ''"): @@ -98,11 +106,13 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: access_ip_address = client.access_ip_address.list() assert_matches_type(AccessIPAddressListResponse, access_ip_address, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: access_ip_address = client.access_ip_address.list( @@ -118,6 +128,7 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(AccessIPAddressListResponse, access_ip_address, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.access_ip_address.with_raw_response.list() @@ -127,6 +138,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: access_ip_address = response.parse() assert_matches_type(AccessIPAddressListResponse, access_ip_address, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.access_ip_address.with_streaming_response.list() as response: @@ -138,6 +150,7 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: access_ip_address = client.access_ip_address.delete( @@ -145,6 +158,7 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert_matches_type(AccessIPAddressResponse, access_ip_address, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.access_ip_address.with_raw_response.delete( @@ -156,6 +170,7 @@ def test_raw_response_delete(self, client: Telnyx) -> None: access_ip_address = response.parse() assert_matches_type(AccessIPAddressResponse, access_ip_address, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.access_ip_address.with_streaming_response.delete( @@ -169,6 +184,7 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `access_ip_address_id` but received ''"): @@ -182,6 +198,7 @@ class TestAsyncAccessIPAddress: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: access_ip_address = await async_client.access_ip_address.create( @@ -189,6 +206,7 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(AccessIPAddressResponse, access_ip_address, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: access_ip_address = await async_client.access_ip_address.create( @@ -197,6 +215,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(AccessIPAddressResponse, access_ip_address, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.access_ip_address.with_raw_response.create( @@ -208,6 +227,7 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: access_ip_address = await response.parse() assert_matches_type(AccessIPAddressResponse, access_ip_address, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.access_ip_address.with_streaming_response.create( @@ -221,6 +241,7 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: access_ip_address = await async_client.access_ip_address.retrieve( @@ -228,6 +249,7 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(AccessIPAddressResponse, access_ip_address, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.access_ip_address.with_raw_response.retrieve( @@ -239,6 +261,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: access_ip_address = await response.parse() assert_matches_type(AccessIPAddressResponse, access_ip_address, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.access_ip_address.with_streaming_response.retrieve( @@ -252,6 +275,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `access_ip_address_id` but received ''"): @@ -259,11 +283,13 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: access_ip_address = await async_client.access_ip_address.list() assert_matches_type(AccessIPAddressListResponse, access_ip_address, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: access_ip_address = await async_client.access_ip_address.list( @@ -279,6 +305,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(AccessIPAddressListResponse, access_ip_address, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.access_ip_address.with_raw_response.list() @@ -288,6 +315,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: access_ip_address = await response.parse() assert_matches_type(AccessIPAddressListResponse, access_ip_address, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.access_ip_address.with_streaming_response.list() as response: @@ -299,6 +327,7 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: access_ip_address = await async_client.access_ip_address.delete( @@ -306,6 +335,7 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(AccessIPAddressResponse, access_ip_address, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.access_ip_address.with_raw_response.delete( @@ -317,6 +347,7 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: access_ip_address = await response.parse() assert_matches_type(AccessIPAddressResponse, access_ip_address, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.access_ip_address.with_streaming_response.delete( @@ -330,6 +361,7 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `access_ip_address_id` but received ''"): diff --git a/tests/api_resources/test_access_ip_ranges.py b/tests/api_resources/test_access_ip_ranges.py index bd8b980e..37bd76da 100644 --- a/tests/api_resources/test_access_ip_ranges.py +++ b/tests/api_resources/test_access_ip_ranges.py @@ -21,6 +21,7 @@ class TestAccessIPRanges: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: access_ip_range = client.access_ip_ranges.create( @@ -28,6 +29,7 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(AccessIPRange, access_ip_range, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: access_ip_range = client.access_ip_ranges.create( @@ -36,6 +38,7 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(AccessIPRange, access_ip_range, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.access_ip_ranges.with_raw_response.create( @@ -47,6 +50,7 @@ def test_raw_response_create(self, client: Telnyx) -> None: access_ip_range = response.parse() assert_matches_type(AccessIPRange, access_ip_range, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.access_ip_ranges.with_streaming_response.create( @@ -60,11 +64,13 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: access_ip_range = client.access_ip_ranges.list() assert_matches_type(AccessIPRangeListResponse, access_ip_range, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: access_ip_range = client.access_ip_ranges.list( @@ -79,6 +85,7 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(AccessIPRangeListResponse, access_ip_range, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.access_ip_ranges.with_raw_response.list() @@ -88,6 +95,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: access_ip_range = response.parse() assert_matches_type(AccessIPRangeListResponse, access_ip_range, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.access_ip_ranges.with_streaming_response.list() as response: @@ -99,6 +107,7 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: access_ip_range = client.access_ip_ranges.delete( @@ -106,6 +115,7 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert_matches_type(AccessIPRange, access_ip_range, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.access_ip_ranges.with_raw_response.delete( @@ -117,6 +127,7 @@ def test_raw_response_delete(self, client: Telnyx) -> None: access_ip_range = response.parse() assert_matches_type(AccessIPRange, access_ip_range, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.access_ip_ranges.with_streaming_response.delete( @@ -130,6 +141,7 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `access_ip_range_id` but received ''"): @@ -143,6 +155,7 @@ class TestAsyncAccessIPRanges: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: access_ip_range = await async_client.access_ip_ranges.create( @@ -150,6 +163,7 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(AccessIPRange, access_ip_range, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: access_ip_range = await async_client.access_ip_ranges.create( @@ -158,6 +172,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(AccessIPRange, access_ip_range, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.access_ip_ranges.with_raw_response.create( @@ -169,6 +184,7 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: access_ip_range = await response.parse() assert_matches_type(AccessIPRange, access_ip_range, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.access_ip_ranges.with_streaming_response.create( @@ -182,11 +198,13 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: access_ip_range = await async_client.access_ip_ranges.list() assert_matches_type(AccessIPRangeListResponse, access_ip_range, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: access_ip_range = await async_client.access_ip_ranges.list( @@ -201,6 +219,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(AccessIPRangeListResponse, access_ip_range, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.access_ip_ranges.with_raw_response.list() @@ -210,6 +229,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: access_ip_range = await response.parse() assert_matches_type(AccessIPRangeListResponse, access_ip_range, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.access_ip_ranges.with_streaming_response.list() as response: @@ -221,6 +241,7 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: access_ip_range = await async_client.access_ip_ranges.delete( @@ -228,6 +249,7 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(AccessIPRange, access_ip_range, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.access_ip_ranges.with_raw_response.delete( @@ -239,6 +261,7 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: access_ip_range = await response.parse() assert_matches_type(AccessIPRange, access_ip_range, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.access_ip_ranges.with_streaming_response.delete( @@ -252,6 +275,7 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `access_ip_range_id` but received ''"): diff --git a/tests/api_resources/test_addresses.py b/tests/api_resources/test_addresses.py index d91c4b60..22c2a190 100644 --- a/tests/api_resources/test_addresses.py +++ b/tests/api_resources/test_addresses.py @@ -22,6 +22,7 @@ class TestAddresses: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: address = client.addresses.create( @@ -34,6 +35,7 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(AddressCreateResponse, address, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: address = client.addresses.create( @@ -55,6 +57,7 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(AddressCreateResponse, address, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.addresses.with_raw_response.create( @@ -71,6 +74,7 @@ def test_raw_response_create(self, client: Telnyx) -> None: address = response.parse() assert_matches_type(AddressCreateResponse, address, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.addresses.with_streaming_response.create( @@ -89,6 +93,7 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: address = client.addresses.retrieve( @@ -96,6 +101,7 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(AddressRetrieveResponse, address, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.addresses.with_raw_response.retrieve( @@ -107,6 +113,7 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: address = response.parse() assert_matches_type(AddressRetrieveResponse, address, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.addresses.with_streaming_response.retrieve( @@ -120,6 +127,7 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -127,11 +135,13 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: address = client.addresses.list() assert_matches_type(AddressListResponse, address, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: address = client.addresses.list( @@ -149,6 +159,7 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(AddressListResponse, address, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.addresses.with_raw_response.list() @@ -158,6 +169,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: address = response.parse() assert_matches_type(AddressListResponse, address, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.addresses.with_streaming_response.list() as response: @@ -169,6 +181,7 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: address = client.addresses.delete( @@ -176,6 +189,7 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert_matches_type(AddressDeleteResponse, address, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.addresses.with_raw_response.delete( @@ -187,6 +201,7 @@ def test_raw_response_delete(self, client: Telnyx) -> None: address = response.parse() assert_matches_type(AddressDeleteResponse, address, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.addresses.with_streaming_response.delete( @@ -200,6 +215,7 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -213,6 +229,7 @@ class TestAsyncAddresses: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: address = await async_client.addresses.create( @@ -225,6 +242,7 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(AddressCreateResponse, address, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: address = await async_client.addresses.create( @@ -246,6 +264,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(AddressCreateResponse, address, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.addresses.with_raw_response.create( @@ -262,6 +281,7 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: address = await response.parse() assert_matches_type(AddressCreateResponse, address, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.addresses.with_streaming_response.create( @@ -280,6 +300,7 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: address = await async_client.addresses.retrieve( @@ -287,6 +308,7 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(AddressRetrieveResponse, address, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.addresses.with_raw_response.retrieve( @@ -298,6 +320,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: address = await response.parse() assert_matches_type(AddressRetrieveResponse, address, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.addresses.with_streaming_response.retrieve( @@ -311,6 +334,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -318,11 +342,13 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: address = await async_client.addresses.list() assert_matches_type(AddressListResponse, address, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: address = await async_client.addresses.list( @@ -340,6 +366,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(AddressListResponse, address, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.addresses.with_raw_response.list() @@ -349,6 +376,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: address = await response.parse() assert_matches_type(AddressListResponse, address, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.addresses.with_streaming_response.list() as response: @@ -360,6 +388,7 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: address = await async_client.addresses.delete( @@ -367,6 +396,7 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(AddressDeleteResponse, address, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.addresses.with_raw_response.delete( @@ -378,6 +408,7 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: address = await response.parse() assert_matches_type(AddressDeleteResponse, address, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.addresses.with_streaming_response.delete( @@ -391,6 +422,7 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): diff --git a/tests/api_resources/test_advanced_orders.py b/tests/api_resources/test_advanced_orders.py index d82ea2e7..6f851dc2 100644 --- a/tests/api_resources/test_advanced_orders.py +++ b/tests/api_resources/test_advanced_orders.py @@ -16,11 +16,13 @@ class TestAdvancedOrders: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: advanced_order = client.advanced_orders.create() assert_matches_type(object, advanced_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: advanced_order = client.advanced_orders.create( @@ -35,6 +37,7 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(object, advanced_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.advanced_orders.with_raw_response.create() @@ -44,6 +47,7 @@ def test_raw_response_create(self, client: Telnyx) -> None: advanced_order = response.parse() assert_matches_type(object, advanced_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.advanced_orders.with_streaming_response.create() as response: @@ -55,6 +59,7 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: advanced_order = client.advanced_orders.retrieve( @@ -62,6 +67,7 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(object, advanced_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.advanced_orders.with_raw_response.retrieve( @@ -73,6 +79,7 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: advanced_order = response.parse() assert_matches_type(object, advanced_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.advanced_orders.with_streaming_response.retrieve( @@ -86,6 +93,7 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `order_id` but received ''"): @@ -93,6 +101,7 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update(self, client: Telnyx) -> None: advanced_order = client.advanced_orders.update( @@ -100,6 +109,7 @@ def test_method_update(self, client: Telnyx) -> None: ) assert_matches_type(object, advanced_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_with_all_params(self, client: Telnyx) -> None: advanced_order = client.advanced_orders.update( @@ -115,6 +125,7 @@ def test_method_update_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(object, advanced_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update(self, client: Telnyx) -> None: response = client.advanced_orders.with_raw_response.update( @@ -126,6 +137,7 @@ def test_raw_response_update(self, client: Telnyx) -> None: advanced_order = response.parse() assert_matches_type(object, advanced_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update(self, client: Telnyx) -> None: with client.advanced_orders.with_streaming_response.update( @@ -139,6 +151,7 @@ def test_streaming_response_update(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `order_id` but received ''"): @@ -146,11 +159,13 @@ def test_path_params_update(self, client: Telnyx) -> None: order_id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: advanced_order = client.advanced_orders.list() assert_matches_type(object, advanced_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.advanced_orders.with_raw_response.list() @@ -160,6 +175,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: advanced_order = response.parse() assert_matches_type(object, advanced_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.advanced_orders.with_streaming_response.list() as response: @@ -177,11 +193,13 @@ class TestAsyncAdvancedOrders: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: advanced_order = await async_client.advanced_orders.create() assert_matches_type(object, advanced_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: advanced_order = await async_client.advanced_orders.create( @@ -196,6 +214,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(object, advanced_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.advanced_orders.with_raw_response.create() @@ -205,6 +224,7 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: advanced_order = await response.parse() assert_matches_type(object, advanced_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.advanced_orders.with_streaming_response.create() as response: @@ -216,6 +236,7 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: advanced_order = await async_client.advanced_orders.retrieve( @@ -223,6 +244,7 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(object, advanced_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.advanced_orders.with_raw_response.retrieve( @@ -234,6 +256,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: advanced_order = await response.parse() assert_matches_type(object, advanced_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.advanced_orders.with_streaming_response.retrieve( @@ -247,6 +270,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `order_id` but received ''"): @@ -254,6 +278,7 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update(self, async_client: AsyncTelnyx) -> None: advanced_order = await async_client.advanced_orders.update( @@ -261,6 +286,7 @@ async def test_method_update(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(object, advanced_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> None: advanced_order = await async_client.advanced_orders.update( @@ -276,6 +302,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(object, advanced_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: response = await async_client.advanced_orders.with_raw_response.update( @@ -287,6 +314,7 @@ async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: advanced_order = await response.parse() assert_matches_type(object, advanced_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> None: async with async_client.advanced_orders.with_streaming_response.update( @@ -300,6 +328,7 @@ async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `order_id` but received ''"): @@ -307,11 +336,13 @@ async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: order_id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: advanced_order = await async_client.advanced_orders.list() assert_matches_type(object, advanced_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.advanced_orders.with_raw_response.list() @@ -321,6 +352,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: advanced_order = await response.parse() assert_matches_type(object, advanced_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.advanced_orders.with_streaming_response.list() as response: diff --git a/tests/api_resources/test_ai.py b/tests/api_resources/test_ai.py index 9d49b278..feb9b0e4 100644 --- a/tests/api_resources/test_ai.py +++ b/tests/api_resources/test_ai.py @@ -17,11 +17,13 @@ class TestAI: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve_models(self, client: Telnyx) -> None: ai = client.ai.retrieve_models() assert_matches_type(AIRetrieveModelsResponse, ai, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve_models(self, client: Telnyx) -> None: response = client.ai.with_raw_response.retrieve_models() @@ -31,6 +33,7 @@ def test_raw_response_retrieve_models(self, client: Telnyx) -> None: ai = response.parse() assert_matches_type(AIRetrieveModelsResponse, ai, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve_models(self, client: Telnyx) -> None: with client.ai.with_streaming_response.retrieve_models() as response: @@ -42,6 +45,7 @@ def test_streaming_response_retrieve_models(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_summarize(self, client: Telnyx) -> None: ai = client.ai.summarize( @@ -50,6 +54,7 @@ def test_method_summarize(self, client: Telnyx) -> None: ) assert_matches_type(AISummarizeResponse, ai, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_summarize_with_all_params(self, client: Telnyx) -> None: ai = client.ai.summarize( @@ -59,6 +64,7 @@ def test_method_summarize_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(AISummarizeResponse, ai, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_summarize(self, client: Telnyx) -> None: response = client.ai.with_raw_response.summarize( @@ -71,6 +77,7 @@ def test_raw_response_summarize(self, client: Telnyx) -> None: ai = response.parse() assert_matches_type(AISummarizeResponse, ai, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_summarize(self, client: Telnyx) -> None: with client.ai.with_streaming_response.summarize( @@ -91,11 +98,13 @@ class TestAsyncAI: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve_models(self, async_client: AsyncTelnyx) -> None: ai = await async_client.ai.retrieve_models() assert_matches_type(AIRetrieveModelsResponse, ai, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve_models(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.with_raw_response.retrieve_models() @@ -105,6 +114,7 @@ async def test_raw_response_retrieve_models(self, async_client: AsyncTelnyx) -> ai = await response.parse() assert_matches_type(AIRetrieveModelsResponse, ai, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve_models(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.with_streaming_response.retrieve_models() as response: @@ -116,6 +126,7 @@ async def test_streaming_response_retrieve_models(self, async_client: AsyncTelny assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_summarize(self, async_client: AsyncTelnyx) -> None: ai = await async_client.ai.summarize( @@ -124,6 +135,7 @@ async def test_method_summarize(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(AISummarizeResponse, ai, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_summarize_with_all_params(self, async_client: AsyncTelnyx) -> None: ai = await async_client.ai.summarize( @@ -133,6 +145,7 @@ async def test_method_summarize_with_all_params(self, async_client: AsyncTelnyx) ) assert_matches_type(AISummarizeResponse, ai, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_summarize(self, async_client: AsyncTelnyx) -> None: response = await async_client.ai.with_raw_response.summarize( @@ -145,6 +158,7 @@ async def test_raw_response_summarize(self, async_client: AsyncTelnyx) -> None: ai = await response.parse() assert_matches_type(AISummarizeResponse, ai, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_summarize(self, async_client: AsyncTelnyx) -> None: async with async_client.ai.with_streaming_response.summarize( diff --git a/tests/api_resources/test_audit_events.py b/tests/api_resources/test_audit_events.py index 7a598430..0427f5b4 100644 --- a/tests/api_resources/test_audit_events.py +++ b/tests/api_resources/test_audit_events.py @@ -18,11 +18,13 @@ class TestAuditEvents: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: audit_event = client.audit_events.list() assert_matches_type(AuditEventListResponse, audit_event, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: audit_event = client.audit_events.list( @@ -38,6 +40,7 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(AuditEventListResponse, audit_event, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.audit_events.with_raw_response.list() @@ -47,6 +50,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: audit_event = response.parse() assert_matches_type(AuditEventListResponse, audit_event, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.audit_events.with_streaming_response.list() as response: @@ -64,11 +68,13 @@ class TestAsyncAuditEvents: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: audit_event = await async_client.audit_events.list() assert_matches_type(AuditEventListResponse, audit_event, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: audit_event = await async_client.audit_events.list( @@ -84,6 +90,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(AuditEventListResponse, audit_event, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.audit_events.with_raw_response.list() @@ -93,6 +100,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: audit_event = await response.parse() assert_matches_type(AuditEventListResponse, audit_event, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.audit_events.with_streaming_response.list() as response: diff --git a/tests/api_resources/test_authentication_providers.py b/tests/api_resources/test_authentication_providers.py index bb86d9a6..f084aefa 100644 --- a/tests/api_resources/test_authentication_providers.py +++ b/tests/api_resources/test_authentication_providers.py @@ -23,6 +23,7 @@ class TestAuthenticationProviders: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: authentication_provider = client.authentication_providers.create( @@ -36,6 +37,7 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(AuthenticationProviderCreateResponse, authentication_provider, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: authentication_provider = client.authentication_providers.create( @@ -52,6 +54,7 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(AuthenticationProviderCreateResponse, authentication_provider, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.authentication_providers.with_raw_response.create( @@ -69,6 +72,7 @@ def test_raw_response_create(self, client: Telnyx) -> None: authentication_provider = response.parse() assert_matches_type(AuthenticationProviderCreateResponse, authentication_provider, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.authentication_providers.with_streaming_response.create( @@ -88,6 +92,7 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: authentication_provider = client.authentication_providers.retrieve( @@ -95,6 +100,7 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(AuthenticationProviderRetrieveResponse, authentication_provider, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.authentication_providers.with_raw_response.retrieve( @@ -106,6 +112,7 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: authentication_provider = response.parse() assert_matches_type(AuthenticationProviderRetrieveResponse, authentication_provider, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.authentication_providers.with_streaming_response.retrieve( @@ -119,6 +126,7 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -126,6 +134,7 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update(self, client: Telnyx) -> None: authentication_provider = client.authentication_providers.update( @@ -133,6 +142,7 @@ def test_method_update(self, client: Telnyx) -> None: ) assert_matches_type(AuthenticationProviderUpdateResponse, authentication_provider, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_with_all_params(self, client: Telnyx) -> None: authentication_provider = client.authentication_providers.update( @@ -150,6 +160,7 @@ def test_method_update_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(AuthenticationProviderUpdateResponse, authentication_provider, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update(self, client: Telnyx) -> None: response = client.authentication_providers.with_raw_response.update( @@ -161,6 +172,7 @@ def test_raw_response_update(self, client: Telnyx) -> None: authentication_provider = response.parse() assert_matches_type(AuthenticationProviderUpdateResponse, authentication_provider, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update(self, client: Telnyx) -> None: with client.authentication_providers.with_streaming_response.update( @@ -174,6 +186,7 @@ def test_streaming_response_update(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -181,11 +194,13 @@ def test_path_params_update(self, client: Telnyx) -> None: id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: authentication_provider = client.authentication_providers.list() assert_matches_type(AuthenticationProviderListResponse, authentication_provider, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: authentication_provider = client.authentication_providers.list( @@ -197,6 +212,7 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(AuthenticationProviderListResponse, authentication_provider, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.authentication_providers.with_raw_response.list() @@ -206,6 +222,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: authentication_provider = response.parse() assert_matches_type(AuthenticationProviderListResponse, authentication_provider, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.authentication_providers.with_streaming_response.list() as response: @@ -217,6 +234,7 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: authentication_provider = client.authentication_providers.delete( @@ -224,6 +242,7 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert_matches_type(AuthenticationProviderDeleteResponse, authentication_provider, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.authentication_providers.with_raw_response.delete( @@ -235,6 +254,7 @@ def test_raw_response_delete(self, client: Telnyx) -> None: authentication_provider = response.parse() assert_matches_type(AuthenticationProviderDeleteResponse, authentication_provider, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.authentication_providers.with_streaming_response.delete( @@ -248,6 +268,7 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -261,6 +282,7 @@ class TestAsyncAuthenticationProviders: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: authentication_provider = await async_client.authentication_providers.create( @@ -274,6 +296,7 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(AuthenticationProviderCreateResponse, authentication_provider, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: authentication_provider = await async_client.authentication_providers.create( @@ -290,6 +313,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(AuthenticationProviderCreateResponse, authentication_provider, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.authentication_providers.with_raw_response.create( @@ -307,6 +331,7 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: authentication_provider = await response.parse() assert_matches_type(AuthenticationProviderCreateResponse, authentication_provider, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.authentication_providers.with_streaming_response.create( @@ -326,6 +351,7 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: authentication_provider = await async_client.authentication_providers.retrieve( @@ -333,6 +359,7 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(AuthenticationProviderRetrieveResponse, authentication_provider, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.authentication_providers.with_raw_response.retrieve( @@ -344,6 +371,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: authentication_provider = await response.parse() assert_matches_type(AuthenticationProviderRetrieveResponse, authentication_provider, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.authentication_providers.with_streaming_response.retrieve( @@ -357,6 +385,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -364,6 +393,7 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update(self, async_client: AsyncTelnyx) -> None: authentication_provider = await async_client.authentication_providers.update( @@ -371,6 +401,7 @@ async def test_method_update(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(AuthenticationProviderUpdateResponse, authentication_provider, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> None: authentication_provider = await async_client.authentication_providers.update( @@ -388,6 +419,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(AuthenticationProviderUpdateResponse, authentication_provider, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: response = await async_client.authentication_providers.with_raw_response.update( @@ -399,6 +431,7 @@ async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: authentication_provider = await response.parse() assert_matches_type(AuthenticationProviderUpdateResponse, authentication_provider, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> None: async with async_client.authentication_providers.with_streaming_response.update( @@ -412,6 +445,7 @@ async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -419,11 +453,13 @@ async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: authentication_provider = await async_client.authentication_providers.list() assert_matches_type(AuthenticationProviderListResponse, authentication_provider, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: authentication_provider = await async_client.authentication_providers.list( @@ -435,6 +471,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(AuthenticationProviderListResponse, authentication_provider, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.authentication_providers.with_raw_response.list() @@ -444,6 +481,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: authentication_provider = await response.parse() assert_matches_type(AuthenticationProviderListResponse, authentication_provider, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.authentication_providers.with_streaming_response.list() as response: @@ -455,6 +493,7 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: authentication_provider = await async_client.authentication_providers.delete( @@ -462,6 +501,7 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(AuthenticationProviderDeleteResponse, authentication_provider, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.authentication_providers.with_raw_response.delete( @@ -473,6 +513,7 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: authentication_provider = await response.parse() assert_matches_type(AuthenticationProviderDeleteResponse, authentication_provider, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.authentication_providers.with_streaming_response.delete( @@ -486,6 +527,7 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): diff --git a/tests/api_resources/test_available_phone_number_blocks.py b/tests/api_resources/test_available_phone_number_blocks.py index 181522d1..abd3c021 100644 --- a/tests/api_resources/test_available_phone_number_blocks.py +++ b/tests/api_resources/test_available_phone_number_blocks.py @@ -17,11 +17,13 @@ class TestAvailablePhoneNumberBlocks: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: available_phone_number_block = client.available_phone_number_blocks.list() assert_matches_type(AvailablePhoneNumberBlockListResponse, available_phone_number_block, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: available_phone_number_block = client.available_phone_number_blocks.list( @@ -34,6 +36,7 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(AvailablePhoneNumberBlockListResponse, available_phone_number_block, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.available_phone_number_blocks.with_raw_response.list() @@ -43,6 +46,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: available_phone_number_block = response.parse() assert_matches_type(AvailablePhoneNumberBlockListResponse, available_phone_number_block, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.available_phone_number_blocks.with_streaming_response.list() as response: @@ -60,11 +64,13 @@ class TestAsyncAvailablePhoneNumberBlocks: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: available_phone_number_block = await async_client.available_phone_number_blocks.list() assert_matches_type(AvailablePhoneNumberBlockListResponse, available_phone_number_block, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: available_phone_number_block = await async_client.available_phone_number_blocks.list( @@ -77,6 +83,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(AvailablePhoneNumberBlockListResponse, available_phone_number_block, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.available_phone_number_blocks.with_raw_response.list() @@ -86,6 +93,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: available_phone_number_block = await response.parse() assert_matches_type(AvailablePhoneNumberBlockListResponse, available_phone_number_block, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.available_phone_number_blocks.with_streaming_response.list() as response: diff --git a/tests/api_resources/test_available_phone_numbers.py b/tests/api_resources/test_available_phone_numbers.py index 9447c3d9..d87900e5 100644 --- a/tests/api_resources/test_available_phone_numbers.py +++ b/tests/api_resources/test_available_phone_numbers.py @@ -17,11 +17,13 @@ class TestAvailablePhoneNumbers: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: available_phone_number = client.available_phone_numbers.list() assert_matches_type(AvailablePhoneNumberListResponse, available_phone_number, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: available_phone_number = client.available_phone_numbers.list( @@ -47,6 +49,7 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(AvailablePhoneNumberListResponse, available_phone_number, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.available_phone_numbers.with_raw_response.list() @@ -56,6 +59,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: available_phone_number = response.parse() assert_matches_type(AvailablePhoneNumberListResponse, available_phone_number, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.available_phone_numbers.with_streaming_response.list() as response: @@ -73,11 +77,13 @@ class TestAsyncAvailablePhoneNumbers: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: available_phone_number = await async_client.available_phone_numbers.list() assert_matches_type(AvailablePhoneNumberListResponse, available_phone_number, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: available_phone_number = await async_client.available_phone_numbers.list( @@ -103,6 +109,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(AvailablePhoneNumberListResponse, available_phone_number, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.available_phone_numbers.with_raw_response.list() @@ -112,6 +119,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: available_phone_number = await response.parse() assert_matches_type(AvailablePhoneNumberListResponse, available_phone_number, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.available_phone_numbers.with_streaming_response.list() as response: diff --git a/tests/api_resources/test_balance.py b/tests/api_resources/test_balance.py index 80f10301..59efdaa0 100644 --- a/tests/api_resources/test_balance.py +++ b/tests/api_resources/test_balance.py @@ -17,11 +17,13 @@ class TestBalance: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: balance = client.balance.retrieve() assert_matches_type(BalanceRetrieveResponse, balance, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.balance.with_raw_response.retrieve() @@ -31,6 +33,7 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: balance = response.parse() assert_matches_type(BalanceRetrieveResponse, balance, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.balance.with_streaming_response.retrieve() as response: @@ -48,11 +51,13 @@ class TestAsyncBalance: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: balance = await async_client.balance.retrieve() assert_matches_type(BalanceRetrieveResponse, balance, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.balance.with_raw_response.retrieve() @@ -62,6 +67,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: balance = await response.parse() assert_matches_type(BalanceRetrieveResponse, balance, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.balance.with_streaming_response.retrieve() as response: diff --git a/tests/api_resources/test_billing_groups.py b/tests/api_resources/test_billing_groups.py index 5103635b..44988fd5 100644 --- a/tests/api_resources/test_billing_groups.py +++ b/tests/api_resources/test_billing_groups.py @@ -23,11 +23,13 @@ class TestBillingGroups: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: billing_group = client.billing_groups.create() assert_matches_type(BillingGroupCreateResponse, billing_group, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: billing_group = client.billing_groups.create( @@ -35,6 +37,7 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(BillingGroupCreateResponse, billing_group, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.billing_groups.with_raw_response.create() @@ -44,6 +47,7 @@ def test_raw_response_create(self, client: Telnyx) -> None: billing_group = response.parse() assert_matches_type(BillingGroupCreateResponse, billing_group, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.billing_groups.with_streaming_response.create() as response: @@ -55,6 +59,7 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: billing_group = client.billing_groups.retrieve( @@ -62,6 +67,7 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(BillingGroupRetrieveResponse, billing_group, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.billing_groups.with_raw_response.retrieve( @@ -73,6 +79,7 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: billing_group = response.parse() assert_matches_type(BillingGroupRetrieveResponse, billing_group, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.billing_groups.with_streaming_response.retrieve( @@ -86,6 +93,7 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -93,6 +101,7 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update(self, client: Telnyx) -> None: billing_group = client.billing_groups.update( @@ -100,6 +109,7 @@ def test_method_update(self, client: Telnyx) -> None: ) assert_matches_type(BillingGroupUpdateResponse, billing_group, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_with_all_params(self, client: Telnyx) -> None: billing_group = client.billing_groups.update( @@ -108,6 +118,7 @@ def test_method_update_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(BillingGroupUpdateResponse, billing_group, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update(self, client: Telnyx) -> None: response = client.billing_groups.with_raw_response.update( @@ -119,6 +130,7 @@ def test_raw_response_update(self, client: Telnyx) -> None: billing_group = response.parse() assert_matches_type(BillingGroupUpdateResponse, billing_group, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update(self, client: Telnyx) -> None: with client.billing_groups.with_streaming_response.update( @@ -132,6 +144,7 @@ def test_streaming_response_update(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -139,11 +152,13 @@ def test_path_params_update(self, client: Telnyx) -> None: id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: billing_group = client.billing_groups.list() assert_matches_type(BillingGroupListResponse, billing_group, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: billing_group = client.billing_groups.list( @@ -154,6 +169,7 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(BillingGroupListResponse, billing_group, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.billing_groups.with_raw_response.list() @@ -163,6 +179,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: billing_group = response.parse() assert_matches_type(BillingGroupListResponse, billing_group, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.billing_groups.with_streaming_response.list() as response: @@ -174,6 +191,7 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: billing_group = client.billing_groups.delete( @@ -181,6 +199,7 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert_matches_type(BillingGroupDeleteResponse, billing_group, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.billing_groups.with_raw_response.delete( @@ -192,6 +211,7 @@ def test_raw_response_delete(self, client: Telnyx) -> None: billing_group = response.parse() assert_matches_type(BillingGroupDeleteResponse, billing_group, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.billing_groups.with_streaming_response.delete( @@ -205,6 +225,7 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -218,11 +239,13 @@ class TestAsyncBillingGroups: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: billing_group = await async_client.billing_groups.create() assert_matches_type(BillingGroupCreateResponse, billing_group, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: billing_group = await async_client.billing_groups.create( @@ -230,6 +253,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(BillingGroupCreateResponse, billing_group, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.billing_groups.with_raw_response.create() @@ -239,6 +263,7 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: billing_group = await response.parse() assert_matches_type(BillingGroupCreateResponse, billing_group, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.billing_groups.with_streaming_response.create() as response: @@ -250,6 +275,7 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: billing_group = await async_client.billing_groups.retrieve( @@ -257,6 +283,7 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(BillingGroupRetrieveResponse, billing_group, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.billing_groups.with_raw_response.retrieve( @@ -268,6 +295,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: billing_group = await response.parse() assert_matches_type(BillingGroupRetrieveResponse, billing_group, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.billing_groups.with_streaming_response.retrieve( @@ -281,6 +309,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -288,6 +317,7 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update(self, async_client: AsyncTelnyx) -> None: billing_group = await async_client.billing_groups.update( @@ -295,6 +325,7 @@ async def test_method_update(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(BillingGroupUpdateResponse, billing_group, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> None: billing_group = await async_client.billing_groups.update( @@ -303,6 +334,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(BillingGroupUpdateResponse, billing_group, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: response = await async_client.billing_groups.with_raw_response.update( @@ -314,6 +346,7 @@ async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: billing_group = await response.parse() assert_matches_type(BillingGroupUpdateResponse, billing_group, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> None: async with async_client.billing_groups.with_streaming_response.update( @@ -327,6 +360,7 @@ async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -334,11 +368,13 @@ async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: billing_group = await async_client.billing_groups.list() assert_matches_type(BillingGroupListResponse, billing_group, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: billing_group = await async_client.billing_groups.list( @@ -349,6 +385,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(BillingGroupListResponse, billing_group, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.billing_groups.with_raw_response.list() @@ -358,6 +395,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: billing_group = await response.parse() assert_matches_type(BillingGroupListResponse, billing_group, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.billing_groups.with_streaming_response.list() as response: @@ -369,6 +407,7 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: billing_group = await async_client.billing_groups.delete( @@ -376,6 +415,7 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(BillingGroupDeleteResponse, billing_group, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.billing_groups.with_raw_response.delete( @@ -387,6 +427,7 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: billing_group = await response.parse() assert_matches_type(BillingGroupDeleteResponse, billing_group, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.billing_groups.with_streaming_response.delete( @@ -400,6 +441,7 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): diff --git a/tests/api_resources/test_brand.py b/tests/api_resources/test_brand.py index 413868bd..48ebf66c 100644 --- a/tests/api_resources/test_brand.py +++ b/tests/api_resources/test_brand.py @@ -22,6 +22,7 @@ class TestBrand: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: brand = client.brand.create( @@ -33,6 +34,7 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(TelnyxBrand, brand, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: brand = client.brand.create( @@ -63,6 +65,7 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(TelnyxBrand, brand, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.brand.with_raw_response.create( @@ -78,6 +81,7 @@ def test_raw_response_create(self, client: Telnyx) -> None: brand = response.parse() assert_matches_type(TelnyxBrand, brand, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.brand.with_streaming_response.create( @@ -95,6 +99,7 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: brand = client.brand.retrieve( @@ -102,6 +107,7 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(BrandRetrieveResponse, brand, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.brand.with_raw_response.retrieve( @@ -113,6 +119,7 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: brand = response.parse() assert_matches_type(BrandRetrieveResponse, brand, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.brand.with_streaming_response.retrieve( @@ -126,6 +133,7 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `brand_id` but received ''"): @@ -133,6 +141,7 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update(self, client: Telnyx) -> None: brand = client.brand.update( @@ -145,6 +154,7 @@ def test_method_update(self, client: Telnyx) -> None: ) assert_matches_type(TelnyxBrand, brand, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_with_all_params(self, client: Telnyx) -> None: brand = client.brand.update( @@ -177,6 +187,7 @@ def test_method_update_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(TelnyxBrand, brand, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update(self, client: Telnyx) -> None: response = client.brand.with_raw_response.update( @@ -193,6 +204,7 @@ def test_raw_response_update(self, client: Telnyx) -> None: brand = response.parse() assert_matches_type(TelnyxBrand, brand, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update(self, client: Telnyx) -> None: with client.brand.with_streaming_response.update( @@ -211,6 +223,7 @@ def test_streaming_response_update(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `brand_id` but received ''"): @@ -223,11 +236,13 @@ def test_path_params_update(self, client: Telnyx) -> None: vertical="TECHNOLOGY", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: brand = client.brand.list() assert_matches_type(BrandListResponse, brand, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: brand = client.brand.list( @@ -243,6 +258,7 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(BrandListResponse, brand, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.brand.with_raw_response.list() @@ -252,6 +268,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: brand = response.parse() assert_matches_type(BrandListResponse, brand, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.brand.with_streaming_response.list() as response: @@ -263,6 +280,7 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: brand = client.brand.delete( @@ -270,6 +288,7 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert_matches_type(object, brand, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.brand.with_raw_response.delete( @@ -281,6 +300,7 @@ def test_raw_response_delete(self, client: Telnyx) -> None: brand = response.parse() assert_matches_type(object, brand, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.brand.with_streaming_response.delete( @@ -294,6 +314,7 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `brand_id` but received ''"): @@ -301,6 +322,7 @@ def test_path_params_delete(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_get_feedback(self, client: Telnyx) -> None: brand = client.brand.get_feedback( @@ -308,6 +330,7 @@ def test_method_get_feedback(self, client: Telnyx) -> None: ) assert_matches_type(BrandGetFeedbackResponse, brand, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_get_feedback(self, client: Telnyx) -> None: response = client.brand.with_raw_response.get_feedback( @@ -319,6 +342,7 @@ def test_raw_response_get_feedback(self, client: Telnyx) -> None: brand = response.parse() assert_matches_type(BrandGetFeedbackResponse, brand, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_get_feedback(self, client: Telnyx) -> None: with client.brand.with_streaming_response.get_feedback( @@ -332,6 +356,7 @@ def test_streaming_response_get_feedback(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_get_feedback(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `brand_id` but received ''"): @@ -339,6 +364,7 @@ def test_path_params_get_feedback(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_resend_2fa_email(self, client: Telnyx) -> None: brand = client.brand.resend_2fa_email( @@ -346,6 +372,7 @@ def test_method_resend_2fa_email(self, client: Telnyx) -> None: ) assert brand is None + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_resend_2fa_email(self, client: Telnyx) -> None: response = client.brand.with_raw_response.resend_2fa_email( @@ -357,6 +384,7 @@ def test_raw_response_resend_2fa_email(self, client: Telnyx) -> None: brand = response.parse() assert brand is None + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_resend_2fa_email(self, client: Telnyx) -> None: with client.brand.with_streaming_response.resend_2fa_email( @@ -370,6 +398,7 @@ def test_streaming_response_resend_2fa_email(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_resend_2fa_email(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `brand_id` but received ''"): @@ -377,6 +406,7 @@ def test_path_params_resend_2fa_email(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_revet(self, client: Telnyx) -> None: brand = client.brand.revet( @@ -384,6 +414,7 @@ def test_method_revet(self, client: Telnyx) -> None: ) assert_matches_type(object, brand, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_revet(self, client: Telnyx) -> None: response = client.brand.with_raw_response.revet( @@ -395,6 +426,7 @@ def test_raw_response_revet(self, client: Telnyx) -> None: brand = response.parse() assert_matches_type(object, brand, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_revet(self, client: Telnyx) -> None: with client.brand.with_streaming_response.revet( @@ -408,6 +440,7 @@ def test_streaming_response_revet(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_revet(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `brand_id` but received ''"): @@ -421,6 +454,7 @@ class TestAsyncBrand: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: brand = await async_client.brand.create( @@ -432,6 +466,7 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(TelnyxBrand, brand, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: brand = await async_client.brand.create( @@ -462,6 +497,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(TelnyxBrand, brand, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.brand.with_raw_response.create( @@ -477,6 +513,7 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: brand = await response.parse() assert_matches_type(TelnyxBrand, brand, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.brand.with_streaming_response.create( @@ -494,6 +531,7 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: brand = await async_client.brand.retrieve( @@ -501,6 +539,7 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(BrandRetrieveResponse, brand, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.brand.with_raw_response.retrieve( @@ -512,6 +551,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: brand = await response.parse() assert_matches_type(BrandRetrieveResponse, brand, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.brand.with_streaming_response.retrieve( @@ -525,6 +565,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `brand_id` but received ''"): @@ -532,6 +573,7 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update(self, async_client: AsyncTelnyx) -> None: brand = await async_client.brand.update( @@ -544,6 +586,7 @@ async def test_method_update(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(TelnyxBrand, brand, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> None: brand = await async_client.brand.update( @@ -576,6 +619,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(TelnyxBrand, brand, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: response = await async_client.brand.with_raw_response.update( @@ -592,6 +636,7 @@ async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: brand = await response.parse() assert_matches_type(TelnyxBrand, brand, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> None: async with async_client.brand.with_streaming_response.update( @@ -610,6 +655,7 @@ async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `brand_id` but received ''"): @@ -622,11 +668,13 @@ async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: vertical="TECHNOLOGY", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: brand = await async_client.brand.list() assert_matches_type(BrandListResponse, brand, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: brand = await async_client.brand.list( @@ -642,6 +690,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(BrandListResponse, brand, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.brand.with_raw_response.list() @@ -651,6 +700,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: brand = await response.parse() assert_matches_type(BrandListResponse, brand, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.brand.with_streaming_response.list() as response: @@ -662,6 +712,7 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: brand = await async_client.brand.delete( @@ -669,6 +720,7 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(object, brand, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.brand.with_raw_response.delete( @@ -680,6 +732,7 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: brand = await response.parse() assert_matches_type(object, brand, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.brand.with_streaming_response.delete( @@ -693,6 +746,7 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `brand_id` but received ''"): @@ -700,6 +754,7 @@ async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_get_feedback(self, async_client: AsyncTelnyx) -> None: brand = await async_client.brand.get_feedback( @@ -707,6 +762,7 @@ async def test_method_get_feedback(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(BrandGetFeedbackResponse, brand, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_get_feedback(self, async_client: AsyncTelnyx) -> None: response = await async_client.brand.with_raw_response.get_feedback( @@ -718,6 +774,7 @@ async def test_raw_response_get_feedback(self, async_client: AsyncTelnyx) -> Non brand = await response.parse() assert_matches_type(BrandGetFeedbackResponse, brand, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_get_feedback(self, async_client: AsyncTelnyx) -> None: async with async_client.brand.with_streaming_response.get_feedback( @@ -731,6 +788,7 @@ async def test_streaming_response_get_feedback(self, async_client: AsyncTelnyx) assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_get_feedback(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `brand_id` but received ''"): @@ -738,6 +796,7 @@ async def test_path_params_get_feedback(self, async_client: AsyncTelnyx) -> None "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_resend_2fa_email(self, async_client: AsyncTelnyx) -> None: brand = await async_client.brand.resend_2fa_email( @@ -745,6 +804,7 @@ async def test_method_resend_2fa_email(self, async_client: AsyncTelnyx) -> None: ) assert brand is None + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_resend_2fa_email(self, async_client: AsyncTelnyx) -> None: response = await async_client.brand.with_raw_response.resend_2fa_email( @@ -756,6 +816,7 @@ async def test_raw_response_resend_2fa_email(self, async_client: AsyncTelnyx) -> brand = await response.parse() assert brand is None + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_resend_2fa_email(self, async_client: AsyncTelnyx) -> None: async with async_client.brand.with_streaming_response.resend_2fa_email( @@ -769,6 +830,7 @@ async def test_streaming_response_resend_2fa_email(self, async_client: AsyncTeln assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_resend_2fa_email(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `brand_id` but received ''"): @@ -776,6 +838,7 @@ async def test_path_params_resend_2fa_email(self, async_client: AsyncTelnyx) -> "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_revet(self, async_client: AsyncTelnyx) -> None: brand = await async_client.brand.revet( @@ -783,6 +846,7 @@ async def test_method_revet(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(object, brand, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_revet(self, async_client: AsyncTelnyx) -> None: response = await async_client.brand.with_raw_response.revet( @@ -794,6 +858,7 @@ async def test_raw_response_revet(self, async_client: AsyncTelnyx) -> None: brand = await response.parse() assert_matches_type(object, brand, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_revet(self, async_client: AsyncTelnyx) -> None: async with async_client.brand.with_streaming_response.revet( @@ -807,6 +872,7 @@ async def test_streaming_response_revet(self, async_client: AsyncTelnyx) -> None assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_revet(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `brand_id` but received ''"): diff --git a/tests/api_resources/test_bulk_sim_card_actions.py b/tests/api_resources/test_bulk_sim_card_actions.py index 54e3fe80..3471d968 100644 --- a/tests/api_resources/test_bulk_sim_card_actions.py +++ b/tests/api_resources/test_bulk_sim_card_actions.py @@ -20,6 +20,7 @@ class TestBulkSimCardActions: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: bulk_sim_card_action = client.bulk_sim_card_actions.retrieve( @@ -27,6 +28,7 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(BulkSimCardActionRetrieveResponse, bulk_sim_card_action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.bulk_sim_card_actions.with_raw_response.retrieve( @@ -38,6 +40,7 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: bulk_sim_card_action = response.parse() assert_matches_type(BulkSimCardActionRetrieveResponse, bulk_sim_card_action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.bulk_sim_card_actions.with_streaming_response.retrieve( @@ -51,6 +54,7 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -58,11 +62,13 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: bulk_sim_card_action = client.bulk_sim_card_actions.list() assert_matches_type(BulkSimCardActionListResponse, bulk_sim_card_action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: bulk_sim_card_action = client.bulk_sim_card_actions.list( @@ -72,6 +78,7 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(BulkSimCardActionListResponse, bulk_sim_card_action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.bulk_sim_card_actions.with_raw_response.list() @@ -81,6 +88,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: bulk_sim_card_action = response.parse() assert_matches_type(BulkSimCardActionListResponse, bulk_sim_card_action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.bulk_sim_card_actions.with_streaming_response.list() as response: @@ -98,6 +106,7 @@ class TestAsyncBulkSimCardActions: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: bulk_sim_card_action = await async_client.bulk_sim_card_actions.retrieve( @@ -105,6 +114,7 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(BulkSimCardActionRetrieveResponse, bulk_sim_card_action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.bulk_sim_card_actions.with_raw_response.retrieve( @@ -116,6 +126,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: bulk_sim_card_action = await response.parse() assert_matches_type(BulkSimCardActionRetrieveResponse, bulk_sim_card_action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.bulk_sim_card_actions.with_streaming_response.retrieve( @@ -129,6 +140,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -136,11 +148,13 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: bulk_sim_card_action = await async_client.bulk_sim_card_actions.list() assert_matches_type(BulkSimCardActionListResponse, bulk_sim_card_action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: bulk_sim_card_action = await async_client.bulk_sim_card_actions.list( @@ -150,6 +164,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(BulkSimCardActionListResponse, bulk_sim_card_action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.bulk_sim_card_actions.with_raw_response.list() @@ -159,6 +174,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: bulk_sim_card_action = await response.parse() assert_matches_type(BulkSimCardActionListResponse, bulk_sim_card_action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.bulk_sim_card_actions.with_streaming_response.list() as response: diff --git a/tests/api_resources/test_call_control_applications.py b/tests/api_resources/test_call_control_applications.py index 0a6d0264..5febfd41 100644 --- a/tests/api_resources/test_call_control_applications.py +++ b/tests/api_resources/test_call_control_applications.py @@ -23,6 +23,7 @@ class TestCallControlApplications: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: call_control_application = client.call_control_applications.create( @@ -31,6 +32,7 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(CallControlApplicationCreateResponse, call_control_application, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: call_control_application = client.call_control_applications.create( @@ -58,6 +60,7 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(CallControlApplicationCreateResponse, call_control_application, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.call_control_applications.with_raw_response.create( @@ -70,6 +73,7 @@ def test_raw_response_create(self, client: Telnyx) -> None: call_control_application = response.parse() assert_matches_type(CallControlApplicationCreateResponse, call_control_application, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.call_control_applications.with_streaming_response.create( @@ -84,6 +88,7 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: call_control_application = client.call_control_applications.retrieve( @@ -91,6 +96,7 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(CallControlApplicationRetrieveResponse, call_control_application, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.call_control_applications.with_raw_response.retrieve( @@ -102,6 +108,7 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: call_control_application = response.parse() assert_matches_type(CallControlApplicationRetrieveResponse, call_control_application, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.call_control_applications.with_streaming_response.retrieve( @@ -115,6 +122,7 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -122,6 +130,7 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update(self, client: Telnyx) -> None: call_control_application = client.call_control_applications.update( @@ -131,6 +140,7 @@ def test_method_update(self, client: Telnyx) -> None: ) assert_matches_type(CallControlApplicationUpdateResponse, call_control_application, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_with_all_params(self, client: Telnyx) -> None: call_control_application = client.call_control_applications.update( @@ -160,6 +170,7 @@ def test_method_update_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(CallControlApplicationUpdateResponse, call_control_application, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update(self, client: Telnyx) -> None: response = client.call_control_applications.with_raw_response.update( @@ -173,6 +184,7 @@ def test_raw_response_update(self, client: Telnyx) -> None: call_control_application = response.parse() assert_matches_type(CallControlApplicationUpdateResponse, call_control_application, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update(self, client: Telnyx) -> None: with client.call_control_applications.with_streaming_response.update( @@ -188,6 +200,7 @@ def test_streaming_response_update(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -197,11 +210,13 @@ def test_path_params_update(self, client: Telnyx) -> None: webhook_event_url="https://example.com", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: call_control_application = client.call_control_applications.list() assert_matches_type(CallControlApplicationListResponse, call_control_application, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: call_control_application = client.call_control_applications.list( @@ -237,6 +252,7 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(CallControlApplicationListResponse, call_control_application, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.call_control_applications.with_raw_response.list() @@ -246,6 +262,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: call_control_application = response.parse() assert_matches_type(CallControlApplicationListResponse, call_control_application, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.call_control_applications.with_streaming_response.list() as response: @@ -257,6 +274,7 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: call_control_application = client.call_control_applications.delete( @@ -264,6 +282,7 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert_matches_type(CallControlApplicationDeleteResponse, call_control_application, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.call_control_applications.with_raw_response.delete( @@ -275,6 +294,7 @@ def test_raw_response_delete(self, client: Telnyx) -> None: call_control_application = response.parse() assert_matches_type(CallControlApplicationDeleteResponse, call_control_application, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.call_control_applications.with_streaming_response.delete( @@ -288,6 +308,7 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -301,6 +322,7 @@ class TestAsyncCallControlApplications: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: call_control_application = await async_client.call_control_applications.create( @@ -309,6 +331,7 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(CallControlApplicationCreateResponse, call_control_application, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: call_control_application = await async_client.call_control_applications.create( @@ -336,6 +359,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(CallControlApplicationCreateResponse, call_control_application, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.call_control_applications.with_raw_response.create( @@ -348,6 +372,7 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: call_control_application = await response.parse() assert_matches_type(CallControlApplicationCreateResponse, call_control_application, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.call_control_applications.with_streaming_response.create( @@ -362,6 +387,7 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: call_control_application = await async_client.call_control_applications.retrieve( @@ -369,6 +395,7 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(CallControlApplicationRetrieveResponse, call_control_application, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.call_control_applications.with_raw_response.retrieve( @@ -380,6 +407,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: call_control_application = await response.parse() assert_matches_type(CallControlApplicationRetrieveResponse, call_control_application, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.call_control_applications.with_streaming_response.retrieve( @@ -393,6 +421,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -400,6 +429,7 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update(self, async_client: AsyncTelnyx) -> None: call_control_application = await async_client.call_control_applications.update( @@ -409,6 +439,7 @@ async def test_method_update(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(CallControlApplicationUpdateResponse, call_control_application, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> None: call_control_application = await async_client.call_control_applications.update( @@ -438,6 +469,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(CallControlApplicationUpdateResponse, call_control_application, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: response = await async_client.call_control_applications.with_raw_response.update( @@ -451,6 +483,7 @@ async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: call_control_application = await response.parse() assert_matches_type(CallControlApplicationUpdateResponse, call_control_application, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> None: async with async_client.call_control_applications.with_streaming_response.update( @@ -466,6 +499,7 @@ async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -475,11 +509,13 @@ async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: webhook_event_url="https://example.com", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: call_control_application = await async_client.call_control_applications.list() assert_matches_type(CallControlApplicationListResponse, call_control_application, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: call_control_application = await async_client.call_control_applications.list( @@ -515,6 +551,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(CallControlApplicationListResponse, call_control_application, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.call_control_applications.with_raw_response.list() @@ -524,6 +561,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: call_control_application = await response.parse() assert_matches_type(CallControlApplicationListResponse, call_control_application, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.call_control_applications.with_streaming_response.list() as response: @@ -535,6 +573,7 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: call_control_application = await async_client.call_control_applications.delete( @@ -542,6 +581,7 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(CallControlApplicationDeleteResponse, call_control_application, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.call_control_applications.with_raw_response.delete( @@ -553,6 +593,7 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: call_control_application = await response.parse() assert_matches_type(CallControlApplicationDeleteResponse, call_control_application, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.call_control_applications.with_streaming_response.delete( @@ -566,6 +607,7 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): diff --git a/tests/api_resources/test_call_events.py b/tests/api_resources/test_call_events.py index 6ab6c2ac..32ec69a7 100644 --- a/tests/api_resources/test_call_events.py +++ b/tests/api_resources/test_call_events.py @@ -17,11 +17,13 @@ class TestCallEvents: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: call_event = client.call_events.list() assert_matches_type(CallEventListResponse, call_event, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: call_event = client.call_events.list( @@ -56,6 +58,7 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(CallEventListResponse, call_event, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.call_events.with_raw_response.list() @@ -65,6 +68,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: call_event = response.parse() assert_matches_type(CallEventListResponse, call_event, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.call_events.with_streaming_response.list() as response: @@ -82,11 +86,13 @@ class TestAsyncCallEvents: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: call_event = await async_client.call_events.list() assert_matches_type(CallEventListResponse, call_event, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: call_event = await async_client.call_events.list( @@ -121,6 +127,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(CallEventListResponse, call_event, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.call_events.with_raw_response.list() @@ -130,6 +137,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: call_event = await response.parse() assert_matches_type(CallEventListResponse, call_event, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.call_events.with_streaming_response.list() as response: diff --git a/tests/api_resources/test_calls.py b/tests/api_resources/test_calls.py index ba2b1f6a..92d06e37 100644 --- a/tests/api_resources/test_calls.py +++ b/tests/api_resources/test_calls.py @@ -20,6 +20,7 @@ class TestCalls: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_dial(self, client: Telnyx) -> None: call = client.calls.dial( @@ -29,6 +30,7 @@ def test_method_dial(self, client: Telnyx) -> None: ) assert_matches_type(CallDialResponse, call, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_dial_with_all_params(self, client: Telnyx) -> None: call = client.calls.dial( @@ -159,6 +161,7 @@ def test_method_dial_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(CallDialResponse, call, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_dial(self, client: Telnyx) -> None: response = client.calls.with_raw_response.dial( @@ -172,6 +175,7 @@ def test_raw_response_dial(self, client: Telnyx) -> None: call = response.parse() assert_matches_type(CallDialResponse, call, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_dial(self, client: Telnyx) -> None: with client.calls.with_streaming_response.dial( @@ -187,6 +191,7 @@ def test_streaming_response_dial(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve_status(self, client: Telnyx) -> None: call = client.calls.retrieve_status( @@ -194,6 +199,7 @@ def test_method_retrieve_status(self, client: Telnyx) -> None: ) assert_matches_type(CallRetrieveStatusResponse, call, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve_status(self, client: Telnyx) -> None: response = client.calls.with_raw_response.retrieve_status( @@ -205,6 +211,7 @@ def test_raw_response_retrieve_status(self, client: Telnyx) -> None: call = response.parse() assert_matches_type(CallRetrieveStatusResponse, call, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve_status(self, client: Telnyx) -> None: with client.calls.with_streaming_response.retrieve_status( @@ -218,6 +225,7 @@ def test_streaming_response_retrieve_status(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve_status(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_control_id` but received ''"): @@ -231,6 +239,7 @@ class TestAsyncCalls: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_dial(self, async_client: AsyncTelnyx) -> None: call = await async_client.calls.dial( @@ -240,6 +249,7 @@ async def test_method_dial(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(CallDialResponse, call, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_dial_with_all_params(self, async_client: AsyncTelnyx) -> None: call = await async_client.calls.dial( @@ -370,6 +380,7 @@ async def test_method_dial_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(CallDialResponse, call, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_dial(self, async_client: AsyncTelnyx) -> None: response = await async_client.calls.with_raw_response.dial( @@ -383,6 +394,7 @@ async def test_raw_response_dial(self, async_client: AsyncTelnyx) -> None: call = await response.parse() assert_matches_type(CallDialResponse, call, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_dial(self, async_client: AsyncTelnyx) -> None: async with async_client.calls.with_streaming_response.dial( @@ -398,6 +410,7 @@ async def test_streaming_response_dial(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve_status(self, async_client: AsyncTelnyx) -> None: call = await async_client.calls.retrieve_status( @@ -405,6 +418,7 @@ async def test_method_retrieve_status(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(CallRetrieveStatusResponse, call, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve_status(self, async_client: AsyncTelnyx) -> None: response = await async_client.calls.with_raw_response.retrieve_status( @@ -416,6 +430,7 @@ async def test_raw_response_retrieve_status(self, async_client: AsyncTelnyx) -> call = await response.parse() assert_matches_type(CallRetrieveStatusResponse, call, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve_status(self, async_client: AsyncTelnyx) -> None: async with async_client.calls.with_streaming_response.retrieve_status( @@ -429,6 +444,7 @@ async def test_streaming_response_retrieve_status(self, async_client: AsyncTelny assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve_status(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_control_id` but received ''"): diff --git a/tests/api_resources/test_campaign.py b/tests/api_resources/test_campaign.py index 3e878c20..f5e37ec1 100644 --- a/tests/api_resources/test_campaign.py +++ b/tests/api_resources/test_campaign.py @@ -24,6 +24,7 @@ class TestCampaign: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: campaign = client.campaign.retrieve( @@ -31,6 +32,7 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(TelnyxCampaignCsp, campaign, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.campaign.with_raw_response.retrieve( @@ -42,6 +44,7 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: campaign = response.parse() assert_matches_type(TelnyxCampaignCsp, campaign, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.campaign.with_streaming_response.retrieve( @@ -55,6 +58,7 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `campaign_id` but received ''"): @@ -62,6 +66,7 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update(self, client: Telnyx) -> None: campaign = client.campaign.update( @@ -69,6 +74,7 @@ def test_method_update(self, client: Telnyx) -> None: ) assert_matches_type(TelnyxCampaignCsp, campaign, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_with_all_params(self, client: Telnyx) -> None: campaign = client.campaign.update( @@ -87,6 +93,7 @@ def test_method_update_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(TelnyxCampaignCsp, campaign, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update(self, client: Telnyx) -> None: response = client.campaign.with_raw_response.update( @@ -98,6 +105,7 @@ def test_raw_response_update(self, client: Telnyx) -> None: campaign = response.parse() assert_matches_type(TelnyxCampaignCsp, campaign, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update(self, client: Telnyx) -> None: with client.campaign.with_streaming_response.update( @@ -111,6 +119,7 @@ def test_streaming_response_update(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `campaign_id` but received ''"): @@ -118,6 +127,7 @@ def test_path_params_update(self, client: Telnyx) -> None: campaign_id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: campaign = client.campaign.list( @@ -125,6 +135,7 @@ def test_method_list(self, client: Telnyx) -> None: ) assert_matches_type(CampaignListResponse, campaign, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: campaign = client.campaign.list( @@ -135,6 +146,7 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(CampaignListResponse, campaign, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.campaign.with_raw_response.list( @@ -146,6 +158,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: campaign = response.parse() assert_matches_type(CampaignListResponse, campaign, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.campaign.with_streaming_response.list( @@ -159,6 +172,7 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_accept_sharing(self, client: Telnyx) -> None: campaign = client.campaign.accept_sharing( @@ -166,6 +180,7 @@ def test_method_accept_sharing(self, client: Telnyx) -> None: ) assert_matches_type(object, campaign, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_accept_sharing(self, client: Telnyx) -> None: response = client.campaign.with_raw_response.accept_sharing( @@ -177,6 +192,7 @@ def test_raw_response_accept_sharing(self, client: Telnyx) -> None: campaign = response.parse() assert_matches_type(object, campaign, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_accept_sharing(self, client: Telnyx) -> None: with client.campaign.with_streaming_response.accept_sharing( @@ -190,6 +206,7 @@ def test_streaming_response_accept_sharing(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_accept_sharing(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `campaign_id` but received ''"): @@ -197,6 +214,7 @@ def test_path_params_accept_sharing(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_deactivate(self, client: Telnyx) -> None: campaign = client.campaign.deactivate( @@ -204,6 +222,7 @@ def test_method_deactivate(self, client: Telnyx) -> None: ) assert_matches_type(CampaignDeactivateResponse, campaign, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_deactivate(self, client: Telnyx) -> None: response = client.campaign.with_raw_response.deactivate( @@ -215,6 +234,7 @@ def test_raw_response_deactivate(self, client: Telnyx) -> None: campaign = response.parse() assert_matches_type(CampaignDeactivateResponse, campaign, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_deactivate(self, client: Telnyx) -> None: with client.campaign.with_streaming_response.deactivate( @@ -228,6 +248,7 @@ def test_streaming_response_deactivate(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_deactivate(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `campaign_id` but received ''"): @@ -235,6 +256,7 @@ def test_path_params_deactivate(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_get_mno_metadata(self, client: Telnyx) -> None: campaign = client.campaign.get_mno_metadata( @@ -242,6 +264,7 @@ def test_method_get_mno_metadata(self, client: Telnyx) -> None: ) assert_matches_type(CampaignGetMnoMetadataResponse, campaign, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_get_mno_metadata(self, client: Telnyx) -> None: response = client.campaign.with_raw_response.get_mno_metadata( @@ -253,6 +276,7 @@ def test_raw_response_get_mno_metadata(self, client: Telnyx) -> None: campaign = response.parse() assert_matches_type(CampaignGetMnoMetadataResponse, campaign, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_get_mno_metadata(self, client: Telnyx) -> None: with client.campaign.with_streaming_response.get_mno_metadata( @@ -266,6 +290,7 @@ def test_streaming_response_get_mno_metadata(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_get_mno_metadata(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `campaign_id` but received ''"): @@ -273,6 +298,7 @@ def test_path_params_get_mno_metadata(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_get_operation_status(self, client: Telnyx) -> None: campaign = client.campaign.get_operation_status( @@ -280,6 +306,7 @@ def test_method_get_operation_status(self, client: Telnyx) -> None: ) assert_matches_type(object, campaign, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_get_operation_status(self, client: Telnyx) -> None: response = client.campaign.with_raw_response.get_operation_status( @@ -291,6 +318,7 @@ def test_raw_response_get_operation_status(self, client: Telnyx) -> None: campaign = response.parse() assert_matches_type(object, campaign, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_get_operation_status(self, client: Telnyx) -> None: with client.campaign.with_streaming_response.get_operation_status( @@ -304,6 +332,7 @@ def test_streaming_response_get_operation_status(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_get_operation_status(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `campaign_id` but received ''"): @@ -311,6 +340,7 @@ def test_path_params_get_operation_status(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_get_sharing_status(self, client: Telnyx) -> None: campaign = client.campaign.get_sharing_status( @@ -318,6 +348,7 @@ def test_method_get_sharing_status(self, client: Telnyx) -> None: ) assert_matches_type(CampaignGetSharingStatusResponse, campaign, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_get_sharing_status(self, client: Telnyx) -> None: response = client.campaign.with_raw_response.get_sharing_status( @@ -329,6 +360,7 @@ def test_raw_response_get_sharing_status(self, client: Telnyx) -> None: campaign = response.parse() assert_matches_type(CampaignGetSharingStatusResponse, campaign, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_get_sharing_status(self, client: Telnyx) -> None: with client.campaign.with_streaming_response.get_sharing_status( @@ -342,6 +374,7 @@ def test_streaming_response_get_sharing_status(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_get_sharing_status(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `campaign_id` but received ''"): @@ -349,6 +382,7 @@ def test_path_params_get_sharing_status(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_submit_appeal(self, client: Telnyx) -> None: campaign = client.campaign.submit_appeal( @@ -357,6 +391,7 @@ def test_method_submit_appeal(self, client: Telnyx) -> None: ) assert_matches_type(CampaignSubmitAppealResponse, campaign, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_submit_appeal(self, client: Telnyx) -> None: response = client.campaign.with_raw_response.submit_appeal( @@ -369,6 +404,7 @@ def test_raw_response_submit_appeal(self, client: Telnyx) -> None: campaign = response.parse() assert_matches_type(CampaignSubmitAppealResponse, campaign, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_submit_appeal(self, client: Telnyx) -> None: with client.campaign.with_streaming_response.submit_appeal( @@ -383,6 +419,7 @@ def test_streaming_response_submit_appeal(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_submit_appeal(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `campaign_id` but received ''"): @@ -397,6 +434,7 @@ class TestAsyncCampaign: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: campaign = await async_client.campaign.retrieve( @@ -404,6 +442,7 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(TelnyxCampaignCsp, campaign, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.campaign.with_raw_response.retrieve( @@ -415,6 +454,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: campaign = await response.parse() assert_matches_type(TelnyxCampaignCsp, campaign, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.campaign.with_streaming_response.retrieve( @@ -428,6 +468,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `campaign_id` but received ''"): @@ -435,6 +476,7 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update(self, async_client: AsyncTelnyx) -> None: campaign = await async_client.campaign.update( @@ -442,6 +484,7 @@ async def test_method_update(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(TelnyxCampaignCsp, campaign, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> None: campaign = await async_client.campaign.update( @@ -460,6 +503,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(TelnyxCampaignCsp, campaign, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: response = await async_client.campaign.with_raw_response.update( @@ -471,6 +515,7 @@ async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: campaign = await response.parse() assert_matches_type(TelnyxCampaignCsp, campaign, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> None: async with async_client.campaign.with_streaming_response.update( @@ -484,6 +529,7 @@ async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `campaign_id` but received ''"): @@ -491,6 +537,7 @@ async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: campaign_id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: campaign = await async_client.campaign.list( @@ -498,6 +545,7 @@ async def test_method_list(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(CampaignListResponse, campaign, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: campaign = await async_client.campaign.list( @@ -508,6 +556,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(CampaignListResponse, campaign, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.campaign.with_raw_response.list( @@ -519,6 +568,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: campaign = await response.parse() assert_matches_type(CampaignListResponse, campaign, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.campaign.with_streaming_response.list( @@ -532,6 +582,7 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_accept_sharing(self, async_client: AsyncTelnyx) -> None: campaign = await async_client.campaign.accept_sharing( @@ -539,6 +590,7 @@ async def test_method_accept_sharing(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(object, campaign, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_accept_sharing(self, async_client: AsyncTelnyx) -> None: response = await async_client.campaign.with_raw_response.accept_sharing( @@ -550,6 +602,7 @@ async def test_raw_response_accept_sharing(self, async_client: AsyncTelnyx) -> N campaign = await response.parse() assert_matches_type(object, campaign, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_accept_sharing(self, async_client: AsyncTelnyx) -> None: async with async_client.campaign.with_streaming_response.accept_sharing( @@ -563,6 +616,7 @@ async def test_streaming_response_accept_sharing(self, async_client: AsyncTelnyx assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_accept_sharing(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `campaign_id` but received ''"): @@ -570,6 +624,7 @@ async def test_path_params_accept_sharing(self, async_client: AsyncTelnyx) -> No "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_deactivate(self, async_client: AsyncTelnyx) -> None: campaign = await async_client.campaign.deactivate( @@ -577,6 +632,7 @@ async def test_method_deactivate(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(CampaignDeactivateResponse, campaign, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_deactivate(self, async_client: AsyncTelnyx) -> None: response = await async_client.campaign.with_raw_response.deactivate( @@ -588,6 +644,7 @@ async def test_raw_response_deactivate(self, async_client: AsyncTelnyx) -> None: campaign = await response.parse() assert_matches_type(CampaignDeactivateResponse, campaign, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_deactivate(self, async_client: AsyncTelnyx) -> None: async with async_client.campaign.with_streaming_response.deactivate( @@ -601,6 +658,7 @@ async def test_streaming_response_deactivate(self, async_client: AsyncTelnyx) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_deactivate(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `campaign_id` but received ''"): @@ -608,6 +666,7 @@ async def test_path_params_deactivate(self, async_client: AsyncTelnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_get_mno_metadata(self, async_client: AsyncTelnyx) -> None: campaign = await async_client.campaign.get_mno_metadata( @@ -615,6 +674,7 @@ async def test_method_get_mno_metadata(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(CampaignGetMnoMetadataResponse, campaign, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_get_mno_metadata(self, async_client: AsyncTelnyx) -> None: response = await async_client.campaign.with_raw_response.get_mno_metadata( @@ -626,6 +686,7 @@ async def test_raw_response_get_mno_metadata(self, async_client: AsyncTelnyx) -> campaign = await response.parse() assert_matches_type(CampaignGetMnoMetadataResponse, campaign, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_get_mno_metadata(self, async_client: AsyncTelnyx) -> None: async with async_client.campaign.with_streaming_response.get_mno_metadata( @@ -639,6 +700,7 @@ async def test_streaming_response_get_mno_metadata(self, async_client: AsyncTeln assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_get_mno_metadata(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `campaign_id` but received ''"): @@ -646,6 +708,7 @@ async def test_path_params_get_mno_metadata(self, async_client: AsyncTelnyx) -> "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_get_operation_status(self, async_client: AsyncTelnyx) -> None: campaign = await async_client.campaign.get_operation_status( @@ -653,6 +716,7 @@ async def test_method_get_operation_status(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(object, campaign, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_get_operation_status(self, async_client: AsyncTelnyx) -> None: response = await async_client.campaign.with_raw_response.get_operation_status( @@ -664,6 +728,7 @@ async def test_raw_response_get_operation_status(self, async_client: AsyncTelnyx campaign = await response.parse() assert_matches_type(object, campaign, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_get_operation_status(self, async_client: AsyncTelnyx) -> None: async with async_client.campaign.with_streaming_response.get_operation_status( @@ -677,6 +742,7 @@ async def test_streaming_response_get_operation_status(self, async_client: Async assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_get_operation_status(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `campaign_id` but received ''"): @@ -684,6 +750,7 @@ async def test_path_params_get_operation_status(self, async_client: AsyncTelnyx) "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_get_sharing_status(self, async_client: AsyncTelnyx) -> None: campaign = await async_client.campaign.get_sharing_status( @@ -691,6 +758,7 @@ async def test_method_get_sharing_status(self, async_client: AsyncTelnyx) -> Non ) assert_matches_type(CampaignGetSharingStatusResponse, campaign, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_get_sharing_status(self, async_client: AsyncTelnyx) -> None: response = await async_client.campaign.with_raw_response.get_sharing_status( @@ -702,6 +770,7 @@ async def test_raw_response_get_sharing_status(self, async_client: AsyncTelnyx) campaign = await response.parse() assert_matches_type(CampaignGetSharingStatusResponse, campaign, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_get_sharing_status(self, async_client: AsyncTelnyx) -> None: async with async_client.campaign.with_streaming_response.get_sharing_status( @@ -715,6 +784,7 @@ async def test_streaming_response_get_sharing_status(self, async_client: AsyncTe assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_get_sharing_status(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `campaign_id` but received ''"): @@ -722,6 +792,7 @@ async def test_path_params_get_sharing_status(self, async_client: AsyncTelnyx) - "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_submit_appeal(self, async_client: AsyncTelnyx) -> None: campaign = await async_client.campaign.submit_appeal( @@ -730,6 +801,7 @@ async def test_method_submit_appeal(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(CampaignSubmitAppealResponse, campaign, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_submit_appeal(self, async_client: AsyncTelnyx) -> None: response = await async_client.campaign.with_raw_response.submit_appeal( @@ -742,6 +814,7 @@ async def test_raw_response_submit_appeal(self, async_client: AsyncTelnyx) -> No campaign = await response.parse() assert_matches_type(CampaignSubmitAppealResponse, campaign, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_submit_appeal(self, async_client: AsyncTelnyx) -> None: async with async_client.campaign.with_streaming_response.submit_appeal( @@ -756,6 +829,7 @@ async def test_streaming_response_submit_appeal(self, async_client: AsyncTelnyx) assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_submit_appeal(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `campaign_id` but received ''"): diff --git a/tests/api_resources/test_campaign_builder.py b/tests/api_resources/test_campaign_builder.py index 0e2dedc3..5be66d32 100644 --- a/tests/api_resources/test_campaign_builder.py +++ b/tests/api_resources/test_campaign_builder.py @@ -17,6 +17,7 @@ class TestCampaignBuilder: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: campaign_builder = client.campaign_builder.create( @@ -26,6 +27,7 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(CampaignBuilderCreateResponse, campaign_builder, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: campaign_builder = client.campaign_builder.create( @@ -67,6 +69,7 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(CampaignBuilderCreateResponse, campaign_builder, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.campaign_builder.with_raw_response.create( @@ -80,6 +83,7 @@ def test_raw_response_create(self, client: Telnyx) -> None: campaign_builder = response.parse() assert_matches_type(CampaignBuilderCreateResponse, campaign_builder, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.campaign_builder.with_streaming_response.create( @@ -101,6 +105,7 @@ class TestAsyncCampaignBuilder: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: campaign_builder = await async_client.campaign_builder.create( @@ -110,6 +115,7 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(CampaignBuilderCreateResponse, campaign_builder, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: campaign_builder = await async_client.campaign_builder.create( @@ -151,6 +157,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(CampaignBuilderCreateResponse, campaign_builder, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.campaign_builder.with_raw_response.create( @@ -164,6 +171,7 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: campaign_builder = await response.parse() assert_matches_type(CampaignBuilderCreateResponse, campaign_builder, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.campaign_builder.with_streaming_response.create( diff --git a/tests/api_resources/test_channel_zones.py b/tests/api_resources/test_channel_zones.py index 600e080d..1fef767b 100644 --- a/tests/api_resources/test_channel_zones.py +++ b/tests/api_resources/test_channel_zones.py @@ -20,6 +20,7 @@ class TestChannelZones: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update(self, client: Telnyx) -> None: channel_zone = client.channel_zones.update( @@ -28,6 +29,7 @@ def test_method_update(self, client: Telnyx) -> None: ) assert_matches_type(ChannelZoneUpdateResponse, channel_zone, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update(self, client: Telnyx) -> None: response = client.channel_zones.with_raw_response.update( @@ -40,6 +42,7 @@ def test_raw_response_update(self, client: Telnyx) -> None: channel_zone = response.parse() assert_matches_type(ChannelZoneUpdateResponse, channel_zone, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update(self, client: Telnyx) -> None: with client.channel_zones.with_streaming_response.update( @@ -54,6 +57,7 @@ def test_streaming_response_update(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `channel_zone_id` but received ''"): @@ -62,11 +66,13 @@ def test_path_params_update(self, client: Telnyx) -> None: channels=0, ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: channel_zone = client.channel_zones.list() assert_matches_type(ChannelZoneListResponse, channel_zone, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: channel_zone = client.channel_zones.list( @@ -77,6 +83,7 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ChannelZoneListResponse, channel_zone, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.channel_zones.with_raw_response.list() @@ -86,6 +93,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: channel_zone = response.parse() assert_matches_type(ChannelZoneListResponse, channel_zone, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.channel_zones.with_streaming_response.list() as response: @@ -103,6 +111,7 @@ class TestAsyncChannelZones: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update(self, async_client: AsyncTelnyx) -> None: channel_zone = await async_client.channel_zones.update( @@ -111,6 +120,7 @@ async def test_method_update(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ChannelZoneUpdateResponse, channel_zone, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: response = await async_client.channel_zones.with_raw_response.update( @@ -123,6 +133,7 @@ async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: channel_zone = await response.parse() assert_matches_type(ChannelZoneUpdateResponse, channel_zone, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> None: async with async_client.channel_zones.with_streaming_response.update( @@ -137,6 +148,7 @@ async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `channel_zone_id` but received ''"): @@ -145,11 +157,13 @@ async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: channels=0, ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: channel_zone = await async_client.channel_zones.list() assert_matches_type(ChannelZoneListResponse, channel_zone, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: channel_zone = await async_client.channel_zones.list( @@ -160,6 +174,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(ChannelZoneListResponse, channel_zone, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.channel_zones.with_raw_response.list() @@ -169,6 +184,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: channel_zone = await response.parse() assert_matches_type(ChannelZoneListResponse, channel_zone, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.channel_zones.with_streaming_response.list() as response: diff --git a/tests/api_resources/test_charges_breakdown.py b/tests/api_resources/test_charges_breakdown.py index ea6d9f97..3db4f4e4 100644 --- a/tests/api_resources/test_charges_breakdown.py +++ b/tests/api_resources/test_charges_breakdown.py @@ -18,6 +18,7 @@ class TestChargesBreakdown: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: charges_breakdown = client.charges_breakdown.retrieve( @@ -25,6 +26,7 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(ChargesBreakdownRetrieveResponse, charges_breakdown, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve_with_all_params(self, client: Telnyx) -> None: charges_breakdown = client.charges_breakdown.retrieve( @@ -34,6 +36,7 @@ def test_method_retrieve_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ChargesBreakdownRetrieveResponse, charges_breakdown, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.charges_breakdown.with_raw_response.retrieve( @@ -45,6 +48,7 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: charges_breakdown = response.parse() assert_matches_type(ChargesBreakdownRetrieveResponse, charges_breakdown, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.charges_breakdown.with_streaming_response.retrieve( @@ -64,6 +68,7 @@ class TestAsyncChargesBreakdown: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: charges_breakdown = await async_client.charges_breakdown.retrieve( @@ -71,6 +76,7 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ChargesBreakdownRetrieveResponse, charges_breakdown, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve_with_all_params(self, async_client: AsyncTelnyx) -> None: charges_breakdown = await async_client.charges_breakdown.retrieve( @@ -80,6 +86,7 @@ async def test_method_retrieve_with_all_params(self, async_client: AsyncTelnyx) ) assert_matches_type(ChargesBreakdownRetrieveResponse, charges_breakdown, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.charges_breakdown.with_raw_response.retrieve( @@ -91,6 +98,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: charges_breakdown = await response.parse() assert_matches_type(ChargesBreakdownRetrieveResponse, charges_breakdown, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.charges_breakdown.with_streaming_response.retrieve( diff --git a/tests/api_resources/test_charges_summary.py b/tests/api_resources/test_charges_summary.py index 7542048c..331ee2af 100644 --- a/tests/api_resources/test_charges_summary.py +++ b/tests/api_resources/test_charges_summary.py @@ -18,6 +18,7 @@ class TestChargesSummary: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: charges_summary = client.charges_summary.retrieve( @@ -26,6 +27,7 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(ChargesSummaryRetrieveResponse, charges_summary, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.charges_summary.with_raw_response.retrieve( @@ -38,6 +40,7 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: charges_summary = response.parse() assert_matches_type(ChargesSummaryRetrieveResponse, charges_summary, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.charges_summary.with_streaming_response.retrieve( @@ -58,6 +61,7 @@ class TestAsyncChargesSummary: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: charges_summary = await async_client.charges_summary.retrieve( @@ -66,6 +70,7 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ChargesSummaryRetrieveResponse, charges_summary, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.charges_summary.with_raw_response.retrieve( @@ -78,6 +83,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: charges_summary = await response.parse() assert_matches_type(ChargesSummaryRetrieveResponse, charges_summary, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.charges_summary.with_streaming_response.retrieve( diff --git a/tests/api_resources/test_client.py b/tests/api_resources/test_client.py index 88436cfe..06f2fb1d 100644 --- a/tests/api_resources/test_client.py +++ b/tests/api_resources/test_client.py @@ -28,6 +28,7 @@ class TestClient: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_bucket(self, client: Telnyx) -> None: client_ = client.create_bucket( @@ -35,6 +36,7 @@ def test_method_create_bucket(self, client: Telnyx) -> None: ) assert client_ is None + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_bucket_with_all_params(self, client: Telnyx) -> None: client_ = client.create_bucket( @@ -43,6 +45,7 @@ def test_method_create_bucket_with_all_params(self, client: Telnyx) -> None: ) assert client_ is None + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create_bucket(self, client: Telnyx) -> None: response = client.with_raw_response.create_bucket( @@ -54,6 +57,7 @@ def test_raw_response_create_bucket(self, client: Telnyx) -> None: client_ = response.parse() assert client_ is None + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create_bucket(self, client: Telnyx) -> None: with client.with_streaming_response.create_bucket( @@ -67,6 +71,7 @@ def test_streaming_response_create_bucket(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_create_bucket(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `bucket_name` but received ''"): @@ -74,6 +79,7 @@ def test_path_params_create_bucket(self, client: Telnyx) -> None: bucket_name="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete_bucket(self, client: Telnyx) -> None: client_ = client.delete_bucket( @@ -81,6 +87,7 @@ def test_method_delete_bucket(self, client: Telnyx) -> None: ) assert client_ is None + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete_bucket(self, client: Telnyx) -> None: response = client.with_raw_response.delete_bucket( @@ -92,6 +99,7 @@ def test_raw_response_delete_bucket(self, client: Telnyx) -> None: client_ = response.parse() assert client_ is None + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete_bucket(self, client: Telnyx) -> None: with client.with_streaming_response.delete_bucket( @@ -105,6 +113,7 @@ def test_streaming_response_delete_bucket(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete_bucket(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `bucket_name` but received ''"): @@ -112,6 +121,7 @@ def test_path_params_delete_bucket(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete_object(self, client: Telnyx) -> None: client_ = client.delete_object( @@ -120,6 +130,7 @@ def test_method_delete_object(self, client: Telnyx) -> None: ) assert client_ is None + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete_object(self, client: Telnyx) -> None: response = client.with_raw_response.delete_object( @@ -132,6 +143,7 @@ def test_raw_response_delete_object(self, client: Telnyx) -> None: client_ = response.parse() assert client_ is None + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete_object(self, client: Telnyx) -> None: with client.with_streaming_response.delete_object( @@ -146,6 +158,7 @@ def test_streaming_response_delete_object(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete_object(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `bucket_name` but received ''"): @@ -160,6 +173,7 @@ def test_path_params_delete_object(self, client: Telnyx) -> None: bucket_name="bucketName", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete_objects(self, client: Telnyx) -> None: client_ = client.delete_objects( @@ -169,6 +183,7 @@ def test_method_delete_objects(self, client: Telnyx) -> None: ) assert_matches_type(object, client_, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete_objects(self, client: Telnyx) -> None: response = client.with_raw_response.delete_objects( @@ -182,6 +197,7 @@ def test_raw_response_delete_objects(self, client: Telnyx) -> None: client_ = response.parse() assert_matches_type(object, client_, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete_objects(self, client: Telnyx) -> None: with client.with_streaming_response.delete_objects( @@ -197,6 +213,7 @@ def test_streaming_response_delete_objects(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete_objects(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `bucket_name` but received ''"): @@ -280,11 +297,13 @@ def test_path_params_get_object(self, client: Telnyx) -> None: bucket_name="bucketName", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_buckets(self, client: Telnyx) -> None: client_ = client.list_buckets() assert_matches_type(ListBucketsResponse, client_, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list_buckets(self, client: Telnyx) -> None: response = client.with_raw_response.list_buckets() @@ -294,6 +313,7 @@ def test_raw_response_list_buckets(self, client: Telnyx) -> None: client_ = response.parse() assert_matches_type(ListBucketsResponse, client_, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list_buckets(self, client: Telnyx) -> None: with client.with_streaming_response.list_buckets() as response: @@ -305,6 +325,7 @@ def test_streaming_response_list_buckets(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_objects(self, client: Telnyx) -> None: client_ = client.list_objects( @@ -312,6 +333,7 @@ def test_method_list_objects(self, client: Telnyx) -> None: ) assert_matches_type(ListObjectsResponse, client_, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_objects_with_all_params(self, client: Telnyx) -> None: client_ = client.list_objects( @@ -320,6 +342,7 @@ def test_method_list_objects_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ListObjectsResponse, client_, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list_objects(self, client: Telnyx) -> None: response = client.with_raw_response.list_objects( @@ -331,6 +354,7 @@ def test_raw_response_list_objects(self, client: Telnyx) -> None: client_ = response.parse() assert_matches_type(ListObjectsResponse, client_, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list_objects(self, client: Telnyx) -> None: with client.with_streaming_response.list_objects( @@ -344,6 +368,7 @@ def test_streaming_response_list_objects(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_list_objects(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `bucket_name` but received ''"): @@ -351,6 +376,7 @@ def test_path_params_list_objects(self, client: Telnyx) -> None: bucket_name="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_put_object(self, client: Telnyx) -> None: client_ = client.put_object( @@ -360,6 +386,7 @@ def test_method_put_object(self, client: Telnyx) -> None: ) assert client_ is None + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_put_object_with_all_params(self, client: Telnyx) -> None: client_ = client.put_object( @@ -371,6 +398,7 @@ def test_method_put_object_with_all_params(self, client: Telnyx) -> None: ) assert client_ is None + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_put_object(self, client: Telnyx) -> None: response = client.with_raw_response.put_object( @@ -384,6 +412,7 @@ def test_raw_response_put_object(self, client: Telnyx) -> None: client_ = response.parse() assert client_ is None + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_put_object(self, client: Telnyx) -> None: with client.with_streaming_response.put_object( @@ -399,6 +428,7 @@ def test_streaming_response_put_object(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_put_object(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `bucket_name` but received ''"): @@ -421,6 +451,7 @@ class TestAsyncClient: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_bucket(self, async_client: AsyncTelnyx) -> None: client = await async_client.create_bucket( @@ -428,6 +459,7 @@ async def test_method_create_bucket(self, async_client: AsyncTelnyx) -> None: ) assert client is None + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_bucket_with_all_params(self, async_client: AsyncTelnyx) -> None: client = await async_client.create_bucket( @@ -436,6 +468,7 @@ async def test_method_create_bucket_with_all_params(self, async_client: AsyncTel ) assert client is None + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create_bucket(self, async_client: AsyncTelnyx) -> None: response = await async_client.with_raw_response.create_bucket( @@ -447,6 +480,7 @@ async def test_raw_response_create_bucket(self, async_client: AsyncTelnyx) -> No client = await response.parse() assert client is None + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create_bucket(self, async_client: AsyncTelnyx) -> None: async with async_client.with_streaming_response.create_bucket( @@ -460,6 +494,7 @@ async def test_streaming_response_create_bucket(self, async_client: AsyncTelnyx) assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_create_bucket(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `bucket_name` but received ''"): @@ -467,6 +502,7 @@ async def test_path_params_create_bucket(self, async_client: AsyncTelnyx) -> Non bucket_name="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete_bucket(self, async_client: AsyncTelnyx) -> None: client = await async_client.delete_bucket( @@ -474,6 +510,7 @@ async def test_method_delete_bucket(self, async_client: AsyncTelnyx) -> None: ) assert client is None + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete_bucket(self, async_client: AsyncTelnyx) -> None: response = await async_client.with_raw_response.delete_bucket( @@ -485,6 +522,7 @@ async def test_raw_response_delete_bucket(self, async_client: AsyncTelnyx) -> No client = await response.parse() assert client is None + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete_bucket(self, async_client: AsyncTelnyx) -> None: async with async_client.with_streaming_response.delete_bucket( @@ -498,6 +536,7 @@ async def test_streaming_response_delete_bucket(self, async_client: AsyncTelnyx) assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete_bucket(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `bucket_name` but received ''"): @@ -505,6 +544,7 @@ async def test_path_params_delete_bucket(self, async_client: AsyncTelnyx) -> Non "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete_object(self, async_client: AsyncTelnyx) -> None: client = await async_client.delete_object( @@ -513,6 +553,7 @@ async def test_method_delete_object(self, async_client: AsyncTelnyx) -> None: ) assert client is None + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete_object(self, async_client: AsyncTelnyx) -> None: response = await async_client.with_raw_response.delete_object( @@ -525,6 +566,7 @@ async def test_raw_response_delete_object(self, async_client: AsyncTelnyx) -> No client = await response.parse() assert client is None + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete_object(self, async_client: AsyncTelnyx) -> None: async with async_client.with_streaming_response.delete_object( @@ -539,6 +581,7 @@ async def test_streaming_response_delete_object(self, async_client: AsyncTelnyx) assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete_object(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `bucket_name` but received ''"): @@ -553,6 +596,7 @@ async def test_path_params_delete_object(self, async_client: AsyncTelnyx) -> Non bucket_name="bucketName", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete_objects(self, async_client: AsyncTelnyx) -> None: client = await async_client.delete_objects( @@ -562,6 +606,7 @@ async def test_method_delete_objects(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(object, client, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete_objects(self, async_client: AsyncTelnyx) -> None: response = await async_client.with_raw_response.delete_objects( @@ -575,6 +620,7 @@ async def test_raw_response_delete_objects(self, async_client: AsyncTelnyx) -> N client = await response.parse() assert_matches_type(object, client, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete_objects(self, async_client: AsyncTelnyx) -> None: async with async_client.with_streaming_response.delete_objects( @@ -590,6 +636,7 @@ async def test_streaming_response_delete_objects(self, async_client: AsyncTelnyx assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete_objects(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `bucket_name` but received ''"): @@ -673,11 +720,13 @@ async def test_path_params_get_object(self, async_client: AsyncTelnyx) -> None: bucket_name="bucketName", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_buckets(self, async_client: AsyncTelnyx) -> None: client = await async_client.list_buckets() assert_matches_type(ListBucketsResponse, client, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list_buckets(self, async_client: AsyncTelnyx) -> None: response = await async_client.with_raw_response.list_buckets() @@ -687,6 +736,7 @@ async def test_raw_response_list_buckets(self, async_client: AsyncTelnyx) -> Non client = await response.parse() assert_matches_type(ListBucketsResponse, client, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list_buckets(self, async_client: AsyncTelnyx) -> None: async with async_client.with_streaming_response.list_buckets() as response: @@ -698,6 +748,7 @@ async def test_streaming_response_list_buckets(self, async_client: AsyncTelnyx) assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_objects(self, async_client: AsyncTelnyx) -> None: client = await async_client.list_objects( @@ -705,6 +756,7 @@ async def test_method_list_objects(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ListObjectsResponse, client, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_objects_with_all_params(self, async_client: AsyncTelnyx) -> None: client = await async_client.list_objects( @@ -713,6 +765,7 @@ async def test_method_list_objects_with_all_params(self, async_client: AsyncTeln ) assert_matches_type(ListObjectsResponse, client, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list_objects(self, async_client: AsyncTelnyx) -> None: response = await async_client.with_raw_response.list_objects( @@ -724,6 +777,7 @@ async def test_raw_response_list_objects(self, async_client: AsyncTelnyx) -> Non client = await response.parse() assert_matches_type(ListObjectsResponse, client, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list_objects(self, async_client: AsyncTelnyx) -> None: async with async_client.with_streaming_response.list_objects( @@ -737,6 +791,7 @@ async def test_streaming_response_list_objects(self, async_client: AsyncTelnyx) assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_list_objects(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `bucket_name` but received ''"): @@ -744,6 +799,7 @@ async def test_path_params_list_objects(self, async_client: AsyncTelnyx) -> None bucket_name="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_put_object(self, async_client: AsyncTelnyx) -> None: client = await async_client.put_object( @@ -753,6 +809,7 @@ async def test_method_put_object(self, async_client: AsyncTelnyx) -> None: ) assert client is None + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_put_object_with_all_params(self, async_client: AsyncTelnyx) -> None: client = await async_client.put_object( @@ -764,6 +821,7 @@ async def test_method_put_object_with_all_params(self, async_client: AsyncTelnyx ) assert client is None + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_put_object(self, async_client: AsyncTelnyx) -> None: response = await async_client.with_raw_response.put_object( @@ -777,6 +835,7 @@ async def test_raw_response_put_object(self, async_client: AsyncTelnyx) -> None: client = await response.parse() assert client is None + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_put_object(self, async_client: AsyncTelnyx) -> None: async with async_client.with_streaming_response.put_object( @@ -792,6 +851,7 @@ async def test_streaming_response_put_object(self, async_client: AsyncTelnyx) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_put_object(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `bucket_name` but received ''"): diff --git a/tests/api_resources/test_comments.py b/tests/api_resources/test_comments.py index 77af6a92..f98b4f89 100644 --- a/tests/api_resources/test_comments.py +++ b/tests/api_resources/test_comments.py @@ -22,11 +22,13 @@ class TestComments: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: comment = client.comments.create() assert_matches_type(CommentCreateResponse, comment, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: comment = client.comments.create( @@ -36,6 +38,7 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(CommentCreateResponse, comment, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.comments.with_raw_response.create() @@ -45,6 +48,7 @@ def test_raw_response_create(self, client: Telnyx) -> None: comment = response.parse() assert_matches_type(CommentCreateResponse, comment, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.comments.with_streaming_response.create() as response: @@ -56,6 +60,7 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: comment = client.comments.retrieve( @@ -63,6 +68,7 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(CommentRetrieveResponse, comment, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.comments.with_raw_response.retrieve( @@ -74,6 +80,7 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: comment = response.parse() assert_matches_type(CommentRetrieveResponse, comment, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.comments.with_streaming_response.retrieve( @@ -87,6 +94,7 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -94,11 +102,13 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: comment = client.comments.list() assert_matches_type(CommentListResponse, comment, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: comment = client.comments.list( @@ -109,6 +119,7 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(CommentListResponse, comment, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.comments.with_raw_response.list() @@ -118,6 +129,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: comment = response.parse() assert_matches_type(CommentListResponse, comment, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.comments.with_streaming_response.list() as response: @@ -129,6 +141,7 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_mark_as_read(self, client: Telnyx) -> None: comment = client.comments.mark_as_read( @@ -136,6 +149,7 @@ def test_method_mark_as_read(self, client: Telnyx) -> None: ) assert_matches_type(CommentMarkAsReadResponse, comment, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_mark_as_read(self, client: Telnyx) -> None: response = client.comments.with_raw_response.mark_as_read( @@ -147,6 +161,7 @@ def test_raw_response_mark_as_read(self, client: Telnyx) -> None: comment = response.parse() assert_matches_type(CommentMarkAsReadResponse, comment, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_mark_as_read(self, client: Telnyx) -> None: with client.comments.with_streaming_response.mark_as_read( @@ -160,6 +175,7 @@ def test_streaming_response_mark_as_read(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_mark_as_read(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -173,11 +189,13 @@ class TestAsyncComments: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: comment = await async_client.comments.create() assert_matches_type(CommentCreateResponse, comment, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: comment = await async_client.comments.create( @@ -187,6 +205,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(CommentCreateResponse, comment, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.comments.with_raw_response.create() @@ -196,6 +215,7 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: comment = await response.parse() assert_matches_type(CommentCreateResponse, comment, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.comments.with_streaming_response.create() as response: @@ -207,6 +227,7 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: comment = await async_client.comments.retrieve( @@ -214,6 +235,7 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(CommentRetrieveResponse, comment, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.comments.with_raw_response.retrieve( @@ -225,6 +247,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: comment = await response.parse() assert_matches_type(CommentRetrieveResponse, comment, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.comments.with_streaming_response.retrieve( @@ -238,6 +261,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -245,11 +269,13 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: comment = await async_client.comments.list() assert_matches_type(CommentListResponse, comment, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: comment = await async_client.comments.list( @@ -260,6 +286,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(CommentListResponse, comment, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.comments.with_raw_response.list() @@ -269,6 +296,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: comment = await response.parse() assert_matches_type(CommentListResponse, comment, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.comments.with_streaming_response.list() as response: @@ -280,6 +308,7 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_mark_as_read(self, async_client: AsyncTelnyx) -> None: comment = await async_client.comments.mark_as_read( @@ -287,6 +316,7 @@ async def test_method_mark_as_read(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(CommentMarkAsReadResponse, comment, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_mark_as_read(self, async_client: AsyncTelnyx) -> None: response = await async_client.comments.with_raw_response.mark_as_read( @@ -298,6 +328,7 @@ async def test_raw_response_mark_as_read(self, async_client: AsyncTelnyx) -> Non comment = await response.parse() assert_matches_type(CommentMarkAsReadResponse, comment, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_mark_as_read(self, async_client: AsyncTelnyx) -> None: async with async_client.comments.with_streaming_response.mark_as_read( @@ -311,6 +342,7 @@ async def test_streaming_response_mark_as_read(self, async_client: AsyncTelnyx) assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_mark_as_read(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): diff --git a/tests/api_resources/test_conferences.py b/tests/api_resources/test_conferences.py index 90270e4b..fef92623 100644 --- a/tests/api_resources/test_conferences.py +++ b/tests/api_resources/test_conferences.py @@ -22,6 +22,7 @@ class TestConferences: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: conference = client.conferences.create( @@ -30,6 +31,7 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(ConferenceCreateResponse, conference, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: conference = client.conferences.create( @@ -47,6 +49,7 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ConferenceCreateResponse, conference, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.conferences.with_raw_response.create( @@ -59,6 +62,7 @@ def test_raw_response_create(self, client: Telnyx) -> None: conference = response.parse() assert_matches_type(ConferenceCreateResponse, conference, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.conferences.with_streaming_response.create( @@ -73,6 +77,7 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: conference = client.conferences.retrieve( @@ -80,6 +85,7 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(ConferenceRetrieveResponse, conference, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.conferences.with_raw_response.retrieve( @@ -91,6 +97,7 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: conference = response.parse() assert_matches_type(ConferenceRetrieveResponse, conference, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.conferences.with_streaming_response.retrieve( @@ -104,6 +111,7 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -111,11 +119,13 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: conference = client.conferences.list() assert_matches_type(ConferenceListResponse, conference, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: conference = client.conferences.list( @@ -150,6 +160,7 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ConferenceListResponse, conference, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.conferences.with_raw_response.list() @@ -159,6 +170,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: conference = response.parse() assert_matches_type(ConferenceListResponse, conference, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.conferences.with_streaming_response.list() as response: @@ -170,6 +182,7 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_participants(self, client: Telnyx) -> None: conference = client.conferences.list_participants( @@ -177,6 +190,7 @@ def test_method_list_participants(self, client: Telnyx) -> None: ) assert_matches_type(ConferenceListParticipantsResponse, conference, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_participants_with_all_params(self, client: Telnyx) -> None: conference = client.conferences.list_participants( @@ -196,6 +210,7 @@ def test_method_list_participants_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ConferenceListParticipantsResponse, conference, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list_participants(self, client: Telnyx) -> None: response = client.conferences.with_raw_response.list_participants( @@ -207,6 +222,7 @@ def test_raw_response_list_participants(self, client: Telnyx) -> None: conference = response.parse() assert_matches_type(ConferenceListParticipantsResponse, conference, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list_participants(self, client: Telnyx) -> None: with client.conferences.with_streaming_response.list_participants( @@ -220,6 +236,7 @@ def test_streaming_response_list_participants(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_list_participants(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `conference_id` but received ''"): @@ -233,6 +250,7 @@ class TestAsyncConferences: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: conference = await async_client.conferences.create( @@ -241,6 +259,7 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ConferenceCreateResponse, conference, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: conference = await async_client.conferences.create( @@ -258,6 +277,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(ConferenceCreateResponse, conference, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.conferences.with_raw_response.create( @@ -270,6 +290,7 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: conference = await response.parse() assert_matches_type(ConferenceCreateResponse, conference, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.conferences.with_streaming_response.create( @@ -284,6 +305,7 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: conference = await async_client.conferences.retrieve( @@ -291,6 +313,7 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ConferenceRetrieveResponse, conference, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.conferences.with_raw_response.retrieve( @@ -302,6 +325,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: conference = await response.parse() assert_matches_type(ConferenceRetrieveResponse, conference, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.conferences.with_streaming_response.retrieve( @@ -315,6 +339,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -322,11 +347,13 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: conference = await async_client.conferences.list() assert_matches_type(ConferenceListResponse, conference, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: conference = await async_client.conferences.list( @@ -361,6 +388,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(ConferenceListResponse, conference, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.conferences.with_raw_response.list() @@ -370,6 +398,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: conference = await response.parse() assert_matches_type(ConferenceListResponse, conference, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.conferences.with_streaming_response.list() as response: @@ -381,6 +410,7 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_participants(self, async_client: AsyncTelnyx) -> None: conference = await async_client.conferences.list_participants( @@ -388,6 +418,7 @@ async def test_method_list_participants(self, async_client: AsyncTelnyx) -> None ) assert_matches_type(ConferenceListParticipantsResponse, conference, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_participants_with_all_params(self, async_client: AsyncTelnyx) -> None: conference = await async_client.conferences.list_participants( @@ -407,6 +438,7 @@ async def test_method_list_participants_with_all_params(self, async_client: Asyn ) assert_matches_type(ConferenceListParticipantsResponse, conference, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list_participants(self, async_client: AsyncTelnyx) -> None: response = await async_client.conferences.with_raw_response.list_participants( @@ -418,6 +450,7 @@ async def test_raw_response_list_participants(self, async_client: AsyncTelnyx) - conference = await response.parse() assert_matches_type(ConferenceListParticipantsResponse, conference, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list_participants(self, async_client: AsyncTelnyx) -> None: async with async_client.conferences.with_streaming_response.list_participants( @@ -431,6 +464,7 @@ async def test_streaming_response_list_participants(self, async_client: AsyncTel assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_list_participants(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `conference_id` but received ''"): diff --git a/tests/api_resources/test_connections.py b/tests/api_resources/test_connections.py index afc43b46..9faa118c 100644 --- a/tests/api_resources/test_connections.py +++ b/tests/api_resources/test_connections.py @@ -21,6 +21,7 @@ class TestConnections: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: connection = client.connections.retrieve( @@ -28,6 +29,7 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(ConnectionRetrieveResponse, connection, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.connections.with_raw_response.retrieve( @@ -39,6 +41,7 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: connection = response.parse() assert_matches_type(ConnectionRetrieveResponse, connection, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.connections.with_streaming_response.retrieve( @@ -52,6 +55,7 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -59,11 +63,13 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: connection = client.connections.list() assert_matches_type(ConnectionListResponse, connection, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: connection = client.connections.list( @@ -80,6 +86,7 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ConnectionListResponse, connection, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.connections.with_raw_response.list() @@ -89,6 +96,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: connection = response.parse() assert_matches_type(ConnectionListResponse, connection, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.connections.with_streaming_response.list() as response: @@ -100,6 +108,7 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_active_calls(self, client: Telnyx) -> None: connection = client.connections.list_active_calls( @@ -107,6 +116,7 @@ def test_method_list_active_calls(self, client: Telnyx) -> None: ) assert_matches_type(ConnectionListActiveCallsResponse, connection, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_active_calls_with_all_params(self, client: Telnyx) -> None: connection = client.connections.list_active_calls( @@ -121,6 +131,7 @@ def test_method_list_active_calls_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ConnectionListActiveCallsResponse, connection, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list_active_calls(self, client: Telnyx) -> None: response = client.connections.with_raw_response.list_active_calls( @@ -132,6 +143,7 @@ def test_raw_response_list_active_calls(self, client: Telnyx) -> None: connection = response.parse() assert_matches_type(ConnectionListActiveCallsResponse, connection, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list_active_calls(self, client: Telnyx) -> None: with client.connections.with_streaming_response.list_active_calls( @@ -145,6 +157,7 @@ def test_streaming_response_list_active_calls(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_list_active_calls(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `connection_id` but received ''"): @@ -158,6 +171,7 @@ class TestAsyncConnections: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: connection = await async_client.connections.retrieve( @@ -165,6 +179,7 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ConnectionRetrieveResponse, connection, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.connections.with_raw_response.retrieve( @@ -176,6 +191,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: connection = await response.parse() assert_matches_type(ConnectionRetrieveResponse, connection, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.connections.with_streaming_response.retrieve( @@ -189,6 +205,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -196,11 +213,13 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: connection = await async_client.connections.list() assert_matches_type(ConnectionListResponse, connection, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: connection = await async_client.connections.list( @@ -217,6 +236,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(ConnectionListResponse, connection, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.connections.with_raw_response.list() @@ -226,6 +246,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: connection = await response.parse() assert_matches_type(ConnectionListResponse, connection, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.connections.with_streaming_response.list() as response: @@ -237,6 +258,7 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_active_calls(self, async_client: AsyncTelnyx) -> None: connection = await async_client.connections.list_active_calls( @@ -244,6 +266,7 @@ async def test_method_list_active_calls(self, async_client: AsyncTelnyx) -> None ) assert_matches_type(ConnectionListActiveCallsResponse, connection, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_active_calls_with_all_params(self, async_client: AsyncTelnyx) -> None: connection = await async_client.connections.list_active_calls( @@ -258,6 +281,7 @@ async def test_method_list_active_calls_with_all_params(self, async_client: Asyn ) assert_matches_type(ConnectionListActiveCallsResponse, connection, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list_active_calls(self, async_client: AsyncTelnyx) -> None: response = await async_client.connections.with_raw_response.list_active_calls( @@ -269,6 +293,7 @@ async def test_raw_response_list_active_calls(self, async_client: AsyncTelnyx) - connection = await response.parse() assert_matches_type(ConnectionListActiveCallsResponse, connection, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list_active_calls(self, async_client: AsyncTelnyx) -> None: async with async_client.connections.with_streaming_response.list_active_calls( @@ -282,6 +307,7 @@ async def test_streaming_response_list_active_calls(self, async_client: AsyncTel assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_list_active_calls(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `connection_id` but received ''"): diff --git a/tests/api_resources/test_country_coverage.py b/tests/api_resources/test_country_coverage.py index 8aa017b8..c6b5c5f4 100644 --- a/tests/api_resources/test_country_coverage.py +++ b/tests/api_resources/test_country_coverage.py @@ -17,11 +17,13 @@ class TestCountryCoverage: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: country_coverage = client.country_coverage.retrieve() assert_matches_type(CountryCoverageRetrieveResponse, country_coverage, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.country_coverage.with_raw_response.retrieve() @@ -31,6 +33,7 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: country_coverage = response.parse() assert_matches_type(CountryCoverageRetrieveResponse, country_coverage, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.country_coverage.with_streaming_response.retrieve() as response: @@ -42,6 +45,7 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve_country(self, client: Telnyx) -> None: country_coverage = client.country_coverage.retrieve_country( @@ -49,6 +53,7 @@ def test_method_retrieve_country(self, client: Telnyx) -> None: ) assert_matches_type(CountryCoverageRetrieveCountryResponse, country_coverage, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve_country(self, client: Telnyx) -> None: response = client.country_coverage.with_raw_response.retrieve_country( @@ -60,6 +65,7 @@ def test_raw_response_retrieve_country(self, client: Telnyx) -> None: country_coverage = response.parse() assert_matches_type(CountryCoverageRetrieveCountryResponse, country_coverage, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve_country(self, client: Telnyx) -> None: with client.country_coverage.with_streaming_response.retrieve_country( @@ -73,6 +79,7 @@ def test_streaming_response_retrieve_country(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve_country(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `country_code` but received ''"): @@ -86,11 +93,13 @@ class TestAsyncCountryCoverage: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: country_coverage = await async_client.country_coverage.retrieve() assert_matches_type(CountryCoverageRetrieveResponse, country_coverage, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.country_coverage.with_raw_response.retrieve() @@ -100,6 +109,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: country_coverage = await response.parse() assert_matches_type(CountryCoverageRetrieveResponse, country_coverage, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.country_coverage.with_streaming_response.retrieve() as response: @@ -111,6 +121,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve_country(self, async_client: AsyncTelnyx) -> None: country_coverage = await async_client.country_coverage.retrieve_country( @@ -118,6 +129,7 @@ async def test_method_retrieve_country(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(CountryCoverageRetrieveCountryResponse, country_coverage, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve_country(self, async_client: AsyncTelnyx) -> None: response = await async_client.country_coverage.with_raw_response.retrieve_country( @@ -129,6 +141,7 @@ async def test_raw_response_retrieve_country(self, async_client: AsyncTelnyx) -> country_coverage = await response.parse() assert_matches_type(CountryCoverageRetrieveCountryResponse, country_coverage, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve_country(self, async_client: AsyncTelnyx) -> None: async with async_client.country_coverage.with_streaming_response.retrieve_country( @@ -142,6 +155,7 @@ async def test_streaming_response_retrieve_country(self, async_client: AsyncTeln assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve_country(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `country_code` but received ''"): diff --git a/tests/api_resources/test_credential_connections.py b/tests/api_resources/test_credential_connections.py index 093264a1..a34e5c15 100644 --- a/tests/api_resources/test_credential_connections.py +++ b/tests/api_resources/test_credential_connections.py @@ -23,6 +23,7 @@ class TestCredentialConnections: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: credential_connection = client.credential_connections.create( @@ -32,6 +33,7 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(CredentialConnectionCreateResponse, credential_connection, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: credential_connection = client.credential_connections.create( @@ -85,6 +87,7 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(CredentialConnectionCreateResponse, credential_connection, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.credential_connections.with_raw_response.create( @@ -98,6 +101,7 @@ def test_raw_response_create(self, client: Telnyx) -> None: credential_connection = response.parse() assert_matches_type(CredentialConnectionCreateResponse, credential_connection, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.credential_connections.with_streaming_response.create( @@ -113,6 +117,7 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: credential_connection = client.credential_connections.retrieve( @@ -120,6 +125,7 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(CredentialConnectionRetrieveResponse, credential_connection, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.credential_connections.with_raw_response.retrieve( @@ -131,6 +137,7 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: credential_connection = response.parse() assert_matches_type(CredentialConnectionRetrieveResponse, credential_connection, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.credential_connections.with_streaming_response.retrieve( @@ -144,6 +151,7 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -151,6 +159,7 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update(self, client: Telnyx) -> None: credential_connection = client.credential_connections.update( @@ -158,6 +167,7 @@ def test_method_update(self, client: Telnyx) -> None: ) assert_matches_type(CredentialConnectionUpdateResponse, credential_connection, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_with_all_params(self, client: Telnyx) -> None: credential_connection = client.credential_connections.update( @@ -212,6 +222,7 @@ def test_method_update_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(CredentialConnectionUpdateResponse, credential_connection, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update(self, client: Telnyx) -> None: response = client.credential_connections.with_raw_response.update( @@ -223,6 +234,7 @@ def test_raw_response_update(self, client: Telnyx) -> None: credential_connection = response.parse() assert_matches_type(CredentialConnectionUpdateResponse, credential_connection, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update(self, client: Telnyx) -> None: with client.credential_connections.with_streaming_response.update( @@ -236,6 +248,7 @@ def test_streaming_response_update(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -243,11 +256,13 @@ def test_path_params_update(self, client: Telnyx) -> None: id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: credential_connection = client.credential_connections.list() assert_matches_type(CredentialConnectionListResponse, credential_connection, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: credential_connection = client.credential_connections.list( @@ -264,6 +279,7 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(CredentialConnectionListResponse, credential_connection, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.credential_connections.with_raw_response.list() @@ -273,6 +289,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: credential_connection = response.parse() assert_matches_type(CredentialConnectionListResponse, credential_connection, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.credential_connections.with_streaming_response.list() as response: @@ -284,6 +301,7 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: credential_connection = client.credential_connections.delete( @@ -291,6 +309,7 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert_matches_type(CredentialConnectionDeleteResponse, credential_connection, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.credential_connections.with_raw_response.delete( @@ -302,6 +321,7 @@ def test_raw_response_delete(self, client: Telnyx) -> None: credential_connection = response.parse() assert_matches_type(CredentialConnectionDeleteResponse, credential_connection, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.credential_connections.with_streaming_response.delete( @@ -315,6 +335,7 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -328,6 +349,7 @@ class TestAsyncCredentialConnections: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: credential_connection = await async_client.credential_connections.create( @@ -337,6 +359,7 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(CredentialConnectionCreateResponse, credential_connection, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: credential_connection = await async_client.credential_connections.create( @@ -390,6 +413,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(CredentialConnectionCreateResponse, credential_connection, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.credential_connections.with_raw_response.create( @@ -403,6 +427,7 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: credential_connection = await response.parse() assert_matches_type(CredentialConnectionCreateResponse, credential_connection, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.credential_connections.with_streaming_response.create( @@ -418,6 +443,7 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: credential_connection = await async_client.credential_connections.retrieve( @@ -425,6 +451,7 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(CredentialConnectionRetrieveResponse, credential_connection, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.credential_connections.with_raw_response.retrieve( @@ -436,6 +463,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: credential_connection = await response.parse() assert_matches_type(CredentialConnectionRetrieveResponse, credential_connection, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.credential_connections.with_streaming_response.retrieve( @@ -449,6 +477,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -456,6 +485,7 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update(self, async_client: AsyncTelnyx) -> None: credential_connection = await async_client.credential_connections.update( @@ -463,6 +493,7 @@ async def test_method_update(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(CredentialConnectionUpdateResponse, credential_connection, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> None: credential_connection = await async_client.credential_connections.update( @@ -517,6 +548,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(CredentialConnectionUpdateResponse, credential_connection, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: response = await async_client.credential_connections.with_raw_response.update( @@ -528,6 +560,7 @@ async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: credential_connection = await response.parse() assert_matches_type(CredentialConnectionUpdateResponse, credential_connection, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> None: async with async_client.credential_connections.with_streaming_response.update( @@ -541,6 +574,7 @@ async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -548,11 +582,13 @@ async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: credential_connection = await async_client.credential_connections.list() assert_matches_type(CredentialConnectionListResponse, credential_connection, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: credential_connection = await async_client.credential_connections.list( @@ -569,6 +605,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(CredentialConnectionListResponse, credential_connection, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.credential_connections.with_raw_response.list() @@ -578,6 +615,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: credential_connection = await response.parse() assert_matches_type(CredentialConnectionListResponse, credential_connection, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.credential_connections.with_streaming_response.list() as response: @@ -589,6 +627,7 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: credential_connection = await async_client.credential_connections.delete( @@ -596,6 +635,7 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(CredentialConnectionDeleteResponse, credential_connection, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.credential_connections.with_raw_response.delete( @@ -607,6 +647,7 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: credential_connection = await response.parse() assert_matches_type(CredentialConnectionDeleteResponse, credential_connection, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.credential_connections.with_streaming_response.delete( @@ -620,6 +661,7 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): diff --git a/tests/api_resources/test_custom_storage_credentials.py b/tests/api_resources/test_custom_storage_credentials.py index 27fae352..02bed5a2 100644 --- a/tests/api_resources/test_custom_storage_credentials.py +++ b/tests/api_resources/test_custom_storage_credentials.py @@ -21,6 +21,7 @@ class TestCustomStorageCredentials: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: custom_storage_credential = client.custom_storage_credentials.create( @@ -30,6 +31,7 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(CustomStorageCredentialCreateResponse, custom_storage_credential, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: custom_storage_credential = client.custom_storage_credentials.create( @@ -42,6 +44,7 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(CustomStorageCredentialCreateResponse, custom_storage_credential, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.custom_storage_credentials.with_raw_response.create( @@ -55,6 +58,7 @@ def test_raw_response_create(self, client: Telnyx) -> None: custom_storage_credential = response.parse() assert_matches_type(CustomStorageCredentialCreateResponse, custom_storage_credential, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.custom_storage_credentials.with_streaming_response.create( @@ -70,6 +74,7 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_create(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `connection_id` but received ''"): @@ -79,6 +84,7 @@ def test_path_params_create(self, client: Telnyx) -> None: configuration={}, ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: custom_storage_credential = client.custom_storage_credentials.retrieve( @@ -86,6 +92,7 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(CustomStorageCredentialRetrieveResponse, custom_storage_credential, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.custom_storage_credentials.with_raw_response.retrieve( @@ -97,6 +104,7 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: custom_storage_credential = response.parse() assert_matches_type(CustomStorageCredentialRetrieveResponse, custom_storage_credential, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.custom_storage_credentials.with_streaming_response.retrieve( @@ -110,6 +118,7 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `connection_id` but received ''"): @@ -117,6 +126,7 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update(self, client: Telnyx) -> None: custom_storage_credential = client.custom_storage_credentials.update( @@ -126,6 +136,7 @@ def test_method_update(self, client: Telnyx) -> None: ) assert_matches_type(CustomStorageCredentialUpdateResponse, custom_storage_credential, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_with_all_params(self, client: Telnyx) -> None: custom_storage_credential = client.custom_storage_credentials.update( @@ -138,6 +149,7 @@ def test_method_update_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(CustomStorageCredentialUpdateResponse, custom_storage_credential, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update(self, client: Telnyx) -> None: response = client.custom_storage_credentials.with_raw_response.update( @@ -151,6 +163,7 @@ def test_raw_response_update(self, client: Telnyx) -> None: custom_storage_credential = response.parse() assert_matches_type(CustomStorageCredentialUpdateResponse, custom_storage_credential, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update(self, client: Telnyx) -> None: with client.custom_storage_credentials.with_streaming_response.update( @@ -166,6 +179,7 @@ def test_streaming_response_update(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `connection_id` but received ''"): @@ -175,6 +189,7 @@ def test_path_params_update(self, client: Telnyx) -> None: configuration={}, ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: custom_storage_credential = client.custom_storage_credentials.delete( @@ -182,6 +197,7 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert custom_storage_credential is None + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.custom_storage_credentials.with_raw_response.delete( @@ -193,6 +209,7 @@ def test_raw_response_delete(self, client: Telnyx) -> None: custom_storage_credential = response.parse() assert custom_storage_credential is None + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.custom_storage_credentials.with_streaming_response.delete( @@ -206,6 +223,7 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `connection_id` but received ''"): @@ -219,6 +237,7 @@ class TestAsyncCustomStorageCredentials: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: custom_storage_credential = await async_client.custom_storage_credentials.create( @@ -228,6 +247,7 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(CustomStorageCredentialCreateResponse, custom_storage_credential, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: custom_storage_credential = await async_client.custom_storage_credentials.create( @@ -240,6 +260,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(CustomStorageCredentialCreateResponse, custom_storage_credential, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.custom_storage_credentials.with_raw_response.create( @@ -253,6 +274,7 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: custom_storage_credential = await response.parse() assert_matches_type(CustomStorageCredentialCreateResponse, custom_storage_credential, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.custom_storage_credentials.with_streaming_response.create( @@ -268,6 +290,7 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_create(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `connection_id` but received ''"): @@ -277,6 +300,7 @@ async def test_path_params_create(self, async_client: AsyncTelnyx) -> None: configuration={}, ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: custom_storage_credential = await async_client.custom_storage_credentials.retrieve( @@ -284,6 +308,7 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(CustomStorageCredentialRetrieveResponse, custom_storage_credential, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.custom_storage_credentials.with_raw_response.retrieve( @@ -295,6 +320,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: custom_storage_credential = await response.parse() assert_matches_type(CustomStorageCredentialRetrieveResponse, custom_storage_credential, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.custom_storage_credentials.with_streaming_response.retrieve( @@ -308,6 +334,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `connection_id` but received ''"): @@ -315,6 +342,7 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update(self, async_client: AsyncTelnyx) -> None: custom_storage_credential = await async_client.custom_storage_credentials.update( @@ -324,6 +352,7 @@ async def test_method_update(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(CustomStorageCredentialUpdateResponse, custom_storage_credential, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> None: custom_storage_credential = await async_client.custom_storage_credentials.update( @@ -336,6 +365,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(CustomStorageCredentialUpdateResponse, custom_storage_credential, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: response = await async_client.custom_storage_credentials.with_raw_response.update( @@ -349,6 +379,7 @@ async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: custom_storage_credential = await response.parse() assert_matches_type(CustomStorageCredentialUpdateResponse, custom_storage_credential, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> None: async with async_client.custom_storage_credentials.with_streaming_response.update( @@ -364,6 +395,7 @@ async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `connection_id` but received ''"): @@ -373,6 +405,7 @@ async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: configuration={}, ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: custom_storage_credential = await async_client.custom_storage_credentials.delete( @@ -380,6 +413,7 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert custom_storage_credential is None + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.custom_storage_credentials.with_raw_response.delete( @@ -391,6 +425,7 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: custom_storage_credential = await response.parse() assert custom_storage_credential is None + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.custom_storage_credentials.with_streaming_response.delete( @@ -404,6 +439,7 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `connection_id` but received ''"): diff --git a/tests/api_resources/test_customer_service_records.py b/tests/api_resources/test_customer_service_records.py index f08c5ac8..466e0359 100644 --- a/tests/api_resources/test_customer_service_records.py +++ b/tests/api_resources/test_customer_service_records.py @@ -23,6 +23,7 @@ class TestCustomerServiceRecords: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: customer_service_record = client.customer_service_records.create( @@ -30,6 +31,7 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(CustomerServiceRecordCreateResponse, customer_service_record, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: customer_service_record = client.customer_service_records.create( @@ -50,6 +52,7 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(CustomerServiceRecordCreateResponse, customer_service_record, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.customer_service_records.with_raw_response.create( @@ -61,6 +64,7 @@ def test_raw_response_create(self, client: Telnyx) -> None: customer_service_record = response.parse() assert_matches_type(CustomerServiceRecordCreateResponse, customer_service_record, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.customer_service_records.with_streaming_response.create( @@ -74,6 +78,7 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: customer_service_record = client.customer_service_records.retrieve( @@ -81,6 +86,7 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(CustomerServiceRecordRetrieveResponse, customer_service_record, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.customer_service_records.with_raw_response.retrieve( @@ -92,6 +98,7 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: customer_service_record = response.parse() assert_matches_type(CustomerServiceRecordRetrieveResponse, customer_service_record, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.customer_service_records.with_streaming_response.retrieve( @@ -105,6 +112,7 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises( @@ -114,11 +122,13 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: customer_service_record = client.customer_service_records.list() assert_matches_type(CustomerServiceRecordListResponse, customer_service_record, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: customer_service_record = client.customer_service_records.list( @@ -144,6 +154,7 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(CustomerServiceRecordListResponse, customer_service_record, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.customer_service_records.with_raw_response.list() @@ -153,6 +164,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: customer_service_record = response.parse() assert_matches_type(CustomerServiceRecordListResponse, customer_service_record, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.customer_service_records.with_streaming_response.list() as response: @@ -164,6 +176,7 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_verify_phone_number_coverage(self, client: Telnyx) -> None: customer_service_record = client.customer_service_records.verify_phone_number_coverage( @@ -173,6 +186,7 @@ def test_method_verify_phone_number_coverage(self, client: Telnyx) -> None: CustomerServiceRecordVerifyPhoneNumberCoverageResponse, customer_service_record, path=["response"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_verify_phone_number_coverage(self, client: Telnyx) -> None: response = client.customer_service_records.with_raw_response.verify_phone_number_coverage( @@ -186,6 +200,7 @@ def test_raw_response_verify_phone_number_coverage(self, client: Telnyx) -> None CustomerServiceRecordVerifyPhoneNumberCoverageResponse, customer_service_record, path=["response"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_verify_phone_number_coverage(self, client: Telnyx) -> None: with client.customer_service_records.with_streaming_response.verify_phone_number_coverage( @@ -207,6 +222,7 @@ class TestAsyncCustomerServiceRecords: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: customer_service_record = await async_client.customer_service_records.create( @@ -214,6 +230,7 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(CustomerServiceRecordCreateResponse, customer_service_record, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: customer_service_record = await async_client.customer_service_records.create( @@ -234,6 +251,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(CustomerServiceRecordCreateResponse, customer_service_record, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.customer_service_records.with_raw_response.create( @@ -245,6 +263,7 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: customer_service_record = await response.parse() assert_matches_type(CustomerServiceRecordCreateResponse, customer_service_record, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.customer_service_records.with_streaming_response.create( @@ -258,6 +277,7 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: customer_service_record = await async_client.customer_service_records.retrieve( @@ -265,6 +285,7 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(CustomerServiceRecordRetrieveResponse, customer_service_record, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.customer_service_records.with_raw_response.retrieve( @@ -276,6 +297,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: customer_service_record = await response.parse() assert_matches_type(CustomerServiceRecordRetrieveResponse, customer_service_record, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.customer_service_records.with_streaming_response.retrieve( @@ -289,6 +311,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises( @@ -298,11 +321,13 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: customer_service_record = await async_client.customer_service_records.list() assert_matches_type(CustomerServiceRecordListResponse, customer_service_record, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: customer_service_record = await async_client.customer_service_records.list( @@ -328,6 +353,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(CustomerServiceRecordListResponse, customer_service_record, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.customer_service_records.with_raw_response.list() @@ -337,6 +363,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: customer_service_record = await response.parse() assert_matches_type(CustomerServiceRecordListResponse, customer_service_record, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.customer_service_records.with_streaming_response.list() as response: @@ -348,6 +375,7 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_verify_phone_number_coverage(self, async_client: AsyncTelnyx) -> None: customer_service_record = await async_client.customer_service_records.verify_phone_number_coverage( @@ -357,6 +385,7 @@ async def test_method_verify_phone_number_coverage(self, async_client: AsyncTeln CustomerServiceRecordVerifyPhoneNumberCoverageResponse, customer_service_record, path=["response"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_verify_phone_number_coverage(self, async_client: AsyncTelnyx) -> None: response = await async_client.customer_service_records.with_raw_response.verify_phone_number_coverage( @@ -370,6 +399,7 @@ async def test_raw_response_verify_phone_number_coverage(self, async_client: Asy CustomerServiceRecordVerifyPhoneNumberCoverageResponse, customer_service_record, path=["response"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_verify_phone_number_coverage(self, async_client: AsyncTelnyx) -> None: async with async_client.customer_service_records.with_streaming_response.verify_phone_number_coverage( diff --git a/tests/api_resources/test_detail_records.py b/tests/api_resources/test_detail_records.py index 0613531b..5e608287 100644 --- a/tests/api_resources/test_detail_records.py +++ b/tests/api_resources/test_detail_records.py @@ -17,11 +17,13 @@ class TestDetailRecords: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: detail_record = client.detail_records.list() assert_matches_type(DetailRecordListResponse, detail_record, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: detail_record = client.detail_records.list( @@ -37,6 +39,7 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(DetailRecordListResponse, detail_record, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.detail_records.with_raw_response.list() @@ -46,6 +49,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: detail_record = response.parse() assert_matches_type(DetailRecordListResponse, detail_record, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.detail_records.with_streaming_response.list() as response: @@ -63,11 +67,13 @@ class TestAsyncDetailRecords: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: detail_record = await async_client.detail_records.list() assert_matches_type(DetailRecordListResponse, detail_record, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: detail_record = await async_client.detail_records.list( @@ -83,6 +89,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(DetailRecordListResponse, detail_record, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.detail_records.with_raw_response.list() @@ -92,6 +99,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: detail_record = await response.parse() assert_matches_type(DetailRecordListResponse, detail_record, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.detail_records.with_streaming_response.list() as response: diff --git a/tests/api_resources/test_dialogflow_connections.py b/tests/api_resources/test_dialogflow_connections.py index 8ea31b1d..b4ce9bfd 100644 --- a/tests/api_resources/test_dialogflow_connections.py +++ b/tests/api_resources/test_dialogflow_connections.py @@ -21,6 +21,7 @@ class TestDialogflowConnections: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: dialogflow_connection = client.dialogflow_connections.create( @@ -430,6 +431,7 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(DialogflowConnectionCreateResponse, dialogflow_connection, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: dialogflow_connection = client.dialogflow_connections.create( @@ -843,6 +845,7 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(DialogflowConnectionCreateResponse, dialogflow_connection, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.dialogflow_connections.with_raw_response.create( @@ -1256,6 +1259,7 @@ def test_raw_response_create(self, client: Telnyx) -> None: dialogflow_connection = response.parse() assert_matches_type(DialogflowConnectionCreateResponse, dialogflow_connection, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.dialogflow_connections.with_streaming_response.create( @@ -1671,6 +1675,7 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_create(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `connection_id` but received ''"): @@ -2080,6 +2085,7 @@ def test_path_params_create(self, client: Telnyx) -> None: }, ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: dialogflow_connection = client.dialogflow_connections.retrieve( @@ -2087,6 +2093,7 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(DialogflowConnectionRetrieveResponse, dialogflow_connection, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.dialogflow_connections.with_raw_response.retrieve( @@ -2098,6 +2105,7 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: dialogflow_connection = response.parse() assert_matches_type(DialogflowConnectionRetrieveResponse, dialogflow_connection, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.dialogflow_connections.with_streaming_response.retrieve( @@ -2111,6 +2119,7 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `connection_id` but received ''"): @@ -2118,6 +2127,7 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update(self, client: Telnyx) -> None: dialogflow_connection = client.dialogflow_connections.update( @@ -2527,6 +2537,7 @@ def test_method_update(self, client: Telnyx) -> None: ) assert_matches_type(DialogflowConnectionUpdateResponse, dialogflow_connection, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_with_all_params(self, client: Telnyx) -> None: dialogflow_connection = client.dialogflow_connections.update( @@ -2940,6 +2951,7 @@ def test_method_update_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(DialogflowConnectionUpdateResponse, dialogflow_connection, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update(self, client: Telnyx) -> None: response = client.dialogflow_connections.with_raw_response.update( @@ -3353,6 +3365,7 @@ def test_raw_response_update(self, client: Telnyx) -> None: dialogflow_connection = response.parse() assert_matches_type(DialogflowConnectionUpdateResponse, dialogflow_connection, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update(self, client: Telnyx) -> None: with client.dialogflow_connections.with_streaming_response.update( @@ -3768,6 +3781,7 @@ def test_streaming_response_update(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `connection_id` but received ''"): @@ -4177,6 +4191,7 @@ def test_path_params_update(self, client: Telnyx) -> None: }, ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: dialogflow_connection = client.dialogflow_connections.delete( @@ -4184,6 +4199,7 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert dialogflow_connection is None + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.dialogflow_connections.with_raw_response.delete( @@ -4195,6 +4211,7 @@ def test_raw_response_delete(self, client: Telnyx) -> None: dialogflow_connection = response.parse() assert dialogflow_connection is None + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.dialogflow_connections.with_streaming_response.delete( @@ -4208,6 +4225,7 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `connection_id` but received ''"): @@ -4221,6 +4239,7 @@ class TestAsyncDialogflowConnections: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: dialogflow_connection = await async_client.dialogflow_connections.create( @@ -4630,6 +4649,7 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(DialogflowConnectionCreateResponse, dialogflow_connection, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: dialogflow_connection = await async_client.dialogflow_connections.create( @@ -5043,6 +5063,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(DialogflowConnectionCreateResponse, dialogflow_connection, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.dialogflow_connections.with_raw_response.create( @@ -5456,6 +5477,7 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: dialogflow_connection = await response.parse() assert_matches_type(DialogflowConnectionCreateResponse, dialogflow_connection, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.dialogflow_connections.with_streaming_response.create( @@ -5871,6 +5893,7 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_create(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `connection_id` but received ''"): @@ -6280,6 +6303,7 @@ async def test_path_params_create(self, async_client: AsyncTelnyx) -> None: }, ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: dialogflow_connection = await async_client.dialogflow_connections.retrieve( @@ -6287,6 +6311,7 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(DialogflowConnectionRetrieveResponse, dialogflow_connection, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.dialogflow_connections.with_raw_response.retrieve( @@ -6298,6 +6323,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: dialogflow_connection = await response.parse() assert_matches_type(DialogflowConnectionRetrieveResponse, dialogflow_connection, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.dialogflow_connections.with_streaming_response.retrieve( @@ -6311,6 +6337,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `connection_id` but received ''"): @@ -6318,6 +6345,7 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update(self, async_client: AsyncTelnyx) -> None: dialogflow_connection = await async_client.dialogflow_connections.update( @@ -6727,6 +6755,7 @@ async def test_method_update(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(DialogflowConnectionUpdateResponse, dialogflow_connection, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> None: dialogflow_connection = await async_client.dialogflow_connections.update( @@ -7140,6 +7169,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(DialogflowConnectionUpdateResponse, dialogflow_connection, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: response = await async_client.dialogflow_connections.with_raw_response.update( @@ -7553,6 +7583,7 @@ async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: dialogflow_connection = await response.parse() assert_matches_type(DialogflowConnectionUpdateResponse, dialogflow_connection, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> None: async with async_client.dialogflow_connections.with_streaming_response.update( @@ -7968,6 +7999,7 @@ async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `connection_id` but received ''"): @@ -8377,6 +8409,7 @@ async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: }, ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: dialogflow_connection = await async_client.dialogflow_connections.delete( @@ -8384,6 +8417,7 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert dialogflow_connection is None + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.dialogflow_connections.with_raw_response.delete( @@ -8395,6 +8429,7 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: dialogflow_connection = await response.parse() assert dialogflow_connection is None + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.dialogflow_connections.with_streaming_response.delete( @@ -8408,6 +8443,7 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `connection_id` but received ''"): diff --git a/tests/api_resources/test_document_links.py b/tests/api_resources/test_document_links.py index 6d9dab01..6c499aa8 100644 --- a/tests/api_resources/test_document_links.py +++ b/tests/api_resources/test_document_links.py @@ -17,11 +17,13 @@ class TestDocumentLinks: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: document_link = client.document_links.list() assert_matches_type(DocumentLinkListResponse, document_link, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: document_link = client.document_links.list( @@ -36,6 +38,7 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(DocumentLinkListResponse, document_link, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.document_links.with_raw_response.list() @@ -45,6 +48,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: document_link = response.parse() assert_matches_type(DocumentLinkListResponse, document_link, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.document_links.with_streaming_response.list() as response: @@ -62,11 +66,13 @@ class TestAsyncDocumentLinks: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: document_link = await async_client.document_links.list() assert_matches_type(DocumentLinkListResponse, document_link, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: document_link = await async_client.document_links.list( @@ -81,6 +87,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(DocumentLinkListResponse, document_link, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.document_links.with_raw_response.list() @@ -90,6 +97,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: document_link = await response.parse() assert_matches_type(DocumentLinkListResponse, document_link, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.document_links.with_streaming_response.list() as response: diff --git a/tests/api_resources/test_documents.py b/tests/api_resources/test_documents.py index 70996c7b..e2dae768 100644 --- a/tests/api_resources/test_documents.py +++ b/tests/api_resources/test_documents.py @@ -33,6 +33,7 @@ class TestDocuments: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: document = client.documents.retrieve( @@ -40,6 +41,7 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(DocumentRetrieveResponse, document, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.documents.with_raw_response.retrieve( @@ -51,6 +53,7 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: document = response.parse() assert_matches_type(DocumentRetrieveResponse, document, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.documents.with_streaming_response.retrieve( @@ -64,6 +67,7 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -71,6 +75,7 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update(self, client: Telnyx) -> None: document = client.documents.update( @@ -78,6 +83,7 @@ def test_method_update(self, client: Telnyx) -> None: ) assert_matches_type(DocumentUpdateResponse, document, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_with_all_params(self, client: Telnyx) -> None: document = client.documents.update( @@ -87,6 +93,7 @@ def test_method_update_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(DocumentUpdateResponse, document, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update(self, client: Telnyx) -> None: response = client.documents.with_raw_response.update( @@ -98,6 +105,7 @@ def test_raw_response_update(self, client: Telnyx) -> None: document = response.parse() assert_matches_type(DocumentUpdateResponse, document, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update(self, client: Telnyx) -> None: with client.documents.with_streaming_response.update( @@ -111,6 +119,7 @@ def test_streaming_response_update(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -118,11 +127,13 @@ def test_path_params_update(self, client: Telnyx) -> None: id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: document = client.documents.list() assert_matches_type(DocumentListResponse, document, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: document = client.documents.list( @@ -145,6 +156,7 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(DocumentListResponse, document, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.documents.with_raw_response.list() @@ -154,6 +166,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: document = response.parse() assert_matches_type(DocumentListResponse, document, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.documents.with_streaming_response.list() as response: @@ -165,6 +178,7 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: document = client.documents.delete( @@ -172,6 +186,7 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert_matches_type(DocumentDeleteResponse, document, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.documents.with_raw_response.delete( @@ -183,6 +198,7 @@ def test_raw_response_delete(self, client: Telnyx) -> None: document = response.parse() assert_matches_type(DocumentDeleteResponse, document, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.documents.with_streaming_response.delete( @@ -196,6 +212,7 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -259,6 +276,7 @@ def test_path_params_download(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_generate_download_link(self, client: Telnyx) -> None: document = client.documents.generate_download_link( @@ -266,6 +284,7 @@ def test_method_generate_download_link(self, client: Telnyx) -> None: ) assert_matches_type(DocumentGenerateDownloadLinkResponse, document, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_generate_download_link(self, client: Telnyx) -> None: response = client.documents.with_raw_response.generate_download_link( @@ -277,6 +296,7 @@ def test_raw_response_generate_download_link(self, client: Telnyx) -> None: document = response.parse() assert_matches_type(DocumentGenerateDownloadLinkResponse, document, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_generate_download_link(self, client: Telnyx) -> None: with client.documents.with_streaming_response.generate_download_link( @@ -290,6 +310,7 @@ def test_streaming_response_generate_download_link(self, client: Telnyx) -> None assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_generate_download_link(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -297,6 +318,7 @@ def test_path_params_generate_download_link(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_upload_overload_1(self, client: Telnyx) -> None: document = client.documents.upload( @@ -304,6 +326,7 @@ def test_method_upload_overload_1(self, client: Telnyx) -> None: ) assert_matches_type(DocumentUploadResponse, document, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_upload_with_all_params_overload_1(self, client: Telnyx) -> None: document = client.documents.upload( @@ -313,6 +336,7 @@ def test_method_upload_with_all_params_overload_1(self, client: Telnyx) -> None: ) assert_matches_type(DocumentUploadResponse, document, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_upload_overload_1(self, client: Telnyx) -> None: response = client.documents.with_raw_response.upload( @@ -324,6 +348,7 @@ def test_raw_response_upload_overload_1(self, client: Telnyx) -> None: document = response.parse() assert_matches_type(DocumentUploadResponse, document, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_upload_overload_1(self, client: Telnyx) -> None: with client.documents.with_streaming_response.upload( @@ -337,6 +362,7 @@ def test_streaming_response_upload_overload_1(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_upload_overload_2(self, client: Telnyx) -> None: document = client.documents.upload( @@ -344,6 +370,7 @@ def test_method_upload_overload_2(self, client: Telnyx) -> None: ) assert_matches_type(DocumentUploadResponse, document, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_upload_with_all_params_overload_2(self, client: Telnyx) -> None: document = client.documents.upload( @@ -353,6 +380,7 @@ def test_method_upload_with_all_params_overload_2(self, client: Telnyx) -> None: ) assert_matches_type(DocumentUploadResponse, document, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_upload_overload_2(self, client: Telnyx) -> None: response = client.documents.with_raw_response.upload( @@ -364,6 +392,7 @@ def test_raw_response_upload_overload_2(self, client: Telnyx) -> None: document = response.parse() assert_matches_type(DocumentUploadResponse, document, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_upload_overload_2(self, client: Telnyx) -> None: with client.documents.with_streaming_response.upload( @@ -383,6 +412,7 @@ class TestAsyncDocuments: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: document = await async_client.documents.retrieve( @@ -390,6 +420,7 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(DocumentRetrieveResponse, document, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.documents.with_raw_response.retrieve( @@ -401,6 +432,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: document = await response.parse() assert_matches_type(DocumentRetrieveResponse, document, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.documents.with_streaming_response.retrieve( @@ -414,6 +446,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -421,6 +454,7 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update(self, async_client: AsyncTelnyx) -> None: document = await async_client.documents.update( @@ -428,6 +462,7 @@ async def test_method_update(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(DocumentUpdateResponse, document, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> None: document = await async_client.documents.update( @@ -437,6 +472,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(DocumentUpdateResponse, document, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: response = await async_client.documents.with_raw_response.update( @@ -448,6 +484,7 @@ async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: document = await response.parse() assert_matches_type(DocumentUpdateResponse, document, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> None: async with async_client.documents.with_streaming_response.update( @@ -461,6 +498,7 @@ async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -468,11 +506,13 @@ async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: document = await async_client.documents.list() assert_matches_type(DocumentListResponse, document, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: document = await async_client.documents.list( @@ -495,6 +535,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(DocumentListResponse, document, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.documents.with_raw_response.list() @@ -504,6 +545,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: document = await response.parse() assert_matches_type(DocumentListResponse, document, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.documents.with_streaming_response.list() as response: @@ -515,6 +557,7 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: document = await async_client.documents.delete( @@ -522,6 +565,7 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(DocumentDeleteResponse, document, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.documents.with_raw_response.delete( @@ -533,6 +577,7 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: document = await response.parse() assert_matches_type(DocumentDeleteResponse, document, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.documents.with_streaming_response.delete( @@ -546,6 +591,7 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -609,6 +655,7 @@ async def test_path_params_download(self, async_client: AsyncTelnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_generate_download_link(self, async_client: AsyncTelnyx) -> None: document = await async_client.documents.generate_download_link( @@ -616,6 +663,7 @@ async def test_method_generate_download_link(self, async_client: AsyncTelnyx) -> ) assert_matches_type(DocumentGenerateDownloadLinkResponse, document, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_generate_download_link(self, async_client: AsyncTelnyx) -> None: response = await async_client.documents.with_raw_response.generate_download_link( @@ -627,6 +675,7 @@ async def test_raw_response_generate_download_link(self, async_client: AsyncTeln document = await response.parse() assert_matches_type(DocumentGenerateDownloadLinkResponse, document, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_generate_download_link(self, async_client: AsyncTelnyx) -> None: async with async_client.documents.with_streaming_response.generate_download_link( @@ -640,6 +689,7 @@ async def test_streaming_response_generate_download_link(self, async_client: Asy assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_generate_download_link(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -647,6 +697,7 @@ async def test_path_params_generate_download_link(self, async_client: AsyncTelny "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_upload_overload_1(self, async_client: AsyncTelnyx) -> None: document = await async_client.documents.upload( @@ -654,6 +705,7 @@ async def test_method_upload_overload_1(self, async_client: AsyncTelnyx) -> None ) assert_matches_type(DocumentUploadResponse, document, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_upload_with_all_params_overload_1(self, async_client: AsyncTelnyx) -> None: document = await async_client.documents.upload( @@ -663,6 +715,7 @@ async def test_method_upload_with_all_params_overload_1(self, async_client: Asyn ) assert_matches_type(DocumentUploadResponse, document, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_upload_overload_1(self, async_client: AsyncTelnyx) -> None: response = await async_client.documents.with_raw_response.upload( @@ -674,6 +727,7 @@ async def test_raw_response_upload_overload_1(self, async_client: AsyncTelnyx) - document = await response.parse() assert_matches_type(DocumentUploadResponse, document, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_upload_overload_1(self, async_client: AsyncTelnyx) -> None: async with async_client.documents.with_streaming_response.upload( @@ -687,6 +741,7 @@ async def test_streaming_response_upload_overload_1(self, async_client: AsyncTel assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_upload_overload_2(self, async_client: AsyncTelnyx) -> None: document = await async_client.documents.upload( @@ -694,6 +749,7 @@ async def test_method_upload_overload_2(self, async_client: AsyncTelnyx) -> None ) assert_matches_type(DocumentUploadResponse, document, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_upload_with_all_params_overload_2(self, async_client: AsyncTelnyx) -> None: document = await async_client.documents.upload( @@ -703,6 +759,7 @@ async def test_method_upload_with_all_params_overload_2(self, async_client: Asyn ) assert_matches_type(DocumentUploadResponse, document, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_upload_overload_2(self, async_client: AsyncTelnyx) -> None: response = await async_client.documents.with_raw_response.upload( @@ -714,6 +771,7 @@ async def test_raw_response_upload_overload_2(self, async_client: AsyncTelnyx) - document = await response.parse() assert_matches_type(DocumentUploadResponse, document, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_upload_overload_2(self, async_client: AsyncTelnyx) -> None: async with async_client.documents.with_streaming_response.upload( diff --git a/tests/api_resources/test_dynamic_emergency_addresses.py b/tests/api_resources/test_dynamic_emergency_addresses.py index 496c168c..f9548db4 100644 --- a/tests/api_resources/test_dynamic_emergency_addresses.py +++ b/tests/api_resources/test_dynamic_emergency_addresses.py @@ -22,6 +22,7 @@ class TestDynamicEmergencyAddresses: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: dynamic_emergency_address = client.dynamic_emergency_addresses.create( @@ -34,6 +35,7 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(DynamicEmergencyAddressCreateResponse, dynamic_emergency_address, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: dynamic_emergency_address = client.dynamic_emergency_addresses.create( @@ -51,6 +53,7 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(DynamicEmergencyAddressCreateResponse, dynamic_emergency_address, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.dynamic_emergency_addresses.with_raw_response.create( @@ -67,6 +70,7 @@ def test_raw_response_create(self, client: Telnyx) -> None: dynamic_emergency_address = response.parse() assert_matches_type(DynamicEmergencyAddressCreateResponse, dynamic_emergency_address, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.dynamic_emergency_addresses.with_streaming_response.create( @@ -85,6 +89,7 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: dynamic_emergency_address = client.dynamic_emergency_addresses.retrieve( @@ -92,6 +97,7 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(DynamicEmergencyAddressRetrieveResponse, dynamic_emergency_address, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.dynamic_emergency_addresses.with_raw_response.retrieve( @@ -103,6 +109,7 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: dynamic_emergency_address = response.parse() assert_matches_type(DynamicEmergencyAddressRetrieveResponse, dynamic_emergency_address, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.dynamic_emergency_addresses.with_streaming_response.retrieve( @@ -116,6 +123,7 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -123,11 +131,13 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: dynamic_emergency_address = client.dynamic_emergency_addresses.list() assert_matches_type(DynamicEmergencyAddressListResponse, dynamic_emergency_address, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: dynamic_emergency_address = client.dynamic_emergency_addresses.list( @@ -142,6 +152,7 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(DynamicEmergencyAddressListResponse, dynamic_emergency_address, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.dynamic_emergency_addresses.with_raw_response.list() @@ -151,6 +162,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: dynamic_emergency_address = response.parse() assert_matches_type(DynamicEmergencyAddressListResponse, dynamic_emergency_address, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.dynamic_emergency_addresses.with_streaming_response.list() as response: @@ -162,6 +174,7 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: dynamic_emergency_address = client.dynamic_emergency_addresses.delete( @@ -169,6 +182,7 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert_matches_type(DynamicEmergencyAddressDeleteResponse, dynamic_emergency_address, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.dynamic_emergency_addresses.with_raw_response.delete( @@ -180,6 +194,7 @@ def test_raw_response_delete(self, client: Telnyx) -> None: dynamic_emergency_address = response.parse() assert_matches_type(DynamicEmergencyAddressDeleteResponse, dynamic_emergency_address, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.dynamic_emergency_addresses.with_streaming_response.delete( @@ -193,6 +208,7 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -206,6 +222,7 @@ class TestAsyncDynamicEmergencyAddresses: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: dynamic_emergency_address = await async_client.dynamic_emergency_addresses.create( @@ -218,6 +235,7 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(DynamicEmergencyAddressCreateResponse, dynamic_emergency_address, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: dynamic_emergency_address = await async_client.dynamic_emergency_addresses.create( @@ -235,6 +253,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(DynamicEmergencyAddressCreateResponse, dynamic_emergency_address, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.dynamic_emergency_addresses.with_raw_response.create( @@ -251,6 +270,7 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: dynamic_emergency_address = await response.parse() assert_matches_type(DynamicEmergencyAddressCreateResponse, dynamic_emergency_address, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.dynamic_emergency_addresses.with_streaming_response.create( @@ -269,6 +289,7 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: dynamic_emergency_address = await async_client.dynamic_emergency_addresses.retrieve( @@ -276,6 +297,7 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(DynamicEmergencyAddressRetrieveResponse, dynamic_emergency_address, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.dynamic_emergency_addresses.with_raw_response.retrieve( @@ -287,6 +309,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: dynamic_emergency_address = await response.parse() assert_matches_type(DynamicEmergencyAddressRetrieveResponse, dynamic_emergency_address, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.dynamic_emergency_addresses.with_streaming_response.retrieve( @@ -300,6 +323,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -307,11 +331,13 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: dynamic_emergency_address = await async_client.dynamic_emergency_addresses.list() assert_matches_type(DynamicEmergencyAddressListResponse, dynamic_emergency_address, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: dynamic_emergency_address = await async_client.dynamic_emergency_addresses.list( @@ -326,6 +352,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(DynamicEmergencyAddressListResponse, dynamic_emergency_address, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.dynamic_emergency_addresses.with_raw_response.list() @@ -335,6 +362,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: dynamic_emergency_address = await response.parse() assert_matches_type(DynamicEmergencyAddressListResponse, dynamic_emergency_address, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.dynamic_emergency_addresses.with_streaming_response.list() as response: @@ -346,6 +374,7 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: dynamic_emergency_address = await async_client.dynamic_emergency_addresses.delete( @@ -353,6 +382,7 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(DynamicEmergencyAddressDeleteResponse, dynamic_emergency_address, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.dynamic_emergency_addresses.with_raw_response.delete( @@ -364,6 +394,7 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: dynamic_emergency_address = await response.parse() assert_matches_type(DynamicEmergencyAddressDeleteResponse, dynamic_emergency_address, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.dynamic_emergency_addresses.with_streaming_response.delete( @@ -377,6 +408,7 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): diff --git a/tests/api_resources/test_dynamic_emergency_endpoints.py b/tests/api_resources/test_dynamic_emergency_endpoints.py index a4dfd000..1a5581ab 100644 --- a/tests/api_resources/test_dynamic_emergency_endpoints.py +++ b/tests/api_resources/test_dynamic_emergency_endpoints.py @@ -22,6 +22,7 @@ class TestDynamicEmergencyEndpoints: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: dynamic_emergency_endpoint = client.dynamic_emergency_endpoints.create( @@ -31,6 +32,7 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(DynamicEmergencyEndpointCreateResponse, dynamic_emergency_endpoint, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.dynamic_emergency_endpoints.with_raw_response.create( @@ -44,6 +46,7 @@ def test_raw_response_create(self, client: Telnyx) -> None: dynamic_emergency_endpoint = response.parse() assert_matches_type(DynamicEmergencyEndpointCreateResponse, dynamic_emergency_endpoint, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.dynamic_emergency_endpoints.with_streaming_response.create( @@ -59,6 +62,7 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: dynamic_emergency_endpoint = client.dynamic_emergency_endpoints.retrieve( @@ -66,6 +70,7 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(DynamicEmergencyEndpointRetrieveResponse, dynamic_emergency_endpoint, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.dynamic_emergency_endpoints.with_raw_response.retrieve( @@ -77,6 +82,7 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: dynamic_emergency_endpoint = response.parse() assert_matches_type(DynamicEmergencyEndpointRetrieveResponse, dynamic_emergency_endpoint, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.dynamic_emergency_endpoints.with_streaming_response.retrieve( @@ -90,6 +96,7 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -97,11 +104,13 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: dynamic_emergency_endpoint = client.dynamic_emergency_endpoints.list() assert_matches_type(DynamicEmergencyEndpointListResponse, dynamic_emergency_endpoint, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: dynamic_emergency_endpoint = client.dynamic_emergency_endpoints.list( @@ -116,6 +125,7 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(DynamicEmergencyEndpointListResponse, dynamic_emergency_endpoint, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.dynamic_emergency_endpoints.with_raw_response.list() @@ -125,6 +135,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: dynamic_emergency_endpoint = response.parse() assert_matches_type(DynamicEmergencyEndpointListResponse, dynamic_emergency_endpoint, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.dynamic_emergency_endpoints.with_streaming_response.list() as response: @@ -136,6 +147,7 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: dynamic_emergency_endpoint = client.dynamic_emergency_endpoints.delete( @@ -143,6 +155,7 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert_matches_type(DynamicEmergencyEndpointDeleteResponse, dynamic_emergency_endpoint, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.dynamic_emergency_endpoints.with_raw_response.delete( @@ -154,6 +167,7 @@ def test_raw_response_delete(self, client: Telnyx) -> None: dynamic_emergency_endpoint = response.parse() assert_matches_type(DynamicEmergencyEndpointDeleteResponse, dynamic_emergency_endpoint, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.dynamic_emergency_endpoints.with_streaming_response.delete( @@ -167,6 +181,7 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -180,6 +195,7 @@ class TestAsyncDynamicEmergencyEndpoints: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: dynamic_emergency_endpoint = await async_client.dynamic_emergency_endpoints.create( @@ -189,6 +205,7 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(DynamicEmergencyEndpointCreateResponse, dynamic_emergency_endpoint, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.dynamic_emergency_endpoints.with_raw_response.create( @@ -202,6 +219,7 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: dynamic_emergency_endpoint = await response.parse() assert_matches_type(DynamicEmergencyEndpointCreateResponse, dynamic_emergency_endpoint, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.dynamic_emergency_endpoints.with_streaming_response.create( @@ -217,6 +235,7 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: dynamic_emergency_endpoint = await async_client.dynamic_emergency_endpoints.retrieve( @@ -224,6 +243,7 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(DynamicEmergencyEndpointRetrieveResponse, dynamic_emergency_endpoint, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.dynamic_emergency_endpoints.with_raw_response.retrieve( @@ -235,6 +255,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: dynamic_emergency_endpoint = await response.parse() assert_matches_type(DynamicEmergencyEndpointRetrieveResponse, dynamic_emergency_endpoint, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.dynamic_emergency_endpoints.with_streaming_response.retrieve( @@ -248,6 +269,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -255,11 +277,13 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: dynamic_emergency_endpoint = await async_client.dynamic_emergency_endpoints.list() assert_matches_type(DynamicEmergencyEndpointListResponse, dynamic_emergency_endpoint, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: dynamic_emergency_endpoint = await async_client.dynamic_emergency_endpoints.list( @@ -274,6 +298,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(DynamicEmergencyEndpointListResponse, dynamic_emergency_endpoint, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.dynamic_emergency_endpoints.with_raw_response.list() @@ -283,6 +308,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: dynamic_emergency_endpoint = await response.parse() assert_matches_type(DynamicEmergencyEndpointListResponse, dynamic_emergency_endpoint, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.dynamic_emergency_endpoints.with_streaming_response.list() as response: @@ -294,6 +320,7 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: dynamic_emergency_endpoint = await async_client.dynamic_emergency_endpoints.delete( @@ -301,6 +328,7 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(DynamicEmergencyEndpointDeleteResponse, dynamic_emergency_endpoint, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.dynamic_emergency_endpoints.with_raw_response.delete( @@ -312,6 +340,7 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: dynamic_emergency_endpoint = await response.parse() assert_matches_type(DynamicEmergencyEndpointDeleteResponse, dynamic_emergency_endpoint, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.dynamic_emergency_endpoints.with_streaming_response.delete( @@ -325,6 +354,7 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): diff --git a/tests/api_resources/test_enum.py b/tests/api_resources/test_enum.py index 14fb92f1..a1804b13 100644 --- a/tests/api_resources/test_enum.py +++ b/tests/api_resources/test_enum.py @@ -17,6 +17,7 @@ class TestEnum: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: enum = client.enum.retrieve( @@ -24,6 +25,7 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(EnumRetrieveResponse, enum, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.enum.with_raw_response.retrieve( @@ -35,6 +37,7 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: enum = response.parse() assert_matches_type(EnumRetrieveResponse, enum, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.enum.with_streaming_response.retrieve( @@ -54,6 +57,7 @@ class TestAsyncEnum: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: enum = await async_client.enum.retrieve( @@ -61,6 +65,7 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(EnumRetrieveResponse, enum, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.enum.with_raw_response.retrieve( @@ -72,6 +77,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: enum = await response.parse() assert_matches_type(EnumRetrieveResponse, enum, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.enum.with_streaming_response.retrieve( diff --git a/tests/api_resources/test_external_connections.py b/tests/api_resources/test_external_connections.py index 56559aec..0bbe5bba 100644 --- a/tests/api_resources/test_external_connections.py +++ b/tests/api_resources/test_external_connections.py @@ -24,6 +24,7 @@ class TestExternalConnections: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: external_connection = client.external_connections.create( @@ -32,6 +33,7 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(ExternalConnectionCreateResponse, external_connection, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: external_connection = client.external_connections.create( @@ -49,6 +51,7 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ExternalConnectionCreateResponse, external_connection, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.external_connections.with_raw_response.create( @@ -61,6 +64,7 @@ def test_raw_response_create(self, client: Telnyx) -> None: external_connection = response.parse() assert_matches_type(ExternalConnectionCreateResponse, external_connection, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.external_connections.with_streaming_response.create( @@ -75,6 +79,7 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: external_connection = client.external_connections.retrieve( @@ -82,6 +87,7 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(ExternalConnectionRetrieveResponse, external_connection, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.external_connections.with_raw_response.retrieve( @@ -93,6 +99,7 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: external_connection = response.parse() assert_matches_type(ExternalConnectionRetrieveResponse, external_connection, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.external_connections.with_streaming_response.retrieve( @@ -106,6 +113,7 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -113,6 +121,7 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update(self, client: Telnyx) -> None: external_connection = client.external_connections.update( @@ -121,6 +130,7 @@ def test_method_update(self, client: Telnyx) -> None: ) assert_matches_type(ExternalConnectionUpdateResponse, external_connection, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_with_all_params(self, client: Telnyx) -> None: external_connection = client.external_connections.update( @@ -138,6 +148,7 @@ def test_method_update_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ExternalConnectionUpdateResponse, external_connection, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update(self, client: Telnyx) -> None: response = client.external_connections.with_raw_response.update( @@ -150,6 +161,7 @@ def test_raw_response_update(self, client: Telnyx) -> None: external_connection = response.parse() assert_matches_type(ExternalConnectionUpdateResponse, external_connection, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update(self, client: Telnyx) -> None: with client.external_connections.with_streaming_response.update( @@ -164,6 +176,7 @@ def test_streaming_response_update(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -172,11 +185,13 @@ def test_path_params_update(self, client: Telnyx) -> None: outbound={"outbound_voice_profile_id": "outbound_voice_profile_id"}, ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: external_connection = client.external_connections.list() assert_matches_type(ExternalConnectionListResponse, external_connection, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: external_connection = client.external_connections.list( @@ -194,6 +209,7 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ExternalConnectionListResponse, external_connection, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.external_connections.with_raw_response.list() @@ -203,6 +219,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: external_connection = response.parse() assert_matches_type(ExternalConnectionListResponse, external_connection, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.external_connections.with_streaming_response.list() as response: @@ -214,6 +231,7 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: external_connection = client.external_connections.delete( @@ -221,6 +239,7 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert_matches_type(ExternalConnectionDeleteResponse, external_connection, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.external_connections.with_raw_response.delete( @@ -232,6 +251,7 @@ def test_raw_response_delete(self, client: Telnyx) -> None: external_connection = response.parse() assert_matches_type(ExternalConnectionDeleteResponse, external_connection, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.external_connections.with_streaming_response.delete( @@ -245,6 +265,7 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -252,6 +273,7 @@ def test_path_params_delete(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_location(self, client: Telnyx) -> None: external_connection = client.external_connections.update_location( @@ -261,6 +283,7 @@ def test_method_update_location(self, client: Telnyx) -> None: ) assert_matches_type(ExternalConnectionUpdateLocationResponse, external_connection, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update_location(self, client: Telnyx) -> None: response = client.external_connections.with_raw_response.update_location( @@ -274,6 +297,7 @@ def test_raw_response_update_location(self, client: Telnyx) -> None: external_connection = response.parse() assert_matches_type(ExternalConnectionUpdateLocationResponse, external_connection, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update_location(self, client: Telnyx) -> None: with client.external_connections.with_streaming_response.update_location( @@ -289,6 +313,7 @@ def test_streaming_response_update_location(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update_location(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -311,6 +336,7 @@ class TestAsyncExternalConnections: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: external_connection = await async_client.external_connections.create( @@ -319,6 +345,7 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ExternalConnectionCreateResponse, external_connection, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: external_connection = await async_client.external_connections.create( @@ -336,6 +363,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(ExternalConnectionCreateResponse, external_connection, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.external_connections.with_raw_response.create( @@ -348,6 +376,7 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: external_connection = await response.parse() assert_matches_type(ExternalConnectionCreateResponse, external_connection, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.external_connections.with_streaming_response.create( @@ -362,6 +391,7 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: external_connection = await async_client.external_connections.retrieve( @@ -369,6 +399,7 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ExternalConnectionRetrieveResponse, external_connection, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.external_connections.with_raw_response.retrieve( @@ -380,6 +411,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: external_connection = await response.parse() assert_matches_type(ExternalConnectionRetrieveResponse, external_connection, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.external_connections.with_streaming_response.retrieve( @@ -393,6 +425,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -400,6 +433,7 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update(self, async_client: AsyncTelnyx) -> None: external_connection = await async_client.external_connections.update( @@ -408,6 +442,7 @@ async def test_method_update(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ExternalConnectionUpdateResponse, external_connection, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> None: external_connection = await async_client.external_connections.update( @@ -425,6 +460,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(ExternalConnectionUpdateResponse, external_connection, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: response = await async_client.external_connections.with_raw_response.update( @@ -437,6 +473,7 @@ async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: external_connection = await response.parse() assert_matches_type(ExternalConnectionUpdateResponse, external_connection, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> None: async with async_client.external_connections.with_streaming_response.update( @@ -451,6 +488,7 @@ async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -459,11 +497,13 @@ async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: outbound={"outbound_voice_profile_id": "outbound_voice_profile_id"}, ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: external_connection = await async_client.external_connections.list() assert_matches_type(ExternalConnectionListResponse, external_connection, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: external_connection = await async_client.external_connections.list( @@ -481,6 +521,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(ExternalConnectionListResponse, external_connection, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.external_connections.with_raw_response.list() @@ -490,6 +531,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: external_connection = await response.parse() assert_matches_type(ExternalConnectionListResponse, external_connection, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.external_connections.with_streaming_response.list() as response: @@ -501,6 +543,7 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: external_connection = await async_client.external_connections.delete( @@ -508,6 +551,7 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ExternalConnectionDeleteResponse, external_connection, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.external_connections.with_raw_response.delete( @@ -519,6 +563,7 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: external_connection = await response.parse() assert_matches_type(ExternalConnectionDeleteResponse, external_connection, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.external_connections.with_streaming_response.delete( @@ -532,6 +577,7 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -539,6 +585,7 @@ async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_location(self, async_client: AsyncTelnyx) -> None: external_connection = await async_client.external_connections.update_location( @@ -548,6 +595,7 @@ async def test_method_update_location(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ExternalConnectionUpdateLocationResponse, external_connection, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update_location(self, async_client: AsyncTelnyx) -> None: response = await async_client.external_connections.with_raw_response.update_location( @@ -561,6 +609,7 @@ async def test_raw_response_update_location(self, async_client: AsyncTelnyx) -> external_connection = await response.parse() assert_matches_type(ExternalConnectionUpdateLocationResponse, external_connection, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update_location(self, async_client: AsyncTelnyx) -> None: async with async_client.external_connections.with_streaming_response.update_location( @@ -576,6 +625,7 @@ async def test_streaming_response_update_location(self, async_client: AsyncTelny assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update_location(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): diff --git a/tests/api_resources/test_fax_applications.py b/tests/api_resources/test_fax_applications.py index f849f1cf..c00af2f8 100644 --- a/tests/api_resources/test_fax_applications.py +++ b/tests/api_resources/test_fax_applications.py @@ -23,6 +23,7 @@ class TestFaxApplications: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: fax_application = client.fax_applications.create( @@ -31,6 +32,7 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(FaxApplicationCreateResponse, fax_application, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: fax_application = client.fax_applications.create( @@ -53,6 +55,7 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(FaxApplicationCreateResponse, fax_application, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.fax_applications.with_raw_response.create( @@ -65,6 +68,7 @@ def test_raw_response_create(self, client: Telnyx) -> None: fax_application = response.parse() assert_matches_type(FaxApplicationCreateResponse, fax_application, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.fax_applications.with_streaming_response.create( @@ -79,6 +83,7 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: fax_application = client.fax_applications.retrieve( @@ -86,6 +91,7 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(FaxApplicationRetrieveResponse, fax_application, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.fax_applications.with_raw_response.retrieve( @@ -97,6 +103,7 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: fax_application = response.parse() assert_matches_type(FaxApplicationRetrieveResponse, fax_application, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.fax_applications.with_streaming_response.retrieve( @@ -110,6 +117,7 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -117,6 +125,7 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update(self, client: Telnyx) -> None: fax_application = client.fax_applications.update( @@ -126,6 +135,7 @@ def test_method_update(self, client: Telnyx) -> None: ) assert_matches_type(FaxApplicationUpdateResponse, fax_application, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_with_all_params(self, client: Telnyx) -> None: fax_application = client.fax_applications.update( @@ -150,6 +160,7 @@ def test_method_update_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(FaxApplicationUpdateResponse, fax_application, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update(self, client: Telnyx) -> None: response = client.fax_applications.with_raw_response.update( @@ -163,6 +174,7 @@ def test_raw_response_update(self, client: Telnyx) -> None: fax_application = response.parse() assert_matches_type(FaxApplicationUpdateResponse, fax_application, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update(self, client: Telnyx) -> None: with client.fax_applications.with_streaming_response.update( @@ -178,6 +190,7 @@ def test_streaming_response_update(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -187,11 +200,13 @@ def test_path_params_update(self, client: Telnyx) -> None: webhook_event_url="https://example.com", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: fax_application = client.fax_applications.list() assert_matches_type(FaxApplicationListResponse, fax_application, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: fax_application = client.fax_applications.list( @@ -207,6 +222,7 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(FaxApplicationListResponse, fax_application, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.fax_applications.with_raw_response.list() @@ -216,6 +232,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: fax_application = response.parse() assert_matches_type(FaxApplicationListResponse, fax_application, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.fax_applications.with_streaming_response.list() as response: @@ -227,6 +244,7 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: fax_application = client.fax_applications.delete( @@ -234,6 +252,7 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert_matches_type(FaxApplicationDeleteResponse, fax_application, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.fax_applications.with_raw_response.delete( @@ -245,6 +264,7 @@ def test_raw_response_delete(self, client: Telnyx) -> None: fax_application = response.parse() assert_matches_type(FaxApplicationDeleteResponse, fax_application, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.fax_applications.with_streaming_response.delete( @@ -258,6 +278,7 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -271,6 +292,7 @@ class TestAsyncFaxApplications: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: fax_application = await async_client.fax_applications.create( @@ -279,6 +301,7 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(FaxApplicationCreateResponse, fax_application, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: fax_application = await async_client.fax_applications.create( @@ -301,6 +324,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(FaxApplicationCreateResponse, fax_application, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.fax_applications.with_raw_response.create( @@ -313,6 +337,7 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: fax_application = await response.parse() assert_matches_type(FaxApplicationCreateResponse, fax_application, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.fax_applications.with_streaming_response.create( @@ -327,6 +352,7 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: fax_application = await async_client.fax_applications.retrieve( @@ -334,6 +360,7 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(FaxApplicationRetrieveResponse, fax_application, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.fax_applications.with_raw_response.retrieve( @@ -345,6 +372,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: fax_application = await response.parse() assert_matches_type(FaxApplicationRetrieveResponse, fax_application, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.fax_applications.with_streaming_response.retrieve( @@ -358,6 +386,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -365,6 +394,7 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update(self, async_client: AsyncTelnyx) -> None: fax_application = await async_client.fax_applications.update( @@ -374,6 +404,7 @@ async def test_method_update(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(FaxApplicationUpdateResponse, fax_application, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> None: fax_application = await async_client.fax_applications.update( @@ -398,6 +429,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(FaxApplicationUpdateResponse, fax_application, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: response = await async_client.fax_applications.with_raw_response.update( @@ -411,6 +443,7 @@ async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: fax_application = await response.parse() assert_matches_type(FaxApplicationUpdateResponse, fax_application, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> None: async with async_client.fax_applications.with_streaming_response.update( @@ -426,6 +459,7 @@ async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -435,11 +469,13 @@ async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: webhook_event_url="https://example.com", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: fax_application = await async_client.fax_applications.list() assert_matches_type(FaxApplicationListResponse, fax_application, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: fax_application = await async_client.fax_applications.list( @@ -455,6 +491,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(FaxApplicationListResponse, fax_application, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.fax_applications.with_raw_response.list() @@ -464,6 +501,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: fax_application = await response.parse() assert_matches_type(FaxApplicationListResponse, fax_application, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.fax_applications.with_streaming_response.list() as response: @@ -475,6 +513,7 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: fax_application = await async_client.fax_applications.delete( @@ -482,6 +521,7 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(FaxApplicationDeleteResponse, fax_application, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.fax_applications.with_raw_response.delete( @@ -493,6 +533,7 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: fax_application = await response.parse() assert_matches_type(FaxApplicationDeleteResponse, fax_application, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.fax_applications.with_streaming_response.delete( @@ -506,6 +547,7 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): diff --git a/tests/api_resources/test_faxes.py b/tests/api_resources/test_faxes.py index 43c1c78f..6763c58e 100644 --- a/tests/api_resources/test_faxes.py +++ b/tests/api_resources/test_faxes.py @@ -18,6 +18,7 @@ class TestFaxes: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: fax = client.faxes.create( @@ -27,6 +28,7 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(FaxCreateResponse, fax, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: fax = client.faxes.create( @@ -47,6 +49,7 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(FaxCreateResponse, fax, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.faxes.with_raw_response.create( @@ -60,6 +63,7 @@ def test_raw_response_create(self, client: Telnyx) -> None: fax = response.parse() assert_matches_type(FaxCreateResponse, fax, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.faxes.with_streaming_response.create( @@ -75,6 +79,7 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: fax = client.faxes.retrieve( @@ -82,6 +87,7 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(FaxRetrieveResponse, fax, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.faxes.with_raw_response.retrieve( @@ -93,6 +99,7 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: fax = response.parse() assert_matches_type(FaxRetrieveResponse, fax, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.faxes.with_streaming_response.retrieve( @@ -106,6 +113,7 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -113,11 +121,13 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: fax = client.faxes.list() assert_matches_type(FaxListResponse, fax, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: fax = client.faxes.list( @@ -139,6 +149,7 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(FaxListResponse, fax, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.faxes.with_raw_response.list() @@ -148,6 +159,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: fax = response.parse() assert_matches_type(FaxListResponse, fax, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.faxes.with_streaming_response.list() as response: @@ -159,6 +171,7 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: fax = client.faxes.delete( @@ -166,6 +179,7 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert fax is None + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.faxes.with_raw_response.delete( @@ -177,6 +191,7 @@ def test_raw_response_delete(self, client: Telnyx) -> None: fax = response.parse() assert fax is None + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.faxes.with_streaming_response.delete( @@ -190,6 +205,7 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -203,6 +219,7 @@ class TestAsyncFaxes: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: fax = await async_client.faxes.create( @@ -212,6 +229,7 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(FaxCreateResponse, fax, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: fax = await async_client.faxes.create( @@ -232,6 +250,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(FaxCreateResponse, fax, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.faxes.with_raw_response.create( @@ -245,6 +264,7 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: fax = await response.parse() assert_matches_type(FaxCreateResponse, fax, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.faxes.with_streaming_response.create( @@ -260,6 +280,7 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: fax = await async_client.faxes.retrieve( @@ -267,6 +288,7 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(FaxRetrieveResponse, fax, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.faxes.with_raw_response.retrieve( @@ -278,6 +300,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: fax = await response.parse() assert_matches_type(FaxRetrieveResponse, fax, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.faxes.with_streaming_response.retrieve( @@ -291,6 +314,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -298,11 +322,13 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: fax = await async_client.faxes.list() assert_matches_type(FaxListResponse, fax, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: fax = await async_client.faxes.list( @@ -324,6 +350,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(FaxListResponse, fax, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.faxes.with_raw_response.list() @@ -333,6 +360,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: fax = await response.parse() assert_matches_type(FaxListResponse, fax, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.faxes.with_streaming_response.list() as response: @@ -344,6 +372,7 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: fax = await async_client.faxes.delete( @@ -351,6 +380,7 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert fax is None + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.faxes.with_raw_response.delete( @@ -362,6 +392,7 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: fax = await response.parse() assert fax is None + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.faxes.with_streaming_response.delete( @@ -375,6 +406,7 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): diff --git a/tests/api_resources/test_fqdn_connections.py b/tests/api_resources/test_fqdn_connections.py index a77b5ccd..cda28eb7 100644 --- a/tests/api_resources/test_fqdn_connections.py +++ b/tests/api_resources/test_fqdn_connections.py @@ -23,6 +23,7 @@ class TestFqdnConnections: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: fqdn_connection = client.fqdn_connections.create( @@ -30,6 +31,7 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(FqdnConnectionCreateResponse, fqdn_connection, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: fqdn_connection = client.fqdn_connections.create( @@ -95,6 +97,7 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(FqdnConnectionCreateResponse, fqdn_connection, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.fqdn_connections.with_raw_response.create( @@ -106,6 +109,7 @@ def test_raw_response_create(self, client: Telnyx) -> None: fqdn_connection = response.parse() assert_matches_type(FqdnConnectionCreateResponse, fqdn_connection, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.fqdn_connections.with_streaming_response.create( @@ -119,6 +123,7 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: fqdn_connection = client.fqdn_connections.retrieve( @@ -126,6 +131,7 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(FqdnConnectionRetrieveResponse, fqdn_connection, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.fqdn_connections.with_raw_response.retrieve( @@ -137,6 +143,7 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: fqdn_connection = response.parse() assert_matches_type(FqdnConnectionRetrieveResponse, fqdn_connection, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.fqdn_connections.with_streaming_response.retrieve( @@ -150,6 +157,7 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -157,6 +165,7 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update(self, client: Telnyx) -> None: fqdn_connection = client.fqdn_connections.update( @@ -164,6 +173,7 @@ def test_method_update(self, client: Telnyx) -> None: ) assert_matches_type(FqdnConnectionUpdateResponse, fqdn_connection, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_with_all_params(self, client: Telnyx) -> None: fqdn_connection = client.fqdn_connections.update( @@ -229,6 +239,7 @@ def test_method_update_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(FqdnConnectionUpdateResponse, fqdn_connection, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update(self, client: Telnyx) -> None: response = client.fqdn_connections.with_raw_response.update( @@ -240,6 +251,7 @@ def test_raw_response_update(self, client: Telnyx) -> None: fqdn_connection = response.parse() assert_matches_type(FqdnConnectionUpdateResponse, fqdn_connection, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update(self, client: Telnyx) -> None: with client.fqdn_connections.with_streaming_response.update( @@ -253,6 +265,7 @@ def test_streaming_response_update(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -260,11 +273,13 @@ def test_path_params_update(self, client: Telnyx) -> None: id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: fqdn_connection = client.fqdn_connections.list() assert_matches_type(FqdnConnectionListResponse, fqdn_connection, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: fqdn_connection = client.fqdn_connections.list( @@ -281,6 +296,7 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(FqdnConnectionListResponse, fqdn_connection, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.fqdn_connections.with_raw_response.list() @@ -290,6 +306,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: fqdn_connection = response.parse() assert_matches_type(FqdnConnectionListResponse, fqdn_connection, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.fqdn_connections.with_streaming_response.list() as response: @@ -301,6 +318,7 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: fqdn_connection = client.fqdn_connections.delete( @@ -308,6 +326,7 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert_matches_type(FqdnConnectionDeleteResponse, fqdn_connection, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.fqdn_connections.with_raw_response.delete( @@ -319,6 +338,7 @@ def test_raw_response_delete(self, client: Telnyx) -> None: fqdn_connection = response.parse() assert_matches_type(FqdnConnectionDeleteResponse, fqdn_connection, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.fqdn_connections.with_streaming_response.delete( @@ -332,6 +352,7 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -345,6 +366,7 @@ class TestAsyncFqdnConnections: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: fqdn_connection = await async_client.fqdn_connections.create( @@ -352,6 +374,7 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(FqdnConnectionCreateResponse, fqdn_connection, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: fqdn_connection = await async_client.fqdn_connections.create( @@ -417,6 +440,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(FqdnConnectionCreateResponse, fqdn_connection, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.fqdn_connections.with_raw_response.create( @@ -428,6 +452,7 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: fqdn_connection = await response.parse() assert_matches_type(FqdnConnectionCreateResponse, fqdn_connection, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.fqdn_connections.with_streaming_response.create( @@ -441,6 +466,7 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: fqdn_connection = await async_client.fqdn_connections.retrieve( @@ -448,6 +474,7 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(FqdnConnectionRetrieveResponse, fqdn_connection, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.fqdn_connections.with_raw_response.retrieve( @@ -459,6 +486,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: fqdn_connection = await response.parse() assert_matches_type(FqdnConnectionRetrieveResponse, fqdn_connection, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.fqdn_connections.with_streaming_response.retrieve( @@ -472,6 +500,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -479,6 +508,7 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update(self, async_client: AsyncTelnyx) -> None: fqdn_connection = await async_client.fqdn_connections.update( @@ -486,6 +516,7 @@ async def test_method_update(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(FqdnConnectionUpdateResponse, fqdn_connection, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> None: fqdn_connection = await async_client.fqdn_connections.update( @@ -551,6 +582,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(FqdnConnectionUpdateResponse, fqdn_connection, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: response = await async_client.fqdn_connections.with_raw_response.update( @@ -562,6 +594,7 @@ async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: fqdn_connection = await response.parse() assert_matches_type(FqdnConnectionUpdateResponse, fqdn_connection, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> None: async with async_client.fqdn_connections.with_streaming_response.update( @@ -575,6 +608,7 @@ async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -582,11 +616,13 @@ async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: fqdn_connection = await async_client.fqdn_connections.list() assert_matches_type(FqdnConnectionListResponse, fqdn_connection, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: fqdn_connection = await async_client.fqdn_connections.list( @@ -603,6 +639,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(FqdnConnectionListResponse, fqdn_connection, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.fqdn_connections.with_raw_response.list() @@ -612,6 +649,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: fqdn_connection = await response.parse() assert_matches_type(FqdnConnectionListResponse, fqdn_connection, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.fqdn_connections.with_streaming_response.list() as response: @@ -623,6 +661,7 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: fqdn_connection = await async_client.fqdn_connections.delete( @@ -630,6 +669,7 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(FqdnConnectionDeleteResponse, fqdn_connection, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.fqdn_connections.with_raw_response.delete( @@ -641,6 +681,7 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: fqdn_connection = await response.parse() assert_matches_type(FqdnConnectionDeleteResponse, fqdn_connection, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.fqdn_connections.with_streaming_response.delete( @@ -654,6 +695,7 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): diff --git a/tests/api_resources/test_fqdns.py b/tests/api_resources/test_fqdns.py index e7e637d1..d3cd7256 100644 --- a/tests/api_resources/test_fqdns.py +++ b/tests/api_resources/test_fqdns.py @@ -23,6 +23,7 @@ class TestFqdns: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: fqdn = client.fqdns.create( @@ -32,6 +33,7 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(FqdnCreateResponse, fqdn, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: fqdn = client.fqdns.create( @@ -42,6 +44,7 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(FqdnCreateResponse, fqdn, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.fqdns.with_raw_response.create( @@ -55,6 +58,7 @@ def test_raw_response_create(self, client: Telnyx) -> None: fqdn = response.parse() assert_matches_type(FqdnCreateResponse, fqdn, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.fqdns.with_streaming_response.create( @@ -70,6 +74,7 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: fqdn = client.fqdns.retrieve( @@ -77,6 +82,7 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(FqdnRetrieveResponse, fqdn, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.fqdns.with_raw_response.retrieve( @@ -88,6 +94,7 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: fqdn = response.parse() assert_matches_type(FqdnRetrieveResponse, fqdn, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.fqdns.with_streaming_response.retrieve( @@ -101,6 +108,7 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -108,6 +116,7 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update(self, client: Telnyx) -> None: fqdn = client.fqdns.update( @@ -115,6 +124,7 @@ def test_method_update(self, client: Telnyx) -> None: ) assert_matches_type(FqdnUpdateResponse, fqdn, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_with_all_params(self, client: Telnyx) -> None: fqdn = client.fqdns.update( @@ -126,6 +136,7 @@ def test_method_update_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(FqdnUpdateResponse, fqdn, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update(self, client: Telnyx) -> None: response = client.fqdns.with_raw_response.update( @@ -137,6 +148,7 @@ def test_raw_response_update(self, client: Telnyx) -> None: fqdn = response.parse() assert_matches_type(FqdnUpdateResponse, fqdn, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update(self, client: Telnyx) -> None: with client.fqdns.with_streaming_response.update( @@ -150,6 +162,7 @@ def test_streaming_response_update(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -157,11 +170,13 @@ def test_path_params_update(self, client: Telnyx) -> None: id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: fqdn = client.fqdns.list() assert_matches_type(FqdnListResponse, fqdn, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: fqdn = client.fqdns.list( @@ -178,6 +193,7 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(FqdnListResponse, fqdn, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.fqdns.with_raw_response.list() @@ -187,6 +203,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: fqdn = response.parse() assert_matches_type(FqdnListResponse, fqdn, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.fqdns.with_streaming_response.list() as response: @@ -198,6 +215,7 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: fqdn = client.fqdns.delete( @@ -205,6 +223,7 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert_matches_type(FqdnDeleteResponse, fqdn, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.fqdns.with_raw_response.delete( @@ -216,6 +235,7 @@ def test_raw_response_delete(self, client: Telnyx) -> None: fqdn = response.parse() assert_matches_type(FqdnDeleteResponse, fqdn, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.fqdns.with_streaming_response.delete( @@ -229,6 +249,7 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -242,6 +263,7 @@ class TestAsyncFqdns: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: fqdn = await async_client.fqdns.create( @@ -251,6 +273,7 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(FqdnCreateResponse, fqdn, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: fqdn = await async_client.fqdns.create( @@ -261,6 +284,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(FqdnCreateResponse, fqdn, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.fqdns.with_raw_response.create( @@ -274,6 +298,7 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: fqdn = await response.parse() assert_matches_type(FqdnCreateResponse, fqdn, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.fqdns.with_streaming_response.create( @@ -289,6 +314,7 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: fqdn = await async_client.fqdns.retrieve( @@ -296,6 +322,7 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(FqdnRetrieveResponse, fqdn, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.fqdns.with_raw_response.retrieve( @@ -307,6 +334,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: fqdn = await response.parse() assert_matches_type(FqdnRetrieveResponse, fqdn, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.fqdns.with_streaming_response.retrieve( @@ -320,6 +348,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -327,6 +356,7 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update(self, async_client: AsyncTelnyx) -> None: fqdn = await async_client.fqdns.update( @@ -334,6 +364,7 @@ async def test_method_update(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(FqdnUpdateResponse, fqdn, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> None: fqdn = await async_client.fqdns.update( @@ -345,6 +376,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(FqdnUpdateResponse, fqdn, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: response = await async_client.fqdns.with_raw_response.update( @@ -356,6 +388,7 @@ async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: fqdn = await response.parse() assert_matches_type(FqdnUpdateResponse, fqdn, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> None: async with async_client.fqdns.with_streaming_response.update( @@ -369,6 +402,7 @@ async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -376,11 +410,13 @@ async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: fqdn = await async_client.fqdns.list() assert_matches_type(FqdnListResponse, fqdn, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: fqdn = await async_client.fqdns.list( @@ -397,6 +433,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(FqdnListResponse, fqdn, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.fqdns.with_raw_response.list() @@ -406,6 +443,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: fqdn = await response.parse() assert_matches_type(FqdnListResponse, fqdn, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.fqdns.with_streaming_response.list() as response: @@ -417,6 +455,7 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: fqdn = await async_client.fqdns.delete( @@ -424,6 +463,7 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(FqdnDeleteResponse, fqdn, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.fqdns.with_raw_response.delete( @@ -435,6 +475,7 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: fqdn = await response.parse() assert_matches_type(FqdnDeleteResponse, fqdn, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.fqdns.with_streaming_response.delete( @@ -448,6 +489,7 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): diff --git a/tests/api_resources/test_global_ip_allowed_ports.py b/tests/api_resources/test_global_ip_allowed_ports.py index 86452ede..96cc5f7b 100644 --- a/tests/api_resources/test_global_ip_allowed_ports.py +++ b/tests/api_resources/test_global_ip_allowed_ports.py @@ -17,11 +17,13 @@ class TestGlobalIPAllowedPorts: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: global_ip_allowed_port = client.global_ip_allowed_ports.list() assert_matches_type(GlobalIPAllowedPortListResponse, global_ip_allowed_port, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.global_ip_allowed_ports.with_raw_response.list() @@ -31,6 +33,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: global_ip_allowed_port = response.parse() assert_matches_type(GlobalIPAllowedPortListResponse, global_ip_allowed_port, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.global_ip_allowed_ports.with_streaming_response.list() as response: @@ -48,11 +51,13 @@ class TestAsyncGlobalIPAllowedPorts: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: global_ip_allowed_port = await async_client.global_ip_allowed_ports.list() assert_matches_type(GlobalIPAllowedPortListResponse, global_ip_allowed_port, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.global_ip_allowed_ports.with_raw_response.list() @@ -62,6 +67,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: global_ip_allowed_port = await response.parse() assert_matches_type(GlobalIPAllowedPortListResponse, global_ip_allowed_port, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.global_ip_allowed_ports.with_streaming_response.list() as response: diff --git a/tests/api_resources/test_global_ip_assignment_health.py b/tests/api_resources/test_global_ip_assignment_health.py index 27d928bf..8b2bafa6 100644 --- a/tests/api_resources/test_global_ip_assignment_health.py +++ b/tests/api_resources/test_global_ip_assignment_health.py @@ -17,11 +17,13 @@ class TestGlobalIPAssignmentHealth: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: global_ip_assignment_health = client.global_ip_assignment_health.retrieve() assert_matches_type(GlobalIPAssignmentHealthRetrieveResponse, global_ip_assignment_health, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve_with_all_params(self, client: Telnyx) -> None: global_ip_assignment_health = client.global_ip_assignment_health.retrieve( @@ -32,6 +34,7 @@ def test_method_retrieve_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(GlobalIPAssignmentHealthRetrieveResponse, global_ip_assignment_health, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.global_ip_assignment_health.with_raw_response.retrieve() @@ -41,6 +44,7 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: global_ip_assignment_health = response.parse() assert_matches_type(GlobalIPAssignmentHealthRetrieveResponse, global_ip_assignment_health, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.global_ip_assignment_health.with_streaming_response.retrieve() as response: @@ -60,11 +64,13 @@ class TestAsyncGlobalIPAssignmentHealth: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: global_ip_assignment_health = await async_client.global_ip_assignment_health.retrieve() assert_matches_type(GlobalIPAssignmentHealthRetrieveResponse, global_ip_assignment_health, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve_with_all_params(self, async_client: AsyncTelnyx) -> None: global_ip_assignment_health = await async_client.global_ip_assignment_health.retrieve( @@ -75,6 +81,7 @@ async def test_method_retrieve_with_all_params(self, async_client: AsyncTelnyx) ) assert_matches_type(GlobalIPAssignmentHealthRetrieveResponse, global_ip_assignment_health, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.global_ip_assignment_health.with_raw_response.retrieve() @@ -84,6 +91,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: global_ip_assignment_health = await response.parse() assert_matches_type(GlobalIPAssignmentHealthRetrieveResponse, global_ip_assignment_health, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.global_ip_assignment_health.with_streaming_response.retrieve() as response: diff --git a/tests/api_resources/test_global_ip_assignments.py b/tests/api_resources/test_global_ip_assignments.py index ddd57b80..756a80b2 100644 --- a/tests/api_resources/test_global_ip_assignments.py +++ b/tests/api_resources/test_global_ip_assignments.py @@ -23,11 +23,13 @@ class TestGlobalIPAssignments: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: global_ip_assignment = client.global_ip_assignments.create() assert_matches_type(GlobalIPAssignmentCreateResponse, global_ip_assignment, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: global_ip_assignment = client.global_ip_assignments.create( @@ -37,6 +39,7 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(GlobalIPAssignmentCreateResponse, global_ip_assignment, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.global_ip_assignments.with_raw_response.create() @@ -46,6 +49,7 @@ def test_raw_response_create(self, client: Telnyx) -> None: global_ip_assignment = response.parse() assert_matches_type(GlobalIPAssignmentCreateResponse, global_ip_assignment, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.global_ip_assignments.with_streaming_response.create() as response: @@ -57,6 +61,7 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: global_ip_assignment = client.global_ip_assignments.retrieve( @@ -64,6 +69,7 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(GlobalIPAssignmentRetrieveResponse, global_ip_assignment, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.global_ip_assignments.with_raw_response.retrieve( @@ -75,6 +81,7 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: global_ip_assignment = response.parse() assert_matches_type(GlobalIPAssignmentRetrieveResponse, global_ip_assignment, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.global_ip_assignments.with_streaming_response.retrieve( @@ -88,6 +95,7 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -95,6 +103,7 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update(self, client: Telnyx) -> None: global_ip_assignment = client.global_ip_assignments.update( @@ -103,6 +112,7 @@ def test_method_update(self, client: Telnyx) -> None: ) assert_matches_type(GlobalIPAssignmentUpdateResponse, global_ip_assignment, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_with_all_params(self, client: Telnyx) -> None: global_ip_assignment = client.global_ip_assignments.update( @@ -114,6 +124,7 @@ def test_method_update_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(GlobalIPAssignmentUpdateResponse, global_ip_assignment, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update(self, client: Telnyx) -> None: response = client.global_ip_assignments.with_raw_response.update( @@ -126,6 +137,7 @@ def test_raw_response_update(self, client: Telnyx) -> None: global_ip_assignment = response.parse() assert_matches_type(GlobalIPAssignmentUpdateResponse, global_ip_assignment, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update(self, client: Telnyx) -> None: with client.global_ip_assignments.with_streaming_response.update( @@ -140,6 +152,7 @@ def test_streaming_response_update(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -148,11 +161,13 @@ def test_path_params_update(self, client: Telnyx) -> None: body={}, ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: global_ip_assignment = client.global_ip_assignments.list() assert_matches_type(GlobalIPAssignmentListResponse, global_ip_assignment, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: global_ip_assignment = client.global_ip_assignments.list( @@ -163,6 +178,7 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(GlobalIPAssignmentListResponse, global_ip_assignment, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.global_ip_assignments.with_raw_response.list() @@ -172,6 +188,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: global_ip_assignment = response.parse() assert_matches_type(GlobalIPAssignmentListResponse, global_ip_assignment, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.global_ip_assignments.with_streaming_response.list() as response: @@ -183,6 +200,7 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: global_ip_assignment = client.global_ip_assignments.delete( @@ -190,6 +208,7 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert_matches_type(GlobalIPAssignmentDeleteResponse, global_ip_assignment, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.global_ip_assignments.with_raw_response.delete( @@ -201,6 +220,7 @@ def test_raw_response_delete(self, client: Telnyx) -> None: global_ip_assignment = response.parse() assert_matches_type(GlobalIPAssignmentDeleteResponse, global_ip_assignment, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.global_ip_assignments.with_streaming_response.delete( @@ -214,6 +234,7 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -227,11 +248,13 @@ class TestAsyncGlobalIPAssignments: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: global_ip_assignment = await async_client.global_ip_assignments.create() assert_matches_type(GlobalIPAssignmentCreateResponse, global_ip_assignment, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: global_ip_assignment = await async_client.global_ip_assignments.create( @@ -241,6 +264,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(GlobalIPAssignmentCreateResponse, global_ip_assignment, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.global_ip_assignments.with_raw_response.create() @@ -250,6 +274,7 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: global_ip_assignment = await response.parse() assert_matches_type(GlobalIPAssignmentCreateResponse, global_ip_assignment, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.global_ip_assignments.with_streaming_response.create() as response: @@ -261,6 +286,7 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: global_ip_assignment = await async_client.global_ip_assignments.retrieve( @@ -268,6 +294,7 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(GlobalIPAssignmentRetrieveResponse, global_ip_assignment, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.global_ip_assignments.with_raw_response.retrieve( @@ -279,6 +306,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: global_ip_assignment = await response.parse() assert_matches_type(GlobalIPAssignmentRetrieveResponse, global_ip_assignment, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.global_ip_assignments.with_streaming_response.retrieve( @@ -292,6 +320,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -299,6 +328,7 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update(self, async_client: AsyncTelnyx) -> None: global_ip_assignment = await async_client.global_ip_assignments.update( @@ -307,6 +337,7 @@ async def test_method_update(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(GlobalIPAssignmentUpdateResponse, global_ip_assignment, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> None: global_ip_assignment = await async_client.global_ip_assignments.update( @@ -318,6 +349,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(GlobalIPAssignmentUpdateResponse, global_ip_assignment, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: response = await async_client.global_ip_assignments.with_raw_response.update( @@ -330,6 +362,7 @@ async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: global_ip_assignment = await response.parse() assert_matches_type(GlobalIPAssignmentUpdateResponse, global_ip_assignment, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> None: async with async_client.global_ip_assignments.with_streaming_response.update( @@ -344,6 +377,7 @@ async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -352,11 +386,13 @@ async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: body={}, ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: global_ip_assignment = await async_client.global_ip_assignments.list() assert_matches_type(GlobalIPAssignmentListResponse, global_ip_assignment, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: global_ip_assignment = await async_client.global_ip_assignments.list( @@ -367,6 +403,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(GlobalIPAssignmentListResponse, global_ip_assignment, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.global_ip_assignments.with_raw_response.list() @@ -376,6 +413,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: global_ip_assignment = await response.parse() assert_matches_type(GlobalIPAssignmentListResponse, global_ip_assignment, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.global_ip_assignments.with_streaming_response.list() as response: @@ -387,6 +425,7 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: global_ip_assignment = await async_client.global_ip_assignments.delete( @@ -394,6 +433,7 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(GlobalIPAssignmentDeleteResponse, global_ip_assignment, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.global_ip_assignments.with_raw_response.delete( @@ -405,6 +445,7 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: global_ip_assignment = await response.parse() assert_matches_type(GlobalIPAssignmentDeleteResponse, global_ip_assignment, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.global_ip_assignments.with_streaming_response.delete( @@ -418,6 +459,7 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): diff --git a/tests/api_resources/test_global_ip_assignments_usage.py b/tests/api_resources/test_global_ip_assignments_usage.py index 7c77b87d..f200f8c0 100644 --- a/tests/api_resources/test_global_ip_assignments_usage.py +++ b/tests/api_resources/test_global_ip_assignments_usage.py @@ -17,11 +17,13 @@ class TestGlobalIPAssignmentsUsage: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: global_ip_assignments_usage = client.global_ip_assignments_usage.retrieve() assert_matches_type(GlobalIPAssignmentsUsageRetrieveResponse, global_ip_assignments_usage, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve_with_all_params(self, client: Telnyx) -> None: global_ip_assignments_usage = client.global_ip_assignments_usage.retrieve( @@ -32,6 +34,7 @@ def test_method_retrieve_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(GlobalIPAssignmentsUsageRetrieveResponse, global_ip_assignments_usage, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.global_ip_assignments_usage.with_raw_response.retrieve() @@ -41,6 +44,7 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: global_ip_assignments_usage = response.parse() assert_matches_type(GlobalIPAssignmentsUsageRetrieveResponse, global_ip_assignments_usage, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.global_ip_assignments_usage.with_streaming_response.retrieve() as response: @@ -60,11 +64,13 @@ class TestAsyncGlobalIPAssignmentsUsage: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: global_ip_assignments_usage = await async_client.global_ip_assignments_usage.retrieve() assert_matches_type(GlobalIPAssignmentsUsageRetrieveResponse, global_ip_assignments_usage, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve_with_all_params(self, async_client: AsyncTelnyx) -> None: global_ip_assignments_usage = await async_client.global_ip_assignments_usage.retrieve( @@ -75,6 +81,7 @@ async def test_method_retrieve_with_all_params(self, async_client: AsyncTelnyx) ) assert_matches_type(GlobalIPAssignmentsUsageRetrieveResponse, global_ip_assignments_usage, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.global_ip_assignments_usage.with_raw_response.retrieve() @@ -84,6 +91,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: global_ip_assignments_usage = await response.parse() assert_matches_type(GlobalIPAssignmentsUsageRetrieveResponse, global_ip_assignments_usage, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.global_ip_assignments_usage.with_streaming_response.retrieve() as response: diff --git a/tests/api_resources/test_global_ip_health_check_types.py b/tests/api_resources/test_global_ip_health_check_types.py index 3c52ba78..db1855b7 100644 --- a/tests/api_resources/test_global_ip_health_check_types.py +++ b/tests/api_resources/test_global_ip_health_check_types.py @@ -17,11 +17,13 @@ class TestGlobalIPHealthCheckTypes: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: global_ip_health_check_type = client.global_ip_health_check_types.list() assert_matches_type(GlobalIPHealthCheckTypeListResponse, global_ip_health_check_type, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.global_ip_health_check_types.with_raw_response.list() @@ -31,6 +33,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: global_ip_health_check_type = response.parse() assert_matches_type(GlobalIPHealthCheckTypeListResponse, global_ip_health_check_type, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.global_ip_health_check_types.with_streaming_response.list() as response: @@ -48,11 +51,13 @@ class TestAsyncGlobalIPHealthCheckTypes: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: global_ip_health_check_type = await async_client.global_ip_health_check_types.list() assert_matches_type(GlobalIPHealthCheckTypeListResponse, global_ip_health_check_type, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.global_ip_health_check_types.with_raw_response.list() @@ -62,6 +67,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: global_ip_health_check_type = await response.parse() assert_matches_type(GlobalIPHealthCheckTypeListResponse, global_ip_health_check_type, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.global_ip_health_check_types.with_streaming_response.list() as response: diff --git a/tests/api_resources/test_global_ip_health_checks.py b/tests/api_resources/test_global_ip_health_checks.py index e640b0c4..39b834f9 100644 --- a/tests/api_resources/test_global_ip_health_checks.py +++ b/tests/api_resources/test_global_ip_health_checks.py @@ -22,11 +22,13 @@ class TestGlobalIPHealthChecks: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: global_ip_health_check = client.global_ip_health_checks.create() assert_matches_type(GlobalIPHealthCheckCreateResponse, global_ip_health_check, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: global_ip_health_check = client.global_ip_health_checks.create( @@ -39,6 +41,7 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(GlobalIPHealthCheckCreateResponse, global_ip_health_check, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.global_ip_health_checks.with_raw_response.create() @@ -48,6 +51,7 @@ def test_raw_response_create(self, client: Telnyx) -> None: global_ip_health_check = response.parse() assert_matches_type(GlobalIPHealthCheckCreateResponse, global_ip_health_check, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.global_ip_health_checks.with_streaming_response.create() as response: @@ -59,6 +63,7 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: global_ip_health_check = client.global_ip_health_checks.retrieve( @@ -66,6 +71,7 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(GlobalIPHealthCheckRetrieveResponse, global_ip_health_check, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.global_ip_health_checks.with_raw_response.retrieve( @@ -77,6 +83,7 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: global_ip_health_check = response.parse() assert_matches_type(GlobalIPHealthCheckRetrieveResponse, global_ip_health_check, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.global_ip_health_checks.with_streaming_response.retrieve( @@ -90,6 +97,7 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -97,11 +105,13 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: global_ip_health_check = client.global_ip_health_checks.list() assert_matches_type(GlobalIPHealthCheckListResponse, global_ip_health_check, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: global_ip_health_check = client.global_ip_health_checks.list( @@ -112,6 +122,7 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(GlobalIPHealthCheckListResponse, global_ip_health_check, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.global_ip_health_checks.with_raw_response.list() @@ -121,6 +132,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: global_ip_health_check = response.parse() assert_matches_type(GlobalIPHealthCheckListResponse, global_ip_health_check, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.global_ip_health_checks.with_streaming_response.list() as response: @@ -132,6 +144,7 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: global_ip_health_check = client.global_ip_health_checks.delete( @@ -139,6 +152,7 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert_matches_type(GlobalIPHealthCheckDeleteResponse, global_ip_health_check, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.global_ip_health_checks.with_raw_response.delete( @@ -150,6 +164,7 @@ def test_raw_response_delete(self, client: Telnyx) -> None: global_ip_health_check = response.parse() assert_matches_type(GlobalIPHealthCheckDeleteResponse, global_ip_health_check, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.global_ip_health_checks.with_streaming_response.delete( @@ -163,6 +178,7 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -176,11 +192,13 @@ class TestAsyncGlobalIPHealthChecks: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: global_ip_health_check = await async_client.global_ip_health_checks.create() assert_matches_type(GlobalIPHealthCheckCreateResponse, global_ip_health_check, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: global_ip_health_check = await async_client.global_ip_health_checks.create( @@ -193,6 +211,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(GlobalIPHealthCheckCreateResponse, global_ip_health_check, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.global_ip_health_checks.with_raw_response.create() @@ -202,6 +221,7 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: global_ip_health_check = await response.parse() assert_matches_type(GlobalIPHealthCheckCreateResponse, global_ip_health_check, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.global_ip_health_checks.with_streaming_response.create() as response: @@ -213,6 +233,7 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: global_ip_health_check = await async_client.global_ip_health_checks.retrieve( @@ -220,6 +241,7 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(GlobalIPHealthCheckRetrieveResponse, global_ip_health_check, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.global_ip_health_checks.with_raw_response.retrieve( @@ -231,6 +253,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: global_ip_health_check = await response.parse() assert_matches_type(GlobalIPHealthCheckRetrieveResponse, global_ip_health_check, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.global_ip_health_checks.with_streaming_response.retrieve( @@ -244,6 +267,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -251,11 +275,13 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: global_ip_health_check = await async_client.global_ip_health_checks.list() assert_matches_type(GlobalIPHealthCheckListResponse, global_ip_health_check, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: global_ip_health_check = await async_client.global_ip_health_checks.list( @@ -266,6 +292,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(GlobalIPHealthCheckListResponse, global_ip_health_check, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.global_ip_health_checks.with_raw_response.list() @@ -275,6 +302,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: global_ip_health_check = await response.parse() assert_matches_type(GlobalIPHealthCheckListResponse, global_ip_health_check, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.global_ip_health_checks.with_streaming_response.list() as response: @@ -286,6 +314,7 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: global_ip_health_check = await async_client.global_ip_health_checks.delete( @@ -293,6 +322,7 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(GlobalIPHealthCheckDeleteResponse, global_ip_health_check, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.global_ip_health_checks.with_raw_response.delete( @@ -304,6 +334,7 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: global_ip_health_check = await response.parse() assert_matches_type(GlobalIPHealthCheckDeleteResponse, global_ip_health_check, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.global_ip_health_checks.with_streaming_response.delete( @@ -317,6 +348,7 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): diff --git a/tests/api_resources/test_global_ip_latency.py b/tests/api_resources/test_global_ip_latency.py index 32e5594f..57cf97ff 100644 --- a/tests/api_resources/test_global_ip_latency.py +++ b/tests/api_resources/test_global_ip_latency.py @@ -17,11 +17,13 @@ class TestGlobalIPLatency: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: global_ip_latency = client.global_ip_latency.retrieve() assert_matches_type(GlobalIPLatencyRetrieveResponse, global_ip_latency, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve_with_all_params(self, client: Telnyx) -> None: global_ip_latency = client.global_ip_latency.retrieve( @@ -29,6 +31,7 @@ def test_method_retrieve_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(GlobalIPLatencyRetrieveResponse, global_ip_latency, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.global_ip_latency.with_raw_response.retrieve() @@ -38,6 +41,7 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: global_ip_latency = response.parse() assert_matches_type(GlobalIPLatencyRetrieveResponse, global_ip_latency, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.global_ip_latency.with_streaming_response.retrieve() as response: @@ -55,11 +59,13 @@ class TestAsyncGlobalIPLatency: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: global_ip_latency = await async_client.global_ip_latency.retrieve() assert_matches_type(GlobalIPLatencyRetrieveResponse, global_ip_latency, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve_with_all_params(self, async_client: AsyncTelnyx) -> None: global_ip_latency = await async_client.global_ip_latency.retrieve( @@ -67,6 +73,7 @@ async def test_method_retrieve_with_all_params(self, async_client: AsyncTelnyx) ) assert_matches_type(GlobalIPLatencyRetrieveResponse, global_ip_latency, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.global_ip_latency.with_raw_response.retrieve() @@ -76,6 +83,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: global_ip_latency = await response.parse() assert_matches_type(GlobalIPLatencyRetrieveResponse, global_ip_latency, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.global_ip_latency.with_streaming_response.retrieve() as response: diff --git a/tests/api_resources/test_global_ip_protocols.py b/tests/api_resources/test_global_ip_protocols.py index 9838b3ba..a6f34061 100644 --- a/tests/api_resources/test_global_ip_protocols.py +++ b/tests/api_resources/test_global_ip_protocols.py @@ -17,11 +17,13 @@ class TestGlobalIPProtocols: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: global_ip_protocol = client.global_ip_protocols.list() assert_matches_type(GlobalIPProtocolListResponse, global_ip_protocol, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.global_ip_protocols.with_raw_response.list() @@ -31,6 +33,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: global_ip_protocol = response.parse() assert_matches_type(GlobalIPProtocolListResponse, global_ip_protocol, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.global_ip_protocols.with_streaming_response.list() as response: @@ -48,11 +51,13 @@ class TestAsyncGlobalIPProtocols: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: global_ip_protocol = await async_client.global_ip_protocols.list() assert_matches_type(GlobalIPProtocolListResponse, global_ip_protocol, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.global_ip_protocols.with_raw_response.list() @@ -62,6 +67,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: global_ip_protocol = await response.parse() assert_matches_type(GlobalIPProtocolListResponse, global_ip_protocol, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.global_ip_protocols.with_streaming_response.list() as response: diff --git a/tests/api_resources/test_global_ip_usage.py b/tests/api_resources/test_global_ip_usage.py index 8e9d35fe..4e5b600d 100644 --- a/tests/api_resources/test_global_ip_usage.py +++ b/tests/api_resources/test_global_ip_usage.py @@ -17,11 +17,13 @@ class TestGlobalIPUsage: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: global_ip_usage = client.global_ip_usage.retrieve() assert_matches_type(GlobalIPUsageRetrieveResponse, global_ip_usage, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve_with_all_params(self, client: Telnyx) -> None: global_ip_usage = client.global_ip_usage.retrieve( @@ -29,6 +31,7 @@ def test_method_retrieve_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(GlobalIPUsageRetrieveResponse, global_ip_usage, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.global_ip_usage.with_raw_response.retrieve() @@ -38,6 +41,7 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: global_ip_usage = response.parse() assert_matches_type(GlobalIPUsageRetrieveResponse, global_ip_usage, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.global_ip_usage.with_streaming_response.retrieve() as response: @@ -55,11 +59,13 @@ class TestAsyncGlobalIPUsage: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: global_ip_usage = await async_client.global_ip_usage.retrieve() assert_matches_type(GlobalIPUsageRetrieveResponse, global_ip_usage, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve_with_all_params(self, async_client: AsyncTelnyx) -> None: global_ip_usage = await async_client.global_ip_usage.retrieve( @@ -67,6 +73,7 @@ async def test_method_retrieve_with_all_params(self, async_client: AsyncTelnyx) ) assert_matches_type(GlobalIPUsageRetrieveResponse, global_ip_usage, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.global_ip_usage.with_raw_response.retrieve() @@ -76,6 +83,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: global_ip_usage = await response.parse() assert_matches_type(GlobalIPUsageRetrieveResponse, global_ip_usage, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.global_ip_usage.with_streaming_response.retrieve() as response: diff --git a/tests/api_resources/test_global_ips.py b/tests/api_resources/test_global_ips.py index c1a22b57..38ddb59c 100644 --- a/tests/api_resources/test_global_ips.py +++ b/tests/api_resources/test_global_ips.py @@ -22,11 +22,13 @@ class TestGlobalIPs: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: global_ip = client.global_ips.create() assert_matches_type(GlobalIPCreateResponse, global_ip, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: global_ip = client.global_ips.create( @@ -39,6 +41,7 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(GlobalIPCreateResponse, global_ip, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.global_ips.with_raw_response.create() @@ -48,6 +51,7 @@ def test_raw_response_create(self, client: Telnyx) -> None: global_ip = response.parse() assert_matches_type(GlobalIPCreateResponse, global_ip, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.global_ips.with_streaming_response.create() as response: @@ -59,6 +63,7 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: global_ip = client.global_ips.retrieve( @@ -66,6 +71,7 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(GlobalIPRetrieveResponse, global_ip, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.global_ips.with_raw_response.retrieve( @@ -77,6 +83,7 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: global_ip = response.parse() assert_matches_type(GlobalIPRetrieveResponse, global_ip, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.global_ips.with_streaming_response.retrieve( @@ -90,6 +97,7 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -97,11 +105,13 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: global_ip = client.global_ips.list() assert_matches_type(GlobalIPListResponse, global_ip, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: global_ip = client.global_ips.list( @@ -112,6 +122,7 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(GlobalIPListResponse, global_ip, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.global_ips.with_raw_response.list() @@ -121,6 +132,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: global_ip = response.parse() assert_matches_type(GlobalIPListResponse, global_ip, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.global_ips.with_streaming_response.list() as response: @@ -132,6 +144,7 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: global_ip = client.global_ips.delete( @@ -139,6 +152,7 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert_matches_type(GlobalIPDeleteResponse, global_ip, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.global_ips.with_raw_response.delete( @@ -150,6 +164,7 @@ def test_raw_response_delete(self, client: Telnyx) -> None: global_ip = response.parse() assert_matches_type(GlobalIPDeleteResponse, global_ip, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.global_ips.with_streaming_response.delete( @@ -163,6 +178,7 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -176,11 +192,13 @@ class TestAsyncGlobalIPs: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: global_ip = await async_client.global_ips.create() assert_matches_type(GlobalIPCreateResponse, global_ip, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: global_ip = await async_client.global_ips.create( @@ -193,6 +211,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(GlobalIPCreateResponse, global_ip, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.global_ips.with_raw_response.create() @@ -202,6 +221,7 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: global_ip = await response.parse() assert_matches_type(GlobalIPCreateResponse, global_ip, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.global_ips.with_streaming_response.create() as response: @@ -213,6 +233,7 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: global_ip = await async_client.global_ips.retrieve( @@ -220,6 +241,7 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(GlobalIPRetrieveResponse, global_ip, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.global_ips.with_raw_response.retrieve( @@ -231,6 +253,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: global_ip = await response.parse() assert_matches_type(GlobalIPRetrieveResponse, global_ip, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.global_ips.with_streaming_response.retrieve( @@ -244,6 +267,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -251,11 +275,13 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: global_ip = await async_client.global_ips.list() assert_matches_type(GlobalIPListResponse, global_ip, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: global_ip = await async_client.global_ips.list( @@ -266,6 +292,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(GlobalIPListResponse, global_ip, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.global_ips.with_raw_response.list() @@ -275,6 +302,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: global_ip = await response.parse() assert_matches_type(GlobalIPListResponse, global_ip, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.global_ips.with_streaming_response.list() as response: @@ -286,6 +314,7 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: global_ip = await async_client.global_ips.delete( @@ -293,6 +322,7 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(GlobalIPDeleteResponse, global_ip, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.global_ips.with_raw_response.delete( @@ -304,6 +334,7 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: global_ip = await response.parse() assert_matches_type(GlobalIPDeleteResponse, global_ip, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.global_ips.with_streaming_response.delete( @@ -317,6 +348,7 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): diff --git a/tests/api_resources/test_inbound_channels.py b/tests/api_resources/test_inbound_channels.py index 288efbe2..a24b6c56 100644 --- a/tests/api_resources/test_inbound_channels.py +++ b/tests/api_resources/test_inbound_channels.py @@ -17,6 +17,7 @@ class TestInboundChannels: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update(self, client: Telnyx) -> None: inbound_channel = client.inbound_channels.update( @@ -24,6 +25,7 @@ def test_method_update(self, client: Telnyx) -> None: ) assert_matches_type(InboundChannelUpdateResponse, inbound_channel, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update(self, client: Telnyx) -> None: response = client.inbound_channels.with_raw_response.update( @@ -35,6 +37,7 @@ def test_raw_response_update(self, client: Telnyx) -> None: inbound_channel = response.parse() assert_matches_type(InboundChannelUpdateResponse, inbound_channel, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update(self, client: Telnyx) -> None: with client.inbound_channels.with_streaming_response.update( @@ -48,11 +51,13 @@ def test_streaming_response_update(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: inbound_channel = client.inbound_channels.list() assert_matches_type(InboundChannelListResponse, inbound_channel, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.inbound_channels.with_raw_response.list() @@ -62,6 +67,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: inbound_channel = response.parse() assert_matches_type(InboundChannelListResponse, inbound_channel, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.inbound_channels.with_streaming_response.list() as response: @@ -79,6 +85,7 @@ class TestAsyncInboundChannels: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update(self, async_client: AsyncTelnyx) -> None: inbound_channel = await async_client.inbound_channels.update( @@ -86,6 +93,7 @@ async def test_method_update(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(InboundChannelUpdateResponse, inbound_channel, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: response = await async_client.inbound_channels.with_raw_response.update( @@ -97,6 +105,7 @@ async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: inbound_channel = await response.parse() assert_matches_type(InboundChannelUpdateResponse, inbound_channel, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> None: async with async_client.inbound_channels.with_streaming_response.update( @@ -110,11 +119,13 @@ async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: inbound_channel = await async_client.inbound_channels.list() assert_matches_type(InboundChannelListResponse, inbound_channel, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.inbound_channels.with_raw_response.list() @@ -124,6 +135,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: inbound_channel = await response.parse() assert_matches_type(InboundChannelListResponse, inbound_channel, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.inbound_channels.with_streaming_response.list() as response: diff --git a/tests/api_resources/test_integration_secrets.py b/tests/api_resources/test_integration_secrets.py index 64f8b991..633b4815 100644 --- a/tests/api_resources/test_integration_secrets.py +++ b/tests/api_resources/test_integration_secrets.py @@ -20,6 +20,7 @@ class TestIntegrationSecrets: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: integration_secret = client.integration_secrets.create( @@ -28,6 +29,7 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(IntegrationSecretCreateResponse, integration_secret, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: integration_secret = client.integration_secrets.create( @@ -39,6 +41,7 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(IntegrationSecretCreateResponse, integration_secret, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.integration_secrets.with_raw_response.create( @@ -51,6 +54,7 @@ def test_raw_response_create(self, client: Telnyx) -> None: integration_secret = response.parse() assert_matches_type(IntegrationSecretCreateResponse, integration_secret, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.integration_secrets.with_streaming_response.create( @@ -65,11 +69,13 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: integration_secret = client.integration_secrets.list() assert_matches_type(IntegrationSecretListResponse, integration_secret, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: integration_secret = client.integration_secrets.list( @@ -81,6 +87,7 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(IntegrationSecretListResponse, integration_secret, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.integration_secrets.with_raw_response.list() @@ -90,6 +97,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: integration_secret = response.parse() assert_matches_type(IntegrationSecretListResponse, integration_secret, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.integration_secrets.with_streaming_response.list() as response: @@ -101,6 +109,7 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: integration_secret = client.integration_secrets.delete( @@ -108,6 +117,7 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert integration_secret is None + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.integration_secrets.with_raw_response.delete( @@ -119,6 +129,7 @@ def test_raw_response_delete(self, client: Telnyx) -> None: integration_secret = response.parse() assert integration_secret is None + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.integration_secrets.with_streaming_response.delete( @@ -132,6 +143,7 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -145,6 +157,7 @@ class TestAsyncIntegrationSecrets: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: integration_secret = await async_client.integration_secrets.create( @@ -153,6 +166,7 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(IntegrationSecretCreateResponse, integration_secret, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: integration_secret = await async_client.integration_secrets.create( @@ -164,6 +178,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(IntegrationSecretCreateResponse, integration_secret, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.integration_secrets.with_raw_response.create( @@ -176,6 +191,7 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: integration_secret = await response.parse() assert_matches_type(IntegrationSecretCreateResponse, integration_secret, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.integration_secrets.with_streaming_response.create( @@ -190,11 +206,13 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: integration_secret = await async_client.integration_secrets.list() assert_matches_type(IntegrationSecretListResponse, integration_secret, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: integration_secret = await async_client.integration_secrets.list( @@ -206,6 +224,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(IntegrationSecretListResponse, integration_secret, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.integration_secrets.with_raw_response.list() @@ -215,6 +234,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: integration_secret = await response.parse() assert_matches_type(IntegrationSecretListResponse, integration_secret, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.integration_secrets.with_streaming_response.list() as response: @@ -226,6 +246,7 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: integration_secret = await async_client.integration_secrets.delete( @@ -233,6 +254,7 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert integration_secret is None + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.integration_secrets.with_raw_response.delete( @@ -244,6 +266,7 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: integration_secret = await response.parse() assert integration_secret is None + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.integration_secrets.with_streaming_response.delete( @@ -257,6 +280,7 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): diff --git a/tests/api_resources/test_inventory_coverage.py b/tests/api_resources/test_inventory_coverage.py index b63c43a0..26d4257f 100644 --- a/tests/api_resources/test_inventory_coverage.py +++ b/tests/api_resources/test_inventory_coverage.py @@ -17,11 +17,13 @@ class TestInventoryCoverage: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: inventory_coverage = client.inventory_coverage.list() assert_matches_type(InventoryCoverageListResponse, inventory_coverage, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: inventory_coverage = client.inventory_coverage.list( @@ -38,6 +40,7 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(InventoryCoverageListResponse, inventory_coverage, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.inventory_coverage.with_raw_response.list() @@ -47,6 +50,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: inventory_coverage = response.parse() assert_matches_type(InventoryCoverageListResponse, inventory_coverage, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.inventory_coverage.with_streaming_response.list() as response: @@ -64,11 +68,13 @@ class TestAsyncInventoryCoverage: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: inventory_coverage = await async_client.inventory_coverage.list() assert_matches_type(InventoryCoverageListResponse, inventory_coverage, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: inventory_coverage = await async_client.inventory_coverage.list( @@ -85,6 +91,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(InventoryCoverageListResponse, inventory_coverage, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.inventory_coverage.with_raw_response.list() @@ -94,6 +101,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: inventory_coverage = await response.parse() assert_matches_type(InventoryCoverageListResponse, inventory_coverage, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.inventory_coverage.with_streaming_response.list() as response: diff --git a/tests/api_resources/test_invoices.py b/tests/api_resources/test_invoices.py index fcf130b1..2ad20f35 100644 --- a/tests/api_resources/test_invoices.py +++ b/tests/api_resources/test_invoices.py @@ -17,6 +17,7 @@ class TestInvoices: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: invoice = client.invoices.retrieve( @@ -24,6 +25,7 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(InvoiceRetrieveResponse, invoice, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve_with_all_params(self, client: Telnyx) -> None: invoice = client.invoices.retrieve( @@ -32,6 +34,7 @@ def test_method_retrieve_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(InvoiceRetrieveResponse, invoice, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.invoices.with_raw_response.retrieve( @@ -43,6 +46,7 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: invoice = response.parse() assert_matches_type(InvoiceRetrieveResponse, invoice, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.invoices.with_streaming_response.retrieve( @@ -56,6 +60,7 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -63,11 +68,13 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: invoice = client.invoices.list() assert_matches_type(InvoiceListResponse, invoice, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: invoice = client.invoices.list( @@ -79,6 +86,7 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(InvoiceListResponse, invoice, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.invoices.with_raw_response.list() @@ -88,6 +96,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: invoice = response.parse() assert_matches_type(InvoiceListResponse, invoice, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.invoices.with_streaming_response.list() as response: @@ -105,6 +114,7 @@ class TestAsyncInvoices: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: invoice = await async_client.invoices.retrieve( @@ -112,6 +122,7 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(InvoiceRetrieveResponse, invoice, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve_with_all_params(self, async_client: AsyncTelnyx) -> None: invoice = await async_client.invoices.retrieve( @@ -120,6 +131,7 @@ async def test_method_retrieve_with_all_params(self, async_client: AsyncTelnyx) ) assert_matches_type(InvoiceRetrieveResponse, invoice, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.invoices.with_raw_response.retrieve( @@ -131,6 +143,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: invoice = await response.parse() assert_matches_type(InvoiceRetrieveResponse, invoice, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.invoices.with_streaming_response.retrieve( @@ -144,6 +157,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -151,11 +165,13 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: invoice = await async_client.invoices.list() assert_matches_type(InvoiceListResponse, invoice, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: invoice = await async_client.invoices.list( @@ -167,6 +183,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(InvoiceListResponse, invoice, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.invoices.with_raw_response.list() @@ -176,6 +193,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: invoice = await response.parse() assert_matches_type(InvoiceListResponse, invoice, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.invoices.with_streaming_response.list() as response: diff --git a/tests/api_resources/test_ip_connections.py b/tests/api_resources/test_ip_connections.py index cc86102d..d822b947 100644 --- a/tests/api_resources/test_ip_connections.py +++ b/tests/api_resources/test_ip_connections.py @@ -23,11 +23,13 @@ class TestIPConnections: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: ip_connection = client.ip_connections.create() assert_matches_type(IPConnectionCreateResponse, ip_connection, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: ip_connection = client.ip_connections.create( @@ -86,6 +88,7 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(IPConnectionCreateResponse, ip_connection, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.ip_connections.with_raw_response.create() @@ -95,6 +98,7 @@ def test_raw_response_create(self, client: Telnyx) -> None: ip_connection = response.parse() assert_matches_type(IPConnectionCreateResponse, ip_connection, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.ip_connections.with_streaming_response.create() as response: @@ -106,6 +110,7 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: ip_connection = client.ip_connections.retrieve( @@ -113,6 +118,7 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(IPConnectionRetrieveResponse, ip_connection, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.ip_connections.with_raw_response.retrieve( @@ -124,6 +130,7 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: ip_connection = response.parse() assert_matches_type(IPConnectionRetrieveResponse, ip_connection, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.ip_connections.with_streaming_response.retrieve( @@ -137,6 +144,7 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -144,6 +152,7 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update(self, client: Telnyx) -> None: ip_connection = client.ip_connections.update( @@ -151,6 +160,7 @@ def test_method_update(self, client: Telnyx) -> None: ) assert_matches_type(IPConnectionUpdateResponse, ip_connection, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_with_all_params(self, client: Telnyx) -> None: ip_connection = client.ip_connections.update( @@ -213,6 +223,7 @@ def test_method_update_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(IPConnectionUpdateResponse, ip_connection, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update(self, client: Telnyx) -> None: response = client.ip_connections.with_raw_response.update( @@ -224,6 +235,7 @@ def test_raw_response_update(self, client: Telnyx) -> None: ip_connection = response.parse() assert_matches_type(IPConnectionUpdateResponse, ip_connection, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update(self, client: Telnyx) -> None: with client.ip_connections.with_streaming_response.update( @@ -237,6 +249,7 @@ def test_streaming_response_update(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -244,11 +257,13 @@ def test_path_params_update(self, client: Telnyx) -> None: id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: ip_connection = client.ip_connections.list() assert_matches_type(IPConnectionListResponse, ip_connection, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: ip_connection = client.ip_connections.list( @@ -265,6 +280,7 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(IPConnectionListResponse, ip_connection, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.ip_connections.with_raw_response.list() @@ -274,6 +290,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: ip_connection = response.parse() assert_matches_type(IPConnectionListResponse, ip_connection, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.ip_connections.with_streaming_response.list() as response: @@ -285,6 +302,7 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: ip_connection = client.ip_connections.delete( @@ -292,6 +310,7 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert_matches_type(IPConnectionDeleteResponse, ip_connection, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.ip_connections.with_raw_response.delete( @@ -303,6 +322,7 @@ def test_raw_response_delete(self, client: Telnyx) -> None: ip_connection = response.parse() assert_matches_type(IPConnectionDeleteResponse, ip_connection, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.ip_connections.with_streaming_response.delete( @@ -316,6 +336,7 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -329,11 +350,13 @@ class TestAsyncIPConnections: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: ip_connection = await async_client.ip_connections.create() assert_matches_type(IPConnectionCreateResponse, ip_connection, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: ip_connection = await async_client.ip_connections.create( @@ -392,6 +415,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(IPConnectionCreateResponse, ip_connection, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.ip_connections.with_raw_response.create() @@ -401,6 +425,7 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: ip_connection = await response.parse() assert_matches_type(IPConnectionCreateResponse, ip_connection, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.ip_connections.with_streaming_response.create() as response: @@ -412,6 +437,7 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ip_connection = await async_client.ip_connections.retrieve( @@ -419,6 +445,7 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(IPConnectionRetrieveResponse, ip_connection, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.ip_connections.with_raw_response.retrieve( @@ -430,6 +457,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: ip_connection = await response.parse() assert_matches_type(IPConnectionRetrieveResponse, ip_connection, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.ip_connections.with_streaming_response.retrieve( @@ -443,6 +471,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -450,6 +479,7 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update(self, async_client: AsyncTelnyx) -> None: ip_connection = await async_client.ip_connections.update( @@ -457,6 +487,7 @@ async def test_method_update(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(IPConnectionUpdateResponse, ip_connection, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> None: ip_connection = await async_client.ip_connections.update( @@ -519,6 +550,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(IPConnectionUpdateResponse, ip_connection, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: response = await async_client.ip_connections.with_raw_response.update( @@ -530,6 +562,7 @@ async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: ip_connection = await response.parse() assert_matches_type(IPConnectionUpdateResponse, ip_connection, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> None: async with async_client.ip_connections.with_streaming_response.update( @@ -543,6 +576,7 @@ async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -550,11 +584,13 @@ async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: ip_connection = await async_client.ip_connections.list() assert_matches_type(IPConnectionListResponse, ip_connection, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: ip_connection = await async_client.ip_connections.list( @@ -571,6 +607,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(IPConnectionListResponse, ip_connection, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.ip_connections.with_raw_response.list() @@ -580,6 +617,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: ip_connection = await response.parse() assert_matches_type(IPConnectionListResponse, ip_connection, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.ip_connections.with_streaming_response.list() as response: @@ -591,6 +629,7 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ip_connection = await async_client.ip_connections.delete( @@ -598,6 +637,7 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(IPConnectionDeleteResponse, ip_connection, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.ip_connections.with_raw_response.delete( @@ -609,6 +649,7 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: ip_connection = await response.parse() assert_matches_type(IPConnectionDeleteResponse, ip_connection, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.ip_connections.with_streaming_response.delete( @@ -622,6 +663,7 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): diff --git a/tests/api_resources/test_ips.py b/tests/api_resources/test_ips.py index 2f505585..e4fec699 100644 --- a/tests/api_resources/test_ips.py +++ b/tests/api_resources/test_ips.py @@ -23,6 +23,7 @@ class TestIPs: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: ip = client.ips.create( @@ -30,6 +31,7 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(IPCreateResponse, ip, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: ip = client.ips.create( @@ -39,6 +41,7 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(IPCreateResponse, ip, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.ips.with_raw_response.create( @@ -50,6 +53,7 @@ def test_raw_response_create(self, client: Telnyx) -> None: ip = response.parse() assert_matches_type(IPCreateResponse, ip, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.ips.with_streaming_response.create( @@ -63,6 +67,7 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: ip = client.ips.retrieve( @@ -70,6 +75,7 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(IPRetrieveResponse, ip, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.ips.with_raw_response.retrieve( @@ -81,6 +87,7 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: ip = response.parse() assert_matches_type(IPRetrieveResponse, ip, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.ips.with_streaming_response.retrieve( @@ -94,6 +101,7 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -101,6 +109,7 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update(self, client: Telnyx) -> None: ip = client.ips.update( @@ -109,6 +118,7 @@ def test_method_update(self, client: Telnyx) -> None: ) assert_matches_type(IPUpdateResponse, ip, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_with_all_params(self, client: Telnyx) -> None: ip = client.ips.update( @@ -119,6 +129,7 @@ def test_method_update_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(IPUpdateResponse, ip, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update(self, client: Telnyx) -> None: response = client.ips.with_raw_response.update( @@ -131,6 +142,7 @@ def test_raw_response_update(self, client: Telnyx) -> None: ip = response.parse() assert_matches_type(IPUpdateResponse, ip, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update(self, client: Telnyx) -> None: with client.ips.with_streaming_response.update( @@ -145,6 +157,7 @@ def test_streaming_response_update(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -153,11 +166,13 @@ def test_path_params_update(self, client: Telnyx) -> None: ip_address="192.168.0.0", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: ip = client.ips.list() assert_matches_type(IPListResponse, ip, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: ip = client.ips.list( @@ -173,6 +188,7 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(IPListResponse, ip, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.ips.with_raw_response.list() @@ -182,6 +198,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: ip = response.parse() assert_matches_type(IPListResponse, ip, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.ips.with_streaming_response.list() as response: @@ -193,6 +210,7 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: ip = client.ips.delete( @@ -200,6 +218,7 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert_matches_type(IPDeleteResponse, ip, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.ips.with_raw_response.delete( @@ -211,6 +230,7 @@ def test_raw_response_delete(self, client: Telnyx) -> None: ip = response.parse() assert_matches_type(IPDeleteResponse, ip, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.ips.with_streaming_response.delete( @@ -224,6 +244,7 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -237,6 +258,7 @@ class TestAsyncIPs: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: ip = await async_client.ips.create( @@ -244,6 +266,7 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(IPCreateResponse, ip, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: ip = await async_client.ips.create( @@ -253,6 +276,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(IPCreateResponse, ip, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.ips.with_raw_response.create( @@ -264,6 +288,7 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: ip = await response.parse() assert_matches_type(IPCreateResponse, ip, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.ips.with_streaming_response.create( @@ -277,6 +302,7 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ip = await async_client.ips.retrieve( @@ -284,6 +310,7 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(IPRetrieveResponse, ip, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.ips.with_raw_response.retrieve( @@ -295,6 +322,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: ip = await response.parse() assert_matches_type(IPRetrieveResponse, ip, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.ips.with_streaming_response.retrieve( @@ -308,6 +336,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -315,6 +344,7 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update(self, async_client: AsyncTelnyx) -> None: ip = await async_client.ips.update( @@ -323,6 +353,7 @@ async def test_method_update(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(IPUpdateResponse, ip, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> None: ip = await async_client.ips.update( @@ -333,6 +364,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(IPUpdateResponse, ip, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: response = await async_client.ips.with_raw_response.update( @@ -345,6 +377,7 @@ async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: ip = await response.parse() assert_matches_type(IPUpdateResponse, ip, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> None: async with async_client.ips.with_streaming_response.update( @@ -359,6 +392,7 @@ async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -367,11 +401,13 @@ async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: ip_address="192.168.0.0", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: ip = await async_client.ips.list() assert_matches_type(IPListResponse, ip, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: ip = await async_client.ips.list( @@ -387,6 +423,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(IPListResponse, ip, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.ips.with_raw_response.list() @@ -396,6 +433,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: ip = await response.parse() assert_matches_type(IPListResponse, ip, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.ips.with_streaming_response.list() as response: @@ -407,6 +445,7 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ip = await async_client.ips.delete( @@ -414,6 +453,7 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(IPDeleteResponse, ip, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.ips.with_raw_response.delete( @@ -425,6 +465,7 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: ip = await response.parse() assert_matches_type(IPDeleteResponse, ip, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.ips.with_streaming_response.delete( @@ -438,6 +479,7 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): diff --git a/tests/api_resources/test_ledger_billing_group_reports.py b/tests/api_resources/test_ledger_billing_group_reports.py index c5538625..bafd5dea 100644 --- a/tests/api_resources/test_ledger_billing_group_reports.py +++ b/tests/api_resources/test_ledger_billing_group_reports.py @@ -20,11 +20,13 @@ class TestLedgerBillingGroupReports: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: ledger_billing_group_report = client.ledger_billing_group_reports.create() assert_matches_type(LedgerBillingGroupReportCreateResponse, ledger_billing_group_report, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: ledger_billing_group_report = client.ledger_billing_group_reports.create( @@ -33,6 +35,7 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(LedgerBillingGroupReportCreateResponse, ledger_billing_group_report, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.ledger_billing_group_reports.with_raw_response.create() @@ -42,6 +45,7 @@ def test_raw_response_create(self, client: Telnyx) -> None: ledger_billing_group_report = response.parse() assert_matches_type(LedgerBillingGroupReportCreateResponse, ledger_billing_group_report, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.ledger_billing_group_reports.with_streaming_response.create() as response: @@ -53,6 +57,7 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: ledger_billing_group_report = client.ledger_billing_group_reports.retrieve( @@ -60,6 +65,7 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(LedgerBillingGroupReportRetrieveResponse, ledger_billing_group_report, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.ledger_billing_group_reports.with_raw_response.retrieve( @@ -71,6 +77,7 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: ledger_billing_group_report = response.parse() assert_matches_type(LedgerBillingGroupReportRetrieveResponse, ledger_billing_group_report, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.ledger_billing_group_reports.with_streaming_response.retrieve( @@ -86,6 +93,7 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -99,11 +107,13 @@ class TestAsyncLedgerBillingGroupReports: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: ledger_billing_group_report = await async_client.ledger_billing_group_reports.create() assert_matches_type(LedgerBillingGroupReportCreateResponse, ledger_billing_group_report, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: ledger_billing_group_report = await async_client.ledger_billing_group_reports.create( @@ -112,6 +122,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(LedgerBillingGroupReportCreateResponse, ledger_billing_group_report, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.ledger_billing_group_reports.with_raw_response.create() @@ -121,6 +132,7 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: ledger_billing_group_report = await response.parse() assert_matches_type(LedgerBillingGroupReportCreateResponse, ledger_billing_group_report, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.ledger_billing_group_reports.with_streaming_response.create() as response: @@ -132,6 +144,7 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ledger_billing_group_report = await async_client.ledger_billing_group_reports.retrieve( @@ -139,6 +152,7 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(LedgerBillingGroupReportRetrieveResponse, ledger_billing_group_report, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.ledger_billing_group_reports.with_raw_response.retrieve( @@ -150,6 +164,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: ledger_billing_group_report = await response.parse() assert_matches_type(LedgerBillingGroupReportRetrieveResponse, ledger_billing_group_report, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.ledger_billing_group_reports.with_streaming_response.retrieve( @@ -165,6 +180,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): diff --git a/tests/api_resources/test_list.py b/tests/api_resources/test_list.py index b847d1a0..1d3874eb 100644 --- a/tests/api_resources/test_list.py +++ b/tests/api_resources/test_list.py @@ -17,11 +17,13 @@ class TestList: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve_all(self, client: Telnyx) -> None: list_ = client.list.retrieve_all() assert_matches_type(ListRetrieveAllResponse, list_, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve_all(self, client: Telnyx) -> None: response = client.list.with_raw_response.retrieve_all() @@ -31,6 +33,7 @@ def test_raw_response_retrieve_all(self, client: Telnyx) -> None: list_ = response.parse() assert_matches_type(ListRetrieveAllResponse, list_, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve_all(self, client: Telnyx) -> None: with client.list.with_streaming_response.retrieve_all() as response: @@ -42,6 +45,7 @@ def test_streaming_response_retrieve_all(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve_by_zone(self, client: Telnyx) -> None: list_ = client.list.retrieve_by_zone( @@ -49,6 +53,7 @@ def test_method_retrieve_by_zone(self, client: Telnyx) -> None: ) assert_matches_type(ListRetrieveByZoneResponse, list_, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve_by_zone(self, client: Telnyx) -> None: response = client.list.with_raw_response.retrieve_by_zone( @@ -60,6 +65,7 @@ def test_raw_response_retrieve_by_zone(self, client: Telnyx) -> None: list_ = response.parse() assert_matches_type(ListRetrieveByZoneResponse, list_, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve_by_zone(self, client: Telnyx) -> None: with client.list.with_streaming_response.retrieve_by_zone( @@ -73,6 +79,7 @@ def test_streaming_response_retrieve_by_zone(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve_by_zone(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `channel_zone_id` but received ''"): @@ -86,11 +93,13 @@ class TestAsyncList: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve_all(self, async_client: AsyncTelnyx) -> None: list_ = await async_client.list.retrieve_all() assert_matches_type(ListRetrieveAllResponse, list_, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve_all(self, async_client: AsyncTelnyx) -> None: response = await async_client.list.with_raw_response.retrieve_all() @@ -100,6 +109,7 @@ async def test_raw_response_retrieve_all(self, async_client: AsyncTelnyx) -> Non list_ = await response.parse() assert_matches_type(ListRetrieveAllResponse, list_, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve_all(self, async_client: AsyncTelnyx) -> None: async with async_client.list.with_streaming_response.retrieve_all() as response: @@ -111,6 +121,7 @@ async def test_streaming_response_retrieve_all(self, async_client: AsyncTelnyx) assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve_by_zone(self, async_client: AsyncTelnyx) -> None: list_ = await async_client.list.retrieve_by_zone( @@ -118,6 +129,7 @@ async def test_method_retrieve_by_zone(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ListRetrieveByZoneResponse, list_, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve_by_zone(self, async_client: AsyncTelnyx) -> None: response = await async_client.list.with_raw_response.retrieve_by_zone( @@ -129,6 +141,7 @@ async def test_raw_response_retrieve_by_zone(self, async_client: AsyncTelnyx) -> list_ = await response.parse() assert_matches_type(ListRetrieveByZoneResponse, list_, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve_by_zone(self, async_client: AsyncTelnyx) -> None: async with async_client.list.with_streaming_response.retrieve_by_zone( @@ -142,6 +155,7 @@ async def test_streaming_response_retrieve_by_zone(self, async_client: AsyncTeln assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve_by_zone(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `channel_zone_id` but received ''"): diff --git a/tests/api_resources/test_managed_accounts.py b/tests/api_resources/test_managed_accounts.py index a2a9d350..ca56f6ac 100644 --- a/tests/api_resources/test_managed_accounts.py +++ b/tests/api_resources/test_managed_accounts.py @@ -24,6 +24,7 @@ class TestManagedAccounts: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: managed_account = client.managed_accounts.create( @@ -31,6 +32,7 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(ManagedAccountCreateResponse, managed_account, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: managed_account = client.managed_accounts.create( @@ -42,6 +44,7 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ManagedAccountCreateResponse, managed_account, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.managed_accounts.with_raw_response.create( @@ -53,6 +56,7 @@ def test_raw_response_create(self, client: Telnyx) -> None: managed_account = response.parse() assert_matches_type(ManagedAccountCreateResponse, managed_account, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.managed_accounts.with_streaming_response.create( @@ -66,6 +70,7 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: managed_account = client.managed_accounts.retrieve( @@ -73,6 +78,7 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(ManagedAccountRetrieveResponse, managed_account, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.managed_accounts.with_raw_response.retrieve( @@ -84,6 +90,7 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: managed_account = response.parse() assert_matches_type(ManagedAccountRetrieveResponse, managed_account, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.managed_accounts.with_streaming_response.retrieve( @@ -97,6 +104,7 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -104,6 +112,7 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update(self, client: Telnyx) -> None: managed_account = client.managed_accounts.update( @@ -111,6 +120,7 @@ def test_method_update(self, client: Telnyx) -> None: ) assert_matches_type(ManagedAccountUpdateResponse, managed_account, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_with_all_params(self, client: Telnyx) -> None: managed_account = client.managed_accounts.update( @@ -119,6 +129,7 @@ def test_method_update_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ManagedAccountUpdateResponse, managed_account, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update(self, client: Telnyx) -> None: response = client.managed_accounts.with_raw_response.update( @@ -130,6 +141,7 @@ def test_raw_response_update(self, client: Telnyx) -> None: managed_account = response.parse() assert_matches_type(ManagedAccountUpdateResponse, managed_account, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update(self, client: Telnyx) -> None: with client.managed_accounts.with_streaming_response.update( @@ -143,6 +155,7 @@ def test_streaming_response_update(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -150,11 +163,13 @@ def test_path_params_update(self, client: Telnyx) -> None: id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: managed_account = client.managed_accounts.list() assert_matches_type(ManagedAccountListResponse, managed_account, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: managed_account = client.managed_accounts.list( @@ -177,6 +192,7 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ManagedAccountListResponse, managed_account, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.managed_accounts.with_raw_response.list() @@ -186,6 +202,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: managed_account = response.parse() assert_matches_type(ManagedAccountListResponse, managed_account, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.managed_accounts.with_streaming_response.list() as response: @@ -197,6 +214,7 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_get_allocatable_global_outbound_channels(self, client: Telnyx) -> None: managed_account = client.managed_accounts.get_allocatable_global_outbound_channels() @@ -204,6 +222,7 @@ def test_method_get_allocatable_global_outbound_channels(self, client: Telnyx) - ManagedAccountGetAllocatableGlobalOutboundChannelsResponse, managed_account, path=["response"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_get_allocatable_global_outbound_channels(self, client: Telnyx) -> None: response = client.managed_accounts.with_raw_response.get_allocatable_global_outbound_channels() @@ -215,6 +234,7 @@ def test_raw_response_get_allocatable_global_outbound_channels(self, client: Tel ManagedAccountGetAllocatableGlobalOutboundChannelsResponse, managed_account, path=["response"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_get_allocatable_global_outbound_channels(self, client: Telnyx) -> None: with client.managed_accounts.with_streaming_response.get_allocatable_global_outbound_channels() as response: @@ -228,6 +248,7 @@ def test_streaming_response_get_allocatable_global_outbound_channels(self, clien assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_global_channel_limit(self, client: Telnyx) -> None: managed_account = client.managed_accounts.update_global_channel_limit( @@ -235,6 +256,7 @@ def test_method_update_global_channel_limit(self, client: Telnyx) -> None: ) assert_matches_type(ManagedAccountUpdateGlobalChannelLimitResponse, managed_account, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_global_channel_limit_with_all_params(self, client: Telnyx) -> None: managed_account = client.managed_accounts.update_global_channel_limit( @@ -243,6 +265,7 @@ def test_method_update_global_channel_limit_with_all_params(self, client: Telnyx ) assert_matches_type(ManagedAccountUpdateGlobalChannelLimitResponse, managed_account, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update_global_channel_limit(self, client: Telnyx) -> None: response = client.managed_accounts.with_raw_response.update_global_channel_limit( @@ -254,6 +277,7 @@ def test_raw_response_update_global_channel_limit(self, client: Telnyx) -> None: managed_account = response.parse() assert_matches_type(ManagedAccountUpdateGlobalChannelLimitResponse, managed_account, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update_global_channel_limit(self, client: Telnyx) -> None: with client.managed_accounts.with_streaming_response.update_global_channel_limit( @@ -267,6 +291,7 @@ def test_streaming_response_update_global_channel_limit(self, client: Telnyx) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update_global_channel_limit(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -280,6 +305,7 @@ class TestAsyncManagedAccounts: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: managed_account = await async_client.managed_accounts.create( @@ -287,6 +313,7 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ManagedAccountCreateResponse, managed_account, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: managed_account = await async_client.managed_accounts.create( @@ -298,6 +325,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(ManagedAccountCreateResponse, managed_account, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.managed_accounts.with_raw_response.create( @@ -309,6 +337,7 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: managed_account = await response.parse() assert_matches_type(ManagedAccountCreateResponse, managed_account, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.managed_accounts.with_streaming_response.create( @@ -322,6 +351,7 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: managed_account = await async_client.managed_accounts.retrieve( @@ -329,6 +359,7 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ManagedAccountRetrieveResponse, managed_account, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.managed_accounts.with_raw_response.retrieve( @@ -340,6 +371,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: managed_account = await response.parse() assert_matches_type(ManagedAccountRetrieveResponse, managed_account, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.managed_accounts.with_streaming_response.retrieve( @@ -353,6 +385,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -360,6 +393,7 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update(self, async_client: AsyncTelnyx) -> None: managed_account = await async_client.managed_accounts.update( @@ -367,6 +401,7 @@ async def test_method_update(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ManagedAccountUpdateResponse, managed_account, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> None: managed_account = await async_client.managed_accounts.update( @@ -375,6 +410,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(ManagedAccountUpdateResponse, managed_account, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: response = await async_client.managed_accounts.with_raw_response.update( @@ -386,6 +422,7 @@ async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: managed_account = await response.parse() assert_matches_type(ManagedAccountUpdateResponse, managed_account, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> None: async with async_client.managed_accounts.with_streaming_response.update( @@ -399,6 +436,7 @@ async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -406,11 +444,13 @@ async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: managed_account = await async_client.managed_accounts.list() assert_matches_type(ManagedAccountListResponse, managed_account, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: managed_account = await async_client.managed_accounts.list( @@ -433,6 +473,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(ManagedAccountListResponse, managed_account, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.managed_accounts.with_raw_response.list() @@ -442,6 +483,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: managed_account = await response.parse() assert_matches_type(ManagedAccountListResponse, managed_account, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.managed_accounts.with_streaming_response.list() as response: @@ -453,6 +495,7 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_get_allocatable_global_outbound_channels(self, async_client: AsyncTelnyx) -> None: managed_account = await async_client.managed_accounts.get_allocatable_global_outbound_channels() @@ -460,6 +503,7 @@ async def test_method_get_allocatable_global_outbound_channels(self, async_clien ManagedAccountGetAllocatableGlobalOutboundChannelsResponse, managed_account, path=["response"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_get_allocatable_global_outbound_channels(self, async_client: AsyncTelnyx) -> None: response = await async_client.managed_accounts.with_raw_response.get_allocatable_global_outbound_channels() @@ -471,6 +515,7 @@ async def test_raw_response_get_allocatable_global_outbound_channels(self, async ManagedAccountGetAllocatableGlobalOutboundChannelsResponse, managed_account, path=["response"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_get_allocatable_global_outbound_channels(self, async_client: AsyncTelnyx) -> None: async with ( @@ -486,6 +531,7 @@ async def test_streaming_response_get_allocatable_global_outbound_channels(self, assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_global_channel_limit(self, async_client: AsyncTelnyx) -> None: managed_account = await async_client.managed_accounts.update_global_channel_limit( @@ -493,6 +539,7 @@ async def test_method_update_global_channel_limit(self, async_client: AsyncTelny ) assert_matches_type(ManagedAccountUpdateGlobalChannelLimitResponse, managed_account, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_global_channel_limit_with_all_params(self, async_client: AsyncTelnyx) -> None: managed_account = await async_client.managed_accounts.update_global_channel_limit( @@ -501,6 +548,7 @@ async def test_method_update_global_channel_limit_with_all_params(self, async_cl ) assert_matches_type(ManagedAccountUpdateGlobalChannelLimitResponse, managed_account, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update_global_channel_limit(self, async_client: AsyncTelnyx) -> None: response = await async_client.managed_accounts.with_raw_response.update_global_channel_limit( @@ -512,6 +560,7 @@ async def test_raw_response_update_global_channel_limit(self, async_client: Asyn managed_account = await response.parse() assert_matches_type(ManagedAccountUpdateGlobalChannelLimitResponse, managed_account, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update_global_channel_limit(self, async_client: AsyncTelnyx) -> None: async with async_client.managed_accounts.with_streaming_response.update_global_channel_limit( @@ -525,6 +574,7 @@ async def test_streaming_response_update_global_channel_limit(self, async_client assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update_global_channel_limit(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): diff --git a/tests/api_resources/test_media.py b/tests/api_resources/test_media.py index 99a9108c..c6c1340f 100644 --- a/tests/api_resources/test_media.py +++ b/tests/api_resources/test_media.py @@ -30,6 +30,7 @@ class TestMedia: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: media = client.media.retrieve( @@ -37,6 +38,7 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(MediaRetrieveResponse, media, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.media.with_raw_response.retrieve( @@ -48,6 +50,7 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: media = response.parse() assert_matches_type(MediaRetrieveResponse, media, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.media.with_streaming_response.retrieve( @@ -61,6 +64,7 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `media_name` but received ''"): @@ -68,6 +72,7 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update(self, client: Telnyx) -> None: media = client.media.update( @@ -75,6 +80,7 @@ def test_method_update(self, client: Telnyx) -> None: ) assert_matches_type(MediaUpdateResponse, media, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_with_all_params(self, client: Telnyx) -> None: media = client.media.update( @@ -84,6 +90,7 @@ def test_method_update_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(MediaUpdateResponse, media, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update(self, client: Telnyx) -> None: response = client.media.with_raw_response.update( @@ -95,6 +102,7 @@ def test_raw_response_update(self, client: Telnyx) -> None: media = response.parse() assert_matches_type(MediaUpdateResponse, media, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update(self, client: Telnyx) -> None: with client.media.with_streaming_response.update( @@ -108,6 +116,7 @@ def test_streaming_response_update(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `media_name` but received ''"): @@ -115,11 +124,13 @@ def test_path_params_update(self, client: Telnyx) -> None: media_name="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: media = client.media.list() assert_matches_type(MediaListResponse, media, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: media = client.media.list( @@ -127,6 +138,7 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(MediaListResponse, media, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.media.with_raw_response.list() @@ -136,6 +148,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: media = response.parse() assert_matches_type(MediaListResponse, media, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.media.with_streaming_response.list() as response: @@ -147,6 +160,7 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: media = client.media.delete( @@ -154,6 +168,7 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert media is None + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.media.with_raw_response.delete( @@ -165,6 +180,7 @@ def test_raw_response_delete(self, client: Telnyx) -> None: media = response.parse() assert media is None + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.media.with_streaming_response.delete( @@ -178,6 +194,7 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `media_name` but received ''"): @@ -235,6 +252,7 @@ def test_path_params_download(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_upload(self, client: Telnyx) -> None: media = client.media.upload( @@ -242,6 +260,7 @@ def test_method_upload(self, client: Telnyx) -> None: ) assert_matches_type(MediaUploadResponse, media, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_upload_with_all_params(self, client: Telnyx) -> None: media = client.media.upload( @@ -251,6 +270,7 @@ def test_method_upload_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(MediaUploadResponse, media, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_upload(self, client: Telnyx) -> None: response = client.media.with_raw_response.upload( @@ -262,6 +282,7 @@ def test_raw_response_upload(self, client: Telnyx) -> None: media = response.parse() assert_matches_type(MediaUploadResponse, media, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_upload(self, client: Telnyx) -> None: with client.media.with_streaming_response.upload( @@ -281,6 +302,7 @@ class TestAsyncMedia: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: media = await async_client.media.retrieve( @@ -288,6 +310,7 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(MediaRetrieveResponse, media, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.media.with_raw_response.retrieve( @@ -299,6 +322,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: media = await response.parse() assert_matches_type(MediaRetrieveResponse, media, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.media.with_streaming_response.retrieve( @@ -312,6 +336,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `media_name` but received ''"): @@ -319,6 +344,7 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update(self, async_client: AsyncTelnyx) -> None: media = await async_client.media.update( @@ -326,6 +352,7 @@ async def test_method_update(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(MediaUpdateResponse, media, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> None: media = await async_client.media.update( @@ -335,6 +362,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(MediaUpdateResponse, media, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: response = await async_client.media.with_raw_response.update( @@ -346,6 +374,7 @@ async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: media = await response.parse() assert_matches_type(MediaUpdateResponse, media, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> None: async with async_client.media.with_streaming_response.update( @@ -359,6 +388,7 @@ async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `media_name` but received ''"): @@ -366,11 +396,13 @@ async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: media_name="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: media = await async_client.media.list() assert_matches_type(MediaListResponse, media, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: media = await async_client.media.list( @@ -378,6 +410,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(MediaListResponse, media, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.media.with_raw_response.list() @@ -387,6 +420,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: media = await response.parse() assert_matches_type(MediaListResponse, media, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.media.with_streaming_response.list() as response: @@ -398,6 +432,7 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: media = await async_client.media.delete( @@ -405,6 +440,7 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert media is None + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.media.with_raw_response.delete( @@ -416,6 +452,7 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: media = await response.parse() assert media is None + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.media.with_streaming_response.delete( @@ -429,6 +466,7 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `media_name` but received ''"): @@ -486,6 +524,7 @@ async def test_path_params_download(self, async_client: AsyncTelnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_upload(self, async_client: AsyncTelnyx) -> None: media = await async_client.media.upload( @@ -493,6 +532,7 @@ async def test_method_upload(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(MediaUploadResponse, media, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_upload_with_all_params(self, async_client: AsyncTelnyx) -> None: media = await async_client.media.upload( @@ -502,6 +542,7 @@ async def test_method_upload_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(MediaUploadResponse, media, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_upload(self, async_client: AsyncTelnyx) -> None: response = await async_client.media.with_raw_response.upload( @@ -513,6 +554,7 @@ async def test_raw_response_upload(self, async_client: AsyncTelnyx) -> None: media = await response.parse() assert_matches_type(MediaUploadResponse, media, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_upload(self, async_client: AsyncTelnyx) -> None: async with async_client.media.with_streaming_response.upload( diff --git a/tests/api_resources/test_messages.py b/tests/api_resources/test_messages.py index 3c1a8533..21fa5beb 100644 --- a/tests/api_resources/test_messages.py +++ b/tests/api_resources/test_messages.py @@ -27,6 +27,7 @@ class TestMessages: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: message = client.messages.retrieve( @@ -34,6 +35,7 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(MessageRetrieveResponse, message, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.messages.with_raw_response.retrieve( @@ -45,6 +47,7 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: message = response.parse() assert_matches_type(MessageRetrieveResponse, message, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.messages.with_streaming_response.retrieve( @@ -58,6 +61,7 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -65,6 +69,7 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_cancel_scheduled(self, client: Telnyx) -> None: message = client.messages.cancel_scheduled( @@ -72,6 +77,7 @@ def test_method_cancel_scheduled(self, client: Telnyx) -> None: ) assert_matches_type(MessageCancelScheduledResponse, message, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_cancel_scheduled(self, client: Telnyx) -> None: response = client.messages.with_raw_response.cancel_scheduled( @@ -83,6 +89,7 @@ def test_raw_response_cancel_scheduled(self, client: Telnyx) -> None: message = response.parse() assert_matches_type(MessageCancelScheduledResponse, message, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_cancel_scheduled(self, client: Telnyx) -> None: with client.messages.with_streaming_response.cancel_scheduled( @@ -96,6 +103,7 @@ def test_streaming_response_cancel_scheduled(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_cancel_scheduled(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -103,6 +111,7 @@ def test_path_params_cancel_scheduled(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_schedule(self, client: Telnyx) -> None: message = client.messages.schedule( @@ -110,6 +119,7 @@ def test_method_schedule(self, client: Telnyx) -> None: ) assert_matches_type(MessageScheduleResponse, message, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_schedule_with_all_params(self, client: Telnyx) -> None: message = client.messages.schedule( @@ -128,6 +138,7 @@ def test_method_schedule_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(MessageScheduleResponse, message, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_schedule(self, client: Telnyx) -> None: response = client.messages.with_raw_response.schedule( @@ -139,6 +150,7 @@ def test_raw_response_schedule(self, client: Telnyx) -> None: message = response.parse() assert_matches_type(MessageScheduleResponse, message, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_schedule(self, client: Telnyx) -> None: with client.messages.with_streaming_response.schedule( @@ -152,6 +164,7 @@ def test_streaming_response_schedule(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_send(self, client: Telnyx) -> None: message = client.messages.send( @@ -159,6 +172,7 @@ def test_method_send(self, client: Telnyx) -> None: ) assert_matches_type(MessageSendResponse, message, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_send_with_all_params(self, client: Telnyx) -> None: message = client.messages.send( @@ -177,6 +191,7 @@ def test_method_send_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(MessageSendResponse, message, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_send(self, client: Telnyx) -> None: response = client.messages.with_raw_response.send( @@ -188,6 +203,7 @@ def test_raw_response_send(self, client: Telnyx) -> None: message = response.parse() assert_matches_type(MessageSendResponse, message, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_send(self, client: Telnyx) -> None: with client.messages.with_streaming_response.send( @@ -201,6 +217,7 @@ def test_streaming_response_send(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_send_group_mms(self, client: Telnyx) -> None: message = client.messages.send_group_mms( @@ -209,6 +226,7 @@ def test_method_send_group_mms(self, client: Telnyx) -> None: ) assert_matches_type(MessageSendGroupMmsResponse, message, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_send_group_mms_with_all_params(self, client: Telnyx) -> None: message = client.messages.send_group_mms( @@ -223,6 +241,7 @@ def test_method_send_group_mms_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(MessageSendGroupMmsResponse, message, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_send_group_mms(self, client: Telnyx) -> None: response = client.messages.with_raw_response.send_group_mms( @@ -235,6 +254,7 @@ def test_raw_response_send_group_mms(self, client: Telnyx) -> None: message = response.parse() assert_matches_type(MessageSendGroupMmsResponse, message, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_send_group_mms(self, client: Telnyx) -> None: with client.messages.with_streaming_response.send_group_mms( @@ -249,6 +269,7 @@ def test_streaming_response_send_group_mms(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_send_long_code(self, client: Telnyx) -> None: message = client.messages.send_long_code( @@ -257,6 +278,7 @@ def test_method_send_long_code(self, client: Telnyx) -> None: ) assert_matches_type(MessageSendLongCodeResponse, message, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_send_long_code_with_all_params(self, client: Telnyx) -> None: message = client.messages.send_long_code( @@ -273,6 +295,7 @@ def test_method_send_long_code_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(MessageSendLongCodeResponse, message, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_send_long_code(self, client: Telnyx) -> None: response = client.messages.with_raw_response.send_long_code( @@ -285,6 +308,7 @@ def test_raw_response_send_long_code(self, client: Telnyx) -> None: message = response.parse() assert_matches_type(MessageSendLongCodeResponse, message, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_send_long_code(self, client: Telnyx) -> None: with client.messages.with_streaming_response.send_long_code( @@ -299,6 +323,7 @@ def test_streaming_response_send_long_code(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_send_number_pool(self, client: Telnyx) -> None: message = client.messages.send_number_pool( @@ -307,6 +332,7 @@ def test_method_send_number_pool(self, client: Telnyx) -> None: ) assert_matches_type(MessageSendNumberPoolResponse, message, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_send_number_pool_with_all_params(self, client: Telnyx) -> None: message = client.messages.send_number_pool( @@ -323,6 +349,7 @@ def test_method_send_number_pool_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(MessageSendNumberPoolResponse, message, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_send_number_pool(self, client: Telnyx) -> None: response = client.messages.with_raw_response.send_number_pool( @@ -335,6 +362,7 @@ def test_raw_response_send_number_pool(self, client: Telnyx) -> None: message = response.parse() assert_matches_type(MessageSendNumberPoolResponse, message, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_send_number_pool(self, client: Telnyx) -> None: with client.messages.with_streaming_response.send_number_pool( @@ -349,6 +377,7 @@ def test_streaming_response_send_number_pool(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_send_short_code(self, client: Telnyx) -> None: message = client.messages.send_short_code( @@ -357,6 +386,7 @@ def test_method_send_short_code(self, client: Telnyx) -> None: ) assert_matches_type(MessageSendShortCodeResponse, message, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_send_short_code_with_all_params(self, client: Telnyx) -> None: message = client.messages.send_short_code( @@ -373,6 +403,7 @@ def test_method_send_short_code_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(MessageSendShortCodeResponse, message, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_send_short_code(self, client: Telnyx) -> None: response = client.messages.with_raw_response.send_short_code( @@ -385,6 +416,7 @@ def test_raw_response_send_short_code(self, client: Telnyx) -> None: message = response.parse() assert_matches_type(MessageSendShortCodeResponse, message, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_send_short_code(self, client: Telnyx) -> None: with client.messages.with_streaming_response.send_short_code( @@ -405,6 +437,7 @@ class TestAsyncMessages: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: message = await async_client.messages.retrieve( @@ -412,6 +445,7 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(MessageRetrieveResponse, message, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.messages.with_raw_response.retrieve( @@ -423,6 +457,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: message = await response.parse() assert_matches_type(MessageRetrieveResponse, message, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.messages.with_streaming_response.retrieve( @@ -436,6 +471,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -443,6 +479,7 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_cancel_scheduled(self, async_client: AsyncTelnyx) -> None: message = await async_client.messages.cancel_scheduled( @@ -450,6 +487,7 @@ async def test_method_cancel_scheduled(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(MessageCancelScheduledResponse, message, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_cancel_scheduled(self, async_client: AsyncTelnyx) -> None: response = await async_client.messages.with_raw_response.cancel_scheduled( @@ -461,6 +499,7 @@ async def test_raw_response_cancel_scheduled(self, async_client: AsyncTelnyx) -> message = await response.parse() assert_matches_type(MessageCancelScheduledResponse, message, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_cancel_scheduled(self, async_client: AsyncTelnyx) -> None: async with async_client.messages.with_streaming_response.cancel_scheduled( @@ -474,6 +513,7 @@ async def test_streaming_response_cancel_scheduled(self, async_client: AsyncTeln assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_cancel_scheduled(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -481,6 +521,7 @@ async def test_path_params_cancel_scheduled(self, async_client: AsyncTelnyx) -> "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_schedule(self, async_client: AsyncTelnyx) -> None: message = await async_client.messages.schedule( @@ -488,6 +529,7 @@ async def test_method_schedule(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(MessageScheduleResponse, message, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_schedule_with_all_params(self, async_client: AsyncTelnyx) -> None: message = await async_client.messages.schedule( @@ -506,6 +548,7 @@ async def test_method_schedule_with_all_params(self, async_client: AsyncTelnyx) ) assert_matches_type(MessageScheduleResponse, message, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_schedule(self, async_client: AsyncTelnyx) -> None: response = await async_client.messages.with_raw_response.schedule( @@ -517,6 +560,7 @@ async def test_raw_response_schedule(self, async_client: AsyncTelnyx) -> None: message = await response.parse() assert_matches_type(MessageScheduleResponse, message, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_schedule(self, async_client: AsyncTelnyx) -> None: async with async_client.messages.with_streaming_response.schedule( @@ -530,6 +574,7 @@ async def test_streaming_response_schedule(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_send(self, async_client: AsyncTelnyx) -> None: message = await async_client.messages.send( @@ -537,6 +582,7 @@ async def test_method_send(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(MessageSendResponse, message, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_send_with_all_params(self, async_client: AsyncTelnyx) -> None: message = await async_client.messages.send( @@ -555,6 +601,7 @@ async def test_method_send_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(MessageSendResponse, message, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_send(self, async_client: AsyncTelnyx) -> None: response = await async_client.messages.with_raw_response.send( @@ -566,6 +613,7 @@ async def test_raw_response_send(self, async_client: AsyncTelnyx) -> None: message = await response.parse() assert_matches_type(MessageSendResponse, message, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_send(self, async_client: AsyncTelnyx) -> None: async with async_client.messages.with_streaming_response.send( @@ -579,6 +627,7 @@ async def test_streaming_response_send(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_send_group_mms(self, async_client: AsyncTelnyx) -> None: message = await async_client.messages.send_group_mms( @@ -587,6 +636,7 @@ async def test_method_send_group_mms(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(MessageSendGroupMmsResponse, message, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_send_group_mms_with_all_params(self, async_client: AsyncTelnyx) -> None: message = await async_client.messages.send_group_mms( @@ -601,6 +651,7 @@ async def test_method_send_group_mms_with_all_params(self, async_client: AsyncTe ) assert_matches_type(MessageSendGroupMmsResponse, message, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_send_group_mms(self, async_client: AsyncTelnyx) -> None: response = await async_client.messages.with_raw_response.send_group_mms( @@ -613,6 +664,7 @@ async def test_raw_response_send_group_mms(self, async_client: AsyncTelnyx) -> N message = await response.parse() assert_matches_type(MessageSendGroupMmsResponse, message, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_send_group_mms(self, async_client: AsyncTelnyx) -> None: async with async_client.messages.with_streaming_response.send_group_mms( @@ -627,6 +679,7 @@ async def test_streaming_response_send_group_mms(self, async_client: AsyncTelnyx assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_send_long_code(self, async_client: AsyncTelnyx) -> None: message = await async_client.messages.send_long_code( @@ -635,6 +688,7 @@ async def test_method_send_long_code(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(MessageSendLongCodeResponse, message, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_send_long_code_with_all_params(self, async_client: AsyncTelnyx) -> None: message = await async_client.messages.send_long_code( @@ -651,6 +705,7 @@ async def test_method_send_long_code_with_all_params(self, async_client: AsyncTe ) assert_matches_type(MessageSendLongCodeResponse, message, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_send_long_code(self, async_client: AsyncTelnyx) -> None: response = await async_client.messages.with_raw_response.send_long_code( @@ -663,6 +718,7 @@ async def test_raw_response_send_long_code(self, async_client: AsyncTelnyx) -> N message = await response.parse() assert_matches_type(MessageSendLongCodeResponse, message, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_send_long_code(self, async_client: AsyncTelnyx) -> None: async with async_client.messages.with_streaming_response.send_long_code( @@ -677,6 +733,7 @@ async def test_streaming_response_send_long_code(self, async_client: AsyncTelnyx assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_send_number_pool(self, async_client: AsyncTelnyx) -> None: message = await async_client.messages.send_number_pool( @@ -685,6 +742,7 @@ async def test_method_send_number_pool(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(MessageSendNumberPoolResponse, message, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_send_number_pool_with_all_params(self, async_client: AsyncTelnyx) -> None: message = await async_client.messages.send_number_pool( @@ -701,6 +759,7 @@ async def test_method_send_number_pool_with_all_params(self, async_client: Async ) assert_matches_type(MessageSendNumberPoolResponse, message, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_send_number_pool(self, async_client: AsyncTelnyx) -> None: response = await async_client.messages.with_raw_response.send_number_pool( @@ -713,6 +772,7 @@ async def test_raw_response_send_number_pool(self, async_client: AsyncTelnyx) -> message = await response.parse() assert_matches_type(MessageSendNumberPoolResponse, message, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_send_number_pool(self, async_client: AsyncTelnyx) -> None: async with async_client.messages.with_streaming_response.send_number_pool( @@ -727,6 +787,7 @@ async def test_streaming_response_send_number_pool(self, async_client: AsyncTeln assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_send_short_code(self, async_client: AsyncTelnyx) -> None: message = await async_client.messages.send_short_code( @@ -735,6 +796,7 @@ async def test_method_send_short_code(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(MessageSendShortCodeResponse, message, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_send_short_code_with_all_params(self, async_client: AsyncTelnyx) -> None: message = await async_client.messages.send_short_code( @@ -751,6 +813,7 @@ async def test_method_send_short_code_with_all_params(self, async_client: AsyncT ) assert_matches_type(MessageSendShortCodeResponse, message, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_send_short_code(self, async_client: AsyncTelnyx) -> None: response = await async_client.messages.with_raw_response.send_short_code( @@ -763,6 +826,7 @@ async def test_raw_response_send_short_code(self, async_client: AsyncTelnyx) -> message = await response.parse() assert_matches_type(MessageSendShortCodeResponse, message, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_send_short_code(self, async_client: AsyncTelnyx) -> None: async with async_client.messages.with_streaming_response.send_short_code( diff --git a/tests/api_resources/test_messaging_hosted_number_orders.py b/tests/api_resources/test_messaging_hosted_number_orders.py index 13da8e22..b51dad59 100644 --- a/tests/api_resources/test_messaging_hosted_number_orders.py +++ b/tests/api_resources/test_messaging_hosted_number_orders.py @@ -25,11 +25,13 @@ class TestMessagingHostedNumberOrders: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: messaging_hosted_number_order = client.messaging_hosted_number_orders.create() assert_matches_type(MessagingHostedNumberOrderCreateResponse, messaging_hosted_number_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: messaging_hosted_number_order = client.messaging_hosted_number_orders.create( @@ -38,6 +40,7 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(MessagingHostedNumberOrderCreateResponse, messaging_hosted_number_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.messaging_hosted_number_orders.with_raw_response.create() @@ -47,6 +50,7 @@ def test_raw_response_create(self, client: Telnyx) -> None: messaging_hosted_number_order = response.parse() assert_matches_type(MessagingHostedNumberOrderCreateResponse, messaging_hosted_number_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.messaging_hosted_number_orders.with_streaming_response.create() as response: @@ -60,6 +64,7 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: messaging_hosted_number_order = client.messaging_hosted_number_orders.retrieve( @@ -69,6 +74,7 @@ def test_method_retrieve(self, client: Telnyx) -> None: MessagingHostedNumberOrderRetrieveResponse, messaging_hosted_number_order, path=["response"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.messaging_hosted_number_orders.with_raw_response.retrieve( @@ -82,6 +88,7 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: MessagingHostedNumberOrderRetrieveResponse, messaging_hosted_number_order, path=["response"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.messaging_hosted_number_orders.with_streaming_response.retrieve( @@ -97,6 +104,7 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -104,11 +112,13 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: messaging_hosted_number_order = client.messaging_hosted_number_orders.list() assert_matches_type(MessagingHostedNumberOrderListResponse, messaging_hosted_number_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: messaging_hosted_number_order = client.messaging_hosted_number_orders.list( @@ -119,6 +129,7 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(MessagingHostedNumberOrderListResponse, messaging_hosted_number_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.messaging_hosted_number_orders.with_raw_response.list() @@ -128,6 +139,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: messaging_hosted_number_order = response.parse() assert_matches_type(MessagingHostedNumberOrderListResponse, messaging_hosted_number_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.messaging_hosted_number_orders.with_streaming_response.list() as response: @@ -141,6 +153,7 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: messaging_hosted_number_order = client.messaging_hosted_number_orders.delete( @@ -148,6 +161,7 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert_matches_type(MessagingHostedNumberOrderDeleteResponse, messaging_hosted_number_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.messaging_hosted_number_orders.with_raw_response.delete( @@ -159,6 +173,7 @@ def test_raw_response_delete(self, client: Telnyx) -> None: messaging_hosted_number_order = response.parse() assert_matches_type(MessagingHostedNumberOrderDeleteResponse, messaging_hosted_number_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.messaging_hosted_number_orders.with_streaming_response.delete( @@ -174,6 +189,7 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -181,6 +197,7 @@ def test_path_params_delete(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_check_eligibility(self, client: Telnyx) -> None: messaging_hosted_number_order = client.messaging_hosted_number_orders.check_eligibility( @@ -190,6 +207,7 @@ def test_method_check_eligibility(self, client: Telnyx) -> None: MessagingHostedNumberOrderCheckEligibilityResponse, messaging_hosted_number_order, path=["response"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_check_eligibility(self, client: Telnyx) -> None: response = client.messaging_hosted_number_orders.with_raw_response.check_eligibility( @@ -203,6 +221,7 @@ def test_raw_response_check_eligibility(self, client: Telnyx) -> None: MessagingHostedNumberOrderCheckEligibilityResponse, messaging_hosted_number_order, path=["response"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_check_eligibility(self, client: Telnyx) -> None: with client.messaging_hosted_number_orders.with_streaming_response.check_eligibility( @@ -218,6 +237,7 @@ def test_streaming_response_check_eligibility(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_verification_codes(self, client: Telnyx) -> None: messaging_hosted_number_order = client.messaging_hosted_number_orders.create_verification_codes( @@ -229,6 +249,7 @@ def test_method_create_verification_codes(self, client: Telnyx) -> None: MessagingHostedNumberOrderCreateVerificationCodesResponse, messaging_hosted_number_order, path=["response"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create_verification_codes(self, client: Telnyx) -> None: response = client.messaging_hosted_number_orders.with_raw_response.create_verification_codes( @@ -244,6 +265,7 @@ def test_raw_response_create_verification_codes(self, client: Telnyx) -> None: MessagingHostedNumberOrderCreateVerificationCodesResponse, messaging_hosted_number_order, path=["response"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create_verification_codes(self, client: Telnyx) -> None: with client.messaging_hosted_number_orders.with_streaming_response.create_verification_codes( @@ -263,6 +285,7 @@ def test_streaming_response_create_verification_codes(self, client: Telnyx) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_create_verification_codes(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -272,6 +295,7 @@ def test_path_params_create_verification_codes(self, client: Telnyx) -> None: verification_method="sms", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_validate_codes(self, client: Telnyx) -> None: messaging_hosted_number_order = client.messaging_hosted_number_orders.validate_codes( @@ -287,6 +311,7 @@ def test_method_validate_codes(self, client: Telnyx) -> None: MessagingHostedNumberOrderValidateCodesResponse, messaging_hosted_number_order, path=["response"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_validate_codes(self, client: Telnyx) -> None: response = client.messaging_hosted_number_orders.with_raw_response.validate_codes( @@ -306,6 +331,7 @@ def test_raw_response_validate_codes(self, client: Telnyx) -> None: MessagingHostedNumberOrderValidateCodesResponse, messaging_hosted_number_order, path=["response"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_validate_codes(self, client: Telnyx) -> None: with client.messaging_hosted_number_orders.with_streaming_response.validate_codes( @@ -327,6 +353,7 @@ def test_streaming_response_validate_codes(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_validate_codes(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -346,11 +373,13 @@ class TestAsyncMessagingHostedNumberOrders: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: messaging_hosted_number_order = await async_client.messaging_hosted_number_orders.create() assert_matches_type(MessagingHostedNumberOrderCreateResponse, messaging_hosted_number_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: messaging_hosted_number_order = await async_client.messaging_hosted_number_orders.create( @@ -359,6 +388,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(MessagingHostedNumberOrderCreateResponse, messaging_hosted_number_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.messaging_hosted_number_orders.with_raw_response.create() @@ -368,6 +398,7 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: messaging_hosted_number_order = await response.parse() assert_matches_type(MessagingHostedNumberOrderCreateResponse, messaging_hosted_number_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.messaging_hosted_number_orders.with_streaming_response.create() as response: @@ -381,6 +412,7 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: messaging_hosted_number_order = await async_client.messaging_hosted_number_orders.retrieve( @@ -390,6 +422,7 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: MessagingHostedNumberOrderRetrieveResponse, messaging_hosted_number_order, path=["response"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.messaging_hosted_number_orders.with_raw_response.retrieve( @@ -403,6 +436,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: MessagingHostedNumberOrderRetrieveResponse, messaging_hosted_number_order, path=["response"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.messaging_hosted_number_orders.with_streaming_response.retrieve( @@ -418,6 +452,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -425,11 +460,13 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: messaging_hosted_number_order = await async_client.messaging_hosted_number_orders.list() assert_matches_type(MessagingHostedNumberOrderListResponse, messaging_hosted_number_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: messaging_hosted_number_order = await async_client.messaging_hosted_number_orders.list( @@ -440,6 +477,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(MessagingHostedNumberOrderListResponse, messaging_hosted_number_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.messaging_hosted_number_orders.with_raw_response.list() @@ -449,6 +487,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: messaging_hosted_number_order = await response.parse() assert_matches_type(MessagingHostedNumberOrderListResponse, messaging_hosted_number_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.messaging_hosted_number_orders.with_streaming_response.list() as response: @@ -462,6 +501,7 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: messaging_hosted_number_order = await async_client.messaging_hosted_number_orders.delete( @@ -469,6 +509,7 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(MessagingHostedNumberOrderDeleteResponse, messaging_hosted_number_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.messaging_hosted_number_orders.with_raw_response.delete( @@ -480,6 +521,7 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: messaging_hosted_number_order = await response.parse() assert_matches_type(MessagingHostedNumberOrderDeleteResponse, messaging_hosted_number_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.messaging_hosted_number_orders.with_streaming_response.delete( @@ -495,6 +537,7 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -502,6 +545,7 @@ async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_check_eligibility(self, async_client: AsyncTelnyx) -> None: messaging_hosted_number_order = await async_client.messaging_hosted_number_orders.check_eligibility( @@ -511,6 +555,7 @@ async def test_method_check_eligibility(self, async_client: AsyncTelnyx) -> None MessagingHostedNumberOrderCheckEligibilityResponse, messaging_hosted_number_order, path=["response"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_check_eligibility(self, async_client: AsyncTelnyx) -> None: response = await async_client.messaging_hosted_number_orders.with_raw_response.check_eligibility( @@ -524,6 +569,7 @@ async def test_raw_response_check_eligibility(self, async_client: AsyncTelnyx) - MessagingHostedNumberOrderCheckEligibilityResponse, messaging_hosted_number_order, path=["response"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_check_eligibility(self, async_client: AsyncTelnyx) -> None: async with async_client.messaging_hosted_number_orders.with_streaming_response.check_eligibility( @@ -539,6 +585,7 @@ async def test_streaming_response_check_eligibility(self, async_client: AsyncTel assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_verification_codes(self, async_client: AsyncTelnyx) -> None: messaging_hosted_number_order = await async_client.messaging_hosted_number_orders.create_verification_codes( @@ -550,6 +597,7 @@ async def test_method_create_verification_codes(self, async_client: AsyncTelnyx) MessagingHostedNumberOrderCreateVerificationCodesResponse, messaging_hosted_number_order, path=["response"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create_verification_codes(self, async_client: AsyncTelnyx) -> None: response = await async_client.messaging_hosted_number_orders.with_raw_response.create_verification_codes( @@ -565,6 +613,7 @@ async def test_raw_response_create_verification_codes(self, async_client: AsyncT MessagingHostedNumberOrderCreateVerificationCodesResponse, messaging_hosted_number_order, path=["response"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create_verification_codes(self, async_client: AsyncTelnyx) -> None: async with async_client.messaging_hosted_number_orders.with_streaming_response.create_verification_codes( @@ -584,6 +633,7 @@ async def test_streaming_response_create_verification_codes(self, async_client: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_create_verification_codes(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -593,6 +643,7 @@ async def test_path_params_create_verification_codes(self, async_client: AsyncTe verification_method="sms", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_validate_codes(self, async_client: AsyncTelnyx) -> None: messaging_hosted_number_order = await async_client.messaging_hosted_number_orders.validate_codes( @@ -608,6 +659,7 @@ async def test_method_validate_codes(self, async_client: AsyncTelnyx) -> None: MessagingHostedNumberOrderValidateCodesResponse, messaging_hosted_number_order, path=["response"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_validate_codes(self, async_client: AsyncTelnyx) -> None: response = await async_client.messaging_hosted_number_orders.with_raw_response.validate_codes( @@ -627,6 +679,7 @@ async def test_raw_response_validate_codes(self, async_client: AsyncTelnyx) -> N MessagingHostedNumberOrderValidateCodesResponse, messaging_hosted_number_order, path=["response"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_validate_codes(self, async_client: AsyncTelnyx) -> None: async with async_client.messaging_hosted_number_orders.with_streaming_response.validate_codes( @@ -648,6 +701,7 @@ async def test_streaming_response_validate_codes(self, async_client: AsyncTelnyx assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_validate_codes(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): diff --git a/tests/api_resources/test_messaging_hosted_numbers.py b/tests/api_resources/test_messaging_hosted_numbers.py index c17d29b1..d6e8d2ff 100644 --- a/tests/api_resources/test_messaging_hosted_numbers.py +++ b/tests/api_resources/test_messaging_hosted_numbers.py @@ -17,6 +17,7 @@ class TestMessagingHostedNumbers: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: messaging_hosted_number = client.messaging_hosted_numbers.delete( @@ -24,6 +25,7 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert_matches_type(MessagingHostedNumberDeleteResponse, messaging_hosted_number, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.messaging_hosted_numbers.with_raw_response.delete( @@ -35,6 +37,7 @@ def test_raw_response_delete(self, client: Telnyx) -> None: messaging_hosted_number = response.parse() assert_matches_type(MessagingHostedNumberDeleteResponse, messaging_hosted_number, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.messaging_hosted_numbers.with_streaming_response.delete( @@ -48,6 +51,7 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -61,6 +65,7 @@ class TestAsyncMessagingHostedNumbers: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: messaging_hosted_number = await async_client.messaging_hosted_numbers.delete( @@ -68,6 +73,7 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(MessagingHostedNumberDeleteResponse, messaging_hosted_number, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.messaging_hosted_numbers.with_raw_response.delete( @@ -79,6 +85,7 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: messaging_hosted_number = await response.parse() assert_matches_type(MessagingHostedNumberDeleteResponse, messaging_hosted_number, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.messaging_hosted_numbers.with_streaming_response.delete( @@ -92,6 +99,7 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): diff --git a/tests/api_resources/test_messaging_numbers_bulk_updates.py b/tests/api_resources/test_messaging_numbers_bulk_updates.py index 4c1b3ad8..5991d6a8 100644 --- a/tests/api_resources/test_messaging_numbers_bulk_updates.py +++ b/tests/api_resources/test_messaging_numbers_bulk_updates.py @@ -20,6 +20,7 @@ class TestMessagingNumbersBulkUpdates: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: messaging_numbers_bulk_update = client.messaging_numbers_bulk_updates.create( @@ -28,6 +29,7 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(MessagingNumbersBulkUpdateCreateResponse, messaging_numbers_bulk_update, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.messaging_numbers_bulk_updates.with_raw_response.create( @@ -40,6 +42,7 @@ def test_raw_response_create(self, client: Telnyx) -> None: messaging_numbers_bulk_update = response.parse() assert_matches_type(MessagingNumbersBulkUpdateCreateResponse, messaging_numbers_bulk_update, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.messaging_numbers_bulk_updates.with_streaming_response.create( @@ -56,6 +59,7 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: messaging_numbers_bulk_update = client.messaging_numbers_bulk_updates.retrieve( @@ -65,6 +69,7 @@ def test_method_retrieve(self, client: Telnyx) -> None: MessagingNumbersBulkUpdateRetrieveResponse, messaging_numbers_bulk_update, path=["response"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.messaging_numbers_bulk_updates.with_raw_response.retrieve( @@ -78,6 +83,7 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: MessagingNumbersBulkUpdateRetrieveResponse, messaging_numbers_bulk_update, path=["response"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.messaging_numbers_bulk_updates.with_streaming_response.retrieve( @@ -93,6 +99,7 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `order_id` but received ''"): @@ -106,6 +113,7 @@ class TestAsyncMessagingNumbersBulkUpdates: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: messaging_numbers_bulk_update = await async_client.messaging_numbers_bulk_updates.create( @@ -114,6 +122,7 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(MessagingNumbersBulkUpdateCreateResponse, messaging_numbers_bulk_update, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.messaging_numbers_bulk_updates.with_raw_response.create( @@ -126,6 +135,7 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: messaging_numbers_bulk_update = await response.parse() assert_matches_type(MessagingNumbersBulkUpdateCreateResponse, messaging_numbers_bulk_update, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.messaging_numbers_bulk_updates.with_streaming_response.create( @@ -142,6 +152,7 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: messaging_numbers_bulk_update = await async_client.messaging_numbers_bulk_updates.retrieve( @@ -151,6 +162,7 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: MessagingNumbersBulkUpdateRetrieveResponse, messaging_numbers_bulk_update, path=["response"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.messaging_numbers_bulk_updates.with_raw_response.retrieve( @@ -164,6 +176,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: MessagingNumbersBulkUpdateRetrieveResponse, messaging_numbers_bulk_update, path=["response"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.messaging_numbers_bulk_updates.with_streaming_response.retrieve( @@ -179,6 +192,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `order_id` but received ''"): diff --git a/tests/api_resources/test_messaging_optouts.py b/tests/api_resources/test_messaging_optouts.py index 27f935e7..771cb261 100644 --- a/tests/api_resources/test_messaging_optouts.py +++ b/tests/api_resources/test_messaging_optouts.py @@ -18,11 +18,13 @@ class TestMessagingOptouts: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: messaging_optout = client.messaging_optouts.list() assert_matches_type(MessagingOptoutListResponse, messaging_optout, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: messaging_optout = client.messaging_optouts.list( @@ -42,6 +44,7 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(MessagingOptoutListResponse, messaging_optout, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.messaging_optouts.with_raw_response.list() @@ -51,6 +54,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: messaging_optout = response.parse() assert_matches_type(MessagingOptoutListResponse, messaging_optout, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.messaging_optouts.with_streaming_response.list() as response: @@ -68,11 +72,13 @@ class TestAsyncMessagingOptouts: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: messaging_optout = await async_client.messaging_optouts.list() assert_matches_type(MessagingOptoutListResponse, messaging_optout, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: messaging_optout = await async_client.messaging_optouts.list( @@ -92,6 +98,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(MessagingOptoutListResponse, messaging_optout, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.messaging_optouts.with_raw_response.list() @@ -101,6 +108,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: messaging_optout = await response.parse() assert_matches_type(MessagingOptoutListResponse, messaging_optout, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.messaging_optouts.with_streaming_response.list() as response: diff --git a/tests/api_resources/test_messaging_profiles.py b/tests/api_resources/test_messaging_profiles.py index 856c5fe0..fdb96a8c 100644 --- a/tests/api_resources/test_messaging_profiles.py +++ b/tests/api_resources/test_messaging_profiles.py @@ -25,6 +25,7 @@ class TestMessagingProfiles: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: messaging_profile = client.messaging_profiles.create( @@ -33,6 +34,7 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(MessagingProfileCreateResponse, messaging_profile, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: messaging_profile = client.messaging_profiles.create( @@ -63,6 +65,7 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(MessagingProfileCreateResponse, messaging_profile, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.messaging_profiles.with_raw_response.create( @@ -75,6 +78,7 @@ def test_raw_response_create(self, client: Telnyx) -> None: messaging_profile = response.parse() assert_matches_type(MessagingProfileCreateResponse, messaging_profile, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.messaging_profiles.with_streaming_response.create( @@ -89,6 +93,7 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: messaging_profile = client.messaging_profiles.retrieve( @@ -96,6 +101,7 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(MessagingProfileRetrieveResponse, messaging_profile, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.messaging_profiles.with_raw_response.retrieve( @@ -107,6 +113,7 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: messaging_profile = response.parse() assert_matches_type(MessagingProfileRetrieveResponse, messaging_profile, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.messaging_profiles.with_streaming_response.retrieve( @@ -120,6 +127,7 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -127,6 +135,7 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update(self, client: Telnyx) -> None: messaging_profile = client.messaging_profiles.update( @@ -134,6 +143,7 @@ def test_method_update(self, client: Telnyx) -> None: ) assert_matches_type(MessagingProfileUpdateResponse, messaging_profile, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_with_all_params(self, client: Telnyx) -> None: messaging_profile = client.messaging_profiles.update( @@ -166,6 +176,7 @@ def test_method_update_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(MessagingProfileUpdateResponse, messaging_profile, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update(self, client: Telnyx) -> None: response = client.messaging_profiles.with_raw_response.update( @@ -177,6 +188,7 @@ def test_raw_response_update(self, client: Telnyx) -> None: messaging_profile = response.parse() assert_matches_type(MessagingProfileUpdateResponse, messaging_profile, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update(self, client: Telnyx) -> None: with client.messaging_profiles.with_streaming_response.update( @@ -190,6 +202,7 @@ def test_streaming_response_update(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -197,11 +210,13 @@ def test_path_params_update(self, client: Telnyx) -> None: id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: messaging_profile = client.messaging_profiles.list() assert_matches_type(MessagingProfileListResponse, messaging_profile, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: messaging_profile = client.messaging_profiles.list( @@ -213,6 +228,7 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(MessagingProfileListResponse, messaging_profile, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.messaging_profiles.with_raw_response.list() @@ -222,6 +238,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: messaging_profile = response.parse() assert_matches_type(MessagingProfileListResponse, messaging_profile, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.messaging_profiles.with_streaming_response.list() as response: @@ -233,6 +250,7 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: messaging_profile = client.messaging_profiles.delete( @@ -240,6 +258,7 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert_matches_type(MessagingProfileDeleteResponse, messaging_profile, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.messaging_profiles.with_raw_response.delete( @@ -251,6 +270,7 @@ def test_raw_response_delete(self, client: Telnyx) -> None: messaging_profile = response.parse() assert_matches_type(MessagingProfileDeleteResponse, messaging_profile, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.messaging_profiles.with_streaming_response.delete( @@ -264,6 +284,7 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -271,6 +292,7 @@ def test_path_params_delete(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_phone_numbers(self, client: Telnyx) -> None: messaging_profile = client.messaging_profiles.list_phone_numbers( @@ -278,6 +300,7 @@ def test_method_list_phone_numbers(self, client: Telnyx) -> None: ) assert_matches_type(MessagingProfileListPhoneNumbersResponse, messaging_profile, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_phone_numbers_with_all_params(self, client: Telnyx) -> None: messaging_profile = client.messaging_profiles.list_phone_numbers( @@ -289,6 +312,7 @@ def test_method_list_phone_numbers_with_all_params(self, client: Telnyx) -> None ) assert_matches_type(MessagingProfileListPhoneNumbersResponse, messaging_profile, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list_phone_numbers(self, client: Telnyx) -> None: response = client.messaging_profiles.with_raw_response.list_phone_numbers( @@ -300,6 +324,7 @@ def test_raw_response_list_phone_numbers(self, client: Telnyx) -> None: messaging_profile = response.parse() assert_matches_type(MessagingProfileListPhoneNumbersResponse, messaging_profile, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list_phone_numbers(self, client: Telnyx) -> None: with client.messaging_profiles.with_streaming_response.list_phone_numbers( @@ -313,6 +338,7 @@ def test_streaming_response_list_phone_numbers(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_list_phone_numbers(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -320,6 +346,7 @@ def test_path_params_list_phone_numbers(self, client: Telnyx) -> None: id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_short_codes(self, client: Telnyx) -> None: messaging_profile = client.messaging_profiles.list_short_codes( @@ -327,6 +354,7 @@ def test_method_list_short_codes(self, client: Telnyx) -> None: ) assert_matches_type(MessagingProfileListShortCodesResponse, messaging_profile, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_short_codes_with_all_params(self, client: Telnyx) -> None: messaging_profile = client.messaging_profiles.list_short_codes( @@ -338,6 +366,7 @@ def test_method_list_short_codes_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(MessagingProfileListShortCodesResponse, messaging_profile, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list_short_codes(self, client: Telnyx) -> None: response = client.messaging_profiles.with_raw_response.list_short_codes( @@ -349,6 +378,7 @@ def test_raw_response_list_short_codes(self, client: Telnyx) -> None: messaging_profile = response.parse() assert_matches_type(MessagingProfileListShortCodesResponse, messaging_profile, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list_short_codes(self, client: Telnyx) -> None: with client.messaging_profiles.with_streaming_response.list_short_codes( @@ -362,6 +392,7 @@ def test_streaming_response_list_short_codes(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_list_short_codes(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -375,6 +406,7 @@ class TestAsyncMessagingProfiles: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: messaging_profile = await async_client.messaging_profiles.create( @@ -383,6 +415,7 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(MessagingProfileCreateResponse, messaging_profile, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: messaging_profile = await async_client.messaging_profiles.create( @@ -413,6 +446,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(MessagingProfileCreateResponse, messaging_profile, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.messaging_profiles.with_raw_response.create( @@ -425,6 +459,7 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: messaging_profile = await response.parse() assert_matches_type(MessagingProfileCreateResponse, messaging_profile, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.messaging_profiles.with_streaming_response.create( @@ -439,6 +474,7 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: messaging_profile = await async_client.messaging_profiles.retrieve( @@ -446,6 +482,7 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(MessagingProfileRetrieveResponse, messaging_profile, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.messaging_profiles.with_raw_response.retrieve( @@ -457,6 +494,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: messaging_profile = await response.parse() assert_matches_type(MessagingProfileRetrieveResponse, messaging_profile, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.messaging_profiles.with_streaming_response.retrieve( @@ -470,6 +508,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -477,6 +516,7 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update(self, async_client: AsyncTelnyx) -> None: messaging_profile = await async_client.messaging_profiles.update( @@ -484,6 +524,7 @@ async def test_method_update(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(MessagingProfileUpdateResponse, messaging_profile, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> None: messaging_profile = await async_client.messaging_profiles.update( @@ -516,6 +557,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(MessagingProfileUpdateResponse, messaging_profile, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: response = await async_client.messaging_profiles.with_raw_response.update( @@ -527,6 +569,7 @@ async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: messaging_profile = await response.parse() assert_matches_type(MessagingProfileUpdateResponse, messaging_profile, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> None: async with async_client.messaging_profiles.with_streaming_response.update( @@ -540,6 +583,7 @@ async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -547,11 +591,13 @@ async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: messaging_profile = await async_client.messaging_profiles.list() assert_matches_type(MessagingProfileListResponse, messaging_profile, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: messaging_profile = await async_client.messaging_profiles.list( @@ -563,6 +609,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(MessagingProfileListResponse, messaging_profile, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.messaging_profiles.with_raw_response.list() @@ -572,6 +619,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: messaging_profile = await response.parse() assert_matches_type(MessagingProfileListResponse, messaging_profile, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.messaging_profiles.with_streaming_response.list() as response: @@ -583,6 +631,7 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: messaging_profile = await async_client.messaging_profiles.delete( @@ -590,6 +639,7 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(MessagingProfileDeleteResponse, messaging_profile, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.messaging_profiles.with_raw_response.delete( @@ -601,6 +651,7 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: messaging_profile = await response.parse() assert_matches_type(MessagingProfileDeleteResponse, messaging_profile, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.messaging_profiles.with_streaming_response.delete( @@ -614,6 +665,7 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -621,6 +673,7 @@ async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_phone_numbers(self, async_client: AsyncTelnyx) -> None: messaging_profile = await async_client.messaging_profiles.list_phone_numbers( @@ -628,6 +681,7 @@ async def test_method_list_phone_numbers(self, async_client: AsyncTelnyx) -> Non ) assert_matches_type(MessagingProfileListPhoneNumbersResponse, messaging_profile, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_phone_numbers_with_all_params(self, async_client: AsyncTelnyx) -> None: messaging_profile = await async_client.messaging_profiles.list_phone_numbers( @@ -639,6 +693,7 @@ async def test_method_list_phone_numbers_with_all_params(self, async_client: Asy ) assert_matches_type(MessagingProfileListPhoneNumbersResponse, messaging_profile, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list_phone_numbers(self, async_client: AsyncTelnyx) -> None: response = await async_client.messaging_profiles.with_raw_response.list_phone_numbers( @@ -650,6 +705,7 @@ async def test_raw_response_list_phone_numbers(self, async_client: AsyncTelnyx) messaging_profile = await response.parse() assert_matches_type(MessagingProfileListPhoneNumbersResponse, messaging_profile, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list_phone_numbers(self, async_client: AsyncTelnyx) -> None: async with async_client.messaging_profiles.with_streaming_response.list_phone_numbers( @@ -663,6 +719,7 @@ async def test_streaming_response_list_phone_numbers(self, async_client: AsyncTe assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_list_phone_numbers(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -670,6 +727,7 @@ async def test_path_params_list_phone_numbers(self, async_client: AsyncTelnyx) - id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_short_codes(self, async_client: AsyncTelnyx) -> None: messaging_profile = await async_client.messaging_profiles.list_short_codes( @@ -677,6 +735,7 @@ async def test_method_list_short_codes(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(MessagingProfileListShortCodesResponse, messaging_profile, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_short_codes_with_all_params(self, async_client: AsyncTelnyx) -> None: messaging_profile = await async_client.messaging_profiles.list_short_codes( @@ -688,6 +747,7 @@ async def test_method_list_short_codes_with_all_params(self, async_client: Async ) assert_matches_type(MessagingProfileListShortCodesResponse, messaging_profile, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list_short_codes(self, async_client: AsyncTelnyx) -> None: response = await async_client.messaging_profiles.with_raw_response.list_short_codes( @@ -699,6 +759,7 @@ async def test_raw_response_list_short_codes(self, async_client: AsyncTelnyx) -> messaging_profile = await response.parse() assert_matches_type(MessagingProfileListShortCodesResponse, messaging_profile, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list_short_codes(self, async_client: AsyncTelnyx) -> None: async with async_client.messaging_profiles.with_streaming_response.list_short_codes( @@ -712,6 +773,7 @@ async def test_streaming_response_list_short_codes(self, async_client: AsyncTeln assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_list_short_codes(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): diff --git a/tests/api_resources/test_messaging_url_domains.py b/tests/api_resources/test_messaging_url_domains.py index b419f095..9e80053d 100644 --- a/tests/api_resources/test_messaging_url_domains.py +++ b/tests/api_resources/test_messaging_url_domains.py @@ -17,11 +17,13 @@ class TestMessagingURLDomains: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: messaging_url_domain = client.messaging_url_domains.list() assert_matches_type(MessagingURLDomainListResponse, messaging_url_domain, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: messaging_url_domain = client.messaging_url_domains.list( @@ -32,6 +34,7 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(MessagingURLDomainListResponse, messaging_url_domain, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.messaging_url_domains.with_raw_response.list() @@ -41,6 +44,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: messaging_url_domain = response.parse() assert_matches_type(MessagingURLDomainListResponse, messaging_url_domain, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.messaging_url_domains.with_streaming_response.list() as response: @@ -58,11 +62,13 @@ class TestAsyncMessagingURLDomains: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: messaging_url_domain = await async_client.messaging_url_domains.list() assert_matches_type(MessagingURLDomainListResponse, messaging_url_domain, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: messaging_url_domain = await async_client.messaging_url_domains.list( @@ -73,6 +79,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(MessagingURLDomainListResponse, messaging_url_domain, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.messaging_url_domains.with_raw_response.list() @@ -82,6 +89,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: messaging_url_domain = await response.parse() assert_matches_type(MessagingURLDomainListResponse, messaging_url_domain, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.messaging_url_domains.with_streaming_response.list() as response: diff --git a/tests/api_resources/test_messsages.py b/tests/api_resources/test_messsages.py index 921877cf..66ddf264 100644 --- a/tests/api_resources/test_messsages.py +++ b/tests/api_resources/test_messsages.py @@ -18,6 +18,7 @@ class TestMesssages: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_rcs(self, client: Telnyx) -> None: messsage = client.messsages.rcs( @@ -28,6 +29,7 @@ def test_method_rcs(self, client: Telnyx) -> None: ) assert_matches_type(MesssageRcsResponse, messsage, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_rcs_with_all_params(self, client: Telnyx) -> None: messsage = client.messsages.rcs( @@ -202,6 +204,7 @@ def test_method_rcs_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(MesssageRcsResponse, messsage, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_rcs(self, client: Telnyx) -> None: response = client.messsages.with_raw_response.rcs( @@ -216,6 +219,7 @@ def test_raw_response_rcs(self, client: Telnyx) -> None: messsage = response.parse() assert_matches_type(MesssageRcsResponse, messsage, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_rcs(self, client: Telnyx) -> None: with client.messsages.with_streaming_response.rcs( @@ -238,6 +242,7 @@ class TestAsyncMesssages: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_rcs(self, async_client: AsyncTelnyx) -> None: messsage = await async_client.messsages.rcs( @@ -248,6 +253,7 @@ async def test_method_rcs(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(MesssageRcsResponse, messsage, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_rcs_with_all_params(self, async_client: AsyncTelnyx) -> None: messsage = await async_client.messsages.rcs( @@ -422,6 +428,7 @@ async def test_method_rcs_with_all_params(self, async_client: AsyncTelnyx) -> No ) assert_matches_type(MesssageRcsResponse, messsage, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_rcs(self, async_client: AsyncTelnyx) -> None: response = await async_client.messsages.with_raw_response.rcs( @@ -436,6 +443,7 @@ async def test_raw_response_rcs(self, async_client: AsyncTelnyx) -> None: messsage = await response.parse() assert_matches_type(MesssageRcsResponse, messsage, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_rcs(self, async_client: AsyncTelnyx) -> None: async with async_client.messsages.with_streaming_response.rcs( diff --git a/tests/api_resources/test_mobile_network_operators.py b/tests/api_resources/test_mobile_network_operators.py index e5761f81..dda6d7e5 100644 --- a/tests/api_resources/test_mobile_network_operators.py +++ b/tests/api_resources/test_mobile_network_operators.py @@ -17,11 +17,13 @@ class TestMobileNetworkOperators: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: mobile_network_operator = client.mobile_network_operators.list() assert_matches_type(MobileNetworkOperatorListResponse, mobile_network_operator, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: mobile_network_operator = client.mobile_network_operators.list( @@ -44,6 +46,7 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(MobileNetworkOperatorListResponse, mobile_network_operator, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.mobile_network_operators.with_raw_response.list() @@ -53,6 +56,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: mobile_network_operator = response.parse() assert_matches_type(MobileNetworkOperatorListResponse, mobile_network_operator, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.mobile_network_operators.with_streaming_response.list() as response: @@ -70,11 +74,13 @@ class TestAsyncMobileNetworkOperators: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: mobile_network_operator = await async_client.mobile_network_operators.list() assert_matches_type(MobileNetworkOperatorListResponse, mobile_network_operator, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: mobile_network_operator = await async_client.mobile_network_operators.list( @@ -97,6 +103,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(MobileNetworkOperatorListResponse, mobile_network_operator, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.mobile_network_operators.with_raw_response.list() @@ -106,6 +113,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: mobile_network_operator = await response.parse() assert_matches_type(MobileNetworkOperatorListResponse, mobile_network_operator, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.mobile_network_operators.with_streaming_response.list() as response: diff --git a/tests/api_resources/test_mobile_push_credentials.py b/tests/api_resources/test_mobile_push_credentials.py index 19dc29e2..dfa11670 100644 --- a/tests/api_resources/test_mobile_push_credentials.py +++ b/tests/api_resources/test_mobile_push_credentials.py @@ -20,6 +20,7 @@ class TestMobilePushCredentials: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_overload_1(self, client: Telnyx) -> None: mobile_push_credential = client.mobile_push_credentials.create( @@ -30,6 +31,7 @@ def test_method_create_overload_1(self, client: Telnyx) -> None: ) assert_matches_type(PushCredentialResponse, mobile_push_credential, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create_overload_1(self, client: Telnyx) -> None: response = client.mobile_push_credentials.with_raw_response.create( @@ -44,6 +46,7 @@ def test_raw_response_create_overload_1(self, client: Telnyx) -> None: mobile_push_credential = response.parse() assert_matches_type(PushCredentialResponse, mobile_push_credential, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create_overload_1(self, client: Telnyx) -> None: with client.mobile_push_credentials.with_streaming_response.create( @@ -60,6 +63,7 @@ def test_streaming_response_create_overload_1(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_overload_2(self, client: Telnyx) -> None: mobile_push_credential = client.mobile_push_credentials.create( @@ -72,6 +76,7 @@ def test_method_create_overload_2(self, client: Telnyx) -> None: ) assert_matches_type(PushCredentialResponse, mobile_push_credential, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create_overload_2(self, client: Telnyx) -> None: response = client.mobile_push_credentials.with_raw_response.create( @@ -88,6 +93,7 @@ def test_raw_response_create_overload_2(self, client: Telnyx) -> None: mobile_push_credential = response.parse() assert_matches_type(PushCredentialResponse, mobile_push_credential, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create_overload_2(self, client: Telnyx) -> None: with client.mobile_push_credentials.with_streaming_response.create( @@ -106,6 +112,7 @@ def test_streaming_response_create_overload_2(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: mobile_push_credential = client.mobile_push_credentials.retrieve( @@ -113,6 +120,7 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(PushCredentialResponse, mobile_push_credential, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.mobile_push_credentials.with_raw_response.retrieve( @@ -124,6 +132,7 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: mobile_push_credential = response.parse() assert_matches_type(PushCredentialResponse, mobile_push_credential, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.mobile_push_credentials.with_streaming_response.retrieve( @@ -137,6 +146,7 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `push_credential_id` but received ''"): @@ -144,11 +154,13 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: mobile_push_credential = client.mobile_push_credentials.list() assert_matches_type(MobilePushCredentialListResponse, mobile_push_credential, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: mobile_push_credential = client.mobile_push_credentials.list( @@ -163,6 +175,7 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(MobilePushCredentialListResponse, mobile_push_credential, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.mobile_push_credentials.with_raw_response.list() @@ -172,6 +185,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: mobile_push_credential = response.parse() assert_matches_type(MobilePushCredentialListResponse, mobile_push_credential, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.mobile_push_credentials.with_streaming_response.list() as response: @@ -183,6 +197,7 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: mobile_push_credential = client.mobile_push_credentials.delete( @@ -190,6 +205,7 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert mobile_push_credential is None + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.mobile_push_credentials.with_raw_response.delete( @@ -201,6 +217,7 @@ def test_raw_response_delete(self, client: Telnyx) -> None: mobile_push_credential = response.parse() assert mobile_push_credential is None + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.mobile_push_credentials.with_streaming_response.delete( @@ -214,6 +231,7 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `push_credential_id` but received ''"): @@ -227,6 +245,7 @@ class TestAsyncMobilePushCredentials: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_overload_1(self, async_client: AsyncTelnyx) -> None: mobile_push_credential = await async_client.mobile_push_credentials.create( @@ -237,6 +256,7 @@ async def test_method_create_overload_1(self, async_client: AsyncTelnyx) -> None ) assert_matches_type(PushCredentialResponse, mobile_push_credential, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create_overload_1(self, async_client: AsyncTelnyx) -> None: response = await async_client.mobile_push_credentials.with_raw_response.create( @@ -251,6 +271,7 @@ async def test_raw_response_create_overload_1(self, async_client: AsyncTelnyx) - mobile_push_credential = await response.parse() assert_matches_type(PushCredentialResponse, mobile_push_credential, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create_overload_1(self, async_client: AsyncTelnyx) -> None: async with async_client.mobile_push_credentials.with_streaming_response.create( @@ -267,6 +288,7 @@ async def test_streaming_response_create_overload_1(self, async_client: AsyncTel assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_overload_2(self, async_client: AsyncTelnyx) -> None: mobile_push_credential = await async_client.mobile_push_credentials.create( @@ -279,6 +301,7 @@ async def test_method_create_overload_2(self, async_client: AsyncTelnyx) -> None ) assert_matches_type(PushCredentialResponse, mobile_push_credential, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create_overload_2(self, async_client: AsyncTelnyx) -> None: response = await async_client.mobile_push_credentials.with_raw_response.create( @@ -295,6 +318,7 @@ async def test_raw_response_create_overload_2(self, async_client: AsyncTelnyx) - mobile_push_credential = await response.parse() assert_matches_type(PushCredentialResponse, mobile_push_credential, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create_overload_2(self, async_client: AsyncTelnyx) -> None: async with async_client.mobile_push_credentials.with_streaming_response.create( @@ -313,6 +337,7 @@ async def test_streaming_response_create_overload_2(self, async_client: AsyncTel assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: mobile_push_credential = await async_client.mobile_push_credentials.retrieve( @@ -320,6 +345,7 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(PushCredentialResponse, mobile_push_credential, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.mobile_push_credentials.with_raw_response.retrieve( @@ -331,6 +357,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: mobile_push_credential = await response.parse() assert_matches_type(PushCredentialResponse, mobile_push_credential, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.mobile_push_credentials.with_streaming_response.retrieve( @@ -344,6 +371,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `push_credential_id` but received ''"): @@ -351,11 +379,13 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: mobile_push_credential = await async_client.mobile_push_credentials.list() assert_matches_type(MobilePushCredentialListResponse, mobile_push_credential, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: mobile_push_credential = await async_client.mobile_push_credentials.list( @@ -370,6 +400,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(MobilePushCredentialListResponse, mobile_push_credential, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.mobile_push_credentials.with_raw_response.list() @@ -379,6 +410,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: mobile_push_credential = await response.parse() assert_matches_type(MobilePushCredentialListResponse, mobile_push_credential, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.mobile_push_credentials.with_streaming_response.list() as response: @@ -390,6 +422,7 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: mobile_push_credential = await async_client.mobile_push_credentials.delete( @@ -397,6 +430,7 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert mobile_push_credential is None + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.mobile_push_credentials.with_raw_response.delete( @@ -408,6 +442,7 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: mobile_push_credential = await response.parse() assert mobile_push_credential is None + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.mobile_push_credentials.with_streaming_response.delete( @@ -421,6 +456,7 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `push_credential_id` but received ''"): diff --git a/tests/api_resources/test_network_coverage.py b/tests/api_resources/test_network_coverage.py index b4e517a0..323ffc4d 100644 --- a/tests/api_resources/test_network_coverage.py +++ b/tests/api_resources/test_network_coverage.py @@ -17,11 +17,13 @@ class TestNetworkCoverage: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: network_coverage = client.network_coverage.list() assert_matches_type(NetworkCoverageListResponse, network_coverage, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: network_coverage = client.network_coverage.list( @@ -39,6 +41,7 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(NetworkCoverageListResponse, network_coverage, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.network_coverage.with_raw_response.list() @@ -48,6 +51,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: network_coverage = response.parse() assert_matches_type(NetworkCoverageListResponse, network_coverage, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.network_coverage.with_streaming_response.list() as response: @@ -65,11 +69,13 @@ class TestAsyncNetworkCoverage: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: network_coverage = await async_client.network_coverage.list() assert_matches_type(NetworkCoverageListResponse, network_coverage, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: network_coverage = await async_client.network_coverage.list( @@ -87,6 +93,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(NetworkCoverageListResponse, network_coverage, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.network_coverage.with_raw_response.list() @@ -96,6 +103,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: network_coverage = await response.parse() assert_matches_type(NetworkCoverageListResponse, network_coverage, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.network_coverage.with_streaming_response.list() as response: diff --git a/tests/api_resources/test_networks.py b/tests/api_resources/test_networks.py index 41433bf3..dd2c8c17 100644 --- a/tests/api_resources/test_networks.py +++ b/tests/api_resources/test_networks.py @@ -24,6 +24,7 @@ class TestNetworks: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: network = client.networks.create( @@ -31,6 +32,7 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(NetworkCreateResponse, network, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.networks.with_raw_response.create( @@ -42,6 +44,7 @@ def test_raw_response_create(self, client: Telnyx) -> None: network = response.parse() assert_matches_type(NetworkCreateResponse, network, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.networks.with_streaming_response.create( @@ -55,6 +58,7 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: network = client.networks.retrieve( @@ -62,6 +66,7 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(NetworkRetrieveResponse, network, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.networks.with_raw_response.retrieve( @@ -73,6 +78,7 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: network = response.parse() assert_matches_type(NetworkRetrieveResponse, network, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.networks.with_streaming_response.retrieve( @@ -86,6 +92,7 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -93,6 +100,7 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update(self, client: Telnyx) -> None: network = client.networks.update( @@ -101,6 +109,7 @@ def test_method_update(self, client: Telnyx) -> None: ) assert_matches_type(NetworkUpdateResponse, network, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update(self, client: Telnyx) -> None: response = client.networks.with_raw_response.update( @@ -113,6 +122,7 @@ def test_raw_response_update(self, client: Telnyx) -> None: network = response.parse() assert_matches_type(NetworkUpdateResponse, network, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update(self, client: Telnyx) -> None: with client.networks.with_streaming_response.update( @@ -127,6 +137,7 @@ def test_streaming_response_update(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -135,11 +146,13 @@ def test_path_params_update(self, client: Telnyx) -> None: name="test network", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: network = client.networks.list() assert_matches_type(NetworkListResponse, network, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: network = client.networks.list( @@ -151,6 +164,7 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(NetworkListResponse, network, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.networks.with_raw_response.list() @@ -160,6 +174,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: network = response.parse() assert_matches_type(NetworkListResponse, network, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.networks.with_streaming_response.list() as response: @@ -171,6 +186,7 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: network = client.networks.delete( @@ -178,6 +194,7 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert_matches_type(NetworkDeleteResponse, network, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.networks.with_raw_response.delete( @@ -189,6 +206,7 @@ def test_raw_response_delete(self, client: Telnyx) -> None: network = response.parse() assert_matches_type(NetworkDeleteResponse, network, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.networks.with_streaming_response.delete( @@ -202,6 +220,7 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -209,6 +228,7 @@ def test_path_params_delete(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_interfaces(self, client: Telnyx) -> None: network = client.networks.list_interfaces( @@ -216,6 +236,7 @@ def test_method_list_interfaces(self, client: Telnyx) -> None: ) assert_matches_type(NetworkListInterfacesResponse, network, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_interfaces_with_all_params(self, client: Telnyx) -> None: network = client.networks.list_interfaces( @@ -231,6 +252,7 @@ def test_method_list_interfaces_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(NetworkListInterfacesResponse, network, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list_interfaces(self, client: Telnyx) -> None: response = client.networks.with_raw_response.list_interfaces( @@ -242,6 +264,7 @@ def test_raw_response_list_interfaces(self, client: Telnyx) -> None: network = response.parse() assert_matches_type(NetworkListInterfacesResponse, network, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list_interfaces(self, client: Telnyx) -> None: with client.networks.with_streaming_response.list_interfaces( @@ -255,6 +278,7 @@ def test_streaming_response_list_interfaces(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_list_interfaces(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -268,6 +292,7 @@ class TestAsyncNetworks: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: network = await async_client.networks.create( @@ -275,6 +300,7 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(NetworkCreateResponse, network, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.networks.with_raw_response.create( @@ -286,6 +312,7 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: network = await response.parse() assert_matches_type(NetworkCreateResponse, network, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.networks.with_streaming_response.create( @@ -299,6 +326,7 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: network = await async_client.networks.retrieve( @@ -306,6 +334,7 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(NetworkRetrieveResponse, network, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.networks.with_raw_response.retrieve( @@ -317,6 +346,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: network = await response.parse() assert_matches_type(NetworkRetrieveResponse, network, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.networks.with_streaming_response.retrieve( @@ -330,6 +360,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -337,6 +368,7 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update(self, async_client: AsyncTelnyx) -> None: network = await async_client.networks.update( @@ -345,6 +377,7 @@ async def test_method_update(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(NetworkUpdateResponse, network, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: response = await async_client.networks.with_raw_response.update( @@ -357,6 +390,7 @@ async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: network = await response.parse() assert_matches_type(NetworkUpdateResponse, network, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> None: async with async_client.networks.with_streaming_response.update( @@ -371,6 +405,7 @@ async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -379,11 +414,13 @@ async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: name="test network", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: network = await async_client.networks.list() assert_matches_type(NetworkListResponse, network, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: network = await async_client.networks.list( @@ -395,6 +432,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(NetworkListResponse, network, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.networks.with_raw_response.list() @@ -404,6 +442,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: network = await response.parse() assert_matches_type(NetworkListResponse, network, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.networks.with_streaming_response.list() as response: @@ -415,6 +454,7 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: network = await async_client.networks.delete( @@ -422,6 +462,7 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(NetworkDeleteResponse, network, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.networks.with_raw_response.delete( @@ -433,6 +474,7 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: network = await response.parse() assert_matches_type(NetworkDeleteResponse, network, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.networks.with_streaming_response.delete( @@ -446,6 +488,7 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -453,6 +496,7 @@ async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_interfaces(self, async_client: AsyncTelnyx) -> None: network = await async_client.networks.list_interfaces( @@ -460,6 +504,7 @@ async def test_method_list_interfaces(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(NetworkListInterfacesResponse, network, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_interfaces_with_all_params(self, async_client: AsyncTelnyx) -> None: network = await async_client.networks.list_interfaces( @@ -475,6 +520,7 @@ async def test_method_list_interfaces_with_all_params(self, async_client: AsyncT ) assert_matches_type(NetworkListInterfacesResponse, network, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list_interfaces(self, async_client: AsyncTelnyx) -> None: response = await async_client.networks.with_raw_response.list_interfaces( @@ -486,6 +532,7 @@ async def test_raw_response_list_interfaces(self, async_client: AsyncTelnyx) -> network = await response.parse() assert_matches_type(NetworkListInterfacesResponse, network, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list_interfaces(self, async_client: AsyncTelnyx) -> None: async with async_client.networks.with_streaming_response.list_interfaces( @@ -499,6 +546,7 @@ async def test_streaming_response_list_interfaces(self, async_client: AsyncTelny assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_list_interfaces(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): diff --git a/tests/api_resources/test_notification_channels.py b/tests/api_resources/test_notification_channels.py index 97f30a7f..46e7efd3 100644 --- a/tests/api_resources/test_notification_channels.py +++ b/tests/api_resources/test_notification_channels.py @@ -23,11 +23,13 @@ class TestNotificationChannels: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: notification_channel = client.notification_channels.create() assert_matches_type(NotificationChannelCreateResponse, notification_channel, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: notification_channel = client.notification_channels.create( @@ -37,6 +39,7 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(NotificationChannelCreateResponse, notification_channel, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.notification_channels.with_raw_response.create() @@ -46,6 +49,7 @@ def test_raw_response_create(self, client: Telnyx) -> None: notification_channel = response.parse() assert_matches_type(NotificationChannelCreateResponse, notification_channel, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.notification_channels.with_streaming_response.create() as response: @@ -57,6 +61,7 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: notification_channel = client.notification_channels.retrieve( @@ -64,6 +69,7 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(NotificationChannelRetrieveResponse, notification_channel, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.notification_channels.with_raw_response.retrieve( @@ -75,6 +81,7 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: notification_channel = response.parse() assert_matches_type(NotificationChannelRetrieveResponse, notification_channel, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.notification_channels.with_streaming_response.retrieve( @@ -88,6 +95,7 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -95,6 +103,7 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update(self, client: Telnyx) -> None: notification_channel = client.notification_channels.update( @@ -102,6 +111,7 @@ def test_method_update(self, client: Telnyx) -> None: ) assert_matches_type(NotificationChannelUpdateResponse, notification_channel, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_with_all_params(self, client: Telnyx) -> None: notification_channel = client.notification_channels.update( @@ -112,6 +122,7 @@ def test_method_update_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(NotificationChannelUpdateResponse, notification_channel, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update(self, client: Telnyx) -> None: response = client.notification_channels.with_raw_response.update( @@ -123,6 +134,7 @@ def test_raw_response_update(self, client: Telnyx) -> None: notification_channel = response.parse() assert_matches_type(NotificationChannelUpdateResponse, notification_channel, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update(self, client: Telnyx) -> None: with client.notification_channels.with_streaming_response.update( @@ -136,6 +148,7 @@ def test_streaming_response_update(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -143,11 +156,13 @@ def test_path_params_update(self, client: Telnyx) -> None: id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: notification_channel = client.notification_channels.list() assert_matches_type(NotificationChannelListResponse, notification_channel, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: notification_channel = client.notification_channels.list( @@ -166,6 +181,7 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(NotificationChannelListResponse, notification_channel, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.notification_channels.with_raw_response.list() @@ -175,6 +191,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: notification_channel = response.parse() assert_matches_type(NotificationChannelListResponse, notification_channel, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.notification_channels.with_streaming_response.list() as response: @@ -186,6 +203,7 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: notification_channel = client.notification_channels.delete( @@ -193,6 +211,7 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert_matches_type(NotificationChannelDeleteResponse, notification_channel, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.notification_channels.with_raw_response.delete( @@ -204,6 +223,7 @@ def test_raw_response_delete(self, client: Telnyx) -> None: notification_channel = response.parse() assert_matches_type(NotificationChannelDeleteResponse, notification_channel, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.notification_channels.with_streaming_response.delete( @@ -217,6 +237,7 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -230,11 +251,13 @@ class TestAsyncNotificationChannels: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: notification_channel = await async_client.notification_channels.create() assert_matches_type(NotificationChannelCreateResponse, notification_channel, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: notification_channel = await async_client.notification_channels.create( @@ -244,6 +267,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(NotificationChannelCreateResponse, notification_channel, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.notification_channels.with_raw_response.create() @@ -253,6 +277,7 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: notification_channel = await response.parse() assert_matches_type(NotificationChannelCreateResponse, notification_channel, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.notification_channels.with_streaming_response.create() as response: @@ -264,6 +289,7 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: notification_channel = await async_client.notification_channels.retrieve( @@ -271,6 +297,7 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(NotificationChannelRetrieveResponse, notification_channel, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.notification_channels.with_raw_response.retrieve( @@ -282,6 +309,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: notification_channel = await response.parse() assert_matches_type(NotificationChannelRetrieveResponse, notification_channel, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.notification_channels.with_streaming_response.retrieve( @@ -295,6 +323,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -302,6 +331,7 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update(self, async_client: AsyncTelnyx) -> None: notification_channel = await async_client.notification_channels.update( @@ -309,6 +339,7 @@ async def test_method_update(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(NotificationChannelUpdateResponse, notification_channel, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> None: notification_channel = await async_client.notification_channels.update( @@ -319,6 +350,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(NotificationChannelUpdateResponse, notification_channel, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: response = await async_client.notification_channels.with_raw_response.update( @@ -330,6 +362,7 @@ async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: notification_channel = await response.parse() assert_matches_type(NotificationChannelUpdateResponse, notification_channel, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> None: async with async_client.notification_channels.with_streaming_response.update( @@ -343,6 +376,7 @@ async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -350,11 +384,13 @@ async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: notification_channel = await async_client.notification_channels.list() assert_matches_type(NotificationChannelListResponse, notification_channel, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: notification_channel = await async_client.notification_channels.list( @@ -373,6 +409,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(NotificationChannelListResponse, notification_channel, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.notification_channels.with_raw_response.list() @@ -382,6 +419,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: notification_channel = await response.parse() assert_matches_type(NotificationChannelListResponse, notification_channel, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.notification_channels.with_streaming_response.list() as response: @@ -393,6 +431,7 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: notification_channel = await async_client.notification_channels.delete( @@ -400,6 +439,7 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(NotificationChannelDeleteResponse, notification_channel, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.notification_channels.with_raw_response.delete( @@ -411,6 +451,7 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: notification_channel = await response.parse() assert_matches_type(NotificationChannelDeleteResponse, notification_channel, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.notification_channels.with_streaming_response.delete( @@ -424,6 +465,7 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): diff --git a/tests/api_resources/test_notification_event_conditions.py b/tests/api_resources/test_notification_event_conditions.py index 873e7bb7..56bc86d2 100644 --- a/tests/api_resources/test_notification_event_conditions.py +++ b/tests/api_resources/test_notification_event_conditions.py @@ -17,11 +17,13 @@ class TestNotificationEventConditions: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: notification_event_condition = client.notification_event_conditions.list() assert_matches_type(NotificationEventConditionListResponse, notification_event_condition, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: notification_event_condition = client.notification_event_conditions.list( @@ -40,6 +42,7 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(NotificationEventConditionListResponse, notification_event_condition, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.notification_event_conditions.with_raw_response.list() @@ -49,6 +52,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: notification_event_condition = response.parse() assert_matches_type(NotificationEventConditionListResponse, notification_event_condition, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.notification_event_conditions.with_streaming_response.list() as response: @@ -66,11 +70,13 @@ class TestAsyncNotificationEventConditions: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: notification_event_condition = await async_client.notification_event_conditions.list() assert_matches_type(NotificationEventConditionListResponse, notification_event_condition, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: notification_event_condition = await async_client.notification_event_conditions.list( @@ -89,6 +95,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(NotificationEventConditionListResponse, notification_event_condition, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.notification_event_conditions.with_raw_response.list() @@ -98,6 +105,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: notification_event_condition = await response.parse() assert_matches_type(NotificationEventConditionListResponse, notification_event_condition, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.notification_event_conditions.with_streaming_response.list() as response: diff --git a/tests/api_resources/test_notification_events.py b/tests/api_resources/test_notification_events.py index 4882840f..f15d46ae 100644 --- a/tests/api_resources/test_notification_events.py +++ b/tests/api_resources/test_notification_events.py @@ -17,11 +17,13 @@ class TestNotificationEvents: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: notification_event = client.notification_events.list() assert_matches_type(NotificationEventListResponse, notification_event, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: notification_event = client.notification_events.list( @@ -32,6 +34,7 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(NotificationEventListResponse, notification_event, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.notification_events.with_raw_response.list() @@ -41,6 +44,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: notification_event = response.parse() assert_matches_type(NotificationEventListResponse, notification_event, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.notification_events.with_streaming_response.list() as response: @@ -58,11 +62,13 @@ class TestAsyncNotificationEvents: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: notification_event = await async_client.notification_events.list() assert_matches_type(NotificationEventListResponse, notification_event, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: notification_event = await async_client.notification_events.list( @@ -73,6 +79,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(NotificationEventListResponse, notification_event, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.notification_events.with_raw_response.list() @@ -82,6 +89,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: notification_event = await response.parse() assert_matches_type(NotificationEventListResponse, notification_event, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.notification_events.with_streaming_response.list() as response: diff --git a/tests/api_resources/test_notification_profiles.py b/tests/api_resources/test_notification_profiles.py index 6f854426..641f06d3 100644 --- a/tests/api_resources/test_notification_profiles.py +++ b/tests/api_resources/test_notification_profiles.py @@ -23,11 +23,13 @@ class TestNotificationProfiles: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: notification_profile = client.notification_profiles.create() assert_matches_type(NotificationProfileCreateResponse, notification_profile, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: notification_profile = client.notification_profiles.create( @@ -35,6 +37,7 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(NotificationProfileCreateResponse, notification_profile, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.notification_profiles.with_raw_response.create() @@ -44,6 +47,7 @@ def test_raw_response_create(self, client: Telnyx) -> None: notification_profile = response.parse() assert_matches_type(NotificationProfileCreateResponse, notification_profile, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.notification_profiles.with_streaming_response.create() as response: @@ -55,6 +59,7 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: notification_profile = client.notification_profiles.retrieve( @@ -62,6 +67,7 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(NotificationProfileRetrieveResponse, notification_profile, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.notification_profiles.with_raw_response.retrieve( @@ -73,6 +79,7 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: notification_profile = response.parse() assert_matches_type(NotificationProfileRetrieveResponse, notification_profile, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.notification_profiles.with_streaming_response.retrieve( @@ -86,6 +93,7 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -93,6 +101,7 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update(self, client: Telnyx) -> None: notification_profile = client.notification_profiles.update( @@ -100,6 +109,7 @@ def test_method_update(self, client: Telnyx) -> None: ) assert_matches_type(NotificationProfileUpdateResponse, notification_profile, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_with_all_params(self, client: Telnyx) -> None: notification_profile = client.notification_profiles.update( @@ -108,6 +118,7 @@ def test_method_update_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(NotificationProfileUpdateResponse, notification_profile, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update(self, client: Telnyx) -> None: response = client.notification_profiles.with_raw_response.update( @@ -119,6 +130,7 @@ def test_raw_response_update(self, client: Telnyx) -> None: notification_profile = response.parse() assert_matches_type(NotificationProfileUpdateResponse, notification_profile, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update(self, client: Telnyx) -> None: with client.notification_profiles.with_streaming_response.update( @@ -132,6 +144,7 @@ def test_streaming_response_update(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -139,11 +152,13 @@ def test_path_params_update(self, client: Telnyx) -> None: id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: notification_profile = client.notification_profiles.list() assert_matches_type(NotificationProfileListResponse, notification_profile, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: notification_profile = client.notification_profiles.list( @@ -154,6 +169,7 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(NotificationProfileListResponse, notification_profile, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.notification_profiles.with_raw_response.list() @@ -163,6 +179,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: notification_profile = response.parse() assert_matches_type(NotificationProfileListResponse, notification_profile, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.notification_profiles.with_streaming_response.list() as response: @@ -174,6 +191,7 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: notification_profile = client.notification_profiles.delete( @@ -181,6 +199,7 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert_matches_type(NotificationProfileDeleteResponse, notification_profile, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.notification_profiles.with_raw_response.delete( @@ -192,6 +211,7 @@ def test_raw_response_delete(self, client: Telnyx) -> None: notification_profile = response.parse() assert_matches_type(NotificationProfileDeleteResponse, notification_profile, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.notification_profiles.with_streaming_response.delete( @@ -205,6 +225,7 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -218,11 +239,13 @@ class TestAsyncNotificationProfiles: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: notification_profile = await async_client.notification_profiles.create() assert_matches_type(NotificationProfileCreateResponse, notification_profile, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: notification_profile = await async_client.notification_profiles.create( @@ -230,6 +253,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(NotificationProfileCreateResponse, notification_profile, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.notification_profiles.with_raw_response.create() @@ -239,6 +263,7 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: notification_profile = await response.parse() assert_matches_type(NotificationProfileCreateResponse, notification_profile, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.notification_profiles.with_streaming_response.create() as response: @@ -250,6 +275,7 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: notification_profile = await async_client.notification_profiles.retrieve( @@ -257,6 +283,7 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(NotificationProfileRetrieveResponse, notification_profile, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.notification_profiles.with_raw_response.retrieve( @@ -268,6 +295,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: notification_profile = await response.parse() assert_matches_type(NotificationProfileRetrieveResponse, notification_profile, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.notification_profiles.with_streaming_response.retrieve( @@ -281,6 +309,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -288,6 +317,7 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update(self, async_client: AsyncTelnyx) -> None: notification_profile = await async_client.notification_profiles.update( @@ -295,6 +325,7 @@ async def test_method_update(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(NotificationProfileUpdateResponse, notification_profile, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> None: notification_profile = await async_client.notification_profiles.update( @@ -303,6 +334,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(NotificationProfileUpdateResponse, notification_profile, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: response = await async_client.notification_profiles.with_raw_response.update( @@ -314,6 +346,7 @@ async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: notification_profile = await response.parse() assert_matches_type(NotificationProfileUpdateResponse, notification_profile, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> None: async with async_client.notification_profiles.with_streaming_response.update( @@ -327,6 +360,7 @@ async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -334,11 +368,13 @@ async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: notification_profile = await async_client.notification_profiles.list() assert_matches_type(NotificationProfileListResponse, notification_profile, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: notification_profile = await async_client.notification_profiles.list( @@ -349,6 +385,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(NotificationProfileListResponse, notification_profile, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.notification_profiles.with_raw_response.list() @@ -358,6 +395,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: notification_profile = await response.parse() assert_matches_type(NotificationProfileListResponse, notification_profile, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.notification_profiles.with_streaming_response.list() as response: @@ -369,6 +407,7 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: notification_profile = await async_client.notification_profiles.delete( @@ -376,6 +415,7 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(NotificationProfileDeleteResponse, notification_profile, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.notification_profiles.with_raw_response.delete( @@ -387,6 +427,7 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: notification_profile = await response.parse() assert_matches_type(NotificationProfileDeleteResponse, notification_profile, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.notification_profiles.with_streaming_response.delete( @@ -400,6 +441,7 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): diff --git a/tests/api_resources/test_notification_settings.py b/tests/api_resources/test_notification_settings.py index f4fb6676..de1c8941 100644 --- a/tests/api_resources/test_notification_settings.py +++ b/tests/api_resources/test_notification_settings.py @@ -22,11 +22,13 @@ class TestNotificationSettings: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: notification_setting = client.notification_settings.create() assert_matches_type(NotificationSettingCreateResponse, notification_setting, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: notification_setting = client.notification_settings.create( @@ -42,6 +44,7 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(NotificationSettingCreateResponse, notification_setting, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.notification_settings.with_raw_response.create() @@ -51,6 +54,7 @@ def test_raw_response_create(self, client: Telnyx) -> None: notification_setting = response.parse() assert_matches_type(NotificationSettingCreateResponse, notification_setting, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.notification_settings.with_streaming_response.create() as response: @@ -62,6 +66,7 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: notification_setting = client.notification_settings.retrieve( @@ -69,6 +74,7 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(NotificationSettingRetrieveResponse, notification_setting, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.notification_settings.with_raw_response.retrieve( @@ -80,6 +86,7 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: notification_setting = response.parse() assert_matches_type(NotificationSettingRetrieveResponse, notification_setting, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.notification_settings.with_streaming_response.retrieve( @@ -93,6 +100,7 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -100,11 +108,13 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: notification_setting = client.notification_settings.list() assert_matches_type(NotificationSettingListResponse, notification_setting, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: notification_setting = client.notification_settings.list( @@ -123,6 +133,7 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(NotificationSettingListResponse, notification_setting, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.notification_settings.with_raw_response.list() @@ -132,6 +143,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: notification_setting = response.parse() assert_matches_type(NotificationSettingListResponse, notification_setting, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.notification_settings.with_streaming_response.list() as response: @@ -143,6 +155,7 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: notification_setting = client.notification_settings.delete( @@ -150,6 +163,7 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert_matches_type(NotificationSettingDeleteResponse, notification_setting, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.notification_settings.with_raw_response.delete( @@ -161,6 +175,7 @@ def test_raw_response_delete(self, client: Telnyx) -> None: notification_setting = response.parse() assert_matches_type(NotificationSettingDeleteResponse, notification_setting, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.notification_settings.with_streaming_response.delete( @@ -174,6 +189,7 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -187,11 +203,13 @@ class TestAsyncNotificationSettings: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: notification_setting = await async_client.notification_settings.create() assert_matches_type(NotificationSettingCreateResponse, notification_setting, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: notification_setting = await async_client.notification_settings.create( @@ -207,6 +225,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(NotificationSettingCreateResponse, notification_setting, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.notification_settings.with_raw_response.create() @@ -216,6 +235,7 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: notification_setting = await response.parse() assert_matches_type(NotificationSettingCreateResponse, notification_setting, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.notification_settings.with_streaming_response.create() as response: @@ -227,6 +247,7 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: notification_setting = await async_client.notification_settings.retrieve( @@ -234,6 +255,7 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(NotificationSettingRetrieveResponse, notification_setting, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.notification_settings.with_raw_response.retrieve( @@ -245,6 +267,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: notification_setting = await response.parse() assert_matches_type(NotificationSettingRetrieveResponse, notification_setting, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.notification_settings.with_streaming_response.retrieve( @@ -258,6 +281,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -265,11 +289,13 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: notification_setting = await async_client.notification_settings.list() assert_matches_type(NotificationSettingListResponse, notification_setting, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: notification_setting = await async_client.notification_settings.list( @@ -288,6 +314,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(NotificationSettingListResponse, notification_setting, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.notification_settings.with_raw_response.list() @@ -297,6 +324,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: notification_setting = await response.parse() assert_matches_type(NotificationSettingListResponse, notification_setting, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.notification_settings.with_streaming_response.list() as response: @@ -308,6 +336,7 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: notification_setting = await async_client.notification_settings.delete( @@ -315,6 +344,7 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(NotificationSettingDeleteResponse, notification_setting, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.notification_settings.with_raw_response.delete( @@ -326,6 +356,7 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: notification_setting = await response.parse() assert_matches_type(NotificationSettingDeleteResponse, notification_setting, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.notification_settings.with_streaming_response.delete( @@ -339,6 +370,7 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): diff --git a/tests/api_resources/test_number_block_orders.py b/tests/api_resources/test_number_block_orders.py index 9f125d8d..59fa4d54 100644 --- a/tests/api_resources/test_number_block_orders.py +++ b/tests/api_resources/test_number_block_orders.py @@ -21,6 +21,7 @@ class TestNumberBlockOrders: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: number_block_order = client.number_block_orders.create( @@ -29,6 +30,7 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(NumberBlockOrderCreateResponse, number_block_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: number_block_order = client.number_block_orders.create( @@ -40,6 +42,7 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(NumberBlockOrderCreateResponse, number_block_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.number_block_orders.with_raw_response.create( @@ -52,6 +55,7 @@ def test_raw_response_create(self, client: Telnyx) -> None: number_block_order = response.parse() assert_matches_type(NumberBlockOrderCreateResponse, number_block_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.number_block_orders.with_streaming_response.create( @@ -66,6 +70,7 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: number_block_order = client.number_block_orders.retrieve( @@ -73,6 +78,7 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(NumberBlockOrderRetrieveResponse, number_block_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.number_block_orders.with_raw_response.retrieve( @@ -84,6 +90,7 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: number_block_order = response.parse() assert_matches_type(NumberBlockOrderRetrieveResponse, number_block_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.number_block_orders.with_streaming_response.retrieve( @@ -97,6 +104,7 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `number_block_order_id` but received ''"): @@ -104,11 +112,13 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: number_block_order = client.number_block_orders.list() assert_matches_type(NumberBlockOrderListResponse, number_block_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: number_block_order = client.number_block_orders.list( @@ -127,6 +137,7 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(NumberBlockOrderListResponse, number_block_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.number_block_orders.with_raw_response.list() @@ -136,6 +147,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: number_block_order = response.parse() assert_matches_type(NumberBlockOrderListResponse, number_block_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.number_block_orders.with_streaming_response.list() as response: @@ -153,6 +165,7 @@ class TestAsyncNumberBlockOrders: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: number_block_order = await async_client.number_block_orders.create( @@ -161,6 +174,7 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(NumberBlockOrderCreateResponse, number_block_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: number_block_order = await async_client.number_block_orders.create( @@ -172,6 +186,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(NumberBlockOrderCreateResponse, number_block_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.number_block_orders.with_raw_response.create( @@ -184,6 +199,7 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: number_block_order = await response.parse() assert_matches_type(NumberBlockOrderCreateResponse, number_block_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.number_block_orders.with_streaming_response.create( @@ -198,6 +214,7 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: number_block_order = await async_client.number_block_orders.retrieve( @@ -205,6 +222,7 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(NumberBlockOrderRetrieveResponse, number_block_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.number_block_orders.with_raw_response.retrieve( @@ -216,6 +234,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: number_block_order = await response.parse() assert_matches_type(NumberBlockOrderRetrieveResponse, number_block_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.number_block_orders.with_streaming_response.retrieve( @@ -229,6 +248,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `number_block_order_id` but received ''"): @@ -236,11 +256,13 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: number_block_order = await async_client.number_block_orders.list() assert_matches_type(NumberBlockOrderListResponse, number_block_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: number_block_order = await async_client.number_block_orders.list( @@ -259,6 +281,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(NumberBlockOrderListResponse, number_block_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.number_block_orders.with_raw_response.list() @@ -268,6 +291,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: number_block_order = await response.parse() assert_matches_type(NumberBlockOrderListResponse, number_block_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.number_block_orders.with_streaming_response.list() as response: diff --git a/tests/api_resources/test_number_lookup.py b/tests/api_resources/test_number_lookup.py index d3aad833..39b9d4ea 100644 --- a/tests/api_resources/test_number_lookup.py +++ b/tests/api_resources/test_number_lookup.py @@ -17,6 +17,7 @@ class TestNumberLookup: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: number_lookup = client.number_lookup.retrieve( @@ -24,6 +25,7 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(NumberLookupRetrieveResponse, number_lookup, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve_with_all_params(self, client: Telnyx) -> None: number_lookup = client.number_lookup.retrieve( @@ -32,6 +34,7 @@ def test_method_retrieve_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(NumberLookupRetrieveResponse, number_lookup, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.number_lookup.with_raw_response.retrieve( @@ -43,6 +46,7 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: number_lookup = response.parse() assert_matches_type(NumberLookupRetrieveResponse, number_lookup, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.number_lookup.with_streaming_response.retrieve( @@ -56,6 +60,7 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `phone_number` but received ''"): @@ -69,6 +74,7 @@ class TestAsyncNumberLookup: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: number_lookup = await async_client.number_lookup.retrieve( @@ -76,6 +82,7 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(NumberLookupRetrieveResponse, number_lookup, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve_with_all_params(self, async_client: AsyncTelnyx) -> None: number_lookup = await async_client.number_lookup.retrieve( @@ -84,6 +91,7 @@ async def test_method_retrieve_with_all_params(self, async_client: AsyncTelnyx) ) assert_matches_type(NumberLookupRetrieveResponse, number_lookup, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.number_lookup.with_raw_response.retrieve( @@ -95,6 +103,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: number_lookup = await response.parse() assert_matches_type(NumberLookupRetrieveResponse, number_lookup, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.number_lookup.with_streaming_response.retrieve( @@ -108,6 +117,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `phone_number` but received ''"): diff --git a/tests/api_resources/test_number_order_phone_numbers.py b/tests/api_resources/test_number_order_phone_numbers.py index 6ae6eaa7..95ed29ba 100644 --- a/tests/api_resources/test_number_order_phone_numbers.py +++ b/tests/api_resources/test_number_order_phone_numbers.py @@ -22,6 +22,7 @@ class TestNumberOrderPhoneNumbers: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: number_order_phone_number = client.number_order_phone_numbers.retrieve( @@ -29,6 +30,7 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(NumberOrderPhoneNumberRetrieveResponse, number_order_phone_number, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.number_order_phone_numbers.with_raw_response.retrieve( @@ -40,6 +42,7 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: number_order_phone_number = response.parse() assert_matches_type(NumberOrderPhoneNumberRetrieveResponse, number_order_phone_number, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.number_order_phone_numbers.with_streaming_response.retrieve( @@ -53,6 +56,7 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises( @@ -62,11 +66,13 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: number_order_phone_number = client.number_order_phone_numbers.list() assert_matches_type(NumberOrderPhoneNumberListResponse, number_order_phone_number, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: number_order_phone_number = client.number_order_phone_numbers.list( @@ -74,6 +80,7 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(NumberOrderPhoneNumberListResponse, number_order_phone_number, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.number_order_phone_numbers.with_raw_response.list() @@ -83,6 +90,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: number_order_phone_number = response.parse() assert_matches_type(NumberOrderPhoneNumberListResponse, number_order_phone_number, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.number_order_phone_numbers.with_streaming_response.list() as response: @@ -94,6 +102,7 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_requirement_group(self, client: Telnyx) -> None: number_order_phone_number = client.number_order_phone_numbers.update_requirement_group( @@ -104,6 +113,7 @@ def test_method_update_requirement_group(self, client: Telnyx) -> None: NumberOrderPhoneNumberUpdateRequirementGroupResponse, number_order_phone_number, path=["response"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update_requirement_group(self, client: Telnyx) -> None: response = client.number_order_phone_numbers.with_raw_response.update_requirement_group( @@ -118,6 +128,7 @@ def test_raw_response_update_requirement_group(self, client: Telnyx) -> None: NumberOrderPhoneNumberUpdateRequirementGroupResponse, number_order_phone_number, path=["response"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update_requirement_group(self, client: Telnyx) -> None: with client.number_order_phone_numbers.with_streaming_response.update_requirement_group( @@ -134,6 +145,7 @@ def test_streaming_response_update_requirement_group(self, client: Telnyx) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update_requirement_group(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -142,6 +154,7 @@ def test_path_params_update_requirement_group(self, client: Telnyx) -> None: requirement_group_id="182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_requirements(self, client: Telnyx) -> None: number_order_phone_number = client.number_order_phone_numbers.update_requirements( @@ -151,6 +164,7 @@ def test_method_update_requirements(self, client: Telnyx) -> None: NumberOrderPhoneNumberUpdateRequirementsResponse, number_order_phone_number, path=["response"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_requirements_with_all_params(self, client: Telnyx) -> None: number_order_phone_number = client.number_order_phone_numbers.update_requirements( @@ -166,6 +180,7 @@ def test_method_update_requirements_with_all_params(self, client: Telnyx) -> Non NumberOrderPhoneNumberUpdateRequirementsResponse, number_order_phone_number, path=["response"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update_requirements(self, client: Telnyx) -> None: response = client.number_order_phone_numbers.with_raw_response.update_requirements( @@ -179,6 +194,7 @@ def test_raw_response_update_requirements(self, client: Telnyx) -> None: NumberOrderPhoneNumberUpdateRequirementsResponse, number_order_phone_number, path=["response"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update_requirements(self, client: Telnyx) -> None: with client.number_order_phone_numbers.with_streaming_response.update_requirements( @@ -194,6 +210,7 @@ def test_streaming_response_update_requirements(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update_requirements(self, client: Telnyx) -> None: with pytest.raises( @@ -209,6 +226,7 @@ class TestAsyncNumberOrderPhoneNumbers: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: number_order_phone_number = await async_client.number_order_phone_numbers.retrieve( @@ -216,6 +234,7 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(NumberOrderPhoneNumberRetrieveResponse, number_order_phone_number, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.number_order_phone_numbers.with_raw_response.retrieve( @@ -227,6 +246,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: number_order_phone_number = await response.parse() assert_matches_type(NumberOrderPhoneNumberRetrieveResponse, number_order_phone_number, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.number_order_phone_numbers.with_streaming_response.retrieve( @@ -240,6 +260,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises( @@ -249,11 +270,13 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: number_order_phone_number = await async_client.number_order_phone_numbers.list() assert_matches_type(NumberOrderPhoneNumberListResponse, number_order_phone_number, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: number_order_phone_number = await async_client.number_order_phone_numbers.list( @@ -261,6 +284,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(NumberOrderPhoneNumberListResponse, number_order_phone_number, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.number_order_phone_numbers.with_raw_response.list() @@ -270,6 +294,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: number_order_phone_number = await response.parse() assert_matches_type(NumberOrderPhoneNumberListResponse, number_order_phone_number, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.number_order_phone_numbers.with_streaming_response.list() as response: @@ -281,6 +306,7 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_requirement_group(self, async_client: AsyncTelnyx) -> None: number_order_phone_number = await async_client.number_order_phone_numbers.update_requirement_group( @@ -291,6 +317,7 @@ async def test_method_update_requirement_group(self, async_client: AsyncTelnyx) NumberOrderPhoneNumberUpdateRequirementGroupResponse, number_order_phone_number, path=["response"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update_requirement_group(self, async_client: AsyncTelnyx) -> None: response = await async_client.number_order_phone_numbers.with_raw_response.update_requirement_group( @@ -305,6 +332,7 @@ async def test_raw_response_update_requirement_group(self, async_client: AsyncTe NumberOrderPhoneNumberUpdateRequirementGroupResponse, number_order_phone_number, path=["response"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update_requirement_group(self, async_client: AsyncTelnyx) -> None: async with async_client.number_order_phone_numbers.with_streaming_response.update_requirement_group( @@ -321,6 +349,7 @@ async def test_streaming_response_update_requirement_group(self, async_client: A assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update_requirement_group(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -329,6 +358,7 @@ async def test_path_params_update_requirement_group(self, async_client: AsyncTel requirement_group_id="182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_requirements(self, async_client: AsyncTelnyx) -> None: number_order_phone_number = await async_client.number_order_phone_numbers.update_requirements( @@ -338,6 +368,7 @@ async def test_method_update_requirements(self, async_client: AsyncTelnyx) -> No NumberOrderPhoneNumberUpdateRequirementsResponse, number_order_phone_number, path=["response"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_requirements_with_all_params(self, async_client: AsyncTelnyx) -> None: number_order_phone_number = await async_client.number_order_phone_numbers.update_requirements( @@ -353,6 +384,7 @@ async def test_method_update_requirements_with_all_params(self, async_client: As NumberOrderPhoneNumberUpdateRequirementsResponse, number_order_phone_number, path=["response"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update_requirements(self, async_client: AsyncTelnyx) -> None: response = await async_client.number_order_phone_numbers.with_raw_response.update_requirements( @@ -366,6 +398,7 @@ async def test_raw_response_update_requirements(self, async_client: AsyncTelnyx) NumberOrderPhoneNumberUpdateRequirementsResponse, number_order_phone_number, path=["response"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update_requirements(self, async_client: AsyncTelnyx) -> None: async with async_client.number_order_phone_numbers.with_streaming_response.update_requirements( @@ -381,6 +414,7 @@ async def test_streaming_response_update_requirements(self, async_client: AsyncT assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update_requirements(self, async_client: AsyncTelnyx) -> None: with pytest.raises( diff --git a/tests/api_resources/test_number_orders.py b/tests/api_resources/test_number_orders.py index 28221c75..421973d7 100644 --- a/tests/api_resources/test_number_orders.py +++ b/tests/api_resources/test_number_orders.py @@ -22,11 +22,13 @@ class TestNumberOrders: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: number_order = client.number_orders.create() assert_matches_type(NumberOrderCreateResponse, number_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: number_order = client.number_orders.create( @@ -49,6 +51,7 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(NumberOrderCreateResponse, number_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.number_orders.with_raw_response.create() @@ -58,6 +61,7 @@ def test_raw_response_create(self, client: Telnyx) -> None: number_order = response.parse() assert_matches_type(NumberOrderCreateResponse, number_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.number_orders.with_streaming_response.create() as response: @@ -69,6 +73,7 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: number_order = client.number_orders.retrieve( @@ -76,6 +81,7 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(NumberOrderRetrieveResponse, number_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.number_orders.with_raw_response.retrieve( @@ -87,6 +93,7 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: number_order = response.parse() assert_matches_type(NumberOrderRetrieveResponse, number_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.number_orders.with_streaming_response.retrieve( @@ -100,6 +107,7 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `number_order_id` but received ''"): @@ -107,6 +115,7 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update(self, client: Telnyx) -> None: number_order = client.number_orders.update( @@ -114,6 +123,7 @@ def test_method_update(self, client: Telnyx) -> None: ) assert_matches_type(NumberOrderUpdateResponse, number_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_with_all_params(self, client: Telnyx) -> None: number_order = client.number_orders.update( @@ -128,6 +138,7 @@ def test_method_update_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(NumberOrderUpdateResponse, number_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update(self, client: Telnyx) -> None: response = client.number_orders.with_raw_response.update( @@ -139,6 +150,7 @@ def test_raw_response_update(self, client: Telnyx) -> None: number_order = response.parse() assert_matches_type(NumberOrderUpdateResponse, number_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update(self, client: Telnyx) -> None: with client.number_orders.with_streaming_response.update( @@ -152,6 +164,7 @@ def test_streaming_response_update(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `number_order_id` but received ''"): @@ -159,11 +172,13 @@ def test_path_params_update(self, client: Telnyx) -> None: number_order_id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: number_order = client.number_orders.list() assert_matches_type(NumberOrderListResponse, number_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: number_order = client.number_orders.list( @@ -184,6 +199,7 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(NumberOrderListResponse, number_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.number_orders.with_raw_response.list() @@ -193,6 +209,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: number_order = response.parse() assert_matches_type(NumberOrderListResponse, number_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.number_orders.with_streaming_response.list() as response: @@ -210,11 +227,13 @@ class TestAsyncNumberOrders: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: number_order = await async_client.number_orders.create() assert_matches_type(NumberOrderCreateResponse, number_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: number_order = await async_client.number_orders.create( @@ -237,6 +256,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(NumberOrderCreateResponse, number_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.number_orders.with_raw_response.create() @@ -246,6 +266,7 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: number_order = await response.parse() assert_matches_type(NumberOrderCreateResponse, number_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.number_orders.with_streaming_response.create() as response: @@ -257,6 +278,7 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: number_order = await async_client.number_orders.retrieve( @@ -264,6 +286,7 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(NumberOrderRetrieveResponse, number_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.number_orders.with_raw_response.retrieve( @@ -275,6 +298,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: number_order = await response.parse() assert_matches_type(NumberOrderRetrieveResponse, number_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.number_orders.with_streaming_response.retrieve( @@ -288,6 +312,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `number_order_id` but received ''"): @@ -295,6 +320,7 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update(self, async_client: AsyncTelnyx) -> None: number_order = await async_client.number_orders.update( @@ -302,6 +328,7 @@ async def test_method_update(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(NumberOrderUpdateResponse, number_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> None: number_order = await async_client.number_orders.update( @@ -316,6 +343,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(NumberOrderUpdateResponse, number_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: response = await async_client.number_orders.with_raw_response.update( @@ -327,6 +355,7 @@ async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: number_order = await response.parse() assert_matches_type(NumberOrderUpdateResponse, number_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> None: async with async_client.number_orders.with_streaming_response.update( @@ -340,6 +369,7 @@ async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `number_order_id` but received ''"): @@ -347,11 +377,13 @@ async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: number_order_id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: number_order = await async_client.number_orders.list() assert_matches_type(NumberOrderListResponse, number_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: number_order = await async_client.number_orders.list( @@ -372,6 +404,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(NumberOrderListResponse, number_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.number_orders.with_raw_response.list() @@ -381,6 +414,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: number_order = await response.parse() assert_matches_type(NumberOrderListResponse, number_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.number_orders.with_streaming_response.list() as response: diff --git a/tests/api_resources/test_number_reservations.py b/tests/api_resources/test_number_reservations.py index 484c7319..4218c909 100644 --- a/tests/api_resources/test_number_reservations.py +++ b/tests/api_resources/test_number_reservations.py @@ -21,11 +21,13 @@ class TestNumberReservations: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: number_reservation = client.number_reservations.create() assert_matches_type(NumberReservationCreateResponse, number_reservation, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: number_reservation = client.number_reservations.create( @@ -34,6 +36,7 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(NumberReservationCreateResponse, number_reservation, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.number_reservations.with_raw_response.create() @@ -43,6 +46,7 @@ def test_raw_response_create(self, client: Telnyx) -> None: number_reservation = response.parse() assert_matches_type(NumberReservationCreateResponse, number_reservation, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.number_reservations.with_streaming_response.create() as response: @@ -54,6 +58,7 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: number_reservation = client.number_reservations.retrieve( @@ -61,6 +66,7 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(NumberReservationRetrieveResponse, number_reservation, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.number_reservations.with_raw_response.retrieve( @@ -72,6 +78,7 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: number_reservation = response.parse() assert_matches_type(NumberReservationRetrieveResponse, number_reservation, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.number_reservations.with_streaming_response.retrieve( @@ -85,6 +92,7 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `number_reservation_id` but received ''"): @@ -92,11 +100,13 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: number_reservation = client.number_reservations.list() assert_matches_type(NumberReservationListResponse, number_reservation, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: number_reservation = client.number_reservations.list( @@ -116,6 +126,7 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(NumberReservationListResponse, number_reservation, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.number_reservations.with_raw_response.list() @@ -125,6 +136,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: number_reservation = response.parse() assert_matches_type(NumberReservationListResponse, number_reservation, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.number_reservations.with_streaming_response.list() as response: @@ -142,11 +154,13 @@ class TestAsyncNumberReservations: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: number_reservation = await async_client.number_reservations.create() assert_matches_type(NumberReservationCreateResponse, number_reservation, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: number_reservation = await async_client.number_reservations.create( @@ -155,6 +169,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(NumberReservationCreateResponse, number_reservation, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.number_reservations.with_raw_response.create() @@ -164,6 +179,7 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: number_reservation = await response.parse() assert_matches_type(NumberReservationCreateResponse, number_reservation, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.number_reservations.with_streaming_response.create() as response: @@ -175,6 +191,7 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: number_reservation = await async_client.number_reservations.retrieve( @@ -182,6 +199,7 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(NumberReservationRetrieveResponse, number_reservation, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.number_reservations.with_raw_response.retrieve( @@ -193,6 +211,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: number_reservation = await response.parse() assert_matches_type(NumberReservationRetrieveResponse, number_reservation, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.number_reservations.with_streaming_response.retrieve( @@ -206,6 +225,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `number_reservation_id` but received ''"): @@ -213,11 +233,13 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: number_reservation = await async_client.number_reservations.list() assert_matches_type(NumberReservationListResponse, number_reservation, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: number_reservation = await async_client.number_reservations.list( @@ -237,6 +259,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(NumberReservationListResponse, number_reservation, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.number_reservations.with_raw_response.list() @@ -246,6 +269,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: number_reservation = await response.parse() assert_matches_type(NumberReservationListResponse, number_reservation, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.number_reservations.with_streaming_response.list() as response: diff --git a/tests/api_resources/test_numbers_features.py b/tests/api_resources/test_numbers_features.py index 800c674b..f8fbf68f 100644 --- a/tests/api_resources/test_numbers_features.py +++ b/tests/api_resources/test_numbers_features.py @@ -17,6 +17,7 @@ class TestNumbersFeatures: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: numbers_feature = client.numbers_features.create( @@ -24,6 +25,7 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(NumbersFeatureCreateResponse, numbers_feature, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.numbers_features.with_raw_response.create( @@ -35,6 +37,7 @@ def test_raw_response_create(self, client: Telnyx) -> None: numbers_feature = response.parse() assert_matches_type(NumbersFeatureCreateResponse, numbers_feature, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.numbers_features.with_streaming_response.create( @@ -54,6 +57,7 @@ class TestAsyncNumbersFeatures: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: numbers_feature = await async_client.numbers_features.create( @@ -61,6 +65,7 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(NumbersFeatureCreateResponse, numbers_feature, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.numbers_features.with_raw_response.create( @@ -72,6 +77,7 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: numbers_feature = await response.parse() assert_matches_type(NumbersFeatureCreateResponse, numbers_feature, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.numbers_features.with_streaming_response.create( diff --git a/tests/api_resources/test_ota_updates.py b/tests/api_resources/test_ota_updates.py index 4c19736c..b05d90d2 100644 --- a/tests/api_resources/test_ota_updates.py +++ b/tests/api_resources/test_ota_updates.py @@ -17,6 +17,7 @@ class TestOtaUpdates: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: ota_update = client.ota_updates.retrieve( @@ -24,6 +25,7 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(OtaUpdateRetrieveResponse, ota_update, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.ota_updates.with_raw_response.retrieve( @@ -35,6 +37,7 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: ota_update = response.parse() assert_matches_type(OtaUpdateRetrieveResponse, ota_update, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.ota_updates.with_streaming_response.retrieve( @@ -48,6 +51,7 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -55,11 +59,13 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: ota_update = client.ota_updates.list() assert_matches_type(OtaUpdateListResponse, ota_update, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: ota_update = client.ota_updates.list( @@ -75,6 +81,7 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(OtaUpdateListResponse, ota_update, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.ota_updates.with_raw_response.list() @@ -84,6 +91,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: ota_update = response.parse() assert_matches_type(OtaUpdateListResponse, ota_update, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.ota_updates.with_streaming_response.list() as response: @@ -101,6 +109,7 @@ class TestAsyncOtaUpdates: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ota_update = await async_client.ota_updates.retrieve( @@ -108,6 +117,7 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(OtaUpdateRetrieveResponse, ota_update, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.ota_updates.with_raw_response.retrieve( @@ -119,6 +129,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: ota_update = await response.parse() assert_matches_type(OtaUpdateRetrieveResponse, ota_update, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.ota_updates.with_streaming_response.retrieve( @@ -132,6 +143,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -139,11 +151,13 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: ota_update = await async_client.ota_updates.list() assert_matches_type(OtaUpdateListResponse, ota_update, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: ota_update = await async_client.ota_updates.list( @@ -159,6 +173,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(OtaUpdateListResponse, ota_update, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.ota_updates.with_raw_response.list() @@ -168,6 +183,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: ota_update = await response.parse() assert_matches_type(OtaUpdateListResponse, ota_update, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.ota_updates.with_streaming_response.list() as response: diff --git a/tests/api_resources/test_outbound_voice_profiles.py b/tests/api_resources/test_outbound_voice_profiles.py index a5ed5cfd..c8ce242c 100644 --- a/tests/api_resources/test_outbound_voice_profiles.py +++ b/tests/api_resources/test_outbound_voice_profiles.py @@ -23,6 +23,7 @@ class TestOutboundVoiceProfiles: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: outbound_voice_profile = client.outbound_voice_profiles.create( @@ -30,6 +31,7 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(OutboundVoiceProfileCreateResponse, outbound_voice_profile, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: outbound_voice_profile = client.outbound_voice_profiles.create( @@ -54,6 +56,7 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(OutboundVoiceProfileCreateResponse, outbound_voice_profile, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.outbound_voice_profiles.with_raw_response.create( @@ -65,6 +68,7 @@ def test_raw_response_create(self, client: Telnyx) -> None: outbound_voice_profile = response.parse() assert_matches_type(OutboundVoiceProfileCreateResponse, outbound_voice_profile, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.outbound_voice_profiles.with_streaming_response.create( @@ -78,6 +82,7 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: outbound_voice_profile = client.outbound_voice_profiles.retrieve( @@ -85,6 +90,7 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(OutboundVoiceProfileRetrieveResponse, outbound_voice_profile, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.outbound_voice_profiles.with_raw_response.retrieve( @@ -96,6 +102,7 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: outbound_voice_profile = response.parse() assert_matches_type(OutboundVoiceProfileRetrieveResponse, outbound_voice_profile, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.outbound_voice_profiles.with_streaming_response.retrieve( @@ -109,6 +116,7 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -116,6 +124,7 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update(self, client: Telnyx) -> None: outbound_voice_profile = client.outbound_voice_profiles.update( @@ -124,6 +133,7 @@ def test_method_update(self, client: Telnyx) -> None: ) assert_matches_type(OutboundVoiceProfileUpdateResponse, outbound_voice_profile, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_with_all_params(self, client: Telnyx) -> None: outbound_voice_profile = client.outbound_voice_profiles.update( @@ -149,6 +159,7 @@ def test_method_update_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(OutboundVoiceProfileUpdateResponse, outbound_voice_profile, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update(self, client: Telnyx) -> None: response = client.outbound_voice_profiles.with_raw_response.update( @@ -161,6 +172,7 @@ def test_raw_response_update(self, client: Telnyx) -> None: outbound_voice_profile = response.parse() assert_matches_type(OutboundVoiceProfileUpdateResponse, outbound_voice_profile, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update(self, client: Telnyx) -> None: with client.outbound_voice_profiles.with_streaming_response.update( @@ -175,6 +187,7 @@ def test_streaming_response_update(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -183,11 +196,13 @@ def test_path_params_update(self, client: Telnyx) -> None: name="office", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: outbound_voice_profile = client.outbound_voice_profiles.list() assert_matches_type(OutboundVoiceProfileListResponse, outbound_voice_profile, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: outbound_voice_profile = client.outbound_voice_profiles.list( @@ -200,6 +215,7 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(OutboundVoiceProfileListResponse, outbound_voice_profile, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.outbound_voice_profiles.with_raw_response.list() @@ -209,6 +225,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: outbound_voice_profile = response.parse() assert_matches_type(OutboundVoiceProfileListResponse, outbound_voice_profile, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.outbound_voice_profiles.with_streaming_response.list() as response: @@ -220,6 +237,7 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: outbound_voice_profile = client.outbound_voice_profiles.delete( @@ -227,6 +245,7 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert_matches_type(OutboundVoiceProfileDeleteResponse, outbound_voice_profile, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.outbound_voice_profiles.with_raw_response.delete( @@ -238,6 +257,7 @@ def test_raw_response_delete(self, client: Telnyx) -> None: outbound_voice_profile = response.parse() assert_matches_type(OutboundVoiceProfileDeleteResponse, outbound_voice_profile, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.outbound_voice_profiles.with_streaming_response.delete( @@ -251,6 +271,7 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -264,6 +285,7 @@ class TestAsyncOutboundVoiceProfiles: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: outbound_voice_profile = await async_client.outbound_voice_profiles.create( @@ -271,6 +293,7 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(OutboundVoiceProfileCreateResponse, outbound_voice_profile, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: outbound_voice_profile = await async_client.outbound_voice_profiles.create( @@ -295,6 +318,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(OutboundVoiceProfileCreateResponse, outbound_voice_profile, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.outbound_voice_profiles.with_raw_response.create( @@ -306,6 +330,7 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: outbound_voice_profile = await response.parse() assert_matches_type(OutboundVoiceProfileCreateResponse, outbound_voice_profile, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.outbound_voice_profiles.with_streaming_response.create( @@ -319,6 +344,7 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: outbound_voice_profile = await async_client.outbound_voice_profiles.retrieve( @@ -326,6 +352,7 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(OutboundVoiceProfileRetrieveResponse, outbound_voice_profile, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.outbound_voice_profiles.with_raw_response.retrieve( @@ -337,6 +364,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: outbound_voice_profile = await response.parse() assert_matches_type(OutboundVoiceProfileRetrieveResponse, outbound_voice_profile, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.outbound_voice_profiles.with_streaming_response.retrieve( @@ -350,6 +378,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -357,6 +386,7 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update(self, async_client: AsyncTelnyx) -> None: outbound_voice_profile = await async_client.outbound_voice_profiles.update( @@ -365,6 +395,7 @@ async def test_method_update(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(OutboundVoiceProfileUpdateResponse, outbound_voice_profile, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> None: outbound_voice_profile = await async_client.outbound_voice_profiles.update( @@ -390,6 +421,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(OutboundVoiceProfileUpdateResponse, outbound_voice_profile, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: response = await async_client.outbound_voice_profiles.with_raw_response.update( @@ -402,6 +434,7 @@ async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: outbound_voice_profile = await response.parse() assert_matches_type(OutboundVoiceProfileUpdateResponse, outbound_voice_profile, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> None: async with async_client.outbound_voice_profiles.with_streaming_response.update( @@ -416,6 +449,7 @@ async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -424,11 +458,13 @@ async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: name="office", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: outbound_voice_profile = await async_client.outbound_voice_profiles.list() assert_matches_type(OutboundVoiceProfileListResponse, outbound_voice_profile, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: outbound_voice_profile = await async_client.outbound_voice_profiles.list( @@ -441,6 +477,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(OutboundVoiceProfileListResponse, outbound_voice_profile, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.outbound_voice_profiles.with_raw_response.list() @@ -450,6 +487,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: outbound_voice_profile = await response.parse() assert_matches_type(OutboundVoiceProfileListResponse, outbound_voice_profile, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.outbound_voice_profiles.with_streaming_response.list() as response: @@ -461,6 +499,7 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: outbound_voice_profile = await async_client.outbound_voice_profiles.delete( @@ -468,6 +507,7 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(OutboundVoiceProfileDeleteResponse, outbound_voice_profile, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.outbound_voice_profiles.with_raw_response.delete( @@ -479,6 +519,7 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: outbound_voice_profile = await response.parse() assert_matches_type(OutboundVoiceProfileDeleteResponse, outbound_voice_profile, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.outbound_voice_profiles.with_streaming_response.delete( @@ -492,6 +533,7 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): diff --git a/tests/api_resources/test_partner_campaigns.py b/tests/api_resources/test_partner_campaigns.py index 349a05d0..56b96282 100644 --- a/tests/api_resources/test_partner_campaigns.py +++ b/tests/api_resources/test_partner_campaigns.py @@ -22,6 +22,7 @@ class TestPartnerCampaigns: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: partner_campaign = client.partner_campaigns.retrieve( @@ -29,6 +30,7 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(TelnyxDownstreamCampaign, partner_campaign, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.partner_campaigns.with_raw_response.retrieve( @@ -40,6 +42,7 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: partner_campaign = response.parse() assert_matches_type(TelnyxDownstreamCampaign, partner_campaign, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.partner_campaigns.with_streaming_response.retrieve( @@ -53,6 +56,7 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `campaign_id` but received ''"): @@ -60,6 +64,7 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update(self, client: Telnyx) -> None: partner_campaign = client.partner_campaigns.update( @@ -67,6 +72,7 @@ def test_method_update(self, client: Telnyx) -> None: ) assert_matches_type(TelnyxDownstreamCampaign, partner_campaign, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_with_all_params(self, client: Telnyx) -> None: partner_campaign = client.partner_campaigns.update( @@ -76,6 +82,7 @@ def test_method_update_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(TelnyxDownstreamCampaign, partner_campaign, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update(self, client: Telnyx) -> None: response = client.partner_campaigns.with_raw_response.update( @@ -87,6 +94,7 @@ def test_raw_response_update(self, client: Telnyx) -> None: partner_campaign = response.parse() assert_matches_type(TelnyxDownstreamCampaign, partner_campaign, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update(self, client: Telnyx) -> None: with client.partner_campaigns.with_streaming_response.update( @@ -100,6 +108,7 @@ def test_streaming_response_update(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `campaign_id` but received ''"): @@ -107,11 +116,13 @@ def test_path_params_update(self, client: Telnyx) -> None: campaign_id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: partner_campaign = client.partner_campaigns.list() assert_matches_type(PartnerCampaignListResponse, partner_campaign, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: partner_campaign = client.partner_campaigns.list( @@ -121,6 +132,7 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(PartnerCampaignListResponse, partner_campaign, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.partner_campaigns.with_raw_response.list() @@ -130,6 +142,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: partner_campaign = response.parse() assert_matches_type(PartnerCampaignListResponse, partner_campaign, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.partner_campaigns.with_streaming_response.list() as response: @@ -141,11 +154,13 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_shared_by_me(self, client: Telnyx) -> None: partner_campaign = client.partner_campaigns.list_shared_by_me() assert_matches_type(PartnerCampaignListSharedByMeResponse, partner_campaign, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_shared_by_me_with_all_params(self, client: Telnyx) -> None: partner_campaign = client.partner_campaigns.list_shared_by_me( @@ -154,6 +169,7 @@ def test_method_list_shared_by_me_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(PartnerCampaignListSharedByMeResponse, partner_campaign, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list_shared_by_me(self, client: Telnyx) -> None: response = client.partner_campaigns.with_raw_response.list_shared_by_me() @@ -163,6 +179,7 @@ def test_raw_response_list_shared_by_me(self, client: Telnyx) -> None: partner_campaign = response.parse() assert_matches_type(PartnerCampaignListSharedByMeResponse, partner_campaign, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list_shared_by_me(self, client: Telnyx) -> None: with client.partner_campaigns.with_streaming_response.list_shared_by_me() as response: @@ -174,6 +191,7 @@ def test_streaming_response_list_shared_by_me(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve_sharing_status(self, client: Telnyx) -> None: partner_campaign = client.partner_campaigns.retrieve_sharing_status( @@ -181,6 +199,7 @@ def test_method_retrieve_sharing_status(self, client: Telnyx) -> None: ) assert_matches_type(PartnerCampaignRetrieveSharingStatusResponse, partner_campaign, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve_sharing_status(self, client: Telnyx) -> None: response = client.partner_campaigns.with_raw_response.retrieve_sharing_status( @@ -192,6 +211,7 @@ def test_raw_response_retrieve_sharing_status(self, client: Telnyx) -> None: partner_campaign = response.parse() assert_matches_type(PartnerCampaignRetrieveSharingStatusResponse, partner_campaign, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve_sharing_status(self, client: Telnyx) -> None: with client.partner_campaigns.with_streaming_response.retrieve_sharing_status( @@ -205,6 +225,7 @@ def test_streaming_response_retrieve_sharing_status(self, client: Telnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve_sharing_status(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `campaign_id` but received ''"): @@ -218,6 +239,7 @@ class TestAsyncPartnerCampaigns: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: partner_campaign = await async_client.partner_campaigns.retrieve( @@ -225,6 +247,7 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(TelnyxDownstreamCampaign, partner_campaign, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.partner_campaigns.with_raw_response.retrieve( @@ -236,6 +259,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: partner_campaign = await response.parse() assert_matches_type(TelnyxDownstreamCampaign, partner_campaign, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.partner_campaigns.with_streaming_response.retrieve( @@ -249,6 +273,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `campaign_id` but received ''"): @@ -256,6 +281,7 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update(self, async_client: AsyncTelnyx) -> None: partner_campaign = await async_client.partner_campaigns.update( @@ -263,6 +289,7 @@ async def test_method_update(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(TelnyxDownstreamCampaign, partner_campaign, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> None: partner_campaign = await async_client.partner_campaigns.update( @@ -272,6 +299,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(TelnyxDownstreamCampaign, partner_campaign, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: response = await async_client.partner_campaigns.with_raw_response.update( @@ -283,6 +311,7 @@ async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: partner_campaign = await response.parse() assert_matches_type(TelnyxDownstreamCampaign, partner_campaign, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> None: async with async_client.partner_campaigns.with_streaming_response.update( @@ -296,6 +325,7 @@ async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `campaign_id` but received ''"): @@ -303,11 +333,13 @@ async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: campaign_id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: partner_campaign = await async_client.partner_campaigns.list() assert_matches_type(PartnerCampaignListResponse, partner_campaign, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: partner_campaign = await async_client.partner_campaigns.list( @@ -317,6 +349,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(PartnerCampaignListResponse, partner_campaign, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.partner_campaigns.with_raw_response.list() @@ -326,6 +359,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: partner_campaign = await response.parse() assert_matches_type(PartnerCampaignListResponse, partner_campaign, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.partner_campaigns.with_streaming_response.list() as response: @@ -337,11 +371,13 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_shared_by_me(self, async_client: AsyncTelnyx) -> None: partner_campaign = await async_client.partner_campaigns.list_shared_by_me() assert_matches_type(PartnerCampaignListSharedByMeResponse, partner_campaign, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_shared_by_me_with_all_params(self, async_client: AsyncTelnyx) -> None: partner_campaign = await async_client.partner_campaigns.list_shared_by_me( @@ -350,6 +386,7 @@ async def test_method_list_shared_by_me_with_all_params(self, async_client: Asyn ) assert_matches_type(PartnerCampaignListSharedByMeResponse, partner_campaign, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list_shared_by_me(self, async_client: AsyncTelnyx) -> None: response = await async_client.partner_campaigns.with_raw_response.list_shared_by_me() @@ -359,6 +396,7 @@ async def test_raw_response_list_shared_by_me(self, async_client: AsyncTelnyx) - partner_campaign = await response.parse() assert_matches_type(PartnerCampaignListSharedByMeResponse, partner_campaign, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list_shared_by_me(self, async_client: AsyncTelnyx) -> None: async with async_client.partner_campaigns.with_streaming_response.list_shared_by_me() as response: @@ -370,6 +408,7 @@ async def test_streaming_response_list_shared_by_me(self, async_client: AsyncTel assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve_sharing_status(self, async_client: AsyncTelnyx) -> None: partner_campaign = await async_client.partner_campaigns.retrieve_sharing_status( @@ -377,6 +416,7 @@ async def test_method_retrieve_sharing_status(self, async_client: AsyncTelnyx) - ) assert_matches_type(PartnerCampaignRetrieveSharingStatusResponse, partner_campaign, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve_sharing_status(self, async_client: AsyncTelnyx) -> None: response = await async_client.partner_campaigns.with_raw_response.retrieve_sharing_status( @@ -388,6 +428,7 @@ async def test_raw_response_retrieve_sharing_status(self, async_client: AsyncTel partner_campaign = await response.parse() assert_matches_type(PartnerCampaignRetrieveSharingStatusResponse, partner_campaign, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve_sharing_status(self, async_client: AsyncTelnyx) -> None: async with async_client.partner_campaigns.with_streaming_response.retrieve_sharing_status( @@ -401,6 +442,7 @@ async def test_streaming_response_retrieve_sharing_status(self, async_client: As assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve_sharing_status(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `campaign_id` but received ''"): diff --git a/tests/api_resources/test_phone_number_assignment_by_profile.py b/tests/api_resources/test_phone_number_assignment_by_profile.py index 8391188b..3f220343 100644 --- a/tests/api_resources/test_phone_number_assignment_by_profile.py +++ b/tests/api_resources/test_phone_number_assignment_by_profile.py @@ -21,6 +21,7 @@ class TestPhoneNumberAssignmentByProfile: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_assign(self, client: Telnyx) -> None: phone_number_assignment_by_profile = client.phone_number_assignment_by_profile.assign( @@ -30,6 +31,7 @@ def test_method_assign(self, client: Telnyx) -> None: PhoneNumberAssignmentByProfileAssignResponse, phone_number_assignment_by_profile, path=["response"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_assign_with_all_params(self, client: Telnyx) -> None: phone_number_assignment_by_profile = client.phone_number_assignment_by_profile.assign( @@ -41,6 +43,7 @@ def test_method_assign_with_all_params(self, client: Telnyx) -> None: PhoneNumberAssignmentByProfileAssignResponse, phone_number_assignment_by_profile, path=["response"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_assign(self, client: Telnyx) -> None: response = client.phone_number_assignment_by_profile.with_raw_response.assign( @@ -54,6 +57,7 @@ def test_raw_response_assign(self, client: Telnyx) -> None: PhoneNumberAssignmentByProfileAssignResponse, phone_number_assignment_by_profile, path=["response"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_assign(self, client: Telnyx) -> None: with client.phone_number_assignment_by_profile.with_streaming_response.assign( @@ -69,6 +73,7 @@ def test_streaming_response_assign(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve_phone_number_status(self, client: Telnyx) -> None: phone_number_assignment_by_profile = client.phone_number_assignment_by_profile.retrieve_phone_number_status( @@ -80,6 +85,7 @@ def test_method_retrieve_phone_number_status(self, client: Telnyx) -> None: path=["response"], ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve_phone_number_status_with_all_params(self, client: Telnyx) -> None: phone_number_assignment_by_profile = client.phone_number_assignment_by_profile.retrieve_phone_number_status( @@ -93,6 +99,7 @@ def test_method_retrieve_phone_number_status_with_all_params(self, client: Telny path=["response"], ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve_phone_number_status(self, client: Telnyx) -> None: response = client.phone_number_assignment_by_profile.with_raw_response.retrieve_phone_number_status( @@ -108,6 +115,7 @@ def test_raw_response_retrieve_phone_number_status(self, client: Telnyx) -> None path=["response"], ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve_phone_number_status(self, client: Telnyx) -> None: with client.phone_number_assignment_by_profile.with_streaming_response.retrieve_phone_number_status( @@ -125,6 +133,7 @@ def test_streaming_response_retrieve_phone_number_status(self, client: Telnyx) - assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve_phone_number_status(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `task_id` but received ''"): @@ -132,6 +141,7 @@ def test_path_params_retrieve_phone_number_status(self, client: Telnyx) -> None: task_id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve_status(self, client: Telnyx) -> None: phone_number_assignment_by_profile = client.phone_number_assignment_by_profile.retrieve_status( @@ -141,6 +151,7 @@ def test_method_retrieve_status(self, client: Telnyx) -> None: PhoneNumberAssignmentByProfileRetrieveStatusResponse, phone_number_assignment_by_profile, path=["response"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve_status(self, client: Telnyx) -> None: response = client.phone_number_assignment_by_profile.with_raw_response.retrieve_status( @@ -154,6 +165,7 @@ def test_raw_response_retrieve_status(self, client: Telnyx) -> None: PhoneNumberAssignmentByProfileRetrieveStatusResponse, phone_number_assignment_by_profile, path=["response"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve_status(self, client: Telnyx) -> None: with client.phone_number_assignment_by_profile.with_streaming_response.retrieve_status( @@ -171,6 +183,7 @@ def test_streaming_response_retrieve_status(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve_status(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `task_id` but received ''"): @@ -184,6 +197,7 @@ class TestAsyncPhoneNumberAssignmentByProfile: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_assign(self, async_client: AsyncTelnyx) -> None: phone_number_assignment_by_profile = await async_client.phone_number_assignment_by_profile.assign( @@ -193,6 +207,7 @@ async def test_method_assign(self, async_client: AsyncTelnyx) -> None: PhoneNumberAssignmentByProfileAssignResponse, phone_number_assignment_by_profile, path=["response"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_assign_with_all_params(self, async_client: AsyncTelnyx) -> None: phone_number_assignment_by_profile = await async_client.phone_number_assignment_by_profile.assign( @@ -204,6 +219,7 @@ async def test_method_assign_with_all_params(self, async_client: AsyncTelnyx) -> PhoneNumberAssignmentByProfileAssignResponse, phone_number_assignment_by_profile, path=["response"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_assign(self, async_client: AsyncTelnyx) -> None: response = await async_client.phone_number_assignment_by_profile.with_raw_response.assign( @@ -217,6 +233,7 @@ async def test_raw_response_assign(self, async_client: AsyncTelnyx) -> None: PhoneNumberAssignmentByProfileAssignResponse, phone_number_assignment_by_profile, path=["response"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_assign(self, async_client: AsyncTelnyx) -> None: async with async_client.phone_number_assignment_by_profile.with_streaming_response.assign( @@ -232,6 +249,7 @@ async def test_streaming_response_assign(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve_phone_number_status(self, async_client: AsyncTelnyx) -> None: phone_number_assignment_by_profile = ( @@ -245,6 +263,7 @@ async def test_method_retrieve_phone_number_status(self, async_client: AsyncTeln path=["response"], ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve_phone_number_status_with_all_params(self, async_client: AsyncTelnyx) -> None: phone_number_assignment_by_profile = ( @@ -260,6 +279,7 @@ async def test_method_retrieve_phone_number_status_with_all_params(self, async_c path=["response"], ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve_phone_number_status(self, async_client: AsyncTelnyx) -> None: response = await async_client.phone_number_assignment_by_profile.with_raw_response.retrieve_phone_number_status( @@ -275,6 +295,7 @@ async def test_raw_response_retrieve_phone_number_status(self, async_client: Asy path=["response"], ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve_phone_number_status(self, async_client: AsyncTelnyx) -> None: async with async_client.phone_number_assignment_by_profile.with_streaming_response.retrieve_phone_number_status( @@ -292,6 +313,7 @@ async def test_streaming_response_retrieve_phone_number_status(self, async_clien assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve_phone_number_status(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `task_id` but received ''"): @@ -299,6 +321,7 @@ async def test_path_params_retrieve_phone_number_status(self, async_client: Asyn task_id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve_status(self, async_client: AsyncTelnyx) -> None: phone_number_assignment_by_profile = await async_client.phone_number_assignment_by_profile.retrieve_status( @@ -308,6 +331,7 @@ async def test_method_retrieve_status(self, async_client: AsyncTelnyx) -> None: PhoneNumberAssignmentByProfileRetrieveStatusResponse, phone_number_assignment_by_profile, path=["response"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve_status(self, async_client: AsyncTelnyx) -> None: response = await async_client.phone_number_assignment_by_profile.with_raw_response.retrieve_status( @@ -321,6 +345,7 @@ async def test_raw_response_retrieve_status(self, async_client: AsyncTelnyx) -> PhoneNumberAssignmentByProfileRetrieveStatusResponse, phone_number_assignment_by_profile, path=["response"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve_status(self, async_client: AsyncTelnyx) -> None: async with async_client.phone_number_assignment_by_profile.with_streaming_response.retrieve_status( @@ -338,6 +363,7 @@ async def test_streaming_response_retrieve_status(self, async_client: AsyncTelny assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve_status(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `task_id` but received ''"): diff --git a/tests/api_resources/test_phone_number_campaigns.py b/tests/api_resources/test_phone_number_campaigns.py index 3b9d9c9e..ee865c0b 100644 --- a/tests/api_resources/test_phone_number_campaigns.py +++ b/tests/api_resources/test_phone_number_campaigns.py @@ -20,6 +20,7 @@ class TestPhoneNumberCampaigns: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: phone_number_campaign = client.phone_number_campaigns.create( @@ -28,6 +29,7 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(PhoneNumberCampaign, phone_number_campaign, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.phone_number_campaigns.with_raw_response.create( @@ -40,6 +42,7 @@ def test_raw_response_create(self, client: Telnyx) -> None: phone_number_campaign = response.parse() assert_matches_type(PhoneNumberCampaign, phone_number_campaign, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.phone_number_campaigns.with_streaming_response.create( @@ -54,6 +57,7 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: phone_number_campaign = client.phone_number_campaigns.retrieve( @@ -61,6 +65,7 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(PhoneNumberCampaign, phone_number_campaign, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.phone_number_campaigns.with_raw_response.retrieve( @@ -72,6 +77,7 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: phone_number_campaign = response.parse() assert_matches_type(PhoneNumberCampaign, phone_number_campaign, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.phone_number_campaigns.with_streaming_response.retrieve( @@ -85,6 +91,7 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `phone_number` but received ''"): @@ -92,6 +99,7 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update(self, client: Telnyx) -> None: phone_number_campaign = client.phone_number_campaigns.update( @@ -101,6 +109,7 @@ def test_method_update(self, client: Telnyx) -> None: ) assert_matches_type(PhoneNumberCampaign, phone_number_campaign, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update(self, client: Telnyx) -> None: response = client.phone_number_campaigns.with_raw_response.update( @@ -114,6 +123,7 @@ def test_raw_response_update(self, client: Telnyx) -> None: phone_number_campaign = response.parse() assert_matches_type(PhoneNumberCampaign, phone_number_campaign, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update(self, client: Telnyx) -> None: with client.phone_number_campaigns.with_streaming_response.update( @@ -129,6 +139,7 @@ def test_streaming_response_update(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `path_phone_number` but received ''"): @@ -138,11 +149,13 @@ def test_path_params_update(self, client: Telnyx) -> None: body_phone_number="+18005550199", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: phone_number_campaign = client.phone_number_campaigns.list() assert_matches_type(PhoneNumberCampaignListResponse, phone_number_campaign, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: phone_number_campaign = client.phone_number_campaigns.list( @@ -158,6 +171,7 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(PhoneNumberCampaignListResponse, phone_number_campaign, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.phone_number_campaigns.with_raw_response.list() @@ -167,6 +181,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: phone_number_campaign = response.parse() assert_matches_type(PhoneNumberCampaignListResponse, phone_number_campaign, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.phone_number_campaigns.with_streaming_response.list() as response: @@ -178,6 +193,7 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: phone_number_campaign = client.phone_number_campaigns.delete( @@ -185,6 +201,7 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert_matches_type(PhoneNumberCampaign, phone_number_campaign, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.phone_number_campaigns.with_raw_response.delete( @@ -196,6 +213,7 @@ def test_raw_response_delete(self, client: Telnyx) -> None: phone_number_campaign = response.parse() assert_matches_type(PhoneNumberCampaign, phone_number_campaign, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.phone_number_campaigns.with_streaming_response.delete( @@ -209,6 +227,7 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `phone_number` but received ''"): @@ -222,6 +241,7 @@ class TestAsyncPhoneNumberCampaigns: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: phone_number_campaign = await async_client.phone_number_campaigns.create( @@ -230,6 +250,7 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(PhoneNumberCampaign, phone_number_campaign, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.phone_number_campaigns.with_raw_response.create( @@ -242,6 +263,7 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: phone_number_campaign = await response.parse() assert_matches_type(PhoneNumberCampaign, phone_number_campaign, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.phone_number_campaigns.with_streaming_response.create( @@ -256,6 +278,7 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: phone_number_campaign = await async_client.phone_number_campaigns.retrieve( @@ -263,6 +286,7 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(PhoneNumberCampaign, phone_number_campaign, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.phone_number_campaigns.with_raw_response.retrieve( @@ -274,6 +298,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: phone_number_campaign = await response.parse() assert_matches_type(PhoneNumberCampaign, phone_number_campaign, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.phone_number_campaigns.with_streaming_response.retrieve( @@ -287,6 +312,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `phone_number` but received ''"): @@ -294,6 +320,7 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update(self, async_client: AsyncTelnyx) -> None: phone_number_campaign = await async_client.phone_number_campaigns.update( @@ -303,6 +330,7 @@ async def test_method_update(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(PhoneNumberCampaign, phone_number_campaign, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: response = await async_client.phone_number_campaigns.with_raw_response.update( @@ -316,6 +344,7 @@ async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: phone_number_campaign = await response.parse() assert_matches_type(PhoneNumberCampaign, phone_number_campaign, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> None: async with async_client.phone_number_campaigns.with_streaming_response.update( @@ -331,6 +360,7 @@ async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `path_phone_number` but received ''"): @@ -340,11 +370,13 @@ async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: body_phone_number="+18005550199", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: phone_number_campaign = await async_client.phone_number_campaigns.list() assert_matches_type(PhoneNumberCampaignListResponse, phone_number_campaign, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: phone_number_campaign = await async_client.phone_number_campaigns.list( @@ -360,6 +392,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(PhoneNumberCampaignListResponse, phone_number_campaign, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.phone_number_campaigns.with_raw_response.list() @@ -369,6 +402,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: phone_number_campaign = await response.parse() assert_matches_type(PhoneNumberCampaignListResponse, phone_number_campaign, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.phone_number_campaigns.with_streaming_response.list() as response: @@ -380,6 +414,7 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: phone_number_campaign = await async_client.phone_number_campaigns.delete( @@ -387,6 +422,7 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(PhoneNumberCampaign, phone_number_campaign, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.phone_number_campaigns.with_raw_response.delete( @@ -398,6 +434,7 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: phone_number_campaign = await response.parse() assert_matches_type(PhoneNumberCampaign, phone_number_campaign, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.phone_number_campaigns.with_streaming_response.delete( @@ -411,6 +448,7 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `phone_number` but received ''"): diff --git a/tests/api_resources/test_phone_numbers.py b/tests/api_resources/test_phone_numbers.py index 24deb45c..0cb71e23 100644 --- a/tests/api_resources/test_phone_numbers.py +++ b/tests/api_resources/test_phone_numbers.py @@ -23,6 +23,7 @@ class TestPhoneNumbers: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: phone_number = client.phone_numbers.retrieve( @@ -30,6 +31,7 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(PhoneNumberRetrieveResponse, phone_number, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.phone_numbers.with_raw_response.retrieve( @@ -41,6 +43,7 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: phone_number = response.parse() assert_matches_type(PhoneNumberRetrieveResponse, phone_number, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.phone_numbers.with_streaming_response.retrieve( @@ -54,6 +57,7 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -61,6 +65,7 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update(self, client: Telnyx) -> None: phone_number = client.phone_numbers.update( @@ -68,6 +73,7 @@ def test_method_update(self, client: Telnyx) -> None: ) assert_matches_type(PhoneNumberUpdateResponse, phone_number, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_with_all_params(self, client: Telnyx) -> None: phone_number = client.phone_numbers.update( @@ -81,6 +87,7 @@ def test_method_update_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(PhoneNumberUpdateResponse, phone_number, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update(self, client: Telnyx) -> None: response = client.phone_numbers.with_raw_response.update( @@ -92,6 +99,7 @@ def test_raw_response_update(self, client: Telnyx) -> None: phone_number = response.parse() assert_matches_type(PhoneNumberUpdateResponse, phone_number, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update(self, client: Telnyx) -> None: with client.phone_numbers.with_streaming_response.update( @@ -105,6 +113,7 @@ def test_streaming_response_update(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -112,11 +121,13 @@ def test_path_params_update(self, client: Telnyx) -> None: id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: phone_number = client.phone_numbers.list() assert_matches_type(PhoneNumberListResponse, phone_number, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: phone_number = client.phone_numbers.list( @@ -147,6 +158,7 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(PhoneNumberListResponse, phone_number, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.phone_numbers.with_raw_response.list() @@ -156,6 +168,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: phone_number = response.parse() assert_matches_type(PhoneNumberListResponse, phone_number, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.phone_numbers.with_streaming_response.list() as response: @@ -167,6 +180,7 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: phone_number = client.phone_numbers.delete( @@ -174,6 +188,7 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert_matches_type(PhoneNumberDeleteResponse, phone_number, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.phone_numbers.with_raw_response.delete( @@ -185,6 +200,7 @@ def test_raw_response_delete(self, client: Telnyx) -> None: phone_number = response.parse() assert_matches_type(PhoneNumberDeleteResponse, phone_number, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.phone_numbers.with_streaming_response.delete( @@ -198,6 +214,7 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -205,11 +222,13 @@ def test_path_params_delete(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_slim_list(self, client: Telnyx) -> None: phone_number = client.phone_numbers.slim_list() assert_matches_type(PhoneNumberSlimListResponse, phone_number, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_slim_list_with_all_params(self, client: Telnyx) -> None: phone_number = client.phone_numbers.slim_list( @@ -242,6 +261,7 @@ def test_method_slim_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(PhoneNumberSlimListResponse, phone_number, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_slim_list(self, client: Telnyx) -> None: response = client.phone_numbers.with_raw_response.slim_list() @@ -251,6 +271,7 @@ def test_raw_response_slim_list(self, client: Telnyx) -> None: phone_number = response.parse() assert_matches_type(PhoneNumberSlimListResponse, phone_number, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_slim_list(self, client: Telnyx) -> None: with client.phone_numbers.with_streaming_response.slim_list() as response: @@ -268,6 +289,7 @@ class TestAsyncPhoneNumbers: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: phone_number = await async_client.phone_numbers.retrieve( @@ -275,6 +297,7 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(PhoneNumberRetrieveResponse, phone_number, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.phone_numbers.with_raw_response.retrieve( @@ -286,6 +309,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: phone_number = await response.parse() assert_matches_type(PhoneNumberRetrieveResponse, phone_number, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.phone_numbers.with_streaming_response.retrieve( @@ -299,6 +323,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -306,6 +331,7 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update(self, async_client: AsyncTelnyx) -> None: phone_number = await async_client.phone_numbers.update( @@ -313,6 +339,7 @@ async def test_method_update(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(PhoneNumberUpdateResponse, phone_number, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> None: phone_number = await async_client.phone_numbers.update( @@ -326,6 +353,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(PhoneNumberUpdateResponse, phone_number, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: response = await async_client.phone_numbers.with_raw_response.update( @@ -337,6 +365,7 @@ async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: phone_number = await response.parse() assert_matches_type(PhoneNumberUpdateResponse, phone_number, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> None: async with async_client.phone_numbers.with_streaming_response.update( @@ -350,6 +379,7 @@ async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -357,11 +387,13 @@ async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: phone_number = await async_client.phone_numbers.list() assert_matches_type(PhoneNumberListResponse, phone_number, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: phone_number = await async_client.phone_numbers.list( @@ -392,6 +424,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(PhoneNumberListResponse, phone_number, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.phone_numbers.with_raw_response.list() @@ -401,6 +434,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: phone_number = await response.parse() assert_matches_type(PhoneNumberListResponse, phone_number, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.phone_numbers.with_streaming_response.list() as response: @@ -412,6 +446,7 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: phone_number = await async_client.phone_numbers.delete( @@ -419,6 +454,7 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(PhoneNumberDeleteResponse, phone_number, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.phone_numbers.with_raw_response.delete( @@ -430,6 +466,7 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: phone_number = await response.parse() assert_matches_type(PhoneNumberDeleteResponse, phone_number, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.phone_numbers.with_streaming_response.delete( @@ -443,6 +480,7 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -450,11 +488,13 @@ async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_slim_list(self, async_client: AsyncTelnyx) -> None: phone_number = await async_client.phone_numbers.slim_list() assert_matches_type(PhoneNumberSlimListResponse, phone_number, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_slim_list_with_all_params(self, async_client: AsyncTelnyx) -> None: phone_number = await async_client.phone_numbers.slim_list( @@ -487,6 +527,7 @@ async def test_method_slim_list_with_all_params(self, async_client: AsyncTelnyx) ) assert_matches_type(PhoneNumberSlimListResponse, phone_number, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_slim_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.phone_numbers.with_raw_response.slim_list() @@ -496,6 +537,7 @@ async def test_raw_response_slim_list(self, async_client: AsyncTelnyx) -> None: phone_number = await response.parse() assert_matches_type(PhoneNumberSlimListResponse, phone_number, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_slim_list(self, async_client: AsyncTelnyx) -> None: async with async_client.phone_numbers.with_streaming_response.slim_list() as response: diff --git a/tests/api_resources/test_phone_numbers_regulatory_requirements.py b/tests/api_resources/test_phone_numbers_regulatory_requirements.py index 3d0eead8..bbe01a9c 100644 --- a/tests/api_resources/test_phone_numbers_regulatory_requirements.py +++ b/tests/api_resources/test_phone_numbers_regulatory_requirements.py @@ -19,6 +19,7 @@ class TestPhoneNumbersRegulatoryRequirements: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: phone_numbers_regulatory_requirement = client.phone_numbers_regulatory_requirements.retrieve() @@ -26,6 +27,7 @@ def test_method_retrieve(self, client: Telnyx) -> None: PhoneNumbersRegulatoryRequirementRetrieveResponse, phone_numbers_regulatory_requirement, path=["response"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve_with_all_params(self, client: Telnyx) -> None: phone_numbers_regulatory_requirement = client.phone_numbers_regulatory_requirements.retrieve( @@ -35,6 +37,7 @@ def test_method_retrieve_with_all_params(self, client: Telnyx) -> None: PhoneNumbersRegulatoryRequirementRetrieveResponse, phone_numbers_regulatory_requirement, path=["response"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.phone_numbers_regulatory_requirements.with_raw_response.retrieve() @@ -46,6 +49,7 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: PhoneNumbersRegulatoryRequirementRetrieveResponse, phone_numbers_regulatory_requirement, path=["response"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.phone_numbers_regulatory_requirements.with_streaming_response.retrieve() as response: @@ -67,6 +71,7 @@ class TestAsyncPhoneNumbersRegulatoryRequirements: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: phone_numbers_regulatory_requirement = await async_client.phone_numbers_regulatory_requirements.retrieve() @@ -74,6 +79,7 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: PhoneNumbersRegulatoryRequirementRetrieveResponse, phone_numbers_regulatory_requirement, path=["response"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve_with_all_params(self, async_client: AsyncTelnyx) -> None: phone_numbers_regulatory_requirement = await async_client.phone_numbers_regulatory_requirements.retrieve( @@ -83,6 +89,7 @@ async def test_method_retrieve_with_all_params(self, async_client: AsyncTelnyx) PhoneNumbersRegulatoryRequirementRetrieveResponse, phone_numbers_regulatory_requirement, path=["response"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.phone_numbers_regulatory_requirements.with_raw_response.retrieve() @@ -94,6 +101,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: PhoneNumbersRegulatoryRequirementRetrieveResponse, phone_numbers_regulatory_requirement, path=["response"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.phone_numbers_regulatory_requirements.with_streaming_response.retrieve() as response: diff --git a/tests/api_resources/test_portability_checks.py b/tests/api_resources/test_portability_checks.py index 6d2e69fc..f1b9eea9 100644 --- a/tests/api_resources/test_portability_checks.py +++ b/tests/api_resources/test_portability_checks.py @@ -17,11 +17,13 @@ class TestPortabilityChecks: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_run(self, client: Telnyx) -> None: portability_check = client.portability_checks.run() assert_matches_type(PortabilityCheckRunResponse, portability_check, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_run_with_all_params(self, client: Telnyx) -> None: portability_check = client.portability_checks.run( @@ -29,6 +31,7 @@ def test_method_run_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(PortabilityCheckRunResponse, portability_check, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_run(self, client: Telnyx) -> None: response = client.portability_checks.with_raw_response.run() @@ -38,6 +41,7 @@ def test_raw_response_run(self, client: Telnyx) -> None: portability_check = response.parse() assert_matches_type(PortabilityCheckRunResponse, portability_check, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_run(self, client: Telnyx) -> None: with client.portability_checks.with_streaming_response.run() as response: @@ -55,11 +59,13 @@ class TestAsyncPortabilityChecks: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_run(self, async_client: AsyncTelnyx) -> None: portability_check = await async_client.portability_checks.run() assert_matches_type(PortabilityCheckRunResponse, portability_check, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_run_with_all_params(self, async_client: AsyncTelnyx) -> None: portability_check = await async_client.portability_checks.run( @@ -67,6 +73,7 @@ async def test_method_run_with_all_params(self, async_client: AsyncTelnyx) -> No ) assert_matches_type(PortabilityCheckRunResponse, portability_check, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_run(self, async_client: AsyncTelnyx) -> None: response = await async_client.portability_checks.with_raw_response.run() @@ -76,6 +83,7 @@ async def test_raw_response_run(self, async_client: AsyncTelnyx) -> None: portability_check = await response.parse() assert_matches_type(PortabilityCheckRunResponse, portability_check, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_run(self, async_client: AsyncTelnyx) -> None: async with async_client.portability_checks.with_streaming_response.run() as response: diff --git a/tests/api_resources/test_porting.py b/tests/api_resources/test_porting.py index 87565104..c233dcbe 100644 --- a/tests/api_resources/test_porting.py +++ b/tests/api_resources/test_porting.py @@ -17,11 +17,13 @@ class TestPorting: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_uk_carriers(self, client: Telnyx) -> None: porting = client.porting.list_uk_carriers() assert_matches_type(PortingListUkCarriersResponse, porting, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list_uk_carriers(self, client: Telnyx) -> None: response = client.porting.with_raw_response.list_uk_carriers() @@ -31,6 +33,7 @@ def test_raw_response_list_uk_carriers(self, client: Telnyx) -> None: porting = response.parse() assert_matches_type(PortingListUkCarriersResponse, porting, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list_uk_carriers(self, client: Telnyx) -> None: with client.porting.with_streaming_response.list_uk_carriers() as response: @@ -48,11 +51,13 @@ class TestAsyncPorting: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_uk_carriers(self, async_client: AsyncTelnyx) -> None: porting = await async_client.porting.list_uk_carriers() assert_matches_type(PortingListUkCarriersResponse, porting, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list_uk_carriers(self, async_client: AsyncTelnyx) -> None: response = await async_client.porting.with_raw_response.list_uk_carriers() @@ -62,6 +67,7 @@ async def test_raw_response_list_uk_carriers(self, async_client: AsyncTelnyx) -> porting = await response.parse() assert_matches_type(PortingListUkCarriersResponse, porting, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list_uk_carriers(self, async_client: AsyncTelnyx) -> None: async with async_client.porting.with_streaming_response.list_uk_carriers() as response: diff --git a/tests/api_resources/test_porting_orders.py b/tests/api_resources/test_porting_orders.py index c54c8fcf..d5f8df72 100644 --- a/tests/api_resources/test_porting_orders.py +++ b/tests/api_resources/test_porting_orders.py @@ -35,6 +35,7 @@ class TestPortingOrders: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: porting_order = client.porting_orders.create( @@ -42,6 +43,7 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(PortingOrderCreateResponse, porting_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: porting_order = client.porting_orders.create( @@ -50,6 +52,7 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(PortingOrderCreateResponse, porting_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.porting_orders.with_raw_response.create( @@ -61,6 +64,7 @@ def test_raw_response_create(self, client: Telnyx) -> None: porting_order = response.parse() assert_matches_type(PortingOrderCreateResponse, porting_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.porting_orders.with_streaming_response.create( @@ -74,6 +78,7 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: porting_order = client.porting_orders.retrieve( @@ -81,6 +86,7 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(PortingOrderRetrieveResponse, porting_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve_with_all_params(self, client: Telnyx) -> None: porting_order = client.porting_orders.retrieve( @@ -89,6 +95,7 @@ def test_method_retrieve_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(PortingOrderRetrieveResponse, porting_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.porting_orders.with_raw_response.retrieve( @@ -100,6 +107,7 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: porting_order = response.parse() assert_matches_type(PortingOrderRetrieveResponse, porting_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.porting_orders.with_streaming_response.retrieve( @@ -113,6 +121,7 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -120,6 +129,7 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update(self, client: Telnyx) -> None: porting_order = client.porting_orders.update( @@ -127,6 +137,7 @@ def test_method_update(self, client: Telnyx) -> None: ) assert_matches_type(PortingOrderUpdateResponse, porting_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_with_all_params(self, client: Telnyx) -> None: porting_order = client.porting_orders.update( @@ -184,6 +195,7 @@ def test_method_update_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(PortingOrderUpdateResponse, porting_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update(self, client: Telnyx) -> None: response = client.porting_orders.with_raw_response.update( @@ -195,6 +207,7 @@ def test_raw_response_update(self, client: Telnyx) -> None: porting_order = response.parse() assert_matches_type(PortingOrderUpdateResponse, porting_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update(self, client: Telnyx) -> None: with client.porting_orders.with_streaming_response.update( @@ -208,6 +221,7 @@ def test_streaming_response_update(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -215,11 +229,13 @@ def test_path_params_update(self, client: Telnyx) -> None: id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: porting_order = client.porting_orders.list() assert_matches_type(PortingOrderListResponse, porting_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: porting_order = client.porting_orders.list( @@ -247,6 +263,7 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(PortingOrderListResponse, porting_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.porting_orders.with_raw_response.list() @@ -256,6 +273,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: porting_order = response.parse() assert_matches_type(PortingOrderListResponse, porting_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.porting_orders.with_streaming_response.list() as response: @@ -267,6 +285,7 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: porting_order = client.porting_orders.delete( @@ -274,6 +293,7 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert porting_order is None + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.porting_orders.with_raw_response.delete( @@ -285,6 +305,7 @@ def test_raw_response_delete(self, client: Telnyx) -> None: porting_order = response.parse() assert porting_order is None + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.porting_orders.with_streaming_response.delete( @@ -298,6 +319,7 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -305,6 +327,7 @@ def test_path_params_delete(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve_allowed_foc_windows(self, client: Telnyx) -> None: porting_order = client.porting_orders.retrieve_allowed_foc_windows( @@ -312,6 +335,7 @@ def test_method_retrieve_allowed_foc_windows(self, client: Telnyx) -> None: ) assert_matches_type(PortingOrderRetrieveAllowedFocWindowsResponse, porting_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve_allowed_foc_windows(self, client: Telnyx) -> None: response = client.porting_orders.with_raw_response.retrieve_allowed_foc_windows( @@ -323,6 +347,7 @@ def test_raw_response_retrieve_allowed_foc_windows(self, client: Telnyx) -> None porting_order = response.parse() assert_matches_type(PortingOrderRetrieveAllowedFocWindowsResponse, porting_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve_allowed_foc_windows(self, client: Telnyx) -> None: with client.porting_orders.with_streaming_response.retrieve_allowed_foc_windows( @@ -336,6 +361,7 @@ def test_streaming_response_retrieve_allowed_foc_windows(self, client: Telnyx) - assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve_allowed_foc_windows(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -343,11 +369,13 @@ def test_path_params_retrieve_allowed_foc_windows(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve_exception_types(self, client: Telnyx) -> None: porting_order = client.porting_orders.retrieve_exception_types() assert_matches_type(PortingOrderRetrieveExceptionTypesResponse, porting_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve_exception_types(self, client: Telnyx) -> None: response = client.porting_orders.with_raw_response.retrieve_exception_types() @@ -357,6 +385,7 @@ def test_raw_response_retrieve_exception_types(self, client: Telnyx) -> None: porting_order = response.parse() assert_matches_type(PortingOrderRetrieveExceptionTypesResponse, porting_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve_exception_types(self, client: Telnyx) -> None: with client.porting_orders.with_streaming_response.retrieve_exception_types() as response: @@ -439,6 +468,7 @@ def test_path_params_retrieve_loa_template(self, client: Telnyx) -> None: id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve_requirements(self, client: Telnyx) -> None: porting_order = client.porting_orders.retrieve_requirements( @@ -446,6 +476,7 @@ def test_method_retrieve_requirements(self, client: Telnyx) -> None: ) assert_matches_type(PortingOrderRetrieveRequirementsResponse, porting_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve_requirements_with_all_params(self, client: Telnyx) -> None: porting_order = client.porting_orders.retrieve_requirements( @@ -457,6 +488,7 @@ def test_method_retrieve_requirements_with_all_params(self, client: Telnyx) -> N ) assert_matches_type(PortingOrderRetrieveRequirementsResponse, porting_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve_requirements(self, client: Telnyx) -> None: response = client.porting_orders.with_raw_response.retrieve_requirements( @@ -468,6 +500,7 @@ def test_raw_response_retrieve_requirements(self, client: Telnyx) -> None: porting_order = response.parse() assert_matches_type(PortingOrderRetrieveRequirementsResponse, porting_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve_requirements(self, client: Telnyx) -> None: with client.porting_orders.with_streaming_response.retrieve_requirements( @@ -481,6 +514,7 @@ def test_streaming_response_retrieve_requirements(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve_requirements(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -488,6 +522,7 @@ def test_path_params_retrieve_requirements(self, client: Telnyx) -> None: id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve_sub_request(self, client: Telnyx) -> None: porting_order = client.porting_orders.retrieve_sub_request( @@ -495,6 +530,7 @@ def test_method_retrieve_sub_request(self, client: Telnyx) -> None: ) assert_matches_type(PortingOrderRetrieveSubRequestResponse, porting_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve_sub_request(self, client: Telnyx) -> None: response = client.porting_orders.with_raw_response.retrieve_sub_request( @@ -506,6 +542,7 @@ def test_raw_response_retrieve_sub_request(self, client: Telnyx) -> None: porting_order = response.parse() assert_matches_type(PortingOrderRetrieveSubRequestResponse, porting_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve_sub_request(self, client: Telnyx) -> None: with client.porting_orders.with_streaming_response.retrieve_sub_request( @@ -519,6 +556,7 @@ def test_streaming_response_retrieve_sub_request(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve_sub_request(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -532,6 +570,7 @@ class TestAsyncPortingOrders: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: porting_order = await async_client.porting_orders.create( @@ -539,6 +578,7 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(PortingOrderCreateResponse, porting_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: porting_order = await async_client.porting_orders.create( @@ -547,6 +587,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(PortingOrderCreateResponse, porting_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.porting_orders.with_raw_response.create( @@ -558,6 +599,7 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: porting_order = await response.parse() assert_matches_type(PortingOrderCreateResponse, porting_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.porting_orders.with_streaming_response.create( @@ -571,6 +613,7 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: porting_order = await async_client.porting_orders.retrieve( @@ -578,6 +621,7 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(PortingOrderRetrieveResponse, porting_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve_with_all_params(self, async_client: AsyncTelnyx) -> None: porting_order = await async_client.porting_orders.retrieve( @@ -586,6 +630,7 @@ async def test_method_retrieve_with_all_params(self, async_client: AsyncTelnyx) ) assert_matches_type(PortingOrderRetrieveResponse, porting_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.porting_orders.with_raw_response.retrieve( @@ -597,6 +642,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: porting_order = await response.parse() assert_matches_type(PortingOrderRetrieveResponse, porting_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.porting_orders.with_streaming_response.retrieve( @@ -610,6 +656,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -617,6 +664,7 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update(self, async_client: AsyncTelnyx) -> None: porting_order = await async_client.porting_orders.update( @@ -624,6 +672,7 @@ async def test_method_update(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(PortingOrderUpdateResponse, porting_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> None: porting_order = await async_client.porting_orders.update( @@ -681,6 +730,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(PortingOrderUpdateResponse, porting_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: response = await async_client.porting_orders.with_raw_response.update( @@ -692,6 +742,7 @@ async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: porting_order = await response.parse() assert_matches_type(PortingOrderUpdateResponse, porting_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> None: async with async_client.porting_orders.with_streaming_response.update( @@ -705,6 +756,7 @@ async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -712,11 +764,13 @@ async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: porting_order = await async_client.porting_orders.list() assert_matches_type(PortingOrderListResponse, porting_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: porting_order = await async_client.porting_orders.list( @@ -744,6 +798,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(PortingOrderListResponse, porting_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.porting_orders.with_raw_response.list() @@ -753,6 +808,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: porting_order = await response.parse() assert_matches_type(PortingOrderListResponse, porting_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.porting_orders.with_streaming_response.list() as response: @@ -764,6 +820,7 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: porting_order = await async_client.porting_orders.delete( @@ -771,6 +828,7 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert porting_order is None + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.porting_orders.with_raw_response.delete( @@ -782,6 +840,7 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: porting_order = await response.parse() assert porting_order is None + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.porting_orders.with_streaming_response.delete( @@ -795,6 +854,7 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -802,6 +862,7 @@ async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve_allowed_foc_windows(self, async_client: AsyncTelnyx) -> None: porting_order = await async_client.porting_orders.retrieve_allowed_foc_windows( @@ -809,6 +870,7 @@ async def test_method_retrieve_allowed_foc_windows(self, async_client: AsyncTeln ) assert_matches_type(PortingOrderRetrieveAllowedFocWindowsResponse, porting_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve_allowed_foc_windows(self, async_client: AsyncTelnyx) -> None: response = await async_client.porting_orders.with_raw_response.retrieve_allowed_foc_windows( @@ -820,6 +882,7 @@ async def test_raw_response_retrieve_allowed_foc_windows(self, async_client: Asy porting_order = await response.parse() assert_matches_type(PortingOrderRetrieveAllowedFocWindowsResponse, porting_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve_allowed_foc_windows(self, async_client: AsyncTelnyx) -> None: async with async_client.porting_orders.with_streaming_response.retrieve_allowed_foc_windows( @@ -833,6 +896,7 @@ async def test_streaming_response_retrieve_allowed_foc_windows(self, async_clien assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve_allowed_foc_windows(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -840,11 +904,13 @@ async def test_path_params_retrieve_allowed_foc_windows(self, async_client: Asyn "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve_exception_types(self, async_client: AsyncTelnyx) -> None: porting_order = await async_client.porting_orders.retrieve_exception_types() assert_matches_type(PortingOrderRetrieveExceptionTypesResponse, porting_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve_exception_types(self, async_client: AsyncTelnyx) -> None: response = await async_client.porting_orders.with_raw_response.retrieve_exception_types() @@ -854,6 +920,7 @@ async def test_raw_response_retrieve_exception_types(self, async_client: AsyncTe porting_order = await response.parse() assert_matches_type(PortingOrderRetrieveExceptionTypesResponse, porting_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve_exception_types(self, async_client: AsyncTelnyx) -> None: async with async_client.porting_orders.with_streaming_response.retrieve_exception_types() as response: @@ -940,6 +1007,7 @@ async def test_path_params_retrieve_loa_template(self, async_client: AsyncTelnyx id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve_requirements(self, async_client: AsyncTelnyx) -> None: porting_order = await async_client.porting_orders.retrieve_requirements( @@ -947,6 +1015,7 @@ async def test_method_retrieve_requirements(self, async_client: AsyncTelnyx) -> ) assert_matches_type(PortingOrderRetrieveRequirementsResponse, porting_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve_requirements_with_all_params(self, async_client: AsyncTelnyx) -> None: porting_order = await async_client.porting_orders.retrieve_requirements( @@ -958,6 +1027,7 @@ async def test_method_retrieve_requirements_with_all_params(self, async_client: ) assert_matches_type(PortingOrderRetrieveRequirementsResponse, porting_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve_requirements(self, async_client: AsyncTelnyx) -> None: response = await async_client.porting_orders.with_raw_response.retrieve_requirements( @@ -969,6 +1039,7 @@ async def test_raw_response_retrieve_requirements(self, async_client: AsyncTelny porting_order = await response.parse() assert_matches_type(PortingOrderRetrieveRequirementsResponse, porting_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve_requirements(self, async_client: AsyncTelnyx) -> None: async with async_client.porting_orders.with_streaming_response.retrieve_requirements( @@ -982,6 +1053,7 @@ async def test_streaming_response_retrieve_requirements(self, async_client: Asyn assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve_requirements(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -989,6 +1061,7 @@ async def test_path_params_retrieve_requirements(self, async_client: AsyncTelnyx id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve_sub_request(self, async_client: AsyncTelnyx) -> None: porting_order = await async_client.porting_orders.retrieve_sub_request( @@ -996,6 +1069,7 @@ async def test_method_retrieve_sub_request(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(PortingOrderRetrieveSubRequestResponse, porting_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve_sub_request(self, async_client: AsyncTelnyx) -> None: response = await async_client.porting_orders.with_raw_response.retrieve_sub_request( @@ -1007,6 +1081,7 @@ async def test_raw_response_retrieve_sub_request(self, async_client: AsyncTelnyx porting_order = await response.parse() assert_matches_type(PortingOrderRetrieveSubRequestResponse, porting_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve_sub_request(self, async_client: AsyncTelnyx) -> None: async with async_client.porting_orders.with_streaming_response.retrieve_sub_request( @@ -1020,6 +1095,7 @@ async def test_streaming_response_retrieve_sub_request(self, async_client: Async assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve_sub_request(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): diff --git a/tests/api_resources/test_porting_phone_numbers.py b/tests/api_resources/test_porting_phone_numbers.py index 885b83f6..479f123d 100644 --- a/tests/api_resources/test_porting_phone_numbers.py +++ b/tests/api_resources/test_porting_phone_numbers.py @@ -17,11 +17,13 @@ class TestPortingPhoneNumbers: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: porting_phone_number = client.porting_phone_numbers.list() assert_matches_type(PortingPhoneNumberListResponse, porting_phone_number, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: porting_phone_number = client.porting_phone_numbers.list( @@ -33,6 +35,7 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(PortingPhoneNumberListResponse, porting_phone_number, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.porting_phone_numbers.with_raw_response.list() @@ -42,6 +45,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: porting_phone_number = response.parse() assert_matches_type(PortingPhoneNumberListResponse, porting_phone_number, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.porting_phone_numbers.with_streaming_response.list() as response: @@ -59,11 +63,13 @@ class TestAsyncPortingPhoneNumbers: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: porting_phone_number = await async_client.porting_phone_numbers.list() assert_matches_type(PortingPhoneNumberListResponse, porting_phone_number, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: porting_phone_number = await async_client.porting_phone_numbers.list( @@ -75,6 +81,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(PortingPhoneNumberListResponse, porting_phone_number, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.porting_phone_numbers.with_raw_response.list() @@ -84,6 +91,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: porting_phone_number = await response.parse() assert_matches_type(PortingPhoneNumberListResponse, porting_phone_number, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.porting_phone_numbers.with_streaming_response.list() as response: diff --git a/tests/api_resources/test_portouts.py b/tests/api_resources/test_portouts.py index 4346991d..95f537d0 100644 --- a/tests/api_resources/test_portouts.py +++ b/tests/api_resources/test_portouts.py @@ -23,6 +23,7 @@ class TestPortouts: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: portout = client.portouts.retrieve( @@ -30,6 +31,7 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(PortoutRetrieveResponse, portout, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.portouts.with_raw_response.retrieve( @@ -41,6 +43,7 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: portout = response.parse() assert_matches_type(PortoutRetrieveResponse, portout, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.portouts.with_streaming_response.retrieve( @@ -54,6 +57,7 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -61,11 +65,13 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: portout = client.portouts.list() assert_matches_type(PortoutListResponse, portout, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: portout = client.portouts.list( @@ -96,6 +102,7 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(PortoutListResponse, portout, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.portouts.with_raw_response.list() @@ -105,6 +112,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: portout = response.parse() assert_matches_type(PortoutListResponse, portout, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.portouts.with_streaming_response.list() as response: @@ -116,6 +124,7 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_rejection_codes(self, client: Telnyx) -> None: portout = client.portouts.list_rejection_codes( @@ -123,6 +132,7 @@ def test_method_list_rejection_codes(self, client: Telnyx) -> None: ) assert_matches_type(PortoutListRejectionCodesResponse, portout, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_rejection_codes_with_all_params(self, client: Telnyx) -> None: portout = client.portouts.list_rejection_codes( @@ -131,6 +141,7 @@ def test_method_list_rejection_codes_with_all_params(self, client: Telnyx) -> No ) assert_matches_type(PortoutListRejectionCodesResponse, portout, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list_rejection_codes(self, client: Telnyx) -> None: response = client.portouts.with_raw_response.list_rejection_codes( @@ -142,6 +153,7 @@ def test_raw_response_list_rejection_codes(self, client: Telnyx) -> None: portout = response.parse() assert_matches_type(PortoutListRejectionCodesResponse, portout, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list_rejection_codes(self, client: Telnyx) -> None: with client.portouts.with_streaming_response.list_rejection_codes( @@ -155,6 +167,7 @@ def test_streaming_response_list_rejection_codes(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_list_rejection_codes(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `portout_id` but received ''"): @@ -162,6 +175,7 @@ def test_path_params_list_rejection_codes(self, client: Telnyx) -> None: portout_id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_status(self, client: Telnyx) -> None: portout = client.portouts.update_status( @@ -171,6 +185,7 @@ def test_method_update_status(self, client: Telnyx) -> None: ) assert_matches_type(PortoutUpdateStatusResponse, portout, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_status_with_all_params(self, client: Telnyx) -> None: portout = client.portouts.update_status( @@ -181,6 +196,7 @@ def test_method_update_status_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(PortoutUpdateStatusResponse, portout, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update_status(self, client: Telnyx) -> None: response = client.portouts.with_raw_response.update_status( @@ -194,6 +210,7 @@ def test_raw_response_update_status(self, client: Telnyx) -> None: portout = response.parse() assert_matches_type(PortoutUpdateStatusResponse, portout, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update_status(self, client: Telnyx) -> None: with client.portouts.with_streaming_response.update_status( @@ -209,6 +226,7 @@ def test_streaming_response_update_status(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update_status(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -224,6 +242,7 @@ class TestAsyncPortouts: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: portout = await async_client.portouts.retrieve( @@ -231,6 +250,7 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(PortoutRetrieveResponse, portout, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.portouts.with_raw_response.retrieve( @@ -242,6 +262,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: portout = await response.parse() assert_matches_type(PortoutRetrieveResponse, portout, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.portouts.with_streaming_response.retrieve( @@ -255,6 +276,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -262,11 +284,13 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: portout = await async_client.portouts.list() assert_matches_type(PortoutListResponse, portout, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: portout = await async_client.portouts.list( @@ -297,6 +321,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(PortoutListResponse, portout, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.portouts.with_raw_response.list() @@ -306,6 +331,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: portout = await response.parse() assert_matches_type(PortoutListResponse, portout, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.portouts.with_streaming_response.list() as response: @@ -317,6 +343,7 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_rejection_codes(self, async_client: AsyncTelnyx) -> None: portout = await async_client.portouts.list_rejection_codes( @@ -324,6 +351,7 @@ async def test_method_list_rejection_codes(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(PortoutListRejectionCodesResponse, portout, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_rejection_codes_with_all_params(self, async_client: AsyncTelnyx) -> None: portout = await async_client.portouts.list_rejection_codes( @@ -332,6 +360,7 @@ async def test_method_list_rejection_codes_with_all_params(self, async_client: A ) assert_matches_type(PortoutListRejectionCodesResponse, portout, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list_rejection_codes(self, async_client: AsyncTelnyx) -> None: response = await async_client.portouts.with_raw_response.list_rejection_codes( @@ -343,6 +372,7 @@ async def test_raw_response_list_rejection_codes(self, async_client: AsyncTelnyx portout = await response.parse() assert_matches_type(PortoutListRejectionCodesResponse, portout, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list_rejection_codes(self, async_client: AsyncTelnyx) -> None: async with async_client.portouts.with_streaming_response.list_rejection_codes( @@ -356,6 +386,7 @@ async def test_streaming_response_list_rejection_codes(self, async_client: Async assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_list_rejection_codes(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `portout_id` but received ''"): @@ -363,6 +394,7 @@ async def test_path_params_list_rejection_codes(self, async_client: AsyncTelnyx) portout_id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_status(self, async_client: AsyncTelnyx) -> None: portout = await async_client.portouts.update_status( @@ -372,6 +404,7 @@ async def test_method_update_status(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(PortoutUpdateStatusResponse, portout, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_status_with_all_params(self, async_client: AsyncTelnyx) -> None: portout = await async_client.portouts.update_status( @@ -382,6 +415,7 @@ async def test_method_update_status_with_all_params(self, async_client: AsyncTel ) assert_matches_type(PortoutUpdateStatusResponse, portout, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update_status(self, async_client: AsyncTelnyx) -> None: response = await async_client.portouts.with_raw_response.update_status( @@ -395,6 +429,7 @@ async def test_raw_response_update_status(self, async_client: AsyncTelnyx) -> No portout = await response.parse() assert_matches_type(PortoutUpdateStatusResponse, portout, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update_status(self, async_client: AsyncTelnyx) -> None: async with async_client.portouts.with_streaming_response.update_status( @@ -410,6 +445,7 @@ async def test_streaming_response_update_status(self, async_client: AsyncTelnyx) assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update_status(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): diff --git a/tests/api_resources/test_private_wireless_gateways.py b/tests/api_resources/test_private_wireless_gateways.py index dfb860af..eeda662d 100644 --- a/tests/api_resources/test_private_wireless_gateways.py +++ b/tests/api_resources/test_private_wireless_gateways.py @@ -22,6 +22,7 @@ class TestPrivateWirelessGateways: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: private_wireless_gateway = client.private_wireless_gateways.create( @@ -30,6 +31,7 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(PrivateWirelessGatewayCreateResponse, private_wireless_gateway, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: private_wireless_gateway = client.private_wireless_gateways.create( @@ -39,6 +41,7 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(PrivateWirelessGatewayCreateResponse, private_wireless_gateway, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.private_wireless_gateways.with_raw_response.create( @@ -51,6 +54,7 @@ def test_raw_response_create(self, client: Telnyx) -> None: private_wireless_gateway = response.parse() assert_matches_type(PrivateWirelessGatewayCreateResponse, private_wireless_gateway, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.private_wireless_gateways.with_streaming_response.create( @@ -65,6 +69,7 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: private_wireless_gateway = client.private_wireless_gateways.retrieve( @@ -72,6 +77,7 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(PrivateWirelessGatewayRetrieveResponse, private_wireless_gateway, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.private_wireless_gateways.with_raw_response.retrieve( @@ -83,6 +89,7 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: private_wireless_gateway = response.parse() assert_matches_type(PrivateWirelessGatewayRetrieveResponse, private_wireless_gateway, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.private_wireless_gateways.with_streaming_response.retrieve( @@ -96,6 +103,7 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -103,11 +111,13 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: private_wireless_gateway = client.private_wireless_gateways.list() assert_matches_type(PrivateWirelessGatewayListResponse, private_wireless_gateway, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: private_wireless_gateway = client.private_wireless_gateways.list( @@ -121,6 +131,7 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(PrivateWirelessGatewayListResponse, private_wireless_gateway, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.private_wireless_gateways.with_raw_response.list() @@ -130,6 +141,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: private_wireless_gateway = response.parse() assert_matches_type(PrivateWirelessGatewayListResponse, private_wireless_gateway, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.private_wireless_gateways.with_streaming_response.list() as response: @@ -141,6 +153,7 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: private_wireless_gateway = client.private_wireless_gateways.delete( @@ -148,6 +161,7 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert_matches_type(PrivateWirelessGatewayDeleteResponse, private_wireless_gateway, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.private_wireless_gateways.with_raw_response.delete( @@ -159,6 +173,7 @@ def test_raw_response_delete(self, client: Telnyx) -> None: private_wireless_gateway = response.parse() assert_matches_type(PrivateWirelessGatewayDeleteResponse, private_wireless_gateway, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.private_wireless_gateways.with_streaming_response.delete( @@ -172,6 +187,7 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -185,6 +201,7 @@ class TestAsyncPrivateWirelessGateways: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: private_wireless_gateway = await async_client.private_wireless_gateways.create( @@ -193,6 +210,7 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(PrivateWirelessGatewayCreateResponse, private_wireless_gateway, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: private_wireless_gateway = await async_client.private_wireless_gateways.create( @@ -202,6 +220,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(PrivateWirelessGatewayCreateResponse, private_wireless_gateway, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.private_wireless_gateways.with_raw_response.create( @@ -214,6 +233,7 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: private_wireless_gateway = await response.parse() assert_matches_type(PrivateWirelessGatewayCreateResponse, private_wireless_gateway, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.private_wireless_gateways.with_streaming_response.create( @@ -228,6 +248,7 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: private_wireless_gateway = await async_client.private_wireless_gateways.retrieve( @@ -235,6 +256,7 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(PrivateWirelessGatewayRetrieveResponse, private_wireless_gateway, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.private_wireless_gateways.with_raw_response.retrieve( @@ -246,6 +268,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: private_wireless_gateway = await response.parse() assert_matches_type(PrivateWirelessGatewayRetrieveResponse, private_wireless_gateway, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.private_wireless_gateways.with_streaming_response.retrieve( @@ -259,6 +282,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -266,11 +290,13 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: private_wireless_gateway = await async_client.private_wireless_gateways.list() assert_matches_type(PrivateWirelessGatewayListResponse, private_wireless_gateway, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: private_wireless_gateway = await async_client.private_wireless_gateways.list( @@ -284,6 +310,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(PrivateWirelessGatewayListResponse, private_wireless_gateway, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.private_wireless_gateways.with_raw_response.list() @@ -293,6 +320,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: private_wireless_gateway = await response.parse() assert_matches_type(PrivateWirelessGatewayListResponse, private_wireless_gateway, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.private_wireless_gateways.with_streaming_response.list() as response: @@ -304,6 +332,7 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: private_wireless_gateway = await async_client.private_wireless_gateways.delete( @@ -311,6 +340,7 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(PrivateWirelessGatewayDeleteResponse, private_wireless_gateway, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.private_wireless_gateways.with_raw_response.delete( @@ -322,6 +352,7 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: private_wireless_gateway = await response.parse() assert_matches_type(PrivateWirelessGatewayDeleteResponse, private_wireless_gateway, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.private_wireless_gateways.with_streaming_response.delete( @@ -335,6 +366,7 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): diff --git a/tests/api_resources/test_public_internet_gateways.py b/tests/api_resources/test_public_internet_gateways.py index 6ef12390..b1546719 100644 --- a/tests/api_resources/test_public_internet_gateways.py +++ b/tests/api_resources/test_public_internet_gateways.py @@ -22,11 +22,13 @@ class TestPublicInternetGateways: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: public_internet_gateway = client.public_internet_gateways.create() assert_matches_type(PublicInternetGatewayCreateResponse, public_internet_gateway, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: public_internet_gateway = client.public_internet_gateways.create( @@ -36,6 +38,7 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(PublicInternetGatewayCreateResponse, public_internet_gateway, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.public_internet_gateways.with_raw_response.create() @@ -45,6 +48,7 @@ def test_raw_response_create(self, client: Telnyx) -> None: public_internet_gateway = response.parse() assert_matches_type(PublicInternetGatewayCreateResponse, public_internet_gateway, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.public_internet_gateways.with_streaming_response.create() as response: @@ -56,6 +60,7 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: public_internet_gateway = client.public_internet_gateways.retrieve( @@ -63,6 +68,7 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(PublicInternetGatewayRetrieveResponse, public_internet_gateway, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.public_internet_gateways.with_raw_response.retrieve( @@ -74,6 +80,7 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: public_internet_gateway = response.parse() assert_matches_type(PublicInternetGatewayRetrieveResponse, public_internet_gateway, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.public_internet_gateways.with_streaming_response.retrieve( @@ -87,6 +94,7 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -94,11 +102,13 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: public_internet_gateway = client.public_internet_gateways.list() assert_matches_type(PublicInternetGatewayListResponse, public_internet_gateway, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: public_internet_gateway = client.public_internet_gateways.list( @@ -110,6 +120,7 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(PublicInternetGatewayListResponse, public_internet_gateway, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.public_internet_gateways.with_raw_response.list() @@ -119,6 +130,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: public_internet_gateway = response.parse() assert_matches_type(PublicInternetGatewayListResponse, public_internet_gateway, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.public_internet_gateways.with_streaming_response.list() as response: @@ -130,6 +142,7 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: public_internet_gateway = client.public_internet_gateways.delete( @@ -137,6 +150,7 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert_matches_type(PublicInternetGatewayDeleteResponse, public_internet_gateway, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.public_internet_gateways.with_raw_response.delete( @@ -148,6 +162,7 @@ def test_raw_response_delete(self, client: Telnyx) -> None: public_internet_gateway = response.parse() assert_matches_type(PublicInternetGatewayDeleteResponse, public_internet_gateway, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.public_internet_gateways.with_streaming_response.delete( @@ -161,6 +176,7 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -174,11 +190,13 @@ class TestAsyncPublicInternetGateways: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: public_internet_gateway = await async_client.public_internet_gateways.create() assert_matches_type(PublicInternetGatewayCreateResponse, public_internet_gateway, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: public_internet_gateway = await async_client.public_internet_gateways.create( @@ -188,6 +206,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(PublicInternetGatewayCreateResponse, public_internet_gateway, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.public_internet_gateways.with_raw_response.create() @@ -197,6 +216,7 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: public_internet_gateway = await response.parse() assert_matches_type(PublicInternetGatewayCreateResponse, public_internet_gateway, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.public_internet_gateways.with_streaming_response.create() as response: @@ -208,6 +228,7 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: public_internet_gateway = await async_client.public_internet_gateways.retrieve( @@ -215,6 +236,7 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(PublicInternetGatewayRetrieveResponse, public_internet_gateway, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.public_internet_gateways.with_raw_response.retrieve( @@ -226,6 +248,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: public_internet_gateway = await response.parse() assert_matches_type(PublicInternetGatewayRetrieveResponse, public_internet_gateway, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.public_internet_gateways.with_streaming_response.retrieve( @@ -239,6 +262,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -246,11 +270,13 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: public_internet_gateway = await async_client.public_internet_gateways.list() assert_matches_type(PublicInternetGatewayListResponse, public_internet_gateway, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: public_internet_gateway = await async_client.public_internet_gateways.list( @@ -262,6 +288,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(PublicInternetGatewayListResponse, public_internet_gateway, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.public_internet_gateways.with_raw_response.list() @@ -271,6 +298,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: public_internet_gateway = await response.parse() assert_matches_type(PublicInternetGatewayListResponse, public_internet_gateway, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.public_internet_gateways.with_streaming_response.list() as response: @@ -282,6 +310,7 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: public_internet_gateway = await async_client.public_internet_gateways.delete( @@ -289,6 +318,7 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(PublicInternetGatewayDeleteResponse, public_internet_gateway, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.public_internet_gateways.with_raw_response.delete( @@ -300,6 +330,7 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: public_internet_gateway = await response.parse() assert_matches_type(PublicInternetGatewayDeleteResponse, public_internet_gateway, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.public_internet_gateways.with_streaming_response.delete( @@ -313,6 +344,7 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): diff --git a/tests/api_resources/test_queues.py b/tests/api_resources/test_queues.py index 5a439f87..ee8fd98d 100644 --- a/tests/api_resources/test_queues.py +++ b/tests/api_resources/test_queues.py @@ -17,6 +17,7 @@ class TestQueues: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: queue = client.queues.retrieve( @@ -24,6 +25,7 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(QueueRetrieveResponse, queue, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.queues.with_raw_response.retrieve( @@ -35,6 +37,7 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: queue = response.parse() assert_matches_type(QueueRetrieveResponse, queue, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.queues.with_streaming_response.retrieve( @@ -48,6 +51,7 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `queue_name` but received ''"): @@ -61,6 +65,7 @@ class TestAsyncQueues: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: queue = await async_client.queues.retrieve( @@ -68,6 +73,7 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(QueueRetrieveResponse, queue, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.queues.with_raw_response.retrieve( @@ -79,6 +85,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: queue = await response.parse() assert_matches_type(QueueRetrieveResponse, queue, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.queues.with_streaming_response.retrieve( @@ -92,6 +99,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `queue_name` but received ''"): diff --git a/tests/api_resources/test_recording_transcriptions.py b/tests/api_resources/test_recording_transcriptions.py index 3b7c9450..599c4c9d 100644 --- a/tests/api_resources/test_recording_transcriptions.py +++ b/tests/api_resources/test_recording_transcriptions.py @@ -21,6 +21,7 @@ class TestRecordingTranscriptions: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: recording_transcription = client.recording_transcriptions.retrieve( @@ -28,6 +29,7 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(RecordingTranscriptionRetrieveResponse, recording_transcription, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.recording_transcriptions.with_raw_response.retrieve( @@ -39,6 +41,7 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: recording_transcription = response.parse() assert_matches_type(RecordingTranscriptionRetrieveResponse, recording_transcription, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.recording_transcriptions.with_streaming_response.retrieve( @@ -52,6 +55,7 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises( @@ -61,11 +65,13 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: recording_transcription = client.recording_transcriptions.list() assert_matches_type(RecordingTranscriptionListResponse, recording_transcription, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.recording_transcriptions.with_raw_response.list() @@ -75,6 +81,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: recording_transcription = response.parse() assert_matches_type(RecordingTranscriptionListResponse, recording_transcription, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.recording_transcriptions.with_streaming_response.list() as response: @@ -86,6 +93,7 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: recording_transcription = client.recording_transcriptions.delete( @@ -93,6 +101,7 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert_matches_type(RecordingTranscriptionDeleteResponse, recording_transcription, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.recording_transcriptions.with_raw_response.delete( @@ -104,6 +113,7 @@ def test_raw_response_delete(self, client: Telnyx) -> None: recording_transcription = response.parse() assert_matches_type(RecordingTranscriptionDeleteResponse, recording_transcription, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.recording_transcriptions.with_streaming_response.delete( @@ -117,6 +127,7 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises( @@ -132,6 +143,7 @@ class TestAsyncRecordingTranscriptions: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: recording_transcription = await async_client.recording_transcriptions.retrieve( @@ -139,6 +151,7 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(RecordingTranscriptionRetrieveResponse, recording_transcription, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.recording_transcriptions.with_raw_response.retrieve( @@ -150,6 +163,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: recording_transcription = await response.parse() assert_matches_type(RecordingTranscriptionRetrieveResponse, recording_transcription, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.recording_transcriptions.with_streaming_response.retrieve( @@ -163,6 +177,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises( @@ -172,11 +187,13 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: recording_transcription = await async_client.recording_transcriptions.list() assert_matches_type(RecordingTranscriptionListResponse, recording_transcription, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.recording_transcriptions.with_raw_response.list() @@ -186,6 +203,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: recording_transcription = await response.parse() assert_matches_type(RecordingTranscriptionListResponse, recording_transcription, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.recording_transcriptions.with_streaming_response.list() as response: @@ -197,6 +215,7 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: recording_transcription = await async_client.recording_transcriptions.delete( @@ -204,6 +223,7 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(RecordingTranscriptionDeleteResponse, recording_transcription, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.recording_transcriptions.with_raw_response.delete( @@ -215,6 +235,7 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: recording_transcription = await response.parse() assert_matches_type(RecordingTranscriptionDeleteResponse, recording_transcription, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.recording_transcriptions.with_streaming_response.delete( @@ -228,6 +249,7 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises( diff --git a/tests/api_resources/test_recordings.py b/tests/api_resources/test_recordings.py index 51600be4..6e18c2b0 100644 --- a/tests/api_resources/test_recordings.py +++ b/tests/api_resources/test_recordings.py @@ -21,6 +21,7 @@ class TestRecordings: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: recording = client.recordings.retrieve( @@ -28,6 +29,7 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(RecordingRetrieveResponse, recording, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.recordings.with_raw_response.retrieve( @@ -39,6 +41,7 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: recording = response.parse() assert_matches_type(RecordingRetrieveResponse, recording, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.recordings.with_streaming_response.retrieve( @@ -52,6 +55,7 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `recording_id` but received ''"): @@ -59,11 +63,13 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: recording = client.recordings.list() assert_matches_type(RecordingListResponse, recording, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: recording = client.recordings.list( @@ -86,6 +92,7 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(RecordingListResponse, recording, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.recordings.with_raw_response.list() @@ -95,6 +102,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: recording = response.parse() assert_matches_type(RecordingListResponse, recording, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.recordings.with_streaming_response.list() as response: @@ -106,6 +114,7 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: recording = client.recordings.delete( @@ -113,6 +122,7 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert_matches_type(RecordingDeleteResponse, recording, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.recordings.with_raw_response.delete( @@ -124,6 +134,7 @@ def test_raw_response_delete(self, client: Telnyx) -> None: recording = response.parse() assert_matches_type(RecordingDeleteResponse, recording, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.recordings.with_streaming_response.delete( @@ -137,6 +148,7 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `recording_id` but received ''"): @@ -150,6 +162,7 @@ class TestAsyncRecordings: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: recording = await async_client.recordings.retrieve( @@ -157,6 +170,7 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(RecordingRetrieveResponse, recording, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.recordings.with_raw_response.retrieve( @@ -168,6 +182,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: recording = await response.parse() assert_matches_type(RecordingRetrieveResponse, recording, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.recordings.with_streaming_response.retrieve( @@ -181,6 +196,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `recording_id` but received ''"): @@ -188,11 +204,13 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: recording = await async_client.recordings.list() assert_matches_type(RecordingListResponse, recording, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: recording = await async_client.recordings.list( @@ -215,6 +233,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(RecordingListResponse, recording, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.recordings.with_raw_response.list() @@ -224,6 +243,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: recording = await response.parse() assert_matches_type(RecordingListResponse, recording, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.recordings.with_streaming_response.list() as response: @@ -235,6 +255,7 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: recording = await async_client.recordings.delete( @@ -242,6 +263,7 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(RecordingDeleteResponse, recording, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.recordings.with_raw_response.delete( @@ -253,6 +275,7 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: recording = await response.parse() assert_matches_type(RecordingDeleteResponse, recording, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.recordings.with_streaming_response.delete( @@ -266,6 +289,7 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `recording_id` but received ''"): diff --git a/tests/api_resources/test_regions.py b/tests/api_resources/test_regions.py index eca920da..3f994d14 100644 --- a/tests/api_resources/test_regions.py +++ b/tests/api_resources/test_regions.py @@ -17,11 +17,13 @@ class TestRegions: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: region = client.regions.list() assert_matches_type(RegionListResponse, region, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.regions.with_raw_response.list() @@ -31,6 +33,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: region = response.parse() assert_matches_type(RegionListResponse, region, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.regions.with_streaming_response.list() as response: @@ -48,11 +51,13 @@ class TestAsyncRegions: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: region = await async_client.regions.list() assert_matches_type(RegionListResponse, region, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.regions.with_raw_response.list() @@ -62,6 +67,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: region = await response.parse() assert_matches_type(RegionListResponse, region, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.regions.with_streaming_response.list() as response: diff --git a/tests/api_resources/test_regulatory_requirements.py b/tests/api_resources/test_regulatory_requirements.py index 34741fa0..0a4924d0 100644 --- a/tests/api_resources/test_regulatory_requirements.py +++ b/tests/api_resources/test_regulatory_requirements.py @@ -17,11 +17,13 @@ class TestRegulatoryRequirements: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: regulatory_requirement = client.regulatory_requirements.retrieve() assert_matches_type(RegulatoryRequirementRetrieveResponse, regulatory_requirement, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve_with_all_params(self, client: Telnyx) -> None: regulatory_requirement = client.regulatory_requirements.retrieve( @@ -35,6 +37,7 @@ def test_method_retrieve_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(RegulatoryRequirementRetrieveResponse, regulatory_requirement, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.regulatory_requirements.with_raw_response.retrieve() @@ -44,6 +47,7 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: regulatory_requirement = response.parse() assert_matches_type(RegulatoryRequirementRetrieveResponse, regulatory_requirement, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.regulatory_requirements.with_streaming_response.retrieve() as response: @@ -61,11 +65,13 @@ class TestAsyncRegulatoryRequirements: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: regulatory_requirement = await async_client.regulatory_requirements.retrieve() assert_matches_type(RegulatoryRequirementRetrieveResponse, regulatory_requirement, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve_with_all_params(self, async_client: AsyncTelnyx) -> None: regulatory_requirement = await async_client.regulatory_requirements.retrieve( @@ -79,6 +85,7 @@ async def test_method_retrieve_with_all_params(self, async_client: AsyncTelnyx) ) assert_matches_type(RegulatoryRequirementRetrieveResponse, regulatory_requirement, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.regulatory_requirements.with_raw_response.retrieve() @@ -88,6 +95,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: regulatory_requirement = await response.parse() assert_matches_type(RegulatoryRequirementRetrieveResponse, regulatory_requirement, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.regulatory_requirements.with_streaming_response.retrieve() as response: diff --git a/tests/api_resources/test_reports.py b/tests/api_resources/test_reports.py index 4eeb2070..c93803b9 100644 --- a/tests/api_resources/test_reports.py +++ b/tests/api_resources/test_reports.py @@ -20,11 +20,13 @@ class TestReports: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_mdrs(self, client: Telnyx) -> None: report = client.reports.list_mdrs() assert_matches_type(ReportListMdrsResponse, report, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_mdrs_with_all_params(self, client: Telnyx) -> None: report = client.reports.list_mdrs( @@ -40,6 +42,7 @@ def test_method_list_mdrs_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ReportListMdrsResponse, report, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list_mdrs(self, client: Telnyx) -> None: response = client.reports.with_raw_response.list_mdrs() @@ -49,6 +52,7 @@ def test_raw_response_list_mdrs(self, client: Telnyx) -> None: report = response.parse() assert_matches_type(ReportListMdrsResponse, report, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list_mdrs(self, client: Telnyx) -> None: with client.reports.with_streaming_response.list_mdrs() as response: @@ -60,11 +64,13 @@ def test_streaming_response_list_mdrs(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_wdrs(self, client: Telnyx) -> None: report = client.reports.list_wdrs() assert_matches_type(ReportListWdrsResponse, report, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_wdrs_with_all_params(self, client: Telnyx) -> None: report = client.reports.list_wdrs( @@ -86,6 +92,7 @@ def test_method_list_wdrs_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ReportListWdrsResponse, report, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list_wdrs(self, client: Telnyx) -> None: response = client.reports.with_raw_response.list_wdrs() @@ -95,6 +102,7 @@ def test_raw_response_list_wdrs(self, client: Telnyx) -> None: report = response.parse() assert_matches_type(ReportListWdrsResponse, report, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list_wdrs(self, client: Telnyx) -> None: with client.reports.with_streaming_response.list_wdrs() as response: @@ -112,11 +120,13 @@ class TestAsyncReports: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_mdrs(self, async_client: AsyncTelnyx) -> None: report = await async_client.reports.list_mdrs() assert_matches_type(ReportListMdrsResponse, report, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_mdrs_with_all_params(self, async_client: AsyncTelnyx) -> None: report = await async_client.reports.list_mdrs( @@ -132,6 +142,7 @@ async def test_method_list_mdrs_with_all_params(self, async_client: AsyncTelnyx) ) assert_matches_type(ReportListMdrsResponse, report, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list_mdrs(self, async_client: AsyncTelnyx) -> None: response = await async_client.reports.with_raw_response.list_mdrs() @@ -141,6 +152,7 @@ async def test_raw_response_list_mdrs(self, async_client: AsyncTelnyx) -> None: report = await response.parse() assert_matches_type(ReportListMdrsResponse, report, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list_mdrs(self, async_client: AsyncTelnyx) -> None: async with async_client.reports.with_streaming_response.list_mdrs() as response: @@ -152,11 +164,13 @@ async def test_streaming_response_list_mdrs(self, async_client: AsyncTelnyx) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_wdrs(self, async_client: AsyncTelnyx) -> None: report = await async_client.reports.list_wdrs() assert_matches_type(ReportListWdrsResponse, report, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_wdrs_with_all_params(self, async_client: AsyncTelnyx) -> None: report = await async_client.reports.list_wdrs( @@ -178,6 +192,7 @@ async def test_method_list_wdrs_with_all_params(self, async_client: AsyncTelnyx) ) assert_matches_type(ReportListWdrsResponse, report, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list_wdrs(self, async_client: AsyncTelnyx) -> None: response = await async_client.reports.with_raw_response.list_wdrs() @@ -187,6 +202,7 @@ async def test_raw_response_list_wdrs(self, async_client: AsyncTelnyx) -> None: report = await response.parse() assert_matches_type(ReportListWdrsResponse, report, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list_wdrs(self, async_client: AsyncTelnyx) -> None: async with async_client.reports.with_streaming_response.list_wdrs() as response: diff --git a/tests/api_resources/test_requirement_groups.py b/tests/api_resources/test_requirement_groups.py index 2fe1ad99..bd83ef79 100644 --- a/tests/api_resources/test_requirement_groups.py +++ b/tests/api_resources/test_requirement_groups.py @@ -20,6 +20,7 @@ class TestRequirementGroups: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: requirement_group = client.requirement_groups.create( @@ -29,6 +30,7 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(RequirementGroup, requirement_group, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: requirement_group = client.requirement_groups.create( @@ -45,6 +47,7 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(RequirementGroup, requirement_group, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.requirement_groups.with_raw_response.create( @@ -58,6 +61,7 @@ def test_raw_response_create(self, client: Telnyx) -> None: requirement_group = response.parse() assert_matches_type(RequirementGroup, requirement_group, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.requirement_groups.with_streaming_response.create( @@ -73,6 +77,7 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: requirement_group = client.requirement_groups.retrieve( @@ -80,6 +85,7 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(RequirementGroup, requirement_group, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.requirement_groups.with_raw_response.retrieve( @@ -91,6 +97,7 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: requirement_group = response.parse() assert_matches_type(RequirementGroup, requirement_group, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.requirement_groups.with_streaming_response.retrieve( @@ -104,6 +111,7 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -111,6 +119,7 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update(self, client: Telnyx) -> None: requirement_group = client.requirement_groups.update( @@ -118,6 +127,7 @@ def test_method_update(self, client: Telnyx) -> None: ) assert_matches_type(RequirementGroup, requirement_group, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_with_all_params(self, client: Telnyx) -> None: requirement_group = client.requirement_groups.update( @@ -132,6 +142,7 @@ def test_method_update_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(RequirementGroup, requirement_group, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update(self, client: Telnyx) -> None: response = client.requirement_groups.with_raw_response.update( @@ -143,6 +154,7 @@ def test_raw_response_update(self, client: Telnyx) -> None: requirement_group = response.parse() assert_matches_type(RequirementGroup, requirement_group, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update(self, client: Telnyx) -> None: with client.requirement_groups.with_streaming_response.update( @@ -156,6 +168,7 @@ def test_streaming_response_update(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -163,11 +176,13 @@ def test_path_params_update(self, client: Telnyx) -> None: id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: requirement_group = client.requirement_groups.list() assert_matches_type(RequirementGroupListResponse, requirement_group, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: requirement_group = client.requirement_groups.list( @@ -181,6 +196,7 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(RequirementGroupListResponse, requirement_group, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.requirement_groups.with_raw_response.list() @@ -190,6 +206,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: requirement_group = response.parse() assert_matches_type(RequirementGroupListResponse, requirement_group, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.requirement_groups.with_streaming_response.list() as response: @@ -201,6 +218,7 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: requirement_group = client.requirement_groups.delete( @@ -208,6 +226,7 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert_matches_type(RequirementGroup, requirement_group, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.requirement_groups.with_raw_response.delete( @@ -219,6 +238,7 @@ def test_raw_response_delete(self, client: Telnyx) -> None: requirement_group = response.parse() assert_matches_type(RequirementGroup, requirement_group, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.requirement_groups.with_streaming_response.delete( @@ -232,6 +252,7 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -239,6 +260,7 @@ def test_path_params_delete(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_submit_for_approval(self, client: Telnyx) -> None: requirement_group = client.requirement_groups.submit_for_approval( @@ -246,6 +268,7 @@ def test_method_submit_for_approval(self, client: Telnyx) -> None: ) assert_matches_type(RequirementGroup, requirement_group, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_submit_for_approval(self, client: Telnyx) -> None: response = client.requirement_groups.with_raw_response.submit_for_approval( @@ -257,6 +280,7 @@ def test_raw_response_submit_for_approval(self, client: Telnyx) -> None: requirement_group = response.parse() assert_matches_type(RequirementGroup, requirement_group, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_submit_for_approval(self, client: Telnyx) -> None: with client.requirement_groups.with_streaming_response.submit_for_approval( @@ -270,6 +294,7 @@ def test_streaming_response_submit_for_approval(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_submit_for_approval(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -283,6 +308,7 @@ class TestAsyncRequirementGroups: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: requirement_group = await async_client.requirement_groups.create( @@ -292,6 +318,7 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(RequirementGroup, requirement_group, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: requirement_group = await async_client.requirement_groups.create( @@ -308,6 +335,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(RequirementGroup, requirement_group, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.requirement_groups.with_raw_response.create( @@ -321,6 +349,7 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: requirement_group = await response.parse() assert_matches_type(RequirementGroup, requirement_group, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.requirement_groups.with_streaming_response.create( @@ -336,6 +365,7 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: requirement_group = await async_client.requirement_groups.retrieve( @@ -343,6 +373,7 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(RequirementGroup, requirement_group, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.requirement_groups.with_raw_response.retrieve( @@ -354,6 +385,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: requirement_group = await response.parse() assert_matches_type(RequirementGroup, requirement_group, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.requirement_groups.with_streaming_response.retrieve( @@ -367,6 +399,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -374,6 +407,7 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update(self, async_client: AsyncTelnyx) -> None: requirement_group = await async_client.requirement_groups.update( @@ -381,6 +415,7 @@ async def test_method_update(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(RequirementGroup, requirement_group, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> None: requirement_group = await async_client.requirement_groups.update( @@ -395,6 +430,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(RequirementGroup, requirement_group, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: response = await async_client.requirement_groups.with_raw_response.update( @@ -406,6 +442,7 @@ async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: requirement_group = await response.parse() assert_matches_type(RequirementGroup, requirement_group, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> None: async with async_client.requirement_groups.with_streaming_response.update( @@ -419,6 +456,7 @@ async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -426,11 +464,13 @@ async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: requirement_group = await async_client.requirement_groups.list() assert_matches_type(RequirementGroupListResponse, requirement_group, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: requirement_group = await async_client.requirement_groups.list( @@ -444,6 +484,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(RequirementGroupListResponse, requirement_group, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.requirement_groups.with_raw_response.list() @@ -453,6 +494,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: requirement_group = await response.parse() assert_matches_type(RequirementGroupListResponse, requirement_group, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.requirement_groups.with_streaming_response.list() as response: @@ -464,6 +506,7 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: requirement_group = await async_client.requirement_groups.delete( @@ -471,6 +514,7 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(RequirementGroup, requirement_group, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.requirement_groups.with_raw_response.delete( @@ -482,6 +526,7 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: requirement_group = await response.parse() assert_matches_type(RequirementGroup, requirement_group, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.requirement_groups.with_streaming_response.delete( @@ -495,6 +540,7 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -502,6 +548,7 @@ async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_submit_for_approval(self, async_client: AsyncTelnyx) -> None: requirement_group = await async_client.requirement_groups.submit_for_approval( @@ -509,6 +556,7 @@ async def test_method_submit_for_approval(self, async_client: AsyncTelnyx) -> No ) assert_matches_type(RequirementGroup, requirement_group, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_submit_for_approval(self, async_client: AsyncTelnyx) -> None: response = await async_client.requirement_groups.with_raw_response.submit_for_approval( @@ -520,6 +568,7 @@ async def test_raw_response_submit_for_approval(self, async_client: AsyncTelnyx) requirement_group = await response.parse() assert_matches_type(RequirementGroup, requirement_group, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_submit_for_approval(self, async_client: AsyncTelnyx) -> None: async with async_client.requirement_groups.with_streaming_response.submit_for_approval( @@ -533,6 +582,7 @@ async def test_streaming_response_submit_for_approval(self, async_client: AsyncT assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_submit_for_approval(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): diff --git a/tests/api_resources/test_requirement_types.py b/tests/api_resources/test_requirement_types.py index 834d2d6d..0e5506b5 100644 --- a/tests/api_resources/test_requirement_types.py +++ b/tests/api_resources/test_requirement_types.py @@ -17,6 +17,7 @@ class TestRequirementTypes: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: requirement_type = client.requirement_types.retrieve( @@ -24,6 +25,7 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(RequirementTypeRetrieveResponse, requirement_type, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.requirement_types.with_raw_response.retrieve( @@ -35,6 +37,7 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: requirement_type = response.parse() assert_matches_type(RequirementTypeRetrieveResponse, requirement_type, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.requirement_types.with_streaming_response.retrieve( @@ -48,6 +51,7 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -55,11 +59,13 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: requirement_type = client.requirement_types.list() assert_matches_type(RequirementTypeListResponse, requirement_type, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: requirement_type = client.requirement_types.list( @@ -68,6 +74,7 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(RequirementTypeListResponse, requirement_type, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.requirement_types.with_raw_response.list() @@ -77,6 +84,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: requirement_type = response.parse() assert_matches_type(RequirementTypeListResponse, requirement_type, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.requirement_types.with_streaming_response.list() as response: @@ -94,6 +102,7 @@ class TestAsyncRequirementTypes: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: requirement_type = await async_client.requirement_types.retrieve( @@ -101,6 +110,7 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(RequirementTypeRetrieveResponse, requirement_type, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.requirement_types.with_raw_response.retrieve( @@ -112,6 +122,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: requirement_type = await response.parse() assert_matches_type(RequirementTypeRetrieveResponse, requirement_type, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.requirement_types.with_streaming_response.retrieve( @@ -125,6 +136,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -132,11 +144,13 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: requirement_type = await async_client.requirement_types.list() assert_matches_type(RequirementTypeListResponse, requirement_type, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: requirement_type = await async_client.requirement_types.list( @@ -145,6 +159,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(RequirementTypeListResponse, requirement_type, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.requirement_types.with_raw_response.list() @@ -154,6 +169,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: requirement_type = await response.parse() assert_matches_type(RequirementTypeListResponse, requirement_type, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.requirement_types.with_streaming_response.list() as response: diff --git a/tests/api_resources/test_requirements.py b/tests/api_resources/test_requirements.py index faf26444..73a86e0b 100644 --- a/tests/api_resources/test_requirements.py +++ b/tests/api_resources/test_requirements.py @@ -17,6 +17,7 @@ class TestRequirements: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: requirement = client.requirements.retrieve( @@ -24,6 +25,7 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(RequirementRetrieveResponse, requirement, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.requirements.with_raw_response.retrieve( @@ -35,6 +37,7 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: requirement = response.parse() assert_matches_type(RequirementRetrieveResponse, requirement, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.requirements.with_streaming_response.retrieve( @@ -48,6 +51,7 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -55,11 +59,13 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: requirement = client.requirements.list() assert_matches_type(RequirementListResponse, requirement, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: requirement = client.requirements.list( @@ -76,6 +82,7 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(RequirementListResponse, requirement, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.requirements.with_raw_response.list() @@ -85,6 +92,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: requirement = response.parse() assert_matches_type(RequirementListResponse, requirement, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.requirements.with_streaming_response.list() as response: @@ -102,6 +110,7 @@ class TestAsyncRequirements: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: requirement = await async_client.requirements.retrieve( @@ -109,6 +118,7 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(RequirementRetrieveResponse, requirement, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.requirements.with_raw_response.retrieve( @@ -120,6 +130,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: requirement = await response.parse() assert_matches_type(RequirementRetrieveResponse, requirement, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.requirements.with_streaming_response.retrieve( @@ -133,6 +144,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -140,11 +152,13 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: requirement = await async_client.requirements.list() assert_matches_type(RequirementListResponse, requirement, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: requirement = await async_client.requirements.list( @@ -161,6 +175,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(RequirementListResponse, requirement, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.requirements.with_raw_response.list() @@ -170,6 +185,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: requirement = await response.parse() assert_matches_type(RequirementListResponse, requirement, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.requirements.with_streaming_response.list() as response: diff --git a/tests/api_resources/test_room_compositions.py b/tests/api_resources/test_room_compositions.py index c87f5588..d8bbc672 100644 --- a/tests/api_resources/test_room_compositions.py +++ b/tests/api_resources/test_room_compositions.py @@ -22,11 +22,13 @@ class TestRoomCompositions: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: room_composition = client.room_compositions.create() assert_matches_type(RoomCompositionCreateResponse, room_composition, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: room_composition = client.room_compositions.create( @@ -51,6 +53,7 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(RoomCompositionCreateResponse, room_composition, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.room_compositions.with_raw_response.create() @@ -60,6 +63,7 @@ def test_raw_response_create(self, client: Telnyx) -> None: room_composition = response.parse() assert_matches_type(RoomCompositionCreateResponse, room_composition, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.room_compositions.with_streaming_response.create() as response: @@ -71,6 +75,7 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: room_composition = client.room_compositions.retrieve( @@ -78,6 +83,7 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(RoomCompositionRetrieveResponse, room_composition, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.room_compositions.with_raw_response.retrieve( @@ -89,6 +95,7 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: room_composition = response.parse() assert_matches_type(RoomCompositionRetrieveResponse, room_composition, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.room_compositions.with_streaming_response.retrieve( @@ -102,6 +109,7 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `room_composition_id` but received ''"): @@ -109,11 +117,13 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: room_composition = client.room_compositions.list() assert_matches_type(RoomCompositionListResponse, room_composition, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: room_composition = client.room_compositions.list( @@ -133,6 +143,7 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(RoomCompositionListResponse, room_composition, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.room_compositions.with_raw_response.list() @@ -142,6 +153,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: room_composition = response.parse() assert_matches_type(RoomCompositionListResponse, room_composition, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.room_compositions.with_streaming_response.list() as response: @@ -153,6 +165,7 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: room_composition = client.room_compositions.delete( @@ -160,6 +173,7 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert room_composition is None + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.room_compositions.with_raw_response.delete( @@ -171,6 +185,7 @@ def test_raw_response_delete(self, client: Telnyx) -> None: room_composition = response.parse() assert room_composition is None + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.room_compositions.with_streaming_response.delete( @@ -184,6 +199,7 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `room_composition_id` but received ''"): @@ -197,11 +213,13 @@ class TestAsyncRoomCompositions: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: room_composition = await async_client.room_compositions.create() assert_matches_type(RoomCompositionCreateResponse, room_composition, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: room_composition = await async_client.room_compositions.create( @@ -226,6 +244,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(RoomCompositionCreateResponse, room_composition, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.room_compositions.with_raw_response.create() @@ -235,6 +254,7 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: room_composition = await response.parse() assert_matches_type(RoomCompositionCreateResponse, room_composition, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.room_compositions.with_streaming_response.create() as response: @@ -246,6 +266,7 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: room_composition = await async_client.room_compositions.retrieve( @@ -253,6 +274,7 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(RoomCompositionRetrieveResponse, room_composition, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.room_compositions.with_raw_response.retrieve( @@ -264,6 +286,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: room_composition = await response.parse() assert_matches_type(RoomCompositionRetrieveResponse, room_composition, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.room_compositions.with_streaming_response.retrieve( @@ -277,6 +300,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `room_composition_id` but received ''"): @@ -284,11 +308,13 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: room_composition = await async_client.room_compositions.list() assert_matches_type(RoomCompositionListResponse, room_composition, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: room_composition = await async_client.room_compositions.list( @@ -308,6 +334,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(RoomCompositionListResponse, room_composition, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.room_compositions.with_raw_response.list() @@ -317,6 +344,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: room_composition = await response.parse() assert_matches_type(RoomCompositionListResponse, room_composition, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.room_compositions.with_streaming_response.list() as response: @@ -328,6 +356,7 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: room_composition = await async_client.room_compositions.delete( @@ -335,6 +364,7 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert room_composition is None + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.room_compositions.with_raw_response.delete( @@ -346,6 +376,7 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: room_composition = await response.parse() assert room_composition is None + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.room_compositions.with_streaming_response.delete( @@ -359,6 +390,7 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `room_composition_id` but received ''"): diff --git a/tests/api_resources/test_room_participants.py b/tests/api_resources/test_room_participants.py index f6f95f01..fa7d7287 100644 --- a/tests/api_resources/test_room_participants.py +++ b/tests/api_resources/test_room_participants.py @@ -18,6 +18,7 @@ class TestRoomParticipants: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: room_participant = client.room_participants.retrieve( @@ -25,6 +26,7 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(RoomParticipantRetrieveResponse, room_participant, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.room_participants.with_raw_response.retrieve( @@ -36,6 +38,7 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: room_participant = response.parse() assert_matches_type(RoomParticipantRetrieveResponse, room_participant, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.room_participants.with_streaming_response.retrieve( @@ -49,6 +52,7 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `room_participant_id` but received ''"): @@ -56,11 +60,13 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: room_participant = client.room_participants.list() assert_matches_type(RoomParticipantListResponse, room_participant, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: room_participant = client.room_participants.list( @@ -90,6 +96,7 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(RoomParticipantListResponse, room_participant, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.room_participants.with_raw_response.list() @@ -99,6 +106,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: room_participant = response.parse() assert_matches_type(RoomParticipantListResponse, room_participant, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.room_participants.with_streaming_response.list() as response: @@ -116,6 +124,7 @@ class TestAsyncRoomParticipants: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: room_participant = await async_client.room_participants.retrieve( @@ -123,6 +132,7 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(RoomParticipantRetrieveResponse, room_participant, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.room_participants.with_raw_response.retrieve( @@ -134,6 +144,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: room_participant = await response.parse() assert_matches_type(RoomParticipantRetrieveResponse, room_participant, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.room_participants.with_streaming_response.retrieve( @@ -147,6 +158,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `room_participant_id` but received ''"): @@ -154,11 +166,13 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: room_participant = await async_client.room_participants.list() assert_matches_type(RoomParticipantListResponse, room_participant, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: room_participant = await async_client.room_participants.list( @@ -188,6 +202,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(RoomParticipantListResponse, room_participant, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.room_participants.with_raw_response.list() @@ -197,6 +212,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: room_participant = await response.parse() assert_matches_type(RoomParticipantListResponse, room_participant, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.room_participants.with_streaming_response.list() as response: diff --git a/tests/api_resources/test_room_recordings.py b/tests/api_resources/test_room_recordings.py index 9ab84a05..fab22b76 100644 --- a/tests/api_resources/test_room_recordings.py +++ b/tests/api_resources/test_room_recordings.py @@ -22,6 +22,7 @@ class TestRoomRecordings: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: room_recording = client.room_recordings.retrieve( @@ -29,6 +30,7 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(RoomRecordingRetrieveResponse, room_recording, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.room_recordings.with_raw_response.retrieve( @@ -40,6 +42,7 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: room_recording = response.parse() assert_matches_type(RoomRecordingRetrieveResponse, room_recording, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.room_recordings.with_streaming_response.retrieve( @@ -53,6 +56,7 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `room_recording_id` but received ''"): @@ -60,11 +64,13 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: room_recording = client.room_recordings.list() assert_matches_type(RoomRecordingListResponse, room_recording, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: room_recording = client.room_recordings.list( @@ -93,6 +99,7 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(RoomRecordingListResponse, room_recording, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.room_recordings.with_raw_response.list() @@ -102,6 +109,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: room_recording = response.parse() assert_matches_type(RoomRecordingListResponse, room_recording, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.room_recordings.with_streaming_response.list() as response: @@ -113,6 +121,7 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: room_recording = client.room_recordings.delete( @@ -120,6 +129,7 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert room_recording is None + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.room_recordings.with_raw_response.delete( @@ -131,6 +141,7 @@ def test_raw_response_delete(self, client: Telnyx) -> None: room_recording = response.parse() assert room_recording is None + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.room_recordings.with_streaming_response.delete( @@ -144,6 +155,7 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `room_recording_id` but received ''"): @@ -151,11 +163,13 @@ def test_path_params_delete(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete_bulk(self, client: Telnyx) -> None: room_recording = client.room_recordings.delete_bulk() assert_matches_type(RoomRecordingDeleteBulkResponse, room_recording, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete_bulk_with_all_params(self, client: Telnyx) -> None: room_recording = client.room_recordings.delete_bulk( @@ -184,6 +198,7 @@ def test_method_delete_bulk_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(RoomRecordingDeleteBulkResponse, room_recording, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete_bulk(self, client: Telnyx) -> None: response = client.room_recordings.with_raw_response.delete_bulk() @@ -193,6 +208,7 @@ def test_raw_response_delete_bulk(self, client: Telnyx) -> None: room_recording = response.parse() assert_matches_type(RoomRecordingDeleteBulkResponse, room_recording, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete_bulk(self, client: Telnyx) -> None: with client.room_recordings.with_streaming_response.delete_bulk() as response: @@ -210,6 +226,7 @@ class TestAsyncRoomRecordings: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: room_recording = await async_client.room_recordings.retrieve( @@ -217,6 +234,7 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(RoomRecordingRetrieveResponse, room_recording, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.room_recordings.with_raw_response.retrieve( @@ -228,6 +246,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: room_recording = await response.parse() assert_matches_type(RoomRecordingRetrieveResponse, room_recording, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.room_recordings.with_streaming_response.retrieve( @@ -241,6 +260,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `room_recording_id` but received ''"): @@ -248,11 +268,13 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: room_recording = await async_client.room_recordings.list() assert_matches_type(RoomRecordingListResponse, room_recording, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: room_recording = await async_client.room_recordings.list( @@ -281,6 +303,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(RoomRecordingListResponse, room_recording, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.room_recordings.with_raw_response.list() @@ -290,6 +313,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: room_recording = await response.parse() assert_matches_type(RoomRecordingListResponse, room_recording, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.room_recordings.with_streaming_response.list() as response: @@ -301,6 +325,7 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: room_recording = await async_client.room_recordings.delete( @@ -308,6 +333,7 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert room_recording is None + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.room_recordings.with_raw_response.delete( @@ -319,6 +345,7 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: room_recording = await response.parse() assert room_recording is None + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.room_recordings.with_streaming_response.delete( @@ -332,6 +359,7 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `room_recording_id` but received ''"): @@ -339,11 +367,13 @@ async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete_bulk(self, async_client: AsyncTelnyx) -> None: room_recording = await async_client.room_recordings.delete_bulk() assert_matches_type(RoomRecordingDeleteBulkResponse, room_recording, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete_bulk_with_all_params(self, async_client: AsyncTelnyx) -> None: room_recording = await async_client.room_recordings.delete_bulk( @@ -372,6 +402,7 @@ async def test_method_delete_bulk_with_all_params(self, async_client: AsyncTelny ) assert_matches_type(RoomRecordingDeleteBulkResponse, room_recording, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete_bulk(self, async_client: AsyncTelnyx) -> None: response = await async_client.room_recordings.with_raw_response.delete_bulk() @@ -381,6 +412,7 @@ async def test_raw_response_delete_bulk(self, async_client: AsyncTelnyx) -> None room_recording = await response.parse() assert_matches_type(RoomRecordingDeleteBulkResponse, room_recording, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete_bulk(self, async_client: AsyncTelnyx) -> None: async with async_client.room_recordings.with_streaming_response.delete_bulk() as response: diff --git a/tests/api_resources/test_rooms.py b/tests/api_resources/test_rooms.py index 5dd0b70e..6a27cff0 100644 --- a/tests/api_resources/test_rooms.py +++ b/tests/api_resources/test_rooms.py @@ -23,11 +23,13 @@ class TestRooms: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: room = client.rooms.create() assert_matches_type(RoomCreateResponse, room, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: room = client.rooms.create( @@ -40,6 +42,7 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(RoomCreateResponse, room, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.rooms.with_raw_response.create() @@ -49,6 +52,7 @@ def test_raw_response_create(self, client: Telnyx) -> None: room = response.parse() assert_matches_type(RoomCreateResponse, room, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.rooms.with_streaming_response.create() as response: @@ -60,6 +64,7 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: room = client.rooms.retrieve( @@ -67,6 +72,7 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(RoomRetrieveResponse, room, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve_with_all_params(self, client: Telnyx) -> None: room = client.rooms.retrieve( @@ -75,6 +81,7 @@ def test_method_retrieve_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(RoomRetrieveResponse, room, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.rooms.with_raw_response.retrieve( @@ -86,6 +93,7 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: room = response.parse() assert_matches_type(RoomRetrieveResponse, room, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.rooms.with_streaming_response.retrieve( @@ -99,6 +107,7 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `room_id` but received ''"): @@ -106,6 +115,7 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: room_id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update(self, client: Telnyx) -> None: room = client.rooms.update( @@ -113,6 +123,7 @@ def test_method_update(self, client: Telnyx) -> None: ) assert_matches_type(RoomUpdateResponse, room, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_with_all_params(self, client: Telnyx) -> None: room = client.rooms.update( @@ -126,6 +137,7 @@ def test_method_update_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(RoomUpdateResponse, room, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update(self, client: Telnyx) -> None: response = client.rooms.with_raw_response.update( @@ -137,6 +149,7 @@ def test_raw_response_update(self, client: Telnyx) -> None: room = response.parse() assert_matches_type(RoomUpdateResponse, room, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update(self, client: Telnyx) -> None: with client.rooms.with_streaming_response.update( @@ -150,6 +163,7 @@ def test_streaming_response_update(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `room_id` but received ''"): @@ -157,11 +171,13 @@ def test_path_params_update(self, client: Telnyx) -> None: room_id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: room = client.rooms.list() assert_matches_type(RoomListResponse, room, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: room = client.rooms.list( @@ -186,6 +202,7 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(RoomListResponse, room, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.rooms.with_raw_response.list() @@ -195,6 +212,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: room = response.parse() assert_matches_type(RoomListResponse, room, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.rooms.with_streaming_response.list() as response: @@ -206,6 +224,7 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: room = client.rooms.delete( @@ -213,6 +232,7 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert room is None + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.rooms.with_raw_response.delete( @@ -224,6 +244,7 @@ def test_raw_response_delete(self, client: Telnyx) -> None: room = response.parse() assert room is None + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.rooms.with_streaming_response.delete( @@ -237,6 +258,7 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `room_id` but received ''"): @@ -250,11 +272,13 @@ class TestAsyncRooms: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: room = await async_client.rooms.create() assert_matches_type(RoomCreateResponse, room, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: room = await async_client.rooms.create( @@ -267,6 +291,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(RoomCreateResponse, room, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.rooms.with_raw_response.create() @@ -276,6 +301,7 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: room = await response.parse() assert_matches_type(RoomCreateResponse, room, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.rooms.with_streaming_response.create() as response: @@ -287,6 +313,7 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: room = await async_client.rooms.retrieve( @@ -294,6 +321,7 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(RoomRetrieveResponse, room, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve_with_all_params(self, async_client: AsyncTelnyx) -> None: room = await async_client.rooms.retrieve( @@ -302,6 +330,7 @@ async def test_method_retrieve_with_all_params(self, async_client: AsyncTelnyx) ) assert_matches_type(RoomRetrieveResponse, room, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.rooms.with_raw_response.retrieve( @@ -313,6 +342,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: room = await response.parse() assert_matches_type(RoomRetrieveResponse, room, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.rooms.with_streaming_response.retrieve( @@ -326,6 +356,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `room_id` but received ''"): @@ -333,6 +364,7 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: room_id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update(self, async_client: AsyncTelnyx) -> None: room = await async_client.rooms.update( @@ -340,6 +372,7 @@ async def test_method_update(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(RoomUpdateResponse, room, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> None: room = await async_client.rooms.update( @@ -353,6 +386,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(RoomUpdateResponse, room, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: response = await async_client.rooms.with_raw_response.update( @@ -364,6 +398,7 @@ async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: room = await response.parse() assert_matches_type(RoomUpdateResponse, room, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> None: async with async_client.rooms.with_streaming_response.update( @@ -377,6 +412,7 @@ async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `room_id` but received ''"): @@ -384,11 +420,13 @@ async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: room_id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: room = await async_client.rooms.list() assert_matches_type(RoomListResponse, room, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: room = await async_client.rooms.list( @@ -413,6 +451,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(RoomListResponse, room, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.rooms.with_raw_response.list() @@ -422,6 +461,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: room = await response.parse() assert_matches_type(RoomListResponse, room, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.rooms.with_streaming_response.list() as response: @@ -433,6 +473,7 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: room = await async_client.rooms.delete( @@ -440,6 +481,7 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert room is None + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.rooms.with_raw_response.delete( @@ -451,6 +493,7 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: room = await response.parse() assert room is None + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.rooms.with_streaming_response.delete( @@ -464,6 +507,7 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `room_id` but received ''"): diff --git a/tests/api_resources/test_seti.py b/tests/api_resources/test_seti.py index f62d1066..eccb49d0 100644 --- a/tests/api_resources/test_seti.py +++ b/tests/api_resources/test_seti.py @@ -17,11 +17,13 @@ class TestSeti: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve_black_box_test_results(self, client: Telnyx) -> None: seti = client.seti.retrieve_black_box_test_results() assert_matches_type(SetiRetrieveBlackBoxTestResultsResponse, seti, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve_black_box_test_results_with_all_params(self, client: Telnyx) -> None: seti = client.seti.retrieve_black_box_test_results( @@ -29,6 +31,7 @@ def test_method_retrieve_black_box_test_results_with_all_params(self, client: Te ) assert_matches_type(SetiRetrieveBlackBoxTestResultsResponse, seti, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve_black_box_test_results(self, client: Telnyx) -> None: response = client.seti.with_raw_response.retrieve_black_box_test_results() @@ -38,6 +41,7 @@ def test_raw_response_retrieve_black_box_test_results(self, client: Telnyx) -> N seti = response.parse() assert_matches_type(SetiRetrieveBlackBoxTestResultsResponse, seti, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve_black_box_test_results(self, client: Telnyx) -> None: with client.seti.with_streaming_response.retrieve_black_box_test_results() as response: @@ -55,11 +59,13 @@ class TestAsyncSeti: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve_black_box_test_results(self, async_client: AsyncTelnyx) -> None: seti = await async_client.seti.retrieve_black_box_test_results() assert_matches_type(SetiRetrieveBlackBoxTestResultsResponse, seti, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve_black_box_test_results_with_all_params(self, async_client: AsyncTelnyx) -> None: seti = await async_client.seti.retrieve_black_box_test_results( @@ -67,6 +73,7 @@ async def test_method_retrieve_black_box_test_results_with_all_params(self, asyn ) assert_matches_type(SetiRetrieveBlackBoxTestResultsResponse, seti, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve_black_box_test_results(self, async_client: AsyncTelnyx) -> None: response = await async_client.seti.with_raw_response.retrieve_black_box_test_results() @@ -76,6 +83,7 @@ async def test_raw_response_retrieve_black_box_test_results(self, async_client: seti = await response.parse() assert_matches_type(SetiRetrieveBlackBoxTestResultsResponse, seti, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve_black_box_test_results(self, async_client: AsyncTelnyx) -> None: async with async_client.seti.with_streaming_response.retrieve_black_box_test_results() as response: diff --git a/tests/api_resources/test_short_codes.py b/tests/api_resources/test_short_codes.py index af8c5dea..b89c1c09 100644 --- a/tests/api_resources/test_short_codes.py +++ b/tests/api_resources/test_short_codes.py @@ -21,6 +21,7 @@ class TestShortCodes: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: short_code = client.short_codes.retrieve( @@ -28,6 +29,7 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(ShortCodeRetrieveResponse, short_code, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.short_codes.with_raw_response.retrieve( @@ -39,6 +41,7 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: short_code = response.parse() assert_matches_type(ShortCodeRetrieveResponse, short_code, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.short_codes.with_streaming_response.retrieve( @@ -52,6 +55,7 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -59,6 +63,7 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update(self, client: Telnyx) -> None: short_code = client.short_codes.update( @@ -67,6 +72,7 @@ def test_method_update(self, client: Telnyx) -> None: ) assert_matches_type(ShortCodeUpdateResponse, short_code, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update(self, client: Telnyx) -> None: response = client.short_codes.with_raw_response.update( @@ -79,6 +85,7 @@ def test_raw_response_update(self, client: Telnyx) -> None: short_code = response.parse() assert_matches_type(ShortCodeUpdateResponse, short_code, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update(self, client: Telnyx) -> None: with client.short_codes.with_streaming_response.update( @@ -93,6 +100,7 @@ def test_streaming_response_update(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -101,11 +109,13 @@ def test_path_params_update(self, client: Telnyx) -> None: messaging_profile_id="abc85f64-5717-4562-b3fc-2c9600000000", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: short_code = client.short_codes.list() assert_matches_type(ShortCodeListResponse, short_code, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: short_code = client.short_codes.list( @@ -117,6 +127,7 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ShortCodeListResponse, short_code, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.short_codes.with_raw_response.list() @@ -126,6 +137,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: short_code = response.parse() assert_matches_type(ShortCodeListResponse, short_code, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.short_codes.with_streaming_response.list() as response: @@ -143,6 +155,7 @@ class TestAsyncShortCodes: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: short_code = await async_client.short_codes.retrieve( @@ -150,6 +163,7 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ShortCodeRetrieveResponse, short_code, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.short_codes.with_raw_response.retrieve( @@ -161,6 +175,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: short_code = await response.parse() assert_matches_type(ShortCodeRetrieveResponse, short_code, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.short_codes.with_streaming_response.retrieve( @@ -174,6 +189,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -181,6 +197,7 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update(self, async_client: AsyncTelnyx) -> None: short_code = await async_client.short_codes.update( @@ -189,6 +206,7 @@ async def test_method_update(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ShortCodeUpdateResponse, short_code, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: response = await async_client.short_codes.with_raw_response.update( @@ -201,6 +219,7 @@ async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: short_code = await response.parse() assert_matches_type(ShortCodeUpdateResponse, short_code, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> None: async with async_client.short_codes.with_streaming_response.update( @@ -215,6 +234,7 @@ async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -223,11 +243,13 @@ async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: messaging_profile_id="abc85f64-5717-4562-b3fc-2c9600000000", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: short_code = await async_client.short_codes.list() assert_matches_type(ShortCodeListResponse, short_code, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: short_code = await async_client.short_codes.list( @@ -239,6 +261,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(ShortCodeListResponse, short_code, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.short_codes.with_raw_response.list() @@ -248,6 +271,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: short_code = await response.parse() assert_matches_type(ShortCodeListResponse, short_code, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.short_codes.with_streaming_response.list() as response: diff --git a/tests/api_resources/test_sim_card_data_usage_notifications.py b/tests/api_resources/test_sim_card_data_usage_notifications.py index 638591cb..7cdb1ec5 100644 --- a/tests/api_resources/test_sim_card_data_usage_notifications.py +++ b/tests/api_resources/test_sim_card_data_usage_notifications.py @@ -23,6 +23,7 @@ class TestSimCardDataUsageNotifications: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: sim_card_data_usage_notification = client.sim_card_data_usage_notifications.create( @@ -33,6 +34,7 @@ def test_method_create(self, client: Telnyx) -> None: SimCardDataUsageNotificationCreateResponse, sim_card_data_usage_notification, path=["response"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: sim_card_data_usage_notification = client.sim_card_data_usage_notifications.create( @@ -46,6 +48,7 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: SimCardDataUsageNotificationCreateResponse, sim_card_data_usage_notification, path=["response"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.sim_card_data_usage_notifications.with_raw_response.create( @@ -60,6 +63,7 @@ def test_raw_response_create(self, client: Telnyx) -> None: SimCardDataUsageNotificationCreateResponse, sim_card_data_usage_notification, path=["response"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.sim_card_data_usage_notifications.with_streaming_response.create( @@ -76,6 +80,7 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: sim_card_data_usage_notification = client.sim_card_data_usage_notifications.retrieve( @@ -85,6 +90,7 @@ def test_method_retrieve(self, client: Telnyx) -> None: SimCardDataUsageNotificationRetrieveResponse, sim_card_data_usage_notification, path=["response"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.sim_card_data_usage_notifications.with_raw_response.retrieve( @@ -98,6 +104,7 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: SimCardDataUsageNotificationRetrieveResponse, sim_card_data_usage_notification, path=["response"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.sim_card_data_usage_notifications.with_streaming_response.retrieve( @@ -113,6 +120,7 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -120,6 +128,7 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update(self, client: Telnyx) -> None: sim_card_data_usage_notification = client.sim_card_data_usage_notifications.update( @@ -129,6 +138,7 @@ def test_method_update(self, client: Telnyx) -> None: SimCardDataUsageNotificationUpdateResponse, sim_card_data_usage_notification, path=["response"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_with_all_params(self, client: Telnyx) -> None: sim_card_data_usage_notification = client.sim_card_data_usage_notifications.update( @@ -143,6 +153,7 @@ def test_method_update_with_all_params(self, client: Telnyx) -> None: SimCardDataUsageNotificationUpdateResponse, sim_card_data_usage_notification, path=["response"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update(self, client: Telnyx) -> None: response = client.sim_card_data_usage_notifications.with_raw_response.update( @@ -156,6 +167,7 @@ def test_raw_response_update(self, client: Telnyx) -> None: SimCardDataUsageNotificationUpdateResponse, sim_card_data_usage_notification, path=["response"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update(self, client: Telnyx) -> None: with client.sim_card_data_usage_notifications.with_streaming_response.update( @@ -171,6 +183,7 @@ def test_streaming_response_update(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -178,6 +191,7 @@ def test_path_params_update(self, client: Telnyx) -> None: id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: sim_card_data_usage_notification = client.sim_card_data_usage_notifications.list() @@ -185,6 +199,7 @@ def test_method_list(self, client: Telnyx) -> None: SimCardDataUsageNotificationListResponse, sim_card_data_usage_notification, path=["response"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: sim_card_data_usage_notification = client.sim_card_data_usage_notifications.list( @@ -196,6 +211,7 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: SimCardDataUsageNotificationListResponse, sim_card_data_usage_notification, path=["response"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.sim_card_data_usage_notifications.with_raw_response.list() @@ -207,6 +223,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: SimCardDataUsageNotificationListResponse, sim_card_data_usage_notification, path=["response"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.sim_card_data_usage_notifications.with_streaming_response.list() as response: @@ -220,6 +237,7 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: sim_card_data_usage_notification = client.sim_card_data_usage_notifications.delete( @@ -229,6 +247,7 @@ def test_method_delete(self, client: Telnyx) -> None: SimCardDataUsageNotificationDeleteResponse, sim_card_data_usage_notification, path=["response"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.sim_card_data_usage_notifications.with_raw_response.delete( @@ -242,6 +261,7 @@ def test_raw_response_delete(self, client: Telnyx) -> None: SimCardDataUsageNotificationDeleteResponse, sim_card_data_usage_notification, path=["response"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.sim_card_data_usage_notifications.with_streaming_response.delete( @@ -257,6 +277,7 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -270,6 +291,7 @@ class TestAsyncSimCardDataUsageNotifications: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: sim_card_data_usage_notification = await async_client.sim_card_data_usage_notifications.create( @@ -280,6 +302,7 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: SimCardDataUsageNotificationCreateResponse, sim_card_data_usage_notification, path=["response"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: sim_card_data_usage_notification = await async_client.sim_card_data_usage_notifications.create( @@ -293,6 +316,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> SimCardDataUsageNotificationCreateResponse, sim_card_data_usage_notification, path=["response"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.sim_card_data_usage_notifications.with_raw_response.create( @@ -307,6 +331,7 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: SimCardDataUsageNotificationCreateResponse, sim_card_data_usage_notification, path=["response"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.sim_card_data_usage_notifications.with_streaming_response.create( @@ -323,6 +348,7 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: sim_card_data_usage_notification = await async_client.sim_card_data_usage_notifications.retrieve( @@ -332,6 +358,7 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: SimCardDataUsageNotificationRetrieveResponse, sim_card_data_usage_notification, path=["response"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.sim_card_data_usage_notifications.with_raw_response.retrieve( @@ -345,6 +372,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: SimCardDataUsageNotificationRetrieveResponse, sim_card_data_usage_notification, path=["response"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.sim_card_data_usage_notifications.with_streaming_response.retrieve( @@ -360,6 +388,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -367,6 +396,7 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update(self, async_client: AsyncTelnyx) -> None: sim_card_data_usage_notification = await async_client.sim_card_data_usage_notifications.update( @@ -376,6 +406,7 @@ async def test_method_update(self, async_client: AsyncTelnyx) -> None: SimCardDataUsageNotificationUpdateResponse, sim_card_data_usage_notification, path=["response"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> None: sim_card_data_usage_notification = await async_client.sim_card_data_usage_notifications.update( @@ -390,6 +421,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> SimCardDataUsageNotificationUpdateResponse, sim_card_data_usage_notification, path=["response"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: response = await async_client.sim_card_data_usage_notifications.with_raw_response.update( @@ -403,6 +435,7 @@ async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: SimCardDataUsageNotificationUpdateResponse, sim_card_data_usage_notification, path=["response"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> None: async with async_client.sim_card_data_usage_notifications.with_streaming_response.update( @@ -418,6 +451,7 @@ async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -425,6 +459,7 @@ async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: sim_card_data_usage_notification = await async_client.sim_card_data_usage_notifications.list() @@ -432,6 +467,7 @@ async def test_method_list(self, async_client: AsyncTelnyx) -> None: SimCardDataUsageNotificationListResponse, sim_card_data_usage_notification, path=["response"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: sim_card_data_usage_notification = await async_client.sim_card_data_usage_notifications.list( @@ -443,6 +479,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N SimCardDataUsageNotificationListResponse, sim_card_data_usage_notification, path=["response"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.sim_card_data_usage_notifications.with_raw_response.list() @@ -454,6 +491,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: SimCardDataUsageNotificationListResponse, sim_card_data_usage_notification, path=["response"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.sim_card_data_usage_notifications.with_streaming_response.list() as response: @@ -467,6 +505,7 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: sim_card_data_usage_notification = await async_client.sim_card_data_usage_notifications.delete( @@ -476,6 +515,7 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: SimCardDataUsageNotificationDeleteResponse, sim_card_data_usage_notification, path=["response"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.sim_card_data_usage_notifications.with_raw_response.delete( @@ -489,6 +529,7 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: SimCardDataUsageNotificationDeleteResponse, sim_card_data_usage_notification, path=["response"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.sim_card_data_usage_notifications.with_streaming_response.delete( @@ -504,6 +545,7 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): diff --git a/tests/api_resources/test_sim_card_groups.py b/tests/api_resources/test_sim_card_groups.py index 7e324434..55e9173b 100644 --- a/tests/api_resources/test_sim_card_groups.py +++ b/tests/api_resources/test_sim_card_groups.py @@ -23,6 +23,7 @@ class TestSimCardGroups: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: sim_card_group = client.sim_card_groups.create( @@ -30,6 +31,7 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(SimCardGroupCreateResponse, sim_card_group, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: sim_card_group = client.sim_card_groups.create( @@ -41,6 +43,7 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(SimCardGroupCreateResponse, sim_card_group, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.sim_card_groups.with_raw_response.create( @@ -52,6 +55,7 @@ def test_raw_response_create(self, client: Telnyx) -> None: sim_card_group = response.parse() assert_matches_type(SimCardGroupCreateResponse, sim_card_group, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.sim_card_groups.with_streaming_response.create( @@ -65,6 +69,7 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: sim_card_group = client.sim_card_groups.retrieve( @@ -72,6 +77,7 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(SimCardGroupRetrieveResponse, sim_card_group, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve_with_all_params(self, client: Telnyx) -> None: sim_card_group = client.sim_card_groups.retrieve( @@ -80,6 +86,7 @@ def test_method_retrieve_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(SimCardGroupRetrieveResponse, sim_card_group, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.sim_card_groups.with_raw_response.retrieve( @@ -91,6 +98,7 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: sim_card_group = response.parse() assert_matches_type(SimCardGroupRetrieveResponse, sim_card_group, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.sim_card_groups.with_streaming_response.retrieve( @@ -104,6 +112,7 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -111,6 +120,7 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update(self, client: Telnyx) -> None: sim_card_group = client.sim_card_groups.update( @@ -118,6 +128,7 @@ def test_method_update(self, client: Telnyx) -> None: ) assert_matches_type(SimCardGroupUpdateResponse, sim_card_group, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_with_all_params(self, client: Telnyx) -> None: sim_card_group = client.sim_card_groups.update( @@ -130,6 +141,7 @@ def test_method_update_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(SimCardGroupUpdateResponse, sim_card_group, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update(self, client: Telnyx) -> None: response = client.sim_card_groups.with_raw_response.update( @@ -141,6 +153,7 @@ def test_raw_response_update(self, client: Telnyx) -> None: sim_card_group = response.parse() assert_matches_type(SimCardGroupUpdateResponse, sim_card_group, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update(self, client: Telnyx) -> None: with client.sim_card_groups.with_streaming_response.update( @@ -154,6 +167,7 @@ def test_streaming_response_update(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -161,11 +175,13 @@ def test_path_params_update(self, client: Telnyx) -> None: id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: sim_card_group = client.sim_card_groups.list() assert_matches_type(SimCardGroupListResponse, sim_card_group, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: sim_card_group = client.sim_card_groups.list( @@ -177,6 +193,7 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(SimCardGroupListResponse, sim_card_group, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.sim_card_groups.with_raw_response.list() @@ -186,6 +203,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: sim_card_group = response.parse() assert_matches_type(SimCardGroupListResponse, sim_card_group, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.sim_card_groups.with_streaming_response.list() as response: @@ -197,6 +215,7 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: sim_card_group = client.sim_card_groups.delete( @@ -204,6 +223,7 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert_matches_type(SimCardGroupDeleteResponse, sim_card_group, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.sim_card_groups.with_raw_response.delete( @@ -215,6 +235,7 @@ def test_raw_response_delete(self, client: Telnyx) -> None: sim_card_group = response.parse() assert_matches_type(SimCardGroupDeleteResponse, sim_card_group, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.sim_card_groups.with_streaming_response.delete( @@ -228,6 +249,7 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -241,6 +263,7 @@ class TestAsyncSimCardGroups: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: sim_card_group = await async_client.sim_card_groups.create( @@ -248,6 +271,7 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(SimCardGroupCreateResponse, sim_card_group, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: sim_card_group = await async_client.sim_card_groups.create( @@ -259,6 +283,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(SimCardGroupCreateResponse, sim_card_group, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.sim_card_groups.with_raw_response.create( @@ -270,6 +295,7 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: sim_card_group = await response.parse() assert_matches_type(SimCardGroupCreateResponse, sim_card_group, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.sim_card_groups.with_streaming_response.create( @@ -283,6 +309,7 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: sim_card_group = await async_client.sim_card_groups.retrieve( @@ -290,6 +317,7 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(SimCardGroupRetrieveResponse, sim_card_group, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve_with_all_params(self, async_client: AsyncTelnyx) -> None: sim_card_group = await async_client.sim_card_groups.retrieve( @@ -298,6 +326,7 @@ async def test_method_retrieve_with_all_params(self, async_client: AsyncTelnyx) ) assert_matches_type(SimCardGroupRetrieveResponse, sim_card_group, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.sim_card_groups.with_raw_response.retrieve( @@ -309,6 +338,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: sim_card_group = await response.parse() assert_matches_type(SimCardGroupRetrieveResponse, sim_card_group, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.sim_card_groups.with_streaming_response.retrieve( @@ -322,6 +352,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -329,6 +360,7 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update(self, async_client: AsyncTelnyx) -> None: sim_card_group = await async_client.sim_card_groups.update( @@ -336,6 +368,7 @@ async def test_method_update(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(SimCardGroupUpdateResponse, sim_card_group, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> None: sim_card_group = await async_client.sim_card_groups.update( @@ -348,6 +381,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(SimCardGroupUpdateResponse, sim_card_group, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: response = await async_client.sim_card_groups.with_raw_response.update( @@ -359,6 +393,7 @@ async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: sim_card_group = await response.parse() assert_matches_type(SimCardGroupUpdateResponse, sim_card_group, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> None: async with async_client.sim_card_groups.with_streaming_response.update( @@ -372,6 +407,7 @@ async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -379,11 +415,13 @@ async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: sim_card_group = await async_client.sim_card_groups.list() assert_matches_type(SimCardGroupListResponse, sim_card_group, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: sim_card_group = await async_client.sim_card_groups.list( @@ -395,6 +433,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(SimCardGroupListResponse, sim_card_group, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.sim_card_groups.with_raw_response.list() @@ -404,6 +443,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: sim_card_group = await response.parse() assert_matches_type(SimCardGroupListResponse, sim_card_group, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.sim_card_groups.with_streaming_response.list() as response: @@ -415,6 +455,7 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: sim_card_group = await async_client.sim_card_groups.delete( @@ -422,6 +463,7 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(SimCardGroupDeleteResponse, sim_card_group, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.sim_card_groups.with_raw_response.delete( @@ -433,6 +475,7 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: sim_card_group = await response.parse() assert_matches_type(SimCardGroupDeleteResponse, sim_card_group, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.sim_card_groups.with_streaming_response.delete( @@ -446,6 +489,7 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): diff --git a/tests/api_resources/test_sim_card_order_preview.py b/tests/api_resources/test_sim_card_order_preview.py index e092f229..1a4e97e5 100644 --- a/tests/api_resources/test_sim_card_order_preview.py +++ b/tests/api_resources/test_sim_card_order_preview.py @@ -17,6 +17,7 @@ class TestSimCardOrderPreview: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_preview(self, client: Telnyx) -> None: sim_card_order_preview = client.sim_card_order_preview.preview( @@ -25,6 +26,7 @@ def test_method_preview(self, client: Telnyx) -> None: ) assert_matches_type(SimCardOrderPreviewPreviewResponse, sim_card_order_preview, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_preview(self, client: Telnyx) -> None: response = client.sim_card_order_preview.with_raw_response.preview( @@ -37,6 +39,7 @@ def test_raw_response_preview(self, client: Telnyx) -> None: sim_card_order_preview = response.parse() assert_matches_type(SimCardOrderPreviewPreviewResponse, sim_card_order_preview, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_preview(self, client: Telnyx) -> None: with client.sim_card_order_preview.with_streaming_response.preview( @@ -57,6 +60,7 @@ class TestAsyncSimCardOrderPreview: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_preview(self, async_client: AsyncTelnyx) -> None: sim_card_order_preview = await async_client.sim_card_order_preview.preview( @@ -65,6 +69,7 @@ async def test_method_preview(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(SimCardOrderPreviewPreviewResponse, sim_card_order_preview, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_preview(self, async_client: AsyncTelnyx) -> None: response = await async_client.sim_card_order_preview.with_raw_response.preview( @@ -77,6 +82,7 @@ async def test_raw_response_preview(self, async_client: AsyncTelnyx) -> None: sim_card_order_preview = await response.parse() assert_matches_type(SimCardOrderPreviewPreviewResponse, sim_card_order_preview, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_preview(self, async_client: AsyncTelnyx) -> None: async with async_client.sim_card_order_preview.with_streaming_response.preview( diff --git a/tests/api_resources/test_sim_card_orders.py b/tests/api_resources/test_sim_card_orders.py index 64f47b09..38591570 100644 --- a/tests/api_resources/test_sim_card_orders.py +++ b/tests/api_resources/test_sim_card_orders.py @@ -22,6 +22,7 @@ class TestSimCardOrders: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: sim_card_order = client.sim_card_orders.create( @@ -30,6 +31,7 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(SimCardOrderCreateResponse, sim_card_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.sim_card_orders.with_raw_response.create( @@ -42,6 +44,7 @@ def test_raw_response_create(self, client: Telnyx) -> None: sim_card_order = response.parse() assert_matches_type(SimCardOrderCreateResponse, sim_card_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.sim_card_orders.with_streaming_response.create( @@ -56,6 +59,7 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: sim_card_order = client.sim_card_orders.retrieve( @@ -63,6 +67,7 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(SimCardOrderRetrieveResponse, sim_card_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.sim_card_orders.with_raw_response.retrieve( @@ -74,6 +79,7 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: sim_card_order = response.parse() assert_matches_type(SimCardOrderRetrieveResponse, sim_card_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.sim_card_orders.with_streaming_response.retrieve( @@ -87,6 +93,7 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -94,11 +101,13 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: sim_card_order = client.sim_card_orders.list() assert_matches_type(SimCardOrderListResponse, sim_card_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: sim_card_order = client.sim_card_orders.list( @@ -127,6 +136,7 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(SimCardOrderListResponse, sim_card_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.sim_card_orders.with_raw_response.list() @@ -136,6 +146,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: sim_card_order = response.parse() assert_matches_type(SimCardOrderListResponse, sim_card_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.sim_card_orders.with_streaming_response.list() as response: @@ -153,6 +164,7 @@ class TestAsyncSimCardOrders: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: sim_card_order = await async_client.sim_card_orders.create( @@ -161,6 +173,7 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(SimCardOrderCreateResponse, sim_card_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.sim_card_orders.with_raw_response.create( @@ -173,6 +186,7 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: sim_card_order = await response.parse() assert_matches_type(SimCardOrderCreateResponse, sim_card_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.sim_card_orders.with_streaming_response.create( @@ -187,6 +201,7 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: sim_card_order = await async_client.sim_card_orders.retrieve( @@ -194,6 +209,7 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(SimCardOrderRetrieveResponse, sim_card_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.sim_card_orders.with_raw_response.retrieve( @@ -205,6 +221,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: sim_card_order = await response.parse() assert_matches_type(SimCardOrderRetrieveResponse, sim_card_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.sim_card_orders.with_streaming_response.retrieve( @@ -218,6 +235,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -225,11 +243,13 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: sim_card_order = await async_client.sim_card_orders.list() assert_matches_type(SimCardOrderListResponse, sim_card_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: sim_card_order = await async_client.sim_card_orders.list( @@ -258,6 +278,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(SimCardOrderListResponse, sim_card_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.sim_card_orders.with_raw_response.list() @@ -267,6 +288,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: sim_card_order = await response.parse() assert_matches_type(SimCardOrderListResponse, sim_card_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.sim_card_orders.with_streaming_response.list() as response: diff --git a/tests/api_resources/test_sim_cards.py b/tests/api_resources/test_sim_cards.py index a62536e7..cd4e24d0 100644 --- a/tests/api_resources/test_sim_cards.py +++ b/tests/api_resources/test_sim_cards.py @@ -26,6 +26,7 @@ class TestSimCards: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: sim_card = client.sim_cards.retrieve( @@ -33,6 +34,7 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(SimCardRetrieveResponse, sim_card, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve_with_all_params(self, client: Telnyx) -> None: sim_card = client.sim_cards.retrieve( @@ -42,6 +44,7 @@ def test_method_retrieve_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(SimCardRetrieveResponse, sim_card, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.sim_cards.with_raw_response.retrieve( @@ -53,6 +56,7 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: sim_card = response.parse() assert_matches_type(SimCardRetrieveResponse, sim_card, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.sim_cards.with_streaming_response.retrieve( @@ -66,6 +70,7 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -73,6 +78,7 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update(self, client: Telnyx) -> None: sim_card = client.sim_cards.update( @@ -80,6 +86,7 @@ def test_method_update(self, client: Telnyx) -> None: ) assert_matches_type(SimCardUpdateResponse, sim_card, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_with_all_params(self, client: Telnyx) -> None: sim_card = client.sim_cards.update( @@ -95,6 +102,7 @@ def test_method_update_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(SimCardUpdateResponse, sim_card, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update(self, client: Telnyx) -> None: response = client.sim_cards.with_raw_response.update( @@ -106,6 +114,7 @@ def test_raw_response_update(self, client: Telnyx) -> None: sim_card = response.parse() assert_matches_type(SimCardUpdateResponse, sim_card, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update(self, client: Telnyx) -> None: with client.sim_cards.with_streaming_response.update( @@ -119,6 +128,7 @@ def test_streaming_response_update(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -126,11 +136,13 @@ def test_path_params_update(self, client: Telnyx) -> None: id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: sim_card = client.sim_cards.list() assert_matches_type(SimCardListResponse, sim_card, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: sim_card = client.sim_cards.list( @@ -149,6 +161,7 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(SimCardListResponse, sim_card, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.sim_cards.with_raw_response.list() @@ -158,6 +171,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: sim_card = response.parse() assert_matches_type(SimCardListResponse, sim_card, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.sim_cards.with_streaming_response.list() as response: @@ -169,6 +183,7 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: sim_card = client.sim_cards.delete( @@ -176,6 +191,7 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert_matches_type(SimCardDeleteResponse, sim_card, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete_with_all_params(self, client: Telnyx) -> None: sim_card = client.sim_cards.delete( @@ -184,6 +200,7 @@ def test_method_delete_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(SimCardDeleteResponse, sim_card, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.sim_cards.with_raw_response.delete( @@ -195,6 +212,7 @@ def test_raw_response_delete(self, client: Telnyx) -> None: sim_card = response.parse() assert_matches_type(SimCardDeleteResponse, sim_card, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.sim_cards.with_streaming_response.delete( @@ -208,6 +226,7 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -215,6 +234,7 @@ def test_path_params_delete(self, client: Telnyx) -> None: id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_get_activation_code(self, client: Telnyx) -> None: sim_card = client.sim_cards.get_activation_code( @@ -222,6 +242,7 @@ def test_method_get_activation_code(self, client: Telnyx) -> None: ) assert_matches_type(SimCardGetActivationCodeResponse, sim_card, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_get_activation_code(self, client: Telnyx) -> None: response = client.sim_cards.with_raw_response.get_activation_code( @@ -233,6 +254,7 @@ def test_raw_response_get_activation_code(self, client: Telnyx) -> None: sim_card = response.parse() assert_matches_type(SimCardGetActivationCodeResponse, sim_card, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_get_activation_code(self, client: Telnyx) -> None: with client.sim_cards.with_streaming_response.get_activation_code( @@ -246,6 +268,7 @@ def test_streaming_response_get_activation_code(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_get_activation_code(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -253,6 +276,7 @@ def test_path_params_get_activation_code(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_get_device_details(self, client: Telnyx) -> None: sim_card = client.sim_cards.get_device_details( @@ -260,6 +284,7 @@ def test_method_get_device_details(self, client: Telnyx) -> None: ) assert_matches_type(SimCardGetDeviceDetailsResponse, sim_card, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_get_device_details(self, client: Telnyx) -> None: response = client.sim_cards.with_raw_response.get_device_details( @@ -271,6 +296,7 @@ def test_raw_response_get_device_details(self, client: Telnyx) -> None: sim_card = response.parse() assert_matches_type(SimCardGetDeviceDetailsResponse, sim_card, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_get_device_details(self, client: Telnyx) -> None: with client.sim_cards.with_streaming_response.get_device_details( @@ -284,6 +310,7 @@ def test_streaming_response_get_device_details(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_get_device_details(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -291,6 +318,7 @@ def test_path_params_get_device_details(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_get_public_ip(self, client: Telnyx) -> None: sim_card = client.sim_cards.get_public_ip( @@ -298,6 +326,7 @@ def test_method_get_public_ip(self, client: Telnyx) -> None: ) assert_matches_type(SimCardGetPublicIPResponse, sim_card, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_get_public_ip(self, client: Telnyx) -> None: response = client.sim_cards.with_raw_response.get_public_ip( @@ -309,6 +338,7 @@ def test_raw_response_get_public_ip(self, client: Telnyx) -> None: sim_card = response.parse() assert_matches_type(SimCardGetPublicIPResponse, sim_card, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_get_public_ip(self, client: Telnyx) -> None: with client.sim_cards.with_streaming_response.get_public_ip( @@ -322,6 +352,7 @@ def test_streaming_response_get_public_ip(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_get_public_ip(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -329,6 +360,7 @@ def test_path_params_get_public_ip(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_wireless_connectivity_logs(self, client: Telnyx) -> None: sim_card = client.sim_cards.list_wireless_connectivity_logs( @@ -336,6 +368,7 @@ def test_method_list_wireless_connectivity_logs(self, client: Telnyx) -> None: ) assert_matches_type(SimCardListWirelessConnectivityLogsResponse, sim_card, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_wireless_connectivity_logs_with_all_params(self, client: Telnyx) -> None: sim_card = client.sim_cards.list_wireless_connectivity_logs( @@ -345,6 +378,7 @@ def test_method_list_wireless_connectivity_logs_with_all_params(self, client: Te ) assert_matches_type(SimCardListWirelessConnectivityLogsResponse, sim_card, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list_wireless_connectivity_logs(self, client: Telnyx) -> None: response = client.sim_cards.with_raw_response.list_wireless_connectivity_logs( @@ -356,6 +390,7 @@ def test_raw_response_list_wireless_connectivity_logs(self, client: Telnyx) -> N sim_card = response.parse() assert_matches_type(SimCardListWirelessConnectivityLogsResponse, sim_card, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list_wireless_connectivity_logs(self, client: Telnyx) -> None: with client.sim_cards.with_streaming_response.list_wireless_connectivity_logs( @@ -369,6 +404,7 @@ def test_streaming_response_list_wireless_connectivity_logs(self, client: Telnyx assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_list_wireless_connectivity_logs(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -382,6 +418,7 @@ class TestAsyncSimCards: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: sim_card = await async_client.sim_cards.retrieve( @@ -389,6 +426,7 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(SimCardRetrieveResponse, sim_card, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve_with_all_params(self, async_client: AsyncTelnyx) -> None: sim_card = await async_client.sim_cards.retrieve( @@ -398,6 +436,7 @@ async def test_method_retrieve_with_all_params(self, async_client: AsyncTelnyx) ) assert_matches_type(SimCardRetrieveResponse, sim_card, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.sim_cards.with_raw_response.retrieve( @@ -409,6 +448,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: sim_card = await response.parse() assert_matches_type(SimCardRetrieveResponse, sim_card, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.sim_cards.with_streaming_response.retrieve( @@ -422,6 +462,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -429,6 +470,7 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update(self, async_client: AsyncTelnyx) -> None: sim_card = await async_client.sim_cards.update( @@ -436,6 +478,7 @@ async def test_method_update(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(SimCardUpdateResponse, sim_card, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> None: sim_card = await async_client.sim_cards.update( @@ -451,6 +494,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(SimCardUpdateResponse, sim_card, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: response = await async_client.sim_cards.with_raw_response.update( @@ -462,6 +506,7 @@ async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: sim_card = await response.parse() assert_matches_type(SimCardUpdateResponse, sim_card, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> None: async with async_client.sim_cards.with_streaming_response.update( @@ -475,6 +520,7 @@ async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -482,11 +528,13 @@ async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: sim_card = await async_client.sim_cards.list() assert_matches_type(SimCardListResponse, sim_card, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: sim_card = await async_client.sim_cards.list( @@ -505,6 +553,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(SimCardListResponse, sim_card, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.sim_cards.with_raw_response.list() @@ -514,6 +563,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: sim_card = await response.parse() assert_matches_type(SimCardListResponse, sim_card, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.sim_cards.with_streaming_response.list() as response: @@ -525,6 +575,7 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: sim_card = await async_client.sim_cards.delete( @@ -532,6 +583,7 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(SimCardDeleteResponse, sim_card, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete_with_all_params(self, async_client: AsyncTelnyx) -> None: sim_card = await async_client.sim_cards.delete( @@ -540,6 +592,7 @@ async def test_method_delete_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(SimCardDeleteResponse, sim_card, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.sim_cards.with_raw_response.delete( @@ -551,6 +604,7 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: sim_card = await response.parse() assert_matches_type(SimCardDeleteResponse, sim_card, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.sim_cards.with_streaming_response.delete( @@ -564,6 +618,7 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -571,6 +626,7 @@ async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_get_activation_code(self, async_client: AsyncTelnyx) -> None: sim_card = await async_client.sim_cards.get_activation_code( @@ -578,6 +634,7 @@ async def test_method_get_activation_code(self, async_client: AsyncTelnyx) -> No ) assert_matches_type(SimCardGetActivationCodeResponse, sim_card, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_get_activation_code(self, async_client: AsyncTelnyx) -> None: response = await async_client.sim_cards.with_raw_response.get_activation_code( @@ -589,6 +646,7 @@ async def test_raw_response_get_activation_code(self, async_client: AsyncTelnyx) sim_card = await response.parse() assert_matches_type(SimCardGetActivationCodeResponse, sim_card, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_get_activation_code(self, async_client: AsyncTelnyx) -> None: async with async_client.sim_cards.with_streaming_response.get_activation_code( @@ -602,6 +660,7 @@ async def test_streaming_response_get_activation_code(self, async_client: AsyncT assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_get_activation_code(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -609,6 +668,7 @@ async def test_path_params_get_activation_code(self, async_client: AsyncTelnyx) "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_get_device_details(self, async_client: AsyncTelnyx) -> None: sim_card = await async_client.sim_cards.get_device_details( @@ -616,6 +676,7 @@ async def test_method_get_device_details(self, async_client: AsyncTelnyx) -> Non ) assert_matches_type(SimCardGetDeviceDetailsResponse, sim_card, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_get_device_details(self, async_client: AsyncTelnyx) -> None: response = await async_client.sim_cards.with_raw_response.get_device_details( @@ -627,6 +688,7 @@ async def test_raw_response_get_device_details(self, async_client: AsyncTelnyx) sim_card = await response.parse() assert_matches_type(SimCardGetDeviceDetailsResponse, sim_card, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_get_device_details(self, async_client: AsyncTelnyx) -> None: async with async_client.sim_cards.with_streaming_response.get_device_details( @@ -640,6 +702,7 @@ async def test_streaming_response_get_device_details(self, async_client: AsyncTe assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_get_device_details(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -647,6 +710,7 @@ async def test_path_params_get_device_details(self, async_client: AsyncTelnyx) - "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_get_public_ip(self, async_client: AsyncTelnyx) -> None: sim_card = await async_client.sim_cards.get_public_ip( @@ -654,6 +718,7 @@ async def test_method_get_public_ip(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(SimCardGetPublicIPResponse, sim_card, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_get_public_ip(self, async_client: AsyncTelnyx) -> None: response = await async_client.sim_cards.with_raw_response.get_public_ip( @@ -665,6 +730,7 @@ async def test_raw_response_get_public_ip(self, async_client: AsyncTelnyx) -> No sim_card = await response.parse() assert_matches_type(SimCardGetPublicIPResponse, sim_card, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_get_public_ip(self, async_client: AsyncTelnyx) -> None: async with async_client.sim_cards.with_streaming_response.get_public_ip( @@ -678,6 +744,7 @@ async def test_streaming_response_get_public_ip(self, async_client: AsyncTelnyx) assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_get_public_ip(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -685,6 +752,7 @@ async def test_path_params_get_public_ip(self, async_client: AsyncTelnyx) -> Non "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_wireless_connectivity_logs(self, async_client: AsyncTelnyx) -> None: sim_card = await async_client.sim_cards.list_wireless_connectivity_logs( @@ -692,6 +760,7 @@ async def test_method_list_wireless_connectivity_logs(self, async_client: AsyncT ) assert_matches_type(SimCardListWirelessConnectivityLogsResponse, sim_card, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_wireless_connectivity_logs_with_all_params(self, async_client: AsyncTelnyx) -> None: sim_card = await async_client.sim_cards.list_wireless_connectivity_logs( @@ -701,6 +770,7 @@ async def test_method_list_wireless_connectivity_logs_with_all_params(self, asyn ) assert_matches_type(SimCardListWirelessConnectivityLogsResponse, sim_card, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list_wireless_connectivity_logs(self, async_client: AsyncTelnyx) -> None: response = await async_client.sim_cards.with_raw_response.list_wireless_connectivity_logs( @@ -712,6 +782,7 @@ async def test_raw_response_list_wireless_connectivity_logs(self, async_client: sim_card = await response.parse() assert_matches_type(SimCardListWirelessConnectivityLogsResponse, sim_card, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list_wireless_connectivity_logs(self, async_client: AsyncTelnyx) -> None: async with async_client.sim_cards.with_streaming_response.list_wireless_connectivity_logs( @@ -725,6 +796,7 @@ async def test_streaming_response_list_wireless_connectivity_logs(self, async_cl assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_list_wireless_connectivity_logs(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): diff --git a/tests/api_resources/test_siprec_connectors.py b/tests/api_resources/test_siprec_connectors.py index 1244da16..c5b60367 100644 --- a/tests/api_resources/test_siprec_connectors.py +++ b/tests/api_resources/test_siprec_connectors.py @@ -21,6 +21,7 @@ class TestSiprecConnectors: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: siprec_connector = client.siprec_connectors.create( @@ -30,6 +31,7 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(SiprecConnectorCreateResponse, siprec_connector, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: siprec_connector = client.siprec_connectors.create( @@ -40,6 +42,7 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(SiprecConnectorCreateResponse, siprec_connector, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.siprec_connectors.with_raw_response.create( @@ -53,6 +56,7 @@ def test_raw_response_create(self, client: Telnyx) -> None: siprec_connector = response.parse() assert_matches_type(SiprecConnectorCreateResponse, siprec_connector, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.siprec_connectors.with_streaming_response.create( @@ -68,6 +72,7 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: siprec_connector = client.siprec_connectors.retrieve( @@ -75,6 +80,7 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(SiprecConnectorRetrieveResponse, siprec_connector, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.siprec_connectors.with_raw_response.retrieve( @@ -86,6 +92,7 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: siprec_connector = response.parse() assert_matches_type(SiprecConnectorRetrieveResponse, siprec_connector, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.siprec_connectors.with_streaming_response.retrieve( @@ -99,6 +106,7 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `connector_name` but received ''"): @@ -106,6 +114,7 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update(self, client: Telnyx) -> None: siprec_connector = client.siprec_connectors.update( @@ -116,6 +125,7 @@ def test_method_update(self, client: Telnyx) -> None: ) assert_matches_type(SiprecConnectorUpdateResponse, siprec_connector, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_with_all_params(self, client: Telnyx) -> None: siprec_connector = client.siprec_connectors.update( @@ -127,6 +137,7 @@ def test_method_update_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(SiprecConnectorUpdateResponse, siprec_connector, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update(self, client: Telnyx) -> None: response = client.siprec_connectors.with_raw_response.update( @@ -141,6 +152,7 @@ def test_raw_response_update(self, client: Telnyx) -> None: siprec_connector = response.parse() assert_matches_type(SiprecConnectorUpdateResponse, siprec_connector, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update(self, client: Telnyx) -> None: with client.siprec_connectors.with_streaming_response.update( @@ -157,6 +169,7 @@ def test_streaming_response_update(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `connector_name` but received ''"): @@ -167,6 +180,7 @@ def test_path_params_update(self, client: Telnyx) -> None: port=5060, ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: siprec_connector = client.siprec_connectors.delete( @@ -174,6 +188,7 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert siprec_connector is None + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.siprec_connectors.with_raw_response.delete( @@ -185,6 +200,7 @@ def test_raw_response_delete(self, client: Telnyx) -> None: siprec_connector = response.parse() assert siprec_connector is None + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.siprec_connectors.with_streaming_response.delete( @@ -198,6 +214,7 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `connector_name` but received ''"): @@ -211,6 +228,7 @@ class TestAsyncSiprecConnectors: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: siprec_connector = await async_client.siprec_connectors.create( @@ -220,6 +238,7 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(SiprecConnectorCreateResponse, siprec_connector, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: siprec_connector = await async_client.siprec_connectors.create( @@ -230,6 +249,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(SiprecConnectorCreateResponse, siprec_connector, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.siprec_connectors.with_raw_response.create( @@ -243,6 +263,7 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: siprec_connector = await response.parse() assert_matches_type(SiprecConnectorCreateResponse, siprec_connector, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.siprec_connectors.with_streaming_response.create( @@ -258,6 +279,7 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: siprec_connector = await async_client.siprec_connectors.retrieve( @@ -265,6 +287,7 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(SiprecConnectorRetrieveResponse, siprec_connector, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.siprec_connectors.with_raw_response.retrieve( @@ -276,6 +299,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: siprec_connector = await response.parse() assert_matches_type(SiprecConnectorRetrieveResponse, siprec_connector, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.siprec_connectors.with_streaming_response.retrieve( @@ -289,6 +313,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `connector_name` but received ''"): @@ -296,6 +321,7 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update(self, async_client: AsyncTelnyx) -> None: siprec_connector = await async_client.siprec_connectors.update( @@ -306,6 +332,7 @@ async def test_method_update(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(SiprecConnectorUpdateResponse, siprec_connector, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> None: siprec_connector = await async_client.siprec_connectors.update( @@ -317,6 +344,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(SiprecConnectorUpdateResponse, siprec_connector, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: response = await async_client.siprec_connectors.with_raw_response.update( @@ -331,6 +359,7 @@ async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: siprec_connector = await response.parse() assert_matches_type(SiprecConnectorUpdateResponse, siprec_connector, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> None: async with async_client.siprec_connectors.with_streaming_response.update( @@ -347,6 +376,7 @@ async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `connector_name` but received ''"): @@ -357,6 +387,7 @@ async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: port=5060, ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: siprec_connector = await async_client.siprec_connectors.delete( @@ -364,6 +395,7 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert siprec_connector is None + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.siprec_connectors.with_raw_response.delete( @@ -375,6 +407,7 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: siprec_connector = await response.parse() assert siprec_connector is None + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.siprec_connectors.with_streaming_response.delete( @@ -388,6 +421,7 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `connector_name` but received ''"): diff --git a/tests/api_resources/test_storage.py b/tests/api_resources/test_storage.py index ce5d34e4..c32bb6fa 100644 --- a/tests/api_resources/test_storage.py +++ b/tests/api_resources/test_storage.py @@ -17,11 +17,13 @@ class TestStorage: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_migration_source_coverage(self, client: Telnyx) -> None: storage = client.storage.list_migration_source_coverage() assert_matches_type(StorageListMigrationSourceCoverageResponse, storage, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list_migration_source_coverage(self, client: Telnyx) -> None: response = client.storage.with_raw_response.list_migration_source_coverage() @@ -31,6 +33,7 @@ def test_raw_response_list_migration_source_coverage(self, client: Telnyx) -> No storage = response.parse() assert_matches_type(StorageListMigrationSourceCoverageResponse, storage, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list_migration_source_coverage(self, client: Telnyx) -> None: with client.storage.with_streaming_response.list_migration_source_coverage() as response: @@ -48,11 +51,13 @@ class TestAsyncStorage: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_migration_source_coverage(self, async_client: AsyncTelnyx) -> None: storage = await async_client.storage.list_migration_source_coverage() assert_matches_type(StorageListMigrationSourceCoverageResponse, storage, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list_migration_source_coverage(self, async_client: AsyncTelnyx) -> None: response = await async_client.storage.with_raw_response.list_migration_source_coverage() @@ -62,6 +67,7 @@ async def test_raw_response_list_migration_source_coverage(self, async_client: A storage = await response.parse() assert_matches_type(StorageListMigrationSourceCoverageResponse, storage, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list_migration_source_coverage(self, async_client: AsyncTelnyx) -> None: async with async_client.storage.with_streaming_response.list_migration_source_coverage() as response: diff --git a/tests/api_resources/test_sub_number_orders.py b/tests/api_resources/test_sub_number_orders.py index a404503b..898edd93 100644 --- a/tests/api_resources/test_sub_number_orders.py +++ b/tests/api_resources/test_sub_number_orders.py @@ -23,6 +23,7 @@ class TestSubNumberOrders: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: sub_number_order = client.sub_number_orders.retrieve( @@ -30,6 +31,7 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(SubNumberOrderRetrieveResponse, sub_number_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve_with_all_params(self, client: Telnyx) -> None: sub_number_order = client.sub_number_orders.retrieve( @@ -38,6 +40,7 @@ def test_method_retrieve_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(SubNumberOrderRetrieveResponse, sub_number_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.sub_number_orders.with_raw_response.retrieve( @@ -49,6 +52,7 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: sub_number_order = response.parse() assert_matches_type(SubNumberOrderRetrieveResponse, sub_number_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.sub_number_orders.with_streaming_response.retrieve( @@ -62,6 +66,7 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `sub_number_order_id` but received ''"): @@ -69,6 +74,7 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: sub_number_order_id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update(self, client: Telnyx) -> None: sub_number_order = client.sub_number_orders.update( @@ -76,6 +82,7 @@ def test_method_update(self, client: Telnyx) -> None: ) assert_matches_type(SubNumberOrderUpdateResponse, sub_number_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_with_all_params(self, client: Telnyx) -> None: sub_number_order = client.sub_number_orders.update( @@ -89,6 +96,7 @@ def test_method_update_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(SubNumberOrderUpdateResponse, sub_number_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update(self, client: Telnyx) -> None: response = client.sub_number_orders.with_raw_response.update( @@ -100,6 +108,7 @@ def test_raw_response_update(self, client: Telnyx) -> None: sub_number_order = response.parse() assert_matches_type(SubNumberOrderUpdateResponse, sub_number_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update(self, client: Telnyx) -> None: with client.sub_number_orders.with_streaming_response.update( @@ -113,6 +122,7 @@ def test_streaming_response_update(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `sub_number_order_id` but received ''"): @@ -120,11 +130,13 @@ def test_path_params_update(self, client: Telnyx) -> None: sub_number_order_id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: sub_number_order = client.sub_number_orders.list() assert_matches_type(SubNumberOrderListResponse, sub_number_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: sub_number_order = client.sub_number_orders.list( @@ -138,6 +150,7 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(SubNumberOrderListResponse, sub_number_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.sub_number_orders.with_raw_response.list() @@ -147,6 +160,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: sub_number_order = response.parse() assert_matches_type(SubNumberOrderListResponse, sub_number_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.sub_number_orders.with_streaming_response.list() as response: @@ -158,6 +172,7 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_cancel(self, client: Telnyx) -> None: sub_number_order = client.sub_number_orders.cancel( @@ -165,6 +180,7 @@ def test_method_cancel(self, client: Telnyx) -> None: ) assert_matches_type(SubNumberOrderCancelResponse, sub_number_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_cancel(self, client: Telnyx) -> None: response = client.sub_number_orders.with_raw_response.cancel( @@ -176,6 +192,7 @@ def test_raw_response_cancel(self, client: Telnyx) -> None: sub_number_order = response.parse() assert_matches_type(SubNumberOrderCancelResponse, sub_number_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_cancel(self, client: Telnyx) -> None: with client.sub_number_orders.with_streaming_response.cancel( @@ -189,6 +206,7 @@ def test_streaming_response_cancel(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_cancel(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `sub_number_order_id` but received ''"): @@ -196,6 +214,7 @@ def test_path_params_cancel(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_requirement_group(self, client: Telnyx) -> None: sub_number_order = client.sub_number_orders.update_requirement_group( @@ -204,6 +223,7 @@ def test_method_update_requirement_group(self, client: Telnyx) -> None: ) assert_matches_type(SubNumberOrderUpdateRequirementGroupResponse, sub_number_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update_requirement_group(self, client: Telnyx) -> None: response = client.sub_number_orders.with_raw_response.update_requirement_group( @@ -216,6 +236,7 @@ def test_raw_response_update_requirement_group(self, client: Telnyx) -> None: sub_number_order = response.parse() assert_matches_type(SubNumberOrderUpdateRequirementGroupResponse, sub_number_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update_requirement_group(self, client: Telnyx) -> None: with client.sub_number_orders.with_streaming_response.update_requirement_group( @@ -230,6 +251,7 @@ def test_streaming_response_update_requirement_group(self, client: Telnyx) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update_requirement_group(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -244,6 +266,7 @@ class TestAsyncSubNumberOrders: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: sub_number_order = await async_client.sub_number_orders.retrieve( @@ -251,6 +274,7 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(SubNumberOrderRetrieveResponse, sub_number_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve_with_all_params(self, async_client: AsyncTelnyx) -> None: sub_number_order = await async_client.sub_number_orders.retrieve( @@ -259,6 +283,7 @@ async def test_method_retrieve_with_all_params(self, async_client: AsyncTelnyx) ) assert_matches_type(SubNumberOrderRetrieveResponse, sub_number_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.sub_number_orders.with_raw_response.retrieve( @@ -270,6 +295,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: sub_number_order = await response.parse() assert_matches_type(SubNumberOrderRetrieveResponse, sub_number_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.sub_number_orders.with_streaming_response.retrieve( @@ -283,6 +309,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `sub_number_order_id` but received ''"): @@ -290,6 +317,7 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: sub_number_order_id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update(self, async_client: AsyncTelnyx) -> None: sub_number_order = await async_client.sub_number_orders.update( @@ -297,6 +325,7 @@ async def test_method_update(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(SubNumberOrderUpdateResponse, sub_number_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> None: sub_number_order = await async_client.sub_number_orders.update( @@ -310,6 +339,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(SubNumberOrderUpdateResponse, sub_number_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: response = await async_client.sub_number_orders.with_raw_response.update( @@ -321,6 +351,7 @@ async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: sub_number_order = await response.parse() assert_matches_type(SubNumberOrderUpdateResponse, sub_number_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> None: async with async_client.sub_number_orders.with_streaming_response.update( @@ -334,6 +365,7 @@ async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `sub_number_order_id` but received ''"): @@ -341,11 +373,13 @@ async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: sub_number_order_id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: sub_number_order = await async_client.sub_number_orders.list() assert_matches_type(SubNumberOrderListResponse, sub_number_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: sub_number_order = await async_client.sub_number_orders.list( @@ -359,6 +393,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(SubNumberOrderListResponse, sub_number_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.sub_number_orders.with_raw_response.list() @@ -368,6 +403,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: sub_number_order = await response.parse() assert_matches_type(SubNumberOrderListResponse, sub_number_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.sub_number_orders.with_streaming_response.list() as response: @@ -379,6 +415,7 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_cancel(self, async_client: AsyncTelnyx) -> None: sub_number_order = await async_client.sub_number_orders.cancel( @@ -386,6 +423,7 @@ async def test_method_cancel(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(SubNumberOrderCancelResponse, sub_number_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_cancel(self, async_client: AsyncTelnyx) -> None: response = await async_client.sub_number_orders.with_raw_response.cancel( @@ -397,6 +435,7 @@ async def test_raw_response_cancel(self, async_client: AsyncTelnyx) -> None: sub_number_order = await response.parse() assert_matches_type(SubNumberOrderCancelResponse, sub_number_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_cancel(self, async_client: AsyncTelnyx) -> None: async with async_client.sub_number_orders.with_streaming_response.cancel( @@ -410,6 +449,7 @@ async def test_streaming_response_cancel(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_cancel(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `sub_number_order_id` but received ''"): @@ -417,6 +457,7 @@ async def test_path_params_cancel(self, async_client: AsyncTelnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_requirement_group(self, async_client: AsyncTelnyx) -> None: sub_number_order = await async_client.sub_number_orders.update_requirement_group( @@ -425,6 +466,7 @@ async def test_method_update_requirement_group(self, async_client: AsyncTelnyx) ) assert_matches_type(SubNumberOrderUpdateRequirementGroupResponse, sub_number_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update_requirement_group(self, async_client: AsyncTelnyx) -> None: response = await async_client.sub_number_orders.with_raw_response.update_requirement_group( @@ -437,6 +479,7 @@ async def test_raw_response_update_requirement_group(self, async_client: AsyncTe sub_number_order = await response.parse() assert_matches_type(SubNumberOrderUpdateRequirementGroupResponse, sub_number_order, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update_requirement_group(self, async_client: AsyncTelnyx) -> None: async with async_client.sub_number_orders.with_streaming_response.update_requirement_group( @@ -451,6 +494,7 @@ async def test_streaming_response_update_requirement_group(self, async_client: A assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update_requirement_group(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): diff --git a/tests/api_resources/test_sub_number_orders_report.py b/tests/api_resources/test_sub_number_orders_report.py index 2bd1fa90..16eb5a0d 100644 --- a/tests/api_resources/test_sub_number_orders_report.py +++ b/tests/api_resources/test_sub_number_orders_report.py @@ -21,11 +21,13 @@ class TestSubNumberOrdersReport: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: sub_number_orders_report = client.sub_number_orders_report.create() assert_matches_type(SubNumberOrdersReportCreateResponse, sub_number_orders_report, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: sub_number_orders_report = client.sub_number_orders_report.create( @@ -38,6 +40,7 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(SubNumberOrdersReportCreateResponse, sub_number_orders_report, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.sub_number_orders_report.with_raw_response.create() @@ -47,6 +50,7 @@ def test_raw_response_create(self, client: Telnyx) -> None: sub_number_orders_report = response.parse() assert_matches_type(SubNumberOrdersReportCreateResponse, sub_number_orders_report, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.sub_number_orders_report.with_streaming_response.create() as response: @@ -58,6 +62,7 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: sub_number_orders_report = client.sub_number_orders_report.retrieve( @@ -65,6 +70,7 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(SubNumberOrdersReportRetrieveResponse, sub_number_orders_report, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.sub_number_orders_report.with_raw_response.retrieve( @@ -76,6 +82,7 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: sub_number_orders_report = response.parse() assert_matches_type(SubNumberOrdersReportRetrieveResponse, sub_number_orders_report, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.sub_number_orders_report.with_streaming_response.retrieve( @@ -89,6 +96,7 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `report_id` but received ''"): @@ -96,6 +104,7 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_download(self, client: Telnyx) -> None: sub_number_orders_report = client.sub_number_orders_report.download( @@ -103,6 +112,7 @@ def test_method_download(self, client: Telnyx) -> None: ) assert_matches_type(str, sub_number_orders_report, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_download(self, client: Telnyx) -> None: response = client.sub_number_orders_report.with_raw_response.download( @@ -114,6 +124,7 @@ def test_raw_response_download(self, client: Telnyx) -> None: sub_number_orders_report = response.parse() assert_matches_type(str, sub_number_orders_report, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_download(self, client: Telnyx) -> None: with client.sub_number_orders_report.with_streaming_response.download( @@ -127,6 +138,7 @@ def test_streaming_response_download(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_download(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `report_id` but received ''"): @@ -140,11 +152,13 @@ class TestAsyncSubNumberOrdersReport: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: sub_number_orders_report = await async_client.sub_number_orders_report.create() assert_matches_type(SubNumberOrdersReportCreateResponse, sub_number_orders_report, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: sub_number_orders_report = await async_client.sub_number_orders_report.create( @@ -157,6 +171,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(SubNumberOrdersReportCreateResponse, sub_number_orders_report, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.sub_number_orders_report.with_raw_response.create() @@ -166,6 +181,7 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: sub_number_orders_report = await response.parse() assert_matches_type(SubNumberOrdersReportCreateResponse, sub_number_orders_report, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.sub_number_orders_report.with_streaming_response.create() as response: @@ -177,6 +193,7 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: sub_number_orders_report = await async_client.sub_number_orders_report.retrieve( @@ -184,6 +201,7 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(SubNumberOrdersReportRetrieveResponse, sub_number_orders_report, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.sub_number_orders_report.with_raw_response.retrieve( @@ -195,6 +213,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: sub_number_orders_report = await response.parse() assert_matches_type(SubNumberOrdersReportRetrieveResponse, sub_number_orders_report, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.sub_number_orders_report.with_streaming_response.retrieve( @@ -208,6 +227,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `report_id` but received ''"): @@ -215,6 +235,7 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_download(self, async_client: AsyncTelnyx) -> None: sub_number_orders_report = await async_client.sub_number_orders_report.download( @@ -222,6 +243,7 @@ async def test_method_download(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(str, sub_number_orders_report, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_download(self, async_client: AsyncTelnyx) -> None: response = await async_client.sub_number_orders_report.with_raw_response.download( @@ -233,6 +255,7 @@ async def test_raw_response_download(self, async_client: AsyncTelnyx) -> None: sub_number_orders_report = await response.parse() assert_matches_type(str, sub_number_orders_report, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_download(self, async_client: AsyncTelnyx) -> None: async with async_client.sub_number_orders_report.with_streaming_response.download( @@ -246,6 +269,7 @@ async def test_streaming_response_download(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_download(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `report_id` but received ''"): diff --git a/tests/api_resources/test_telephony_credentials.py b/tests/api_resources/test_telephony_credentials.py index 4ad7e041..b9445b27 100644 --- a/tests/api_resources/test_telephony_credentials.py +++ b/tests/api_resources/test_telephony_credentials.py @@ -23,6 +23,7 @@ class TestTelephonyCredentials: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: telephony_credential = client.telephony_credentials.create( @@ -30,6 +31,7 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(TelephonyCredentialCreateResponse, telephony_credential, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: telephony_credential = client.telephony_credentials.create( @@ -40,6 +42,7 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(TelephonyCredentialCreateResponse, telephony_credential, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.telephony_credentials.with_raw_response.create( @@ -51,6 +54,7 @@ def test_raw_response_create(self, client: Telnyx) -> None: telephony_credential = response.parse() assert_matches_type(TelephonyCredentialCreateResponse, telephony_credential, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.telephony_credentials.with_streaming_response.create( @@ -64,6 +68,7 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: telephony_credential = client.telephony_credentials.retrieve( @@ -71,6 +76,7 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(TelephonyCredentialRetrieveResponse, telephony_credential, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.telephony_credentials.with_raw_response.retrieve( @@ -82,6 +88,7 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: telephony_credential = response.parse() assert_matches_type(TelephonyCredentialRetrieveResponse, telephony_credential, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.telephony_credentials.with_streaming_response.retrieve( @@ -95,6 +102,7 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -102,6 +110,7 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update(self, client: Telnyx) -> None: telephony_credential = client.telephony_credentials.update( @@ -109,6 +118,7 @@ def test_method_update(self, client: Telnyx) -> None: ) assert_matches_type(TelephonyCredentialUpdateResponse, telephony_credential, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_with_all_params(self, client: Telnyx) -> None: telephony_credential = client.telephony_credentials.update( @@ -120,6 +130,7 @@ def test_method_update_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(TelephonyCredentialUpdateResponse, telephony_credential, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update(self, client: Telnyx) -> None: response = client.telephony_credentials.with_raw_response.update( @@ -131,6 +142,7 @@ def test_raw_response_update(self, client: Telnyx) -> None: telephony_credential = response.parse() assert_matches_type(TelephonyCredentialUpdateResponse, telephony_credential, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update(self, client: Telnyx) -> None: with client.telephony_credentials.with_streaming_response.update( @@ -144,6 +156,7 @@ def test_streaming_response_update(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -151,11 +164,13 @@ def test_path_params_update(self, client: Telnyx) -> None: id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: telephony_credential = client.telephony_credentials.list() assert_matches_type(TelephonyCredentialListResponse, telephony_credential, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: telephony_credential = client.telephony_credentials.list( @@ -173,6 +188,7 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(TelephonyCredentialListResponse, telephony_credential, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.telephony_credentials.with_raw_response.list() @@ -182,6 +198,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: telephony_credential = response.parse() assert_matches_type(TelephonyCredentialListResponse, telephony_credential, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.telephony_credentials.with_streaming_response.list() as response: @@ -193,6 +210,7 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: telephony_credential = client.telephony_credentials.delete( @@ -200,6 +218,7 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert_matches_type(TelephonyCredentialDeleteResponse, telephony_credential, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.telephony_credentials.with_raw_response.delete( @@ -211,6 +230,7 @@ def test_raw_response_delete(self, client: Telnyx) -> None: telephony_credential = response.parse() assert_matches_type(TelephonyCredentialDeleteResponse, telephony_credential, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.telephony_credentials.with_streaming_response.delete( @@ -224,6 +244,7 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -231,6 +252,7 @@ def test_path_params_delete(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_token(self, client: Telnyx) -> None: telephony_credential = client.telephony_credentials.create_token( @@ -238,6 +260,7 @@ def test_method_create_token(self, client: Telnyx) -> None: ) assert_matches_type(str, telephony_credential, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create_token(self, client: Telnyx) -> None: response = client.telephony_credentials.with_raw_response.create_token( @@ -249,6 +272,7 @@ def test_raw_response_create_token(self, client: Telnyx) -> None: telephony_credential = response.parse() assert_matches_type(str, telephony_credential, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create_token(self, client: Telnyx) -> None: with client.telephony_credentials.with_streaming_response.create_token( @@ -262,6 +286,7 @@ def test_streaming_response_create_token(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_create_token(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -275,6 +300,7 @@ class TestAsyncTelephonyCredentials: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: telephony_credential = await async_client.telephony_credentials.create( @@ -282,6 +308,7 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(TelephonyCredentialCreateResponse, telephony_credential, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: telephony_credential = await async_client.telephony_credentials.create( @@ -292,6 +319,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(TelephonyCredentialCreateResponse, telephony_credential, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.telephony_credentials.with_raw_response.create( @@ -303,6 +331,7 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: telephony_credential = await response.parse() assert_matches_type(TelephonyCredentialCreateResponse, telephony_credential, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.telephony_credentials.with_streaming_response.create( @@ -316,6 +345,7 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: telephony_credential = await async_client.telephony_credentials.retrieve( @@ -323,6 +353,7 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(TelephonyCredentialRetrieveResponse, telephony_credential, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.telephony_credentials.with_raw_response.retrieve( @@ -334,6 +365,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: telephony_credential = await response.parse() assert_matches_type(TelephonyCredentialRetrieveResponse, telephony_credential, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.telephony_credentials.with_streaming_response.retrieve( @@ -347,6 +379,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -354,6 +387,7 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update(self, async_client: AsyncTelnyx) -> None: telephony_credential = await async_client.telephony_credentials.update( @@ -361,6 +395,7 @@ async def test_method_update(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(TelephonyCredentialUpdateResponse, telephony_credential, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> None: telephony_credential = await async_client.telephony_credentials.update( @@ -372,6 +407,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(TelephonyCredentialUpdateResponse, telephony_credential, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: response = await async_client.telephony_credentials.with_raw_response.update( @@ -383,6 +419,7 @@ async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: telephony_credential = await response.parse() assert_matches_type(TelephonyCredentialUpdateResponse, telephony_credential, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> None: async with async_client.telephony_credentials.with_streaming_response.update( @@ -396,6 +433,7 @@ async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -403,11 +441,13 @@ async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: telephony_credential = await async_client.telephony_credentials.list() assert_matches_type(TelephonyCredentialListResponse, telephony_credential, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: telephony_credential = await async_client.telephony_credentials.list( @@ -425,6 +465,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(TelephonyCredentialListResponse, telephony_credential, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.telephony_credentials.with_raw_response.list() @@ -434,6 +475,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: telephony_credential = await response.parse() assert_matches_type(TelephonyCredentialListResponse, telephony_credential, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.telephony_credentials.with_streaming_response.list() as response: @@ -445,6 +487,7 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: telephony_credential = await async_client.telephony_credentials.delete( @@ -452,6 +495,7 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(TelephonyCredentialDeleteResponse, telephony_credential, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.telephony_credentials.with_raw_response.delete( @@ -463,6 +507,7 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: telephony_credential = await response.parse() assert_matches_type(TelephonyCredentialDeleteResponse, telephony_credential, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.telephony_credentials.with_streaming_response.delete( @@ -476,6 +521,7 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -483,6 +529,7 @@ async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_token(self, async_client: AsyncTelnyx) -> None: telephony_credential = await async_client.telephony_credentials.create_token( @@ -490,6 +537,7 @@ async def test_method_create_token(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(str, telephony_credential, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create_token(self, async_client: AsyncTelnyx) -> None: response = await async_client.telephony_credentials.with_raw_response.create_token( @@ -501,6 +549,7 @@ async def test_raw_response_create_token(self, async_client: AsyncTelnyx) -> Non telephony_credential = await response.parse() assert_matches_type(str, telephony_credential, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create_token(self, async_client: AsyncTelnyx) -> None: async with async_client.telephony_credentials.with_streaming_response.create_token( @@ -514,6 +563,7 @@ async def test_streaming_response_create_token(self, async_client: AsyncTelnyx) assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_create_token(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): diff --git a/tests/api_resources/test_texml.py b/tests/api_resources/test_texml.py index 1df5b169..870d36d5 100644 --- a/tests/api_resources/test_texml.py +++ b/tests/api_resources/test_texml.py @@ -17,6 +17,7 @@ class TestTexml: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_secrets(self, client: Telnyx) -> None: texml = client.texml.secrets( @@ -25,6 +26,7 @@ def test_method_secrets(self, client: Telnyx) -> None: ) assert_matches_type(TexmlSecretsResponse, texml, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_secrets(self, client: Telnyx) -> None: response = client.texml.with_raw_response.secrets( @@ -37,6 +39,7 @@ def test_raw_response_secrets(self, client: Telnyx) -> None: texml = response.parse() assert_matches_type(TexmlSecretsResponse, texml, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_secrets(self, client: Telnyx) -> None: with client.texml.with_streaming_response.secrets( @@ -57,6 +60,7 @@ class TestAsyncTexml: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_secrets(self, async_client: AsyncTelnyx) -> None: texml = await async_client.texml.secrets( @@ -65,6 +69,7 @@ async def test_method_secrets(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(TexmlSecretsResponse, texml, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_secrets(self, async_client: AsyncTelnyx) -> None: response = await async_client.texml.with_raw_response.secrets( @@ -77,6 +82,7 @@ async def test_raw_response_secrets(self, async_client: AsyncTelnyx) -> None: texml = await response.parse() assert_matches_type(TexmlSecretsResponse, texml, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_secrets(self, async_client: AsyncTelnyx) -> None: async with async_client.texml.with_streaming_response.secrets( diff --git a/tests/api_resources/test_texml_applications.py b/tests/api_resources/test_texml_applications.py index ea537f64..601a4436 100644 --- a/tests/api_resources/test_texml_applications.py +++ b/tests/api_resources/test_texml_applications.py @@ -23,6 +23,7 @@ class TestTexmlApplications: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: texml_application = client.texml_applications.create( @@ -31,6 +32,7 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(TexmlApplicationCreateResponse, texml_application, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: texml_application = client.texml_applications.create( @@ -59,6 +61,7 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(TexmlApplicationCreateResponse, texml_application, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.texml_applications.with_raw_response.create( @@ -71,6 +74,7 @@ def test_raw_response_create(self, client: Telnyx) -> None: texml_application = response.parse() assert_matches_type(TexmlApplicationCreateResponse, texml_application, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.texml_applications.with_streaming_response.create( @@ -85,6 +89,7 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: texml_application = client.texml_applications.retrieve( @@ -92,6 +97,7 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(TexmlApplicationRetrieveResponse, texml_application, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.texml_applications.with_raw_response.retrieve( @@ -103,6 +109,7 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: texml_application = response.parse() assert_matches_type(TexmlApplicationRetrieveResponse, texml_application, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.texml_applications.with_streaming_response.retrieve( @@ -116,6 +123,7 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -123,6 +131,7 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update(self, client: Telnyx) -> None: texml_application = client.texml_applications.update( @@ -132,6 +141,7 @@ def test_method_update(self, client: Telnyx) -> None: ) assert_matches_type(TexmlApplicationUpdateResponse, texml_application, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_with_all_params(self, client: Telnyx) -> None: texml_application = client.texml_applications.update( @@ -161,6 +171,7 @@ def test_method_update_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(TexmlApplicationUpdateResponse, texml_application, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update(self, client: Telnyx) -> None: response = client.texml_applications.with_raw_response.update( @@ -174,6 +185,7 @@ def test_raw_response_update(self, client: Telnyx) -> None: texml_application = response.parse() assert_matches_type(TexmlApplicationUpdateResponse, texml_application, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update(self, client: Telnyx) -> None: with client.texml_applications.with_streaming_response.update( @@ -189,6 +201,7 @@ def test_streaming_response_update(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -198,11 +211,13 @@ def test_path_params_update(self, client: Telnyx) -> None: voice_url="https://example.com", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: texml_application = client.texml_applications.list() assert_matches_type(TexmlApplicationListResponse, texml_application, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: texml_application = client.texml_applications.list( @@ -218,6 +233,7 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(TexmlApplicationListResponse, texml_application, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.texml_applications.with_raw_response.list() @@ -227,6 +243,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: texml_application = response.parse() assert_matches_type(TexmlApplicationListResponse, texml_application, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.texml_applications.with_streaming_response.list() as response: @@ -238,6 +255,7 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: texml_application = client.texml_applications.delete( @@ -245,6 +263,7 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert_matches_type(TexmlApplicationDeleteResponse, texml_application, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.texml_applications.with_raw_response.delete( @@ -256,6 +275,7 @@ def test_raw_response_delete(self, client: Telnyx) -> None: texml_application = response.parse() assert_matches_type(TexmlApplicationDeleteResponse, texml_application, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.texml_applications.with_streaming_response.delete( @@ -269,6 +289,7 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -282,6 +303,7 @@ class TestAsyncTexmlApplications: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: texml_application = await async_client.texml_applications.create( @@ -290,6 +312,7 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(TexmlApplicationCreateResponse, texml_application, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: texml_application = await async_client.texml_applications.create( @@ -318,6 +341,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(TexmlApplicationCreateResponse, texml_application, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.texml_applications.with_raw_response.create( @@ -330,6 +354,7 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: texml_application = await response.parse() assert_matches_type(TexmlApplicationCreateResponse, texml_application, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.texml_applications.with_streaming_response.create( @@ -344,6 +369,7 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: texml_application = await async_client.texml_applications.retrieve( @@ -351,6 +377,7 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(TexmlApplicationRetrieveResponse, texml_application, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.texml_applications.with_raw_response.retrieve( @@ -362,6 +389,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: texml_application = await response.parse() assert_matches_type(TexmlApplicationRetrieveResponse, texml_application, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.texml_applications.with_streaming_response.retrieve( @@ -375,6 +403,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -382,6 +411,7 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update(self, async_client: AsyncTelnyx) -> None: texml_application = await async_client.texml_applications.update( @@ -391,6 +421,7 @@ async def test_method_update(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(TexmlApplicationUpdateResponse, texml_application, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> None: texml_application = await async_client.texml_applications.update( @@ -420,6 +451,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(TexmlApplicationUpdateResponse, texml_application, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: response = await async_client.texml_applications.with_raw_response.update( @@ -433,6 +465,7 @@ async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: texml_application = await response.parse() assert_matches_type(TexmlApplicationUpdateResponse, texml_application, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> None: async with async_client.texml_applications.with_streaming_response.update( @@ -448,6 +481,7 @@ async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -457,11 +491,13 @@ async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: voice_url="https://example.com", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: texml_application = await async_client.texml_applications.list() assert_matches_type(TexmlApplicationListResponse, texml_application, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: texml_application = await async_client.texml_applications.list( @@ -477,6 +513,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(TexmlApplicationListResponse, texml_application, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.texml_applications.with_raw_response.list() @@ -486,6 +523,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: texml_application = await response.parse() assert_matches_type(TexmlApplicationListResponse, texml_application, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.texml_applications.with_streaming_response.list() as response: @@ -497,6 +535,7 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: texml_application = await async_client.texml_applications.delete( @@ -504,6 +543,7 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(TexmlApplicationDeleteResponse, texml_application, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.texml_applications.with_raw_response.delete( @@ -515,6 +555,7 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: texml_application = await response.parse() assert_matches_type(TexmlApplicationDeleteResponse, texml_application, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.texml_applications.with_streaming_response.delete( @@ -528,6 +569,7 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): diff --git a/tests/api_resources/test_text_to_speech.py b/tests/api_resources/test_text_to_speech.py index 1e8fc048..1dc6461a 100644 --- a/tests/api_resources/test_text_to_speech.py +++ b/tests/api_resources/test_text_to_speech.py @@ -72,11 +72,13 @@ def test_streaming_response_generate_speech(self, client: Telnyx, respx_mock: Mo assert cast(Any, text_to_speech.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_voices(self, client: Telnyx) -> None: text_to_speech = client.text_to_speech.list_voices() assert_matches_type(TextToSpeechListVoicesResponse, text_to_speech, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_voices_with_all_params(self, client: Telnyx) -> None: text_to_speech = client.text_to_speech.list_voices( @@ -85,6 +87,7 @@ def test_method_list_voices_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(TextToSpeechListVoicesResponse, text_to_speech, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list_voices(self, client: Telnyx) -> None: response = client.text_to_speech.with_raw_response.list_voices() @@ -94,6 +97,7 @@ def test_raw_response_list_voices(self, client: Telnyx) -> None: text_to_speech = response.parse() assert_matches_type(TextToSpeechListVoicesResponse, text_to_speech, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list_voices(self, client: Telnyx) -> None: with client.text_to_speech.with_streaming_response.list_voices() as response: @@ -156,11 +160,13 @@ async def test_streaming_response_generate_speech(self, async_client: AsyncTelny assert cast(Any, text_to_speech.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_voices(self, async_client: AsyncTelnyx) -> None: text_to_speech = await async_client.text_to_speech.list_voices() assert_matches_type(TextToSpeechListVoicesResponse, text_to_speech, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_voices_with_all_params(self, async_client: AsyncTelnyx) -> None: text_to_speech = await async_client.text_to_speech.list_voices( @@ -169,6 +175,7 @@ async def test_method_list_voices_with_all_params(self, async_client: AsyncTelny ) assert_matches_type(TextToSpeechListVoicesResponse, text_to_speech, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list_voices(self, async_client: AsyncTelnyx) -> None: response = await async_client.text_to_speech.with_raw_response.list_voices() @@ -178,6 +185,7 @@ async def test_raw_response_list_voices(self, async_client: AsyncTelnyx) -> None text_to_speech = await response.parse() assert_matches_type(TextToSpeechListVoicesResponse, text_to_speech, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list_voices(self, async_client: AsyncTelnyx) -> None: async with async_client.text_to_speech.with_streaming_response.list_voices() as response: diff --git a/tests/api_resources/test_usage_reports.py b/tests/api_resources/test_usage_reports.py index d4816d2c..ac7fa4e3 100644 --- a/tests/api_resources/test_usage_reports.py +++ b/tests/api_resources/test_usage_reports.py @@ -20,6 +20,7 @@ class TestUsageReports: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: usage_report = client.usage_reports.list( @@ -29,6 +30,7 @@ def test_method_list(self, client: Telnyx) -> None: ) assert_matches_type(UsageReportListResponse, usage_report, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: usage_report = client.usage_reports.list( @@ -50,6 +52,7 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(UsageReportListResponse, usage_report, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.usage_reports.with_raw_response.list( @@ -63,6 +66,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: usage_report = response.parse() assert_matches_type(UsageReportListResponse, usage_report, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.usage_reports.with_streaming_response.list( @@ -78,11 +82,13 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_get_options(self, client: Telnyx) -> None: usage_report = client.usage_reports.get_options() assert_matches_type(UsageReportGetOptionsResponse, usage_report, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_get_options_with_all_params(self, client: Telnyx) -> None: usage_report = client.usage_reports.get_options( @@ -91,6 +97,7 @@ def test_method_get_options_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(UsageReportGetOptionsResponse, usage_report, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_get_options(self, client: Telnyx) -> None: response = client.usage_reports.with_raw_response.get_options() @@ -100,6 +107,7 @@ def test_raw_response_get_options(self, client: Telnyx) -> None: usage_report = response.parse() assert_matches_type(UsageReportGetOptionsResponse, usage_report, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_get_options(self, client: Telnyx) -> None: with client.usage_reports.with_streaming_response.get_options() as response: @@ -117,6 +125,7 @@ class TestAsyncUsageReports: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: usage_report = await async_client.usage_reports.list( @@ -126,6 +135,7 @@ async def test_method_list(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(UsageReportListResponse, usage_report, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: usage_report = await async_client.usage_reports.list( @@ -147,6 +157,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(UsageReportListResponse, usage_report, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.usage_reports.with_raw_response.list( @@ -160,6 +171,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: usage_report = await response.parse() assert_matches_type(UsageReportListResponse, usage_report, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.usage_reports.with_streaming_response.list( @@ -175,11 +187,13 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_get_options(self, async_client: AsyncTelnyx) -> None: usage_report = await async_client.usage_reports.get_options() assert_matches_type(UsageReportGetOptionsResponse, usage_report, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_get_options_with_all_params(self, async_client: AsyncTelnyx) -> None: usage_report = await async_client.usage_reports.get_options( @@ -188,6 +202,7 @@ async def test_method_get_options_with_all_params(self, async_client: AsyncTelny ) assert_matches_type(UsageReportGetOptionsResponse, usage_report, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_get_options(self, async_client: AsyncTelnyx) -> None: response = await async_client.usage_reports.with_raw_response.get_options() @@ -197,6 +212,7 @@ async def test_raw_response_get_options(self, async_client: AsyncTelnyx) -> None usage_report = await response.parse() assert_matches_type(UsageReportGetOptionsResponse, usage_report, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_get_options(self, async_client: AsyncTelnyx) -> None: async with async_client.usage_reports.with_streaming_response.get_options() as response: diff --git a/tests/api_resources/test_user_addresses.py b/tests/api_resources/test_user_addresses.py index dc745ba4..99003258 100644 --- a/tests/api_resources/test_user_addresses.py +++ b/tests/api_resources/test_user_addresses.py @@ -21,6 +21,7 @@ class TestUserAddresses: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: user_address = client.user_addresses.create( @@ -33,6 +34,7 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(UserAddressCreateResponse, user_address, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: user_address = client.user_addresses.create( @@ -53,6 +55,7 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(UserAddressCreateResponse, user_address, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.user_addresses.with_raw_response.create( @@ -69,6 +72,7 @@ def test_raw_response_create(self, client: Telnyx) -> None: user_address = response.parse() assert_matches_type(UserAddressCreateResponse, user_address, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.user_addresses.with_streaming_response.create( @@ -87,6 +91,7 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: user_address = client.user_addresses.retrieve( @@ -94,6 +99,7 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(UserAddressRetrieveResponse, user_address, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.user_addresses.with_raw_response.retrieve( @@ -105,6 +111,7 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: user_address = response.parse() assert_matches_type(UserAddressRetrieveResponse, user_address, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.user_addresses.with_streaming_response.retrieve( @@ -118,6 +125,7 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -125,11 +133,13 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: user_address = client.user_addresses.list() assert_matches_type(UserAddressListResponse, user_address, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: user_address = client.user_addresses.list( @@ -148,6 +158,7 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(UserAddressListResponse, user_address, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.user_addresses.with_raw_response.list() @@ -157,6 +168,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: user_address = response.parse() assert_matches_type(UserAddressListResponse, user_address, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.user_addresses.with_streaming_response.list() as response: @@ -174,6 +186,7 @@ class TestAsyncUserAddresses: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: user_address = await async_client.user_addresses.create( @@ -186,6 +199,7 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(UserAddressCreateResponse, user_address, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: user_address = await async_client.user_addresses.create( @@ -206,6 +220,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(UserAddressCreateResponse, user_address, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.user_addresses.with_raw_response.create( @@ -222,6 +237,7 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: user_address = await response.parse() assert_matches_type(UserAddressCreateResponse, user_address, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.user_addresses.with_streaming_response.create( @@ -240,6 +256,7 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: user_address = await async_client.user_addresses.retrieve( @@ -247,6 +264,7 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(UserAddressRetrieveResponse, user_address, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.user_addresses.with_raw_response.retrieve( @@ -258,6 +276,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: user_address = await response.parse() assert_matches_type(UserAddressRetrieveResponse, user_address, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.user_addresses.with_streaming_response.retrieve( @@ -271,6 +290,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -278,11 +298,13 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: user_address = await async_client.user_addresses.list() assert_matches_type(UserAddressListResponse, user_address, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: user_address = await async_client.user_addresses.list( @@ -301,6 +323,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(UserAddressListResponse, user_address, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.user_addresses.with_raw_response.list() @@ -310,6 +333,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: user_address = await response.parse() assert_matches_type(UserAddressListResponse, user_address, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.user_addresses.with_streaming_response.list() as response: diff --git a/tests/api_resources/test_user_tags.py b/tests/api_resources/test_user_tags.py index 94c5eda9..bd370260 100644 --- a/tests/api_resources/test_user_tags.py +++ b/tests/api_resources/test_user_tags.py @@ -17,11 +17,13 @@ class TestUserTags: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: user_tag = client.user_tags.list() assert_matches_type(UserTagListResponse, user_tag, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: user_tag = client.user_tags.list( @@ -29,6 +31,7 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(UserTagListResponse, user_tag, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.user_tags.with_raw_response.list() @@ -38,6 +41,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: user_tag = response.parse() assert_matches_type(UserTagListResponse, user_tag, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.user_tags.with_streaming_response.list() as response: @@ -55,11 +59,13 @@ class TestAsyncUserTags: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: user_tag = await async_client.user_tags.list() assert_matches_type(UserTagListResponse, user_tag, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: user_tag = await async_client.user_tags.list( @@ -67,6 +73,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(UserTagListResponse, user_tag, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.user_tags.with_raw_response.list() @@ -76,6 +83,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: user_tag = await response.parse() assert_matches_type(UserTagListResponse, user_tag, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.user_tags.with_streaming_response.list() as response: diff --git a/tests/api_resources/test_verifications.py b/tests/api_resources/test_verifications.py index f01aabd8..d7bc4d00 100644 --- a/tests/api_resources/test_verifications.py +++ b/tests/api_resources/test_verifications.py @@ -20,6 +20,7 @@ class TestVerifications: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: verification = client.verifications.retrieve( @@ -27,6 +28,7 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(VerificationRetrieveResponse, verification, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.verifications.with_raw_response.retrieve( @@ -38,6 +40,7 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: verification = response.parse() assert_matches_type(VerificationRetrieveResponse, verification, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.verifications.with_streaming_response.retrieve( @@ -51,6 +54,7 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `verification_id` but received ''"): @@ -58,6 +62,7 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_trigger_call(self, client: Telnyx) -> None: verification = client.verifications.trigger_call( @@ -66,6 +71,7 @@ def test_method_trigger_call(self, client: Telnyx) -> None: ) assert_matches_type(CreateVerificationResponse, verification, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_trigger_call_with_all_params(self, client: Telnyx) -> None: verification = client.verifications.trigger_call( @@ -76,6 +82,7 @@ def test_method_trigger_call_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(CreateVerificationResponse, verification, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_trigger_call(self, client: Telnyx) -> None: response = client.verifications.with_raw_response.trigger_call( @@ -88,6 +95,7 @@ def test_raw_response_trigger_call(self, client: Telnyx) -> None: verification = response.parse() assert_matches_type(CreateVerificationResponse, verification, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_trigger_call(self, client: Telnyx) -> None: with client.verifications.with_streaming_response.trigger_call( @@ -102,6 +110,7 @@ def test_streaming_response_trigger_call(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_trigger_flashcall(self, client: Telnyx) -> None: verification = client.verifications.trigger_flashcall( @@ -110,6 +119,7 @@ def test_method_trigger_flashcall(self, client: Telnyx) -> None: ) assert_matches_type(CreateVerificationResponse, verification, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_trigger_flashcall_with_all_params(self, client: Telnyx) -> None: verification = client.verifications.trigger_flashcall( @@ -119,6 +129,7 @@ def test_method_trigger_flashcall_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(CreateVerificationResponse, verification, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_trigger_flashcall(self, client: Telnyx) -> None: response = client.verifications.with_raw_response.trigger_flashcall( @@ -131,6 +142,7 @@ def test_raw_response_trigger_flashcall(self, client: Telnyx) -> None: verification = response.parse() assert_matches_type(CreateVerificationResponse, verification, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_trigger_flashcall(self, client: Telnyx) -> None: with client.verifications.with_streaming_response.trigger_flashcall( @@ -145,6 +157,7 @@ def test_streaming_response_trigger_flashcall(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_trigger_sms(self, client: Telnyx) -> None: verification = client.verifications.trigger_sms( @@ -153,6 +166,7 @@ def test_method_trigger_sms(self, client: Telnyx) -> None: ) assert_matches_type(CreateVerificationResponse, verification, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_trigger_sms_with_all_params(self, client: Telnyx) -> None: verification = client.verifications.trigger_sms( @@ -163,6 +177,7 @@ def test_method_trigger_sms_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(CreateVerificationResponse, verification, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_trigger_sms(self, client: Telnyx) -> None: response = client.verifications.with_raw_response.trigger_sms( @@ -175,6 +190,7 @@ def test_raw_response_trigger_sms(self, client: Telnyx) -> None: verification = response.parse() assert_matches_type(CreateVerificationResponse, verification, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_trigger_sms(self, client: Telnyx) -> None: with client.verifications.with_streaming_response.trigger_sms( @@ -195,6 +211,7 @@ class TestAsyncVerifications: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: verification = await async_client.verifications.retrieve( @@ -202,6 +219,7 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(VerificationRetrieveResponse, verification, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.verifications.with_raw_response.retrieve( @@ -213,6 +231,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: verification = await response.parse() assert_matches_type(VerificationRetrieveResponse, verification, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.verifications.with_streaming_response.retrieve( @@ -226,6 +245,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `verification_id` but received ''"): @@ -233,6 +253,7 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_trigger_call(self, async_client: AsyncTelnyx) -> None: verification = await async_client.verifications.trigger_call( @@ -241,6 +262,7 @@ async def test_method_trigger_call(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(CreateVerificationResponse, verification, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_trigger_call_with_all_params(self, async_client: AsyncTelnyx) -> None: verification = await async_client.verifications.trigger_call( @@ -251,6 +273,7 @@ async def test_method_trigger_call_with_all_params(self, async_client: AsyncTeln ) assert_matches_type(CreateVerificationResponse, verification, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_trigger_call(self, async_client: AsyncTelnyx) -> None: response = await async_client.verifications.with_raw_response.trigger_call( @@ -263,6 +286,7 @@ async def test_raw_response_trigger_call(self, async_client: AsyncTelnyx) -> Non verification = await response.parse() assert_matches_type(CreateVerificationResponse, verification, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_trigger_call(self, async_client: AsyncTelnyx) -> None: async with async_client.verifications.with_streaming_response.trigger_call( @@ -277,6 +301,7 @@ async def test_streaming_response_trigger_call(self, async_client: AsyncTelnyx) assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_trigger_flashcall(self, async_client: AsyncTelnyx) -> None: verification = await async_client.verifications.trigger_flashcall( @@ -285,6 +310,7 @@ async def test_method_trigger_flashcall(self, async_client: AsyncTelnyx) -> None ) assert_matches_type(CreateVerificationResponse, verification, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_trigger_flashcall_with_all_params(self, async_client: AsyncTelnyx) -> None: verification = await async_client.verifications.trigger_flashcall( @@ -294,6 +320,7 @@ async def test_method_trigger_flashcall_with_all_params(self, async_client: Asyn ) assert_matches_type(CreateVerificationResponse, verification, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_trigger_flashcall(self, async_client: AsyncTelnyx) -> None: response = await async_client.verifications.with_raw_response.trigger_flashcall( @@ -306,6 +333,7 @@ async def test_raw_response_trigger_flashcall(self, async_client: AsyncTelnyx) - verification = await response.parse() assert_matches_type(CreateVerificationResponse, verification, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_trigger_flashcall(self, async_client: AsyncTelnyx) -> None: async with async_client.verifications.with_streaming_response.trigger_flashcall( @@ -320,6 +348,7 @@ async def test_streaming_response_trigger_flashcall(self, async_client: AsyncTel assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_trigger_sms(self, async_client: AsyncTelnyx) -> None: verification = await async_client.verifications.trigger_sms( @@ -328,6 +357,7 @@ async def test_method_trigger_sms(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(CreateVerificationResponse, verification, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_trigger_sms_with_all_params(self, async_client: AsyncTelnyx) -> None: verification = await async_client.verifications.trigger_sms( @@ -338,6 +368,7 @@ async def test_method_trigger_sms_with_all_params(self, async_client: AsyncTelny ) assert_matches_type(CreateVerificationResponse, verification, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_trigger_sms(self, async_client: AsyncTelnyx) -> None: response = await async_client.verifications.with_raw_response.trigger_sms( @@ -350,6 +381,7 @@ async def test_raw_response_trigger_sms(self, async_client: AsyncTelnyx) -> None verification = await response.parse() assert_matches_type(CreateVerificationResponse, verification, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_trigger_sms(self, async_client: AsyncTelnyx) -> None: async with async_client.verifications.with_streaming_response.trigger_sms( diff --git a/tests/api_resources/test_verified_numbers.py b/tests/api_resources/test_verified_numbers.py index 91e1d2d8..b0c867bd 100644 --- a/tests/api_resources/test_verified_numbers.py +++ b/tests/api_resources/test_verified_numbers.py @@ -21,6 +21,7 @@ class TestVerifiedNumbers: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: verified_number = client.verified_numbers.create( @@ -29,6 +30,7 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(VerifiedNumberCreateResponse, verified_number, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.verified_numbers.with_raw_response.create( @@ -41,6 +43,7 @@ def test_raw_response_create(self, client: Telnyx) -> None: verified_number = response.parse() assert_matches_type(VerifiedNumberCreateResponse, verified_number, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.verified_numbers.with_streaming_response.create( @@ -55,6 +58,7 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: verified_number = client.verified_numbers.retrieve( @@ -62,6 +66,7 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(VerifiedNumberDataWrapper, verified_number, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.verified_numbers.with_raw_response.retrieve( @@ -73,6 +78,7 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: verified_number = response.parse() assert_matches_type(VerifiedNumberDataWrapper, verified_number, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.verified_numbers.with_streaming_response.retrieve( @@ -86,6 +92,7 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `phone_number` but received ''"): @@ -93,11 +100,13 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: verified_number = client.verified_numbers.list() assert_matches_type(VerifiedNumberListResponse, verified_number, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: verified_number = client.verified_numbers.list( @@ -108,6 +117,7 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(VerifiedNumberListResponse, verified_number, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.verified_numbers.with_raw_response.list() @@ -117,6 +127,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: verified_number = response.parse() assert_matches_type(VerifiedNumberListResponse, verified_number, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.verified_numbers.with_streaming_response.list() as response: @@ -128,6 +139,7 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: verified_number = client.verified_numbers.delete( @@ -135,6 +147,7 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert_matches_type(VerifiedNumberDataWrapper, verified_number, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.verified_numbers.with_raw_response.delete( @@ -146,6 +159,7 @@ def test_raw_response_delete(self, client: Telnyx) -> None: verified_number = response.parse() assert_matches_type(VerifiedNumberDataWrapper, verified_number, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.verified_numbers.with_streaming_response.delete( @@ -159,6 +173,7 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `phone_number` but received ''"): @@ -172,6 +187,7 @@ class TestAsyncVerifiedNumbers: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: verified_number = await async_client.verified_numbers.create( @@ -180,6 +196,7 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(VerifiedNumberCreateResponse, verified_number, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.verified_numbers.with_raw_response.create( @@ -192,6 +209,7 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: verified_number = await response.parse() assert_matches_type(VerifiedNumberCreateResponse, verified_number, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.verified_numbers.with_streaming_response.create( @@ -206,6 +224,7 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: verified_number = await async_client.verified_numbers.retrieve( @@ -213,6 +232,7 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(VerifiedNumberDataWrapper, verified_number, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.verified_numbers.with_raw_response.retrieve( @@ -224,6 +244,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: verified_number = await response.parse() assert_matches_type(VerifiedNumberDataWrapper, verified_number, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.verified_numbers.with_streaming_response.retrieve( @@ -237,6 +258,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `phone_number` but received ''"): @@ -244,11 +266,13 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: verified_number = await async_client.verified_numbers.list() assert_matches_type(VerifiedNumberListResponse, verified_number, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: verified_number = await async_client.verified_numbers.list( @@ -259,6 +283,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(VerifiedNumberListResponse, verified_number, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.verified_numbers.with_raw_response.list() @@ -268,6 +293,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: verified_number = await response.parse() assert_matches_type(VerifiedNumberListResponse, verified_number, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.verified_numbers.with_streaming_response.list() as response: @@ -279,6 +305,7 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: verified_number = await async_client.verified_numbers.delete( @@ -286,6 +313,7 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(VerifiedNumberDataWrapper, verified_number, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.verified_numbers.with_raw_response.delete( @@ -297,6 +325,7 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: verified_number = await response.parse() assert_matches_type(VerifiedNumberDataWrapper, verified_number, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.verified_numbers.with_streaming_response.delete( @@ -310,6 +339,7 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `phone_number` but received ''"): diff --git a/tests/api_resources/test_verify_profiles.py b/tests/api_resources/test_verify_profiles.py index d5e72a21..1d952476 100644 --- a/tests/api_resources/test_verify_profiles.py +++ b/tests/api_resources/test_verify_profiles.py @@ -21,6 +21,7 @@ class TestVerifyProfiles: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: verify_profile = client.verify_profiles.create( @@ -28,6 +29,7 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(VerifyProfileData, verify_profile, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: verify_profile = client.verify_profiles.create( @@ -57,6 +59,7 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(VerifyProfileData, verify_profile, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.verify_profiles.with_raw_response.create( @@ -68,6 +71,7 @@ def test_raw_response_create(self, client: Telnyx) -> None: verify_profile = response.parse() assert_matches_type(VerifyProfileData, verify_profile, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.verify_profiles.with_streaming_response.create( @@ -81,6 +85,7 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: verify_profile = client.verify_profiles.retrieve( @@ -88,6 +93,7 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(VerifyProfileData, verify_profile, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.verify_profiles.with_raw_response.retrieve( @@ -99,6 +105,7 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: verify_profile = response.parse() assert_matches_type(VerifyProfileData, verify_profile, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.verify_profiles.with_streaming_response.retrieve( @@ -112,6 +119,7 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `verify_profile_id` but received ''"): @@ -119,6 +127,7 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update(self, client: Telnyx) -> None: verify_profile = client.verify_profiles.update( @@ -126,6 +135,7 @@ def test_method_update(self, client: Telnyx) -> None: ) assert_matches_type(VerifyProfileData, verify_profile, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_with_all_params(self, client: Telnyx) -> None: verify_profile = client.verify_profiles.update( @@ -156,6 +166,7 @@ def test_method_update_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(VerifyProfileData, verify_profile, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update(self, client: Telnyx) -> None: response = client.verify_profiles.with_raw_response.update( @@ -167,6 +178,7 @@ def test_raw_response_update(self, client: Telnyx) -> None: verify_profile = response.parse() assert_matches_type(VerifyProfileData, verify_profile, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update(self, client: Telnyx) -> None: with client.verify_profiles.with_streaming_response.update( @@ -180,6 +192,7 @@ def test_streaming_response_update(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `verify_profile_id` but received ''"): @@ -187,11 +200,13 @@ def test_path_params_update(self, client: Telnyx) -> None: verify_profile_id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: verify_profile = client.verify_profiles.list() assert_matches_type(VerifyProfileListResponse, verify_profile, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: verify_profile = client.verify_profiles.list( @@ -203,6 +218,7 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(VerifyProfileListResponse, verify_profile, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.verify_profiles.with_raw_response.list() @@ -212,6 +228,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: verify_profile = response.parse() assert_matches_type(VerifyProfileListResponse, verify_profile, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.verify_profiles.with_streaming_response.list() as response: @@ -223,6 +240,7 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: verify_profile = client.verify_profiles.delete( @@ -230,6 +248,7 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert_matches_type(VerifyProfileData, verify_profile, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.verify_profiles.with_raw_response.delete( @@ -241,6 +260,7 @@ def test_raw_response_delete(self, client: Telnyx) -> None: verify_profile = response.parse() assert_matches_type(VerifyProfileData, verify_profile, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.verify_profiles.with_streaming_response.delete( @@ -254,6 +274,7 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `verify_profile_id` but received ''"): @@ -261,11 +282,13 @@ def test_path_params_delete(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve_templates(self, client: Telnyx) -> None: verify_profile = client.verify_profiles.retrieve_templates() assert_matches_type(VerifyProfileRetrieveTemplatesResponse, verify_profile, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve_templates(self, client: Telnyx) -> None: response = client.verify_profiles.with_raw_response.retrieve_templates() @@ -275,6 +298,7 @@ def test_raw_response_retrieve_templates(self, client: Telnyx) -> None: verify_profile = response.parse() assert_matches_type(VerifyProfileRetrieveTemplatesResponse, verify_profile, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve_templates(self, client: Telnyx) -> None: with client.verify_profiles.with_streaming_response.retrieve_templates() as response: @@ -292,6 +316,7 @@ class TestAsyncVerifyProfiles: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: verify_profile = await async_client.verify_profiles.create( @@ -299,6 +324,7 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(VerifyProfileData, verify_profile, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: verify_profile = await async_client.verify_profiles.create( @@ -328,6 +354,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(VerifyProfileData, verify_profile, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.verify_profiles.with_raw_response.create( @@ -339,6 +366,7 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: verify_profile = await response.parse() assert_matches_type(VerifyProfileData, verify_profile, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.verify_profiles.with_streaming_response.create( @@ -352,6 +380,7 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: verify_profile = await async_client.verify_profiles.retrieve( @@ -359,6 +388,7 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(VerifyProfileData, verify_profile, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.verify_profiles.with_raw_response.retrieve( @@ -370,6 +400,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: verify_profile = await response.parse() assert_matches_type(VerifyProfileData, verify_profile, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.verify_profiles.with_streaming_response.retrieve( @@ -383,6 +414,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `verify_profile_id` but received ''"): @@ -390,6 +422,7 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update(self, async_client: AsyncTelnyx) -> None: verify_profile = await async_client.verify_profiles.update( @@ -397,6 +430,7 @@ async def test_method_update(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(VerifyProfileData, verify_profile, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> None: verify_profile = await async_client.verify_profiles.update( @@ -427,6 +461,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(VerifyProfileData, verify_profile, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: response = await async_client.verify_profiles.with_raw_response.update( @@ -438,6 +473,7 @@ async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: verify_profile = await response.parse() assert_matches_type(VerifyProfileData, verify_profile, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> None: async with async_client.verify_profiles.with_streaming_response.update( @@ -451,6 +487,7 @@ async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `verify_profile_id` but received ''"): @@ -458,11 +495,13 @@ async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: verify_profile_id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: verify_profile = await async_client.verify_profiles.list() assert_matches_type(VerifyProfileListResponse, verify_profile, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: verify_profile = await async_client.verify_profiles.list( @@ -474,6 +513,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(VerifyProfileListResponse, verify_profile, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.verify_profiles.with_raw_response.list() @@ -483,6 +523,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: verify_profile = await response.parse() assert_matches_type(VerifyProfileListResponse, verify_profile, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.verify_profiles.with_streaming_response.list() as response: @@ -494,6 +535,7 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: verify_profile = await async_client.verify_profiles.delete( @@ -501,6 +543,7 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(VerifyProfileData, verify_profile, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.verify_profiles.with_raw_response.delete( @@ -512,6 +555,7 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: verify_profile = await response.parse() assert_matches_type(VerifyProfileData, verify_profile, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.verify_profiles.with_streaming_response.delete( @@ -525,6 +569,7 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `verify_profile_id` but received ''"): @@ -532,11 +577,13 @@ async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve_templates(self, async_client: AsyncTelnyx) -> None: verify_profile = await async_client.verify_profiles.retrieve_templates() assert_matches_type(VerifyProfileRetrieveTemplatesResponse, verify_profile, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve_templates(self, async_client: AsyncTelnyx) -> None: response = await async_client.verify_profiles.with_raw_response.retrieve_templates() @@ -546,6 +593,7 @@ async def test_raw_response_retrieve_templates(self, async_client: AsyncTelnyx) verify_profile = await response.parse() assert_matches_type(VerifyProfileRetrieveTemplatesResponse, verify_profile, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve_templates(self, async_client: AsyncTelnyx) -> None: async with async_client.verify_profiles.with_streaming_response.retrieve_templates() as response: diff --git a/tests/api_resources/test_virtual_cross_connects.py b/tests/api_resources/test_virtual_cross_connects.py index ca77c196..542ab54e 100644 --- a/tests/api_resources/test_virtual_cross_connects.py +++ b/tests/api_resources/test_virtual_cross_connects.py @@ -23,6 +23,7 @@ class TestVirtualCrossConnects: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: virtual_cross_connect = client.virtual_cross_connects.create( @@ -35,6 +36,7 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(VirtualCrossConnectCreateResponse, virtual_cross_connect, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: virtual_cross_connect = client.virtual_cross_connects.create( @@ -56,6 +58,7 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(VirtualCrossConnectCreateResponse, virtual_cross_connect, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.virtual_cross_connects.with_raw_response.create( @@ -72,6 +75,7 @@ def test_raw_response_create(self, client: Telnyx) -> None: virtual_cross_connect = response.parse() assert_matches_type(VirtualCrossConnectCreateResponse, virtual_cross_connect, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.virtual_cross_connects.with_streaming_response.create( @@ -90,6 +94,7 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: virtual_cross_connect = client.virtual_cross_connects.retrieve( @@ -97,6 +102,7 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(VirtualCrossConnectRetrieveResponse, virtual_cross_connect, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.virtual_cross_connects.with_raw_response.retrieve( @@ -108,6 +114,7 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: virtual_cross_connect = response.parse() assert_matches_type(VirtualCrossConnectRetrieveResponse, virtual_cross_connect, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.virtual_cross_connects.with_streaming_response.retrieve( @@ -121,6 +128,7 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -128,6 +136,7 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update(self, client: Telnyx) -> None: virtual_cross_connect = client.virtual_cross_connects.update( @@ -135,6 +144,7 @@ def test_method_update(self, client: Telnyx) -> None: ) assert_matches_type(VirtualCrossConnectUpdateResponse, virtual_cross_connect, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_with_all_params(self, client: Telnyx) -> None: virtual_cross_connect = client.virtual_cross_connects.update( @@ -148,6 +158,7 @@ def test_method_update_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(VirtualCrossConnectUpdateResponse, virtual_cross_connect, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update(self, client: Telnyx) -> None: response = client.virtual_cross_connects.with_raw_response.update( @@ -159,6 +170,7 @@ def test_raw_response_update(self, client: Telnyx) -> None: virtual_cross_connect = response.parse() assert_matches_type(VirtualCrossConnectUpdateResponse, virtual_cross_connect, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update(self, client: Telnyx) -> None: with client.virtual_cross_connects.with_streaming_response.update( @@ -172,6 +184,7 @@ def test_streaming_response_update(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -179,11 +192,13 @@ def test_path_params_update(self, client: Telnyx) -> None: id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: virtual_cross_connect = client.virtual_cross_connects.list() assert_matches_type(VirtualCrossConnectListResponse, virtual_cross_connect, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: virtual_cross_connect = client.virtual_cross_connects.list( @@ -195,6 +210,7 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(VirtualCrossConnectListResponse, virtual_cross_connect, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.virtual_cross_connects.with_raw_response.list() @@ -204,6 +220,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: virtual_cross_connect = response.parse() assert_matches_type(VirtualCrossConnectListResponse, virtual_cross_connect, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.virtual_cross_connects.with_streaming_response.list() as response: @@ -215,6 +232,7 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: virtual_cross_connect = client.virtual_cross_connects.delete( @@ -222,6 +240,7 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert_matches_type(VirtualCrossConnectDeleteResponse, virtual_cross_connect, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.virtual_cross_connects.with_raw_response.delete( @@ -233,6 +252,7 @@ def test_raw_response_delete(self, client: Telnyx) -> None: virtual_cross_connect = response.parse() assert_matches_type(VirtualCrossConnectDeleteResponse, virtual_cross_connect, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.virtual_cross_connects.with_streaming_response.delete( @@ -246,6 +266,7 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -259,6 +280,7 @@ class TestAsyncVirtualCrossConnects: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: virtual_cross_connect = await async_client.virtual_cross_connects.create( @@ -271,6 +293,7 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(VirtualCrossConnectCreateResponse, virtual_cross_connect, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: virtual_cross_connect = await async_client.virtual_cross_connects.create( @@ -292,6 +315,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(VirtualCrossConnectCreateResponse, virtual_cross_connect, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.virtual_cross_connects.with_raw_response.create( @@ -308,6 +332,7 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: virtual_cross_connect = await response.parse() assert_matches_type(VirtualCrossConnectCreateResponse, virtual_cross_connect, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.virtual_cross_connects.with_streaming_response.create( @@ -326,6 +351,7 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: virtual_cross_connect = await async_client.virtual_cross_connects.retrieve( @@ -333,6 +359,7 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(VirtualCrossConnectRetrieveResponse, virtual_cross_connect, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.virtual_cross_connects.with_raw_response.retrieve( @@ -344,6 +371,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: virtual_cross_connect = await response.parse() assert_matches_type(VirtualCrossConnectRetrieveResponse, virtual_cross_connect, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.virtual_cross_connects.with_streaming_response.retrieve( @@ -357,6 +385,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -364,6 +393,7 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update(self, async_client: AsyncTelnyx) -> None: virtual_cross_connect = await async_client.virtual_cross_connects.update( @@ -371,6 +401,7 @@ async def test_method_update(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(VirtualCrossConnectUpdateResponse, virtual_cross_connect, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> None: virtual_cross_connect = await async_client.virtual_cross_connects.update( @@ -384,6 +415,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(VirtualCrossConnectUpdateResponse, virtual_cross_connect, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: response = await async_client.virtual_cross_connects.with_raw_response.update( @@ -395,6 +427,7 @@ async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: virtual_cross_connect = await response.parse() assert_matches_type(VirtualCrossConnectUpdateResponse, virtual_cross_connect, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> None: async with async_client.virtual_cross_connects.with_streaming_response.update( @@ -408,6 +441,7 @@ async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -415,11 +449,13 @@ async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: virtual_cross_connect = await async_client.virtual_cross_connects.list() assert_matches_type(VirtualCrossConnectListResponse, virtual_cross_connect, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: virtual_cross_connect = await async_client.virtual_cross_connects.list( @@ -431,6 +467,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(VirtualCrossConnectListResponse, virtual_cross_connect, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.virtual_cross_connects.with_raw_response.list() @@ -440,6 +477,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: virtual_cross_connect = await response.parse() assert_matches_type(VirtualCrossConnectListResponse, virtual_cross_connect, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.virtual_cross_connects.with_streaming_response.list() as response: @@ -451,6 +489,7 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: virtual_cross_connect = await async_client.virtual_cross_connects.delete( @@ -458,6 +497,7 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(VirtualCrossConnectDeleteResponse, virtual_cross_connect, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.virtual_cross_connects.with_raw_response.delete( @@ -469,6 +509,7 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: virtual_cross_connect = await response.parse() assert_matches_type(VirtualCrossConnectDeleteResponse, virtual_cross_connect, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.virtual_cross_connects.with_streaming_response.delete( @@ -482,6 +523,7 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): diff --git a/tests/api_resources/test_virtual_cross_connects_coverage.py b/tests/api_resources/test_virtual_cross_connects_coverage.py index 244f501c..8a79a3cd 100644 --- a/tests/api_resources/test_virtual_cross_connects_coverage.py +++ b/tests/api_resources/test_virtual_cross_connects_coverage.py @@ -17,6 +17,7 @@ class TestVirtualCrossConnectsCoverage: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: virtual_cross_connects_coverage = client.virtual_cross_connects_coverage.list() @@ -24,6 +25,7 @@ def test_method_list(self, client: Telnyx) -> None: VirtualCrossConnectsCoverageListResponse, virtual_cross_connects_coverage, path=["response"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: virtual_cross_connects_coverage = client.virtual_cross_connects_coverage.list( @@ -45,6 +47,7 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: VirtualCrossConnectsCoverageListResponse, virtual_cross_connects_coverage, path=["response"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.virtual_cross_connects_coverage.with_raw_response.list() @@ -56,6 +59,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: VirtualCrossConnectsCoverageListResponse, virtual_cross_connects_coverage, path=["response"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.virtual_cross_connects_coverage.with_streaming_response.list() as response: @@ -75,6 +79,7 @@ class TestAsyncVirtualCrossConnectsCoverage: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: virtual_cross_connects_coverage = await async_client.virtual_cross_connects_coverage.list() @@ -82,6 +87,7 @@ async def test_method_list(self, async_client: AsyncTelnyx) -> None: VirtualCrossConnectsCoverageListResponse, virtual_cross_connects_coverage, path=["response"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: virtual_cross_connects_coverage = await async_client.virtual_cross_connects_coverage.list( @@ -103,6 +109,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N VirtualCrossConnectsCoverageListResponse, virtual_cross_connects_coverage, path=["response"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.virtual_cross_connects_coverage.with_raw_response.list() @@ -114,6 +121,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: VirtualCrossConnectsCoverageListResponse, virtual_cross_connects_coverage, path=["response"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.virtual_cross_connects_coverage.with_streaming_response.list() as response: diff --git a/tests/api_resources/test_webhook_deliveries.py b/tests/api_resources/test_webhook_deliveries.py index db302c05..99b278d5 100644 --- a/tests/api_resources/test_webhook_deliveries.py +++ b/tests/api_resources/test_webhook_deliveries.py @@ -17,6 +17,7 @@ class TestWebhookDeliveries: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: webhook_delivery = client.webhook_deliveries.retrieve( @@ -24,6 +25,7 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(WebhookDeliveryRetrieveResponse, webhook_delivery, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.webhook_deliveries.with_raw_response.retrieve( @@ -35,6 +37,7 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: webhook_delivery = response.parse() assert_matches_type(WebhookDeliveryRetrieveResponse, webhook_delivery, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.webhook_deliveries.with_streaming_response.retrieve( @@ -48,6 +51,7 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -55,11 +59,13 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: webhook_delivery = client.webhook_deliveries.list() assert_matches_type(WebhookDeliveryListResponse, webhook_delivery, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: webhook_delivery = client.webhook_deliveries.list( @@ -84,6 +90,7 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(WebhookDeliveryListResponse, webhook_delivery, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.webhook_deliveries.with_raw_response.list() @@ -93,6 +100,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: webhook_delivery = response.parse() assert_matches_type(WebhookDeliveryListResponse, webhook_delivery, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.webhook_deliveries.with_streaming_response.list() as response: @@ -110,6 +118,7 @@ class TestAsyncWebhookDeliveries: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: webhook_delivery = await async_client.webhook_deliveries.retrieve( @@ -117,6 +126,7 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(WebhookDeliveryRetrieveResponse, webhook_delivery, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.webhook_deliveries.with_raw_response.retrieve( @@ -128,6 +138,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: webhook_delivery = await response.parse() assert_matches_type(WebhookDeliveryRetrieveResponse, webhook_delivery, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.webhook_deliveries.with_streaming_response.retrieve( @@ -141,6 +152,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -148,11 +160,13 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: webhook_delivery = await async_client.webhook_deliveries.list() assert_matches_type(WebhookDeliveryListResponse, webhook_delivery, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: webhook_delivery = await async_client.webhook_deliveries.list( @@ -177,6 +191,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(WebhookDeliveryListResponse, webhook_delivery, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.webhook_deliveries.with_raw_response.list() @@ -186,6 +201,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: webhook_delivery = await response.parse() assert_matches_type(WebhookDeliveryListResponse, webhook_delivery, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.webhook_deliveries.with_streaming_response.list() as response: diff --git a/tests/api_resources/test_wireguard_interfaces.py b/tests/api_resources/test_wireguard_interfaces.py index 344de6ed..00ef6a1e 100644 --- a/tests/api_resources/test_wireguard_interfaces.py +++ b/tests/api_resources/test_wireguard_interfaces.py @@ -22,6 +22,7 @@ class TestWireguardInterfaces: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: wireguard_interface = client.wireguard_interfaces.create( @@ -30,6 +31,7 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(WireguardInterfaceCreateResponse, wireguard_interface, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: wireguard_interface = client.wireguard_interfaces.create( @@ -40,6 +42,7 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(WireguardInterfaceCreateResponse, wireguard_interface, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.wireguard_interfaces.with_raw_response.create( @@ -52,6 +55,7 @@ def test_raw_response_create(self, client: Telnyx) -> None: wireguard_interface = response.parse() assert_matches_type(WireguardInterfaceCreateResponse, wireguard_interface, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.wireguard_interfaces.with_streaming_response.create( @@ -66,6 +70,7 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: wireguard_interface = client.wireguard_interfaces.retrieve( @@ -73,6 +78,7 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(WireguardInterfaceRetrieveResponse, wireguard_interface, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.wireguard_interfaces.with_raw_response.retrieve( @@ -84,6 +90,7 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: wireguard_interface = response.parse() assert_matches_type(WireguardInterfaceRetrieveResponse, wireguard_interface, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.wireguard_interfaces.with_streaming_response.retrieve( @@ -97,6 +104,7 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -104,11 +112,13 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: wireguard_interface = client.wireguard_interfaces.list() assert_matches_type(WireguardInterfaceListResponse, wireguard_interface, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: wireguard_interface = client.wireguard_interfaces.list( @@ -120,6 +130,7 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(WireguardInterfaceListResponse, wireguard_interface, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.wireguard_interfaces.with_raw_response.list() @@ -129,6 +140,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: wireguard_interface = response.parse() assert_matches_type(WireguardInterfaceListResponse, wireguard_interface, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.wireguard_interfaces.with_streaming_response.list() as response: @@ -140,6 +152,7 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: wireguard_interface = client.wireguard_interfaces.delete( @@ -147,6 +160,7 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert_matches_type(WireguardInterfaceDeleteResponse, wireguard_interface, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.wireguard_interfaces.with_raw_response.delete( @@ -158,6 +172,7 @@ def test_raw_response_delete(self, client: Telnyx) -> None: wireguard_interface = response.parse() assert_matches_type(WireguardInterfaceDeleteResponse, wireguard_interface, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.wireguard_interfaces.with_streaming_response.delete( @@ -171,6 +186,7 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -184,6 +200,7 @@ class TestAsyncWireguardInterfaces: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: wireguard_interface = await async_client.wireguard_interfaces.create( @@ -192,6 +209,7 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(WireguardInterfaceCreateResponse, wireguard_interface, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: wireguard_interface = await async_client.wireguard_interfaces.create( @@ -202,6 +220,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(WireguardInterfaceCreateResponse, wireguard_interface, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.wireguard_interfaces.with_raw_response.create( @@ -214,6 +233,7 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: wireguard_interface = await response.parse() assert_matches_type(WireguardInterfaceCreateResponse, wireguard_interface, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.wireguard_interfaces.with_streaming_response.create( @@ -228,6 +248,7 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: wireguard_interface = await async_client.wireguard_interfaces.retrieve( @@ -235,6 +256,7 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(WireguardInterfaceRetrieveResponse, wireguard_interface, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.wireguard_interfaces.with_raw_response.retrieve( @@ -246,6 +268,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: wireguard_interface = await response.parse() assert_matches_type(WireguardInterfaceRetrieveResponse, wireguard_interface, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.wireguard_interfaces.with_streaming_response.retrieve( @@ -259,6 +282,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -266,11 +290,13 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: wireguard_interface = await async_client.wireguard_interfaces.list() assert_matches_type(WireguardInterfaceListResponse, wireguard_interface, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: wireguard_interface = await async_client.wireguard_interfaces.list( @@ -282,6 +308,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(WireguardInterfaceListResponse, wireguard_interface, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.wireguard_interfaces.with_raw_response.list() @@ -291,6 +318,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: wireguard_interface = await response.parse() assert_matches_type(WireguardInterfaceListResponse, wireguard_interface, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.wireguard_interfaces.with_streaming_response.list() as response: @@ -302,6 +330,7 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: wireguard_interface = await async_client.wireguard_interfaces.delete( @@ -309,6 +338,7 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(WireguardInterfaceDeleteResponse, wireguard_interface, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.wireguard_interfaces.with_raw_response.delete( @@ -320,6 +350,7 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: wireguard_interface = await response.parse() assert_matches_type(WireguardInterfaceDeleteResponse, wireguard_interface, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.wireguard_interfaces.with_streaming_response.delete( @@ -333,6 +364,7 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): diff --git a/tests/api_resources/test_wireguard_peers.py b/tests/api_resources/test_wireguard_peers.py index d1e76398..fed2271a 100644 --- a/tests/api_resources/test_wireguard_peers.py +++ b/tests/api_resources/test_wireguard_peers.py @@ -23,6 +23,7 @@ class TestWireguardPeers: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: wireguard_peer = client.wireguard_peers.create( @@ -30,6 +31,7 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(WireguardPeerCreateResponse, wireguard_peer, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: wireguard_peer = client.wireguard_peers.create( @@ -38,6 +40,7 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(WireguardPeerCreateResponse, wireguard_peer, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.wireguard_peers.with_raw_response.create( @@ -49,6 +52,7 @@ def test_raw_response_create(self, client: Telnyx) -> None: wireguard_peer = response.parse() assert_matches_type(WireguardPeerCreateResponse, wireguard_peer, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.wireguard_peers.with_streaming_response.create( @@ -62,6 +66,7 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: wireguard_peer = client.wireguard_peers.retrieve( @@ -69,6 +74,7 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(WireguardPeerRetrieveResponse, wireguard_peer, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.wireguard_peers.with_raw_response.retrieve( @@ -80,6 +86,7 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: wireguard_peer = response.parse() assert_matches_type(WireguardPeerRetrieveResponse, wireguard_peer, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.wireguard_peers.with_streaming_response.retrieve( @@ -93,6 +100,7 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -100,6 +108,7 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update(self, client: Telnyx) -> None: wireguard_peer = client.wireguard_peers.update( @@ -107,6 +116,7 @@ def test_method_update(self, client: Telnyx) -> None: ) assert_matches_type(WireguardPeerUpdateResponse, wireguard_peer, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_with_all_params(self, client: Telnyx) -> None: wireguard_peer = client.wireguard_peers.update( @@ -115,6 +125,7 @@ def test_method_update_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(WireguardPeerUpdateResponse, wireguard_peer, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update(self, client: Telnyx) -> None: response = client.wireguard_peers.with_raw_response.update( @@ -126,6 +137,7 @@ def test_raw_response_update(self, client: Telnyx) -> None: wireguard_peer = response.parse() assert_matches_type(WireguardPeerUpdateResponse, wireguard_peer, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update(self, client: Telnyx) -> None: with client.wireguard_peers.with_streaming_response.update( @@ -139,6 +151,7 @@ def test_streaming_response_update(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -146,11 +159,13 @@ def test_path_params_update(self, client: Telnyx) -> None: id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: wireguard_peer = client.wireguard_peers.list() assert_matches_type(WireguardPeerListResponse, wireguard_peer, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: wireguard_peer = client.wireguard_peers.list( @@ -162,6 +177,7 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(WireguardPeerListResponse, wireguard_peer, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.wireguard_peers.with_raw_response.list() @@ -171,6 +187,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: wireguard_peer = response.parse() assert_matches_type(WireguardPeerListResponse, wireguard_peer, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.wireguard_peers.with_streaming_response.list() as response: @@ -182,6 +199,7 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: wireguard_peer = client.wireguard_peers.delete( @@ -189,6 +207,7 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert_matches_type(WireguardPeerDeleteResponse, wireguard_peer, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.wireguard_peers.with_raw_response.delete( @@ -200,6 +219,7 @@ def test_raw_response_delete(self, client: Telnyx) -> None: wireguard_peer = response.parse() assert_matches_type(WireguardPeerDeleteResponse, wireguard_peer, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.wireguard_peers.with_streaming_response.delete( @@ -213,6 +233,7 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -220,6 +241,7 @@ def test_path_params_delete(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve_config(self, client: Telnyx) -> None: wireguard_peer = client.wireguard_peers.retrieve_config( @@ -227,6 +249,7 @@ def test_method_retrieve_config(self, client: Telnyx) -> None: ) assert_matches_type(str, wireguard_peer, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve_config(self, client: Telnyx) -> None: response = client.wireguard_peers.with_raw_response.retrieve_config( @@ -238,6 +261,7 @@ def test_raw_response_retrieve_config(self, client: Telnyx) -> None: wireguard_peer = response.parse() assert_matches_type(str, wireguard_peer, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve_config(self, client: Telnyx) -> None: with client.wireguard_peers.with_streaming_response.retrieve_config( @@ -251,6 +275,7 @@ def test_streaming_response_retrieve_config(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve_config(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -264,6 +289,7 @@ class TestAsyncWireguardPeers: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: wireguard_peer = await async_client.wireguard_peers.create( @@ -271,6 +297,7 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(WireguardPeerCreateResponse, wireguard_peer, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: wireguard_peer = await async_client.wireguard_peers.create( @@ -279,6 +306,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(WireguardPeerCreateResponse, wireguard_peer, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.wireguard_peers.with_raw_response.create( @@ -290,6 +318,7 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: wireguard_peer = await response.parse() assert_matches_type(WireguardPeerCreateResponse, wireguard_peer, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.wireguard_peers.with_streaming_response.create( @@ -303,6 +332,7 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: wireguard_peer = await async_client.wireguard_peers.retrieve( @@ -310,6 +340,7 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(WireguardPeerRetrieveResponse, wireguard_peer, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.wireguard_peers.with_raw_response.retrieve( @@ -321,6 +352,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: wireguard_peer = await response.parse() assert_matches_type(WireguardPeerRetrieveResponse, wireguard_peer, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.wireguard_peers.with_streaming_response.retrieve( @@ -334,6 +366,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -341,6 +374,7 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update(self, async_client: AsyncTelnyx) -> None: wireguard_peer = await async_client.wireguard_peers.update( @@ -348,6 +382,7 @@ async def test_method_update(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(WireguardPeerUpdateResponse, wireguard_peer, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> None: wireguard_peer = await async_client.wireguard_peers.update( @@ -356,6 +391,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(WireguardPeerUpdateResponse, wireguard_peer, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: response = await async_client.wireguard_peers.with_raw_response.update( @@ -367,6 +403,7 @@ async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: wireguard_peer = await response.parse() assert_matches_type(WireguardPeerUpdateResponse, wireguard_peer, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> None: async with async_client.wireguard_peers.with_streaming_response.update( @@ -380,6 +417,7 @@ async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -387,11 +425,13 @@ async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: id="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: wireguard_peer = await async_client.wireguard_peers.list() assert_matches_type(WireguardPeerListResponse, wireguard_peer, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: wireguard_peer = await async_client.wireguard_peers.list( @@ -403,6 +443,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(WireguardPeerListResponse, wireguard_peer, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.wireguard_peers.with_raw_response.list() @@ -412,6 +453,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: wireguard_peer = await response.parse() assert_matches_type(WireguardPeerListResponse, wireguard_peer, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.wireguard_peers.with_streaming_response.list() as response: @@ -423,6 +465,7 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: wireguard_peer = await async_client.wireguard_peers.delete( @@ -430,6 +473,7 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(WireguardPeerDeleteResponse, wireguard_peer, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.wireguard_peers.with_raw_response.delete( @@ -441,6 +485,7 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: wireguard_peer = await response.parse() assert_matches_type(WireguardPeerDeleteResponse, wireguard_peer, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.wireguard_peers.with_streaming_response.delete( @@ -454,6 +499,7 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -461,6 +507,7 @@ async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve_config(self, async_client: AsyncTelnyx) -> None: wireguard_peer = await async_client.wireguard_peers.retrieve_config( @@ -468,6 +515,7 @@ async def test_method_retrieve_config(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(str, wireguard_peer, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve_config(self, async_client: AsyncTelnyx) -> None: response = await async_client.wireguard_peers.with_raw_response.retrieve_config( @@ -479,6 +527,7 @@ async def test_raw_response_retrieve_config(self, async_client: AsyncTelnyx) -> wireguard_peer = await response.parse() assert_matches_type(str, wireguard_peer, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve_config(self, async_client: AsyncTelnyx) -> None: async with async_client.wireguard_peers.with_streaming_response.retrieve_config( @@ -492,6 +541,7 @@ async def test_streaming_response_retrieve_config(self, async_client: AsyncTelny assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve_config(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): diff --git a/tests/api_resources/test_wireless.py b/tests/api_resources/test_wireless.py index daeb6cab..d4c848b0 100644 --- a/tests/api_resources/test_wireless.py +++ b/tests/api_resources/test_wireless.py @@ -17,6 +17,7 @@ class TestWireless: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve_regions(self, client: Telnyx) -> None: wireless = client.wireless.retrieve_regions( @@ -24,6 +25,7 @@ def test_method_retrieve_regions(self, client: Telnyx) -> None: ) assert_matches_type(WirelessRetrieveRegionsResponse, wireless, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve_regions(self, client: Telnyx) -> None: response = client.wireless.with_raw_response.retrieve_regions( @@ -35,6 +37,7 @@ def test_raw_response_retrieve_regions(self, client: Telnyx) -> None: wireless = response.parse() assert_matches_type(WirelessRetrieveRegionsResponse, wireless, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve_regions(self, client: Telnyx) -> None: with client.wireless.with_streaming_response.retrieve_regions( @@ -54,6 +57,7 @@ class TestAsyncWireless: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve_regions(self, async_client: AsyncTelnyx) -> None: wireless = await async_client.wireless.retrieve_regions( @@ -61,6 +65,7 @@ async def test_method_retrieve_regions(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(WirelessRetrieveRegionsResponse, wireless, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve_regions(self, async_client: AsyncTelnyx) -> None: response = await async_client.wireless.with_raw_response.retrieve_regions( @@ -72,6 +77,7 @@ async def test_raw_response_retrieve_regions(self, async_client: AsyncTelnyx) -> wireless = await response.parse() assert_matches_type(WirelessRetrieveRegionsResponse, wireless, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve_regions(self, async_client: AsyncTelnyx) -> None: async with async_client.wireless.with_streaming_response.retrieve_regions( diff --git a/tests/api_resources/test_wireless_blocklist_values.py b/tests/api_resources/test_wireless_blocklist_values.py index 6af3cbff..446fe03e 100644 --- a/tests/api_resources/test_wireless_blocklist_values.py +++ b/tests/api_resources/test_wireless_blocklist_values.py @@ -17,6 +17,7 @@ class TestWirelessBlocklistValues: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: wireless_blocklist_value = client.wireless_blocklist_values.list( @@ -24,6 +25,7 @@ def test_method_list(self, client: Telnyx) -> None: ) assert_matches_type(WirelessBlocklistValueListResponse, wireless_blocklist_value, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.wireless_blocklist_values.with_raw_response.list( @@ -35,6 +37,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: wireless_blocklist_value = response.parse() assert_matches_type(WirelessBlocklistValueListResponse, wireless_blocklist_value, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.wireless_blocklist_values.with_streaming_response.list( @@ -54,6 +57,7 @@ class TestAsyncWirelessBlocklistValues: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: wireless_blocklist_value = await async_client.wireless_blocklist_values.list( @@ -61,6 +65,7 @@ async def test_method_list(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(WirelessBlocklistValueListResponse, wireless_blocklist_value, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.wireless_blocklist_values.with_raw_response.list( @@ -72,6 +77,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: wireless_blocklist_value = await response.parse() assert_matches_type(WirelessBlocklistValueListResponse, wireless_blocklist_value, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.wireless_blocklist_values.with_streaming_response.list( diff --git a/tests/api_resources/test_wireless_blocklists.py b/tests/api_resources/test_wireless_blocklists.py index ed0538b0..ed686a8f 100644 --- a/tests/api_resources/test_wireless_blocklists.py +++ b/tests/api_resources/test_wireless_blocklists.py @@ -23,6 +23,7 @@ class TestWirelessBlocklists: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: wireless_blocklist = client.wireless_blocklists.create( @@ -32,6 +33,7 @@ def test_method_create(self, client: Telnyx) -> None: ) assert_matches_type(WirelessBlocklistCreateResponse, wireless_blocklist, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.wireless_blocklists.with_raw_response.create( @@ -45,6 +47,7 @@ def test_raw_response_create(self, client: Telnyx) -> None: wireless_blocklist = response.parse() assert_matches_type(WirelessBlocklistCreateResponse, wireless_blocklist, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.wireless_blocklists.with_streaming_response.create( @@ -60,6 +63,7 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: wireless_blocklist = client.wireless_blocklists.retrieve( @@ -67,6 +71,7 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(WirelessBlocklistRetrieveResponse, wireless_blocklist, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.wireless_blocklists.with_raw_response.retrieve( @@ -78,6 +83,7 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: wireless_blocklist = response.parse() assert_matches_type(WirelessBlocklistRetrieveResponse, wireless_blocklist, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.wireless_blocklists.with_streaming_response.retrieve( @@ -91,6 +97,7 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -98,11 +105,13 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update(self, client: Telnyx) -> None: wireless_blocklist = client.wireless_blocklists.update() assert_matches_type(WirelessBlocklistUpdateResponse, wireless_blocklist, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_with_all_params(self, client: Telnyx) -> None: wireless_blocklist = client.wireless_blocklists.update( @@ -112,6 +121,7 @@ def test_method_update_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(WirelessBlocklistUpdateResponse, wireless_blocklist, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update(self, client: Telnyx) -> None: response = client.wireless_blocklists.with_raw_response.update() @@ -121,6 +131,7 @@ def test_raw_response_update(self, client: Telnyx) -> None: wireless_blocklist = response.parse() assert_matches_type(WirelessBlocklistUpdateResponse, wireless_blocklist, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update(self, client: Telnyx) -> None: with client.wireless_blocklists.with_streaming_response.update() as response: @@ -132,11 +143,13 @@ def test_streaming_response_update(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: wireless_blocklist = client.wireless_blocklists.list() assert_matches_type(WirelessBlocklistListResponse, wireless_blocklist, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: wireless_blocklist = client.wireless_blocklists.list( @@ -148,6 +161,7 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(WirelessBlocklistListResponse, wireless_blocklist, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.wireless_blocklists.with_raw_response.list() @@ -157,6 +171,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: wireless_blocklist = response.parse() assert_matches_type(WirelessBlocklistListResponse, wireless_blocklist, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.wireless_blocklists.with_streaming_response.list() as response: @@ -168,6 +183,7 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: wireless_blocklist = client.wireless_blocklists.delete( @@ -175,6 +191,7 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert_matches_type(WirelessBlocklistDeleteResponse, wireless_blocklist, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.wireless_blocklists.with_raw_response.delete( @@ -186,6 +203,7 @@ def test_raw_response_delete(self, client: Telnyx) -> None: wireless_blocklist = response.parse() assert_matches_type(WirelessBlocklistDeleteResponse, wireless_blocklist, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.wireless_blocklists.with_streaming_response.delete( @@ -199,6 +217,7 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -212,6 +231,7 @@ class TestAsyncWirelessBlocklists: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: wireless_blocklist = await async_client.wireless_blocklists.create( @@ -221,6 +241,7 @@ async def test_method_create(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(WirelessBlocklistCreateResponse, wireless_blocklist, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.wireless_blocklists.with_raw_response.create( @@ -234,6 +255,7 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: wireless_blocklist = await response.parse() assert_matches_type(WirelessBlocklistCreateResponse, wireless_blocklist, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.wireless_blocklists.with_streaming_response.create( @@ -249,6 +271,7 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: wireless_blocklist = await async_client.wireless_blocklists.retrieve( @@ -256,6 +279,7 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(WirelessBlocklistRetrieveResponse, wireless_blocklist, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.wireless_blocklists.with_raw_response.retrieve( @@ -267,6 +291,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: wireless_blocklist = await response.parse() assert_matches_type(WirelessBlocklistRetrieveResponse, wireless_blocklist, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.wireless_blocklists.with_streaming_response.retrieve( @@ -280,6 +305,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -287,11 +313,13 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update(self, async_client: AsyncTelnyx) -> None: wireless_blocklist = await async_client.wireless_blocklists.update() assert_matches_type(WirelessBlocklistUpdateResponse, wireless_blocklist, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> None: wireless_blocklist = await async_client.wireless_blocklists.update( @@ -301,6 +329,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(WirelessBlocklistUpdateResponse, wireless_blocklist, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: response = await async_client.wireless_blocklists.with_raw_response.update() @@ -310,6 +339,7 @@ async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: wireless_blocklist = await response.parse() assert_matches_type(WirelessBlocklistUpdateResponse, wireless_blocklist, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> None: async with async_client.wireless_blocklists.with_streaming_response.update() as response: @@ -321,11 +351,13 @@ async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: wireless_blocklist = await async_client.wireless_blocklists.list() assert_matches_type(WirelessBlocklistListResponse, wireless_blocklist, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: wireless_blocklist = await async_client.wireless_blocklists.list( @@ -337,6 +369,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(WirelessBlocklistListResponse, wireless_blocklist, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.wireless_blocklists.with_raw_response.list() @@ -346,6 +379,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: wireless_blocklist = await response.parse() assert_matches_type(WirelessBlocklistListResponse, wireless_blocklist, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.wireless_blocklists.with_streaming_response.list() as response: @@ -357,6 +391,7 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: wireless_blocklist = await async_client.wireless_blocklists.delete( @@ -364,6 +399,7 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(WirelessBlocklistDeleteResponse, wireless_blocklist, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.wireless_blocklists.with_raw_response.delete( @@ -375,6 +411,7 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: wireless_blocklist = await response.parse() assert_matches_type(WirelessBlocklistDeleteResponse, wireless_blocklist, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.wireless_blocklists.with_streaming_response.delete( @@ -388,6 +425,7 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): diff --git a/tests/api_resources/texml/accounts/calls/test_recordings.py b/tests/api_resources/texml/accounts/calls/test_recordings.py index 16bf71c7..27e3ff13 100644 --- a/tests/api_resources/texml/accounts/calls/test_recordings.py +++ b/tests/api_resources/texml/accounts/calls/test_recordings.py @@ -17,6 +17,7 @@ class TestRecordings: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_recording_sid_json(self, client: Telnyx) -> None: recording = client.texml.accounts.calls.recordings.recording_sid_json( @@ -26,6 +27,7 @@ def test_method_recording_sid_json(self, client: Telnyx) -> None: ) assert_matches_type(RecordingRecordingSidJsonResponse, recording, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_recording_sid_json_with_all_params(self, client: Telnyx) -> None: recording = client.texml.accounts.calls.recordings.recording_sid_json( @@ -36,6 +38,7 @@ def test_method_recording_sid_json_with_all_params(self, client: Telnyx) -> None ) assert_matches_type(RecordingRecordingSidJsonResponse, recording, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_recording_sid_json(self, client: Telnyx) -> None: response = client.texml.accounts.calls.recordings.with_raw_response.recording_sid_json( @@ -49,6 +52,7 @@ def test_raw_response_recording_sid_json(self, client: Telnyx) -> None: recording = response.parse() assert_matches_type(RecordingRecordingSidJsonResponse, recording, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_recording_sid_json(self, client: Telnyx) -> None: with client.texml.accounts.calls.recordings.with_streaming_response.recording_sid_json( @@ -64,6 +68,7 @@ def test_streaming_response_recording_sid_json(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_recording_sid_json(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_sid` but received ''"): @@ -93,6 +98,7 @@ class TestAsyncRecordings: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_recording_sid_json(self, async_client: AsyncTelnyx) -> None: recording = await async_client.texml.accounts.calls.recordings.recording_sid_json( @@ -102,6 +108,7 @@ async def test_method_recording_sid_json(self, async_client: AsyncTelnyx) -> Non ) assert_matches_type(RecordingRecordingSidJsonResponse, recording, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_recording_sid_json_with_all_params(self, async_client: AsyncTelnyx) -> None: recording = await async_client.texml.accounts.calls.recordings.recording_sid_json( @@ -112,6 +119,7 @@ async def test_method_recording_sid_json_with_all_params(self, async_client: Asy ) assert_matches_type(RecordingRecordingSidJsonResponse, recording, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_recording_sid_json(self, async_client: AsyncTelnyx) -> None: response = await async_client.texml.accounts.calls.recordings.with_raw_response.recording_sid_json( @@ -125,6 +133,7 @@ async def test_raw_response_recording_sid_json(self, async_client: AsyncTelnyx) recording = await response.parse() assert_matches_type(RecordingRecordingSidJsonResponse, recording, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_recording_sid_json(self, async_client: AsyncTelnyx) -> None: async with async_client.texml.accounts.calls.recordings.with_streaming_response.recording_sid_json( @@ -140,6 +149,7 @@ async def test_streaming_response_recording_sid_json(self, async_client: AsyncTe assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_recording_sid_json(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_sid` but received ''"): diff --git a/tests/api_resources/texml/accounts/calls/test_recordings_json.py b/tests/api_resources/texml/accounts/calls/test_recordings_json.py index 567ae80f..80548f4f 100644 --- a/tests/api_resources/texml/accounts/calls/test_recordings_json.py +++ b/tests/api_resources/texml/accounts/calls/test_recordings_json.py @@ -20,6 +20,7 @@ class TestRecordingsJson: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_recordings_json(self, client: Telnyx) -> None: recordings_json = client.texml.accounts.calls.recordings_json.recordings_json( @@ -28,6 +29,7 @@ def test_method_recordings_json(self, client: Telnyx) -> None: ) assert_matches_type(RecordingsJsonRecordingsJsonResponse, recordings_json, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_recordings_json_with_all_params(self, client: Telnyx) -> None: recordings_json = client.texml.accounts.calls.recordings_json.recordings_json( @@ -43,6 +45,7 @@ def test_method_recordings_json_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(RecordingsJsonRecordingsJsonResponse, recordings_json, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_recordings_json(self, client: Telnyx) -> None: response = client.texml.accounts.calls.recordings_json.with_raw_response.recordings_json( @@ -55,6 +58,7 @@ def test_raw_response_recordings_json(self, client: Telnyx) -> None: recordings_json = response.parse() assert_matches_type(RecordingsJsonRecordingsJsonResponse, recordings_json, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_recordings_json(self, client: Telnyx) -> None: with client.texml.accounts.calls.recordings_json.with_streaming_response.recordings_json( @@ -69,6 +73,7 @@ def test_streaming_response_recordings_json(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_recordings_json(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_sid` but received ''"): @@ -83,6 +88,7 @@ def test_path_params_recordings_json(self, client: Telnyx) -> None: account_sid="account_sid", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve_recordings_json(self, client: Telnyx) -> None: recordings_json = client.texml.accounts.calls.recordings_json.retrieve_recordings_json( @@ -91,6 +97,7 @@ def test_method_retrieve_recordings_json(self, client: Telnyx) -> None: ) assert_matches_type(RecordingsJsonRetrieveRecordingsJsonResponse, recordings_json, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve_recordings_json(self, client: Telnyx) -> None: response = client.texml.accounts.calls.recordings_json.with_raw_response.retrieve_recordings_json( @@ -103,6 +110,7 @@ def test_raw_response_retrieve_recordings_json(self, client: Telnyx) -> None: recordings_json = response.parse() assert_matches_type(RecordingsJsonRetrieveRecordingsJsonResponse, recordings_json, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve_recordings_json(self, client: Telnyx) -> None: with client.texml.accounts.calls.recordings_json.with_streaming_response.retrieve_recordings_json( @@ -117,6 +125,7 @@ def test_streaming_response_retrieve_recordings_json(self, client: Telnyx) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve_recordings_json(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_sid` but received ''"): @@ -137,6 +146,7 @@ class TestAsyncRecordingsJson: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_recordings_json(self, async_client: AsyncTelnyx) -> None: recordings_json = await async_client.texml.accounts.calls.recordings_json.recordings_json( @@ -145,6 +155,7 @@ async def test_method_recordings_json(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(RecordingsJsonRecordingsJsonResponse, recordings_json, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_recordings_json_with_all_params(self, async_client: AsyncTelnyx) -> None: recordings_json = await async_client.texml.accounts.calls.recordings_json.recordings_json( @@ -160,6 +171,7 @@ async def test_method_recordings_json_with_all_params(self, async_client: AsyncT ) assert_matches_type(RecordingsJsonRecordingsJsonResponse, recordings_json, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_recordings_json(self, async_client: AsyncTelnyx) -> None: response = await async_client.texml.accounts.calls.recordings_json.with_raw_response.recordings_json( @@ -172,6 +184,7 @@ async def test_raw_response_recordings_json(self, async_client: AsyncTelnyx) -> recordings_json = await response.parse() assert_matches_type(RecordingsJsonRecordingsJsonResponse, recordings_json, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_recordings_json(self, async_client: AsyncTelnyx) -> None: async with async_client.texml.accounts.calls.recordings_json.with_streaming_response.recordings_json( @@ -186,6 +199,7 @@ async def test_streaming_response_recordings_json(self, async_client: AsyncTelny assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_recordings_json(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_sid` but received ''"): @@ -200,6 +214,7 @@ async def test_path_params_recordings_json(self, async_client: AsyncTelnyx) -> N account_sid="account_sid", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve_recordings_json(self, async_client: AsyncTelnyx) -> None: recordings_json = await async_client.texml.accounts.calls.recordings_json.retrieve_recordings_json( @@ -208,6 +223,7 @@ async def test_method_retrieve_recordings_json(self, async_client: AsyncTelnyx) ) assert_matches_type(RecordingsJsonRetrieveRecordingsJsonResponse, recordings_json, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve_recordings_json(self, async_client: AsyncTelnyx) -> None: response = await async_client.texml.accounts.calls.recordings_json.with_raw_response.retrieve_recordings_json( @@ -220,6 +236,7 @@ async def test_raw_response_retrieve_recordings_json(self, async_client: AsyncTe recordings_json = await response.parse() assert_matches_type(RecordingsJsonRetrieveRecordingsJsonResponse, recordings_json, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve_recordings_json(self, async_client: AsyncTelnyx) -> None: async with async_client.texml.accounts.calls.recordings_json.with_streaming_response.retrieve_recordings_json( @@ -234,6 +251,7 @@ async def test_streaming_response_retrieve_recordings_json(self, async_client: A assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve_recordings_json(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_sid` but received ''"): diff --git a/tests/api_resources/texml/accounts/calls/test_siprec.py b/tests/api_resources/texml/accounts/calls/test_siprec.py index ad4b93f8..14f22b28 100644 --- a/tests/api_resources/texml/accounts/calls/test_siprec.py +++ b/tests/api_resources/texml/accounts/calls/test_siprec.py @@ -17,6 +17,7 @@ class TestSiprec: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_siprec_sid_json(self, client: Telnyx) -> None: siprec = client.texml.accounts.calls.siprec.siprec_sid_json( @@ -26,6 +27,7 @@ def test_method_siprec_sid_json(self, client: Telnyx) -> None: ) assert_matches_type(SiprecSiprecSidJsonResponse, siprec, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_siprec_sid_json_with_all_params(self, client: Telnyx) -> None: siprec = client.texml.accounts.calls.siprec.siprec_sid_json( @@ -36,6 +38,7 @@ def test_method_siprec_sid_json_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(SiprecSiprecSidJsonResponse, siprec, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_siprec_sid_json(self, client: Telnyx) -> None: response = client.texml.accounts.calls.siprec.with_raw_response.siprec_sid_json( @@ -49,6 +52,7 @@ def test_raw_response_siprec_sid_json(self, client: Telnyx) -> None: siprec = response.parse() assert_matches_type(SiprecSiprecSidJsonResponse, siprec, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_siprec_sid_json(self, client: Telnyx) -> None: with client.texml.accounts.calls.siprec.with_streaming_response.siprec_sid_json( @@ -64,6 +68,7 @@ def test_streaming_response_siprec_sid_json(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_siprec_sid_json(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_sid` but received ''"): @@ -93,6 +98,7 @@ class TestAsyncSiprec: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_siprec_sid_json(self, async_client: AsyncTelnyx) -> None: siprec = await async_client.texml.accounts.calls.siprec.siprec_sid_json( @@ -102,6 +108,7 @@ async def test_method_siprec_sid_json(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(SiprecSiprecSidJsonResponse, siprec, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_siprec_sid_json_with_all_params(self, async_client: AsyncTelnyx) -> None: siprec = await async_client.texml.accounts.calls.siprec.siprec_sid_json( @@ -112,6 +119,7 @@ async def test_method_siprec_sid_json_with_all_params(self, async_client: AsyncT ) assert_matches_type(SiprecSiprecSidJsonResponse, siprec, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_siprec_sid_json(self, async_client: AsyncTelnyx) -> None: response = await async_client.texml.accounts.calls.siprec.with_raw_response.siprec_sid_json( @@ -125,6 +133,7 @@ async def test_raw_response_siprec_sid_json(self, async_client: AsyncTelnyx) -> siprec = await response.parse() assert_matches_type(SiprecSiprecSidJsonResponse, siprec, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_siprec_sid_json(self, async_client: AsyncTelnyx) -> None: async with async_client.texml.accounts.calls.siprec.with_streaming_response.siprec_sid_json( @@ -140,6 +149,7 @@ async def test_streaming_response_siprec_sid_json(self, async_client: AsyncTelny assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_siprec_sid_json(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_sid` but received ''"): diff --git a/tests/api_resources/texml/accounts/calls/test_streams.py b/tests/api_resources/texml/accounts/calls/test_streams.py index 45ba3a13..a7b20e3d 100644 --- a/tests/api_resources/texml/accounts/calls/test_streams.py +++ b/tests/api_resources/texml/accounts/calls/test_streams.py @@ -17,6 +17,7 @@ class TestStreams: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_streaming_sid_json(self, client: Telnyx) -> None: stream = client.texml.accounts.calls.streams.streaming_sid_json( @@ -26,6 +27,7 @@ def test_method_streaming_sid_json(self, client: Telnyx) -> None: ) assert_matches_type(StreamStreamingSidJsonResponse, stream, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_streaming_sid_json_with_all_params(self, client: Telnyx) -> None: stream = client.texml.accounts.calls.streams.streaming_sid_json( @@ -36,6 +38,7 @@ def test_method_streaming_sid_json_with_all_params(self, client: Telnyx) -> None ) assert_matches_type(StreamStreamingSidJsonResponse, stream, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_streaming_sid_json(self, client: Telnyx) -> None: response = client.texml.accounts.calls.streams.with_raw_response.streaming_sid_json( @@ -49,6 +52,7 @@ def test_raw_response_streaming_sid_json(self, client: Telnyx) -> None: stream = response.parse() assert_matches_type(StreamStreamingSidJsonResponse, stream, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_streaming_sid_json(self, client: Telnyx) -> None: with client.texml.accounts.calls.streams.with_streaming_response.streaming_sid_json( @@ -64,6 +68,7 @@ def test_streaming_response_streaming_sid_json(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_streaming_sid_json(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_sid` but received ''"): @@ -93,6 +98,7 @@ class TestAsyncStreams: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_streaming_sid_json(self, async_client: AsyncTelnyx) -> None: stream = await async_client.texml.accounts.calls.streams.streaming_sid_json( @@ -102,6 +108,7 @@ async def test_method_streaming_sid_json(self, async_client: AsyncTelnyx) -> Non ) assert_matches_type(StreamStreamingSidJsonResponse, stream, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_streaming_sid_json_with_all_params(self, async_client: AsyncTelnyx) -> None: stream = await async_client.texml.accounts.calls.streams.streaming_sid_json( @@ -112,6 +119,7 @@ async def test_method_streaming_sid_json_with_all_params(self, async_client: Asy ) assert_matches_type(StreamStreamingSidJsonResponse, stream, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_streaming_sid_json(self, async_client: AsyncTelnyx) -> None: response = await async_client.texml.accounts.calls.streams.with_raw_response.streaming_sid_json( @@ -125,6 +133,7 @@ async def test_raw_response_streaming_sid_json(self, async_client: AsyncTelnyx) stream = await response.parse() assert_matches_type(StreamStreamingSidJsonResponse, stream, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_streaming_sid_json(self, async_client: AsyncTelnyx) -> None: async with async_client.texml.accounts.calls.streams.with_streaming_response.streaming_sid_json( @@ -140,6 +149,7 @@ async def test_streaming_response_streaming_sid_json(self, async_client: AsyncTe assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_streaming_sid_json(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_sid` but received ''"): diff --git a/tests/api_resources/texml/accounts/conferences/test_participants.py b/tests/api_resources/texml/accounts/conferences/test_participants.py index dca43688..66c8f1e6 100644 --- a/tests/api_resources/texml/accounts/conferences/test_participants.py +++ b/tests/api_resources/texml/accounts/conferences/test_participants.py @@ -22,6 +22,7 @@ class TestParticipants: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: participant = client.texml.accounts.conferences.participants.retrieve( @@ -31,6 +32,7 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(ParticipantRetrieveResponse, participant, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.texml.accounts.conferences.participants.with_raw_response.retrieve( @@ -44,6 +46,7 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: participant = response.parse() assert_matches_type(ParticipantRetrieveResponse, participant, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.texml.accounts.conferences.participants.with_streaming_response.retrieve( @@ -59,6 +62,7 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_sid` but received ''"): @@ -84,6 +88,7 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: conference_sid="conference_sid", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update(self, client: Telnyx) -> None: participant = client.texml.accounts.conferences.participants.update( @@ -93,6 +98,7 @@ def test_method_update(self, client: Telnyx) -> None: ) assert_matches_type(ParticipantUpdateResponse, participant, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_with_all_params(self, client: Telnyx) -> None: participant = client.texml.accounts.conferences.participants.update( @@ -113,6 +119,7 @@ def test_method_update_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ParticipantUpdateResponse, participant, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update(self, client: Telnyx) -> None: response = client.texml.accounts.conferences.participants.with_raw_response.update( @@ -126,6 +133,7 @@ def test_raw_response_update(self, client: Telnyx) -> None: participant = response.parse() assert_matches_type(ParticipantUpdateResponse, participant, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update(self, client: Telnyx) -> None: with client.texml.accounts.conferences.participants.with_streaming_response.update( @@ -141,6 +149,7 @@ def test_streaming_response_update(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_sid` but received ''"): @@ -166,6 +175,7 @@ def test_path_params_update(self, client: Telnyx) -> None: conference_sid="conference_sid", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: participant = client.texml.accounts.conferences.participants.delete( @@ -175,6 +185,7 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert participant is None + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.texml.accounts.conferences.participants.with_raw_response.delete( @@ -188,6 +199,7 @@ def test_raw_response_delete(self, client: Telnyx) -> None: participant = response.parse() assert participant is None + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.texml.accounts.conferences.participants.with_streaming_response.delete( @@ -203,6 +215,7 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_sid` but received ''"): @@ -228,6 +241,7 @@ def test_path_params_delete(self, client: Telnyx) -> None: conference_sid="conference_sid", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_participants(self, client: Telnyx) -> None: participant = client.texml.accounts.conferences.participants.participants( @@ -236,6 +250,7 @@ def test_method_participants(self, client: Telnyx) -> None: ) assert_matches_type(ParticipantParticipantsResponse, participant, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_participants_with_all_params(self, client: Telnyx) -> None: participant = client.texml.accounts.conferences.participants.participants( @@ -289,6 +304,7 @@ def test_method_participants_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ParticipantParticipantsResponse, participant, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_participants(self, client: Telnyx) -> None: response = client.texml.accounts.conferences.participants.with_raw_response.participants( @@ -301,6 +317,7 @@ def test_raw_response_participants(self, client: Telnyx) -> None: participant = response.parse() assert_matches_type(ParticipantParticipantsResponse, participant, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_participants(self, client: Telnyx) -> None: with client.texml.accounts.conferences.participants.with_streaming_response.participants( @@ -315,6 +332,7 @@ def test_streaming_response_participants(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_participants(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_sid` but received ''"): @@ -329,6 +347,7 @@ def test_path_params_participants(self, client: Telnyx) -> None: account_sid="account_sid", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve_participants(self, client: Telnyx) -> None: participant = client.texml.accounts.conferences.participants.retrieve_participants( @@ -337,6 +356,7 @@ def test_method_retrieve_participants(self, client: Telnyx) -> None: ) assert_matches_type(ParticipantRetrieveParticipantsResponse, participant, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve_participants(self, client: Telnyx) -> None: response = client.texml.accounts.conferences.participants.with_raw_response.retrieve_participants( @@ -349,6 +369,7 @@ def test_raw_response_retrieve_participants(self, client: Telnyx) -> None: participant = response.parse() assert_matches_type(ParticipantRetrieveParticipantsResponse, participant, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve_participants(self, client: Telnyx) -> None: with client.texml.accounts.conferences.participants.with_streaming_response.retrieve_participants( @@ -363,6 +384,7 @@ def test_streaming_response_retrieve_participants(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve_participants(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_sid` but received ''"): @@ -383,6 +405,7 @@ class TestAsyncParticipants: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: participant = await async_client.texml.accounts.conferences.participants.retrieve( @@ -392,6 +415,7 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ParticipantRetrieveResponse, participant, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.texml.accounts.conferences.participants.with_raw_response.retrieve( @@ -405,6 +429,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: participant = await response.parse() assert_matches_type(ParticipantRetrieveResponse, participant, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.texml.accounts.conferences.participants.with_streaming_response.retrieve( @@ -420,6 +445,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_sid` but received ''"): @@ -445,6 +471,7 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: conference_sid="conference_sid", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update(self, async_client: AsyncTelnyx) -> None: participant = await async_client.texml.accounts.conferences.participants.update( @@ -454,6 +481,7 @@ async def test_method_update(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ParticipantUpdateResponse, participant, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> None: participant = await async_client.texml.accounts.conferences.participants.update( @@ -474,6 +502,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(ParticipantUpdateResponse, participant, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: response = await async_client.texml.accounts.conferences.participants.with_raw_response.update( @@ -487,6 +516,7 @@ async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: participant = await response.parse() assert_matches_type(ParticipantUpdateResponse, participant, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> None: async with async_client.texml.accounts.conferences.participants.with_streaming_response.update( @@ -502,6 +532,7 @@ async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_sid` but received ''"): @@ -527,6 +558,7 @@ async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: conference_sid="conference_sid", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: participant = await async_client.texml.accounts.conferences.participants.delete( @@ -536,6 +568,7 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert participant is None + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.texml.accounts.conferences.participants.with_raw_response.delete( @@ -549,6 +582,7 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: participant = await response.parse() assert participant is None + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.texml.accounts.conferences.participants.with_streaming_response.delete( @@ -564,6 +598,7 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_sid` but received ''"): @@ -589,6 +624,7 @@ async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: conference_sid="conference_sid", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_participants(self, async_client: AsyncTelnyx) -> None: participant = await async_client.texml.accounts.conferences.participants.participants( @@ -597,6 +633,7 @@ async def test_method_participants(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ParticipantParticipantsResponse, participant, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_participants_with_all_params(self, async_client: AsyncTelnyx) -> None: participant = await async_client.texml.accounts.conferences.participants.participants( @@ -650,6 +687,7 @@ async def test_method_participants_with_all_params(self, async_client: AsyncTeln ) assert_matches_type(ParticipantParticipantsResponse, participant, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_participants(self, async_client: AsyncTelnyx) -> None: response = await async_client.texml.accounts.conferences.participants.with_raw_response.participants( @@ -662,6 +700,7 @@ async def test_raw_response_participants(self, async_client: AsyncTelnyx) -> Non participant = await response.parse() assert_matches_type(ParticipantParticipantsResponse, participant, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_participants(self, async_client: AsyncTelnyx) -> None: async with async_client.texml.accounts.conferences.participants.with_streaming_response.participants( @@ -676,6 +715,7 @@ async def test_streaming_response_participants(self, async_client: AsyncTelnyx) assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_participants(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_sid` but received ''"): @@ -690,6 +730,7 @@ async def test_path_params_participants(self, async_client: AsyncTelnyx) -> None account_sid="account_sid", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve_participants(self, async_client: AsyncTelnyx) -> None: participant = await async_client.texml.accounts.conferences.participants.retrieve_participants( @@ -698,6 +739,7 @@ async def test_method_retrieve_participants(self, async_client: AsyncTelnyx) -> ) assert_matches_type(ParticipantRetrieveParticipantsResponse, participant, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve_participants(self, async_client: AsyncTelnyx) -> None: response = await async_client.texml.accounts.conferences.participants.with_raw_response.retrieve_participants( @@ -710,6 +752,7 @@ async def test_raw_response_retrieve_participants(self, async_client: AsyncTelny participant = await response.parse() assert_matches_type(ParticipantRetrieveParticipantsResponse, participant, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve_participants(self, async_client: AsyncTelnyx) -> None: async with async_client.texml.accounts.conferences.participants.with_streaming_response.retrieve_participants( @@ -724,6 +767,7 @@ async def test_streaming_response_retrieve_participants(self, async_client: Asyn assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve_participants(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_sid` but received ''"): diff --git a/tests/api_resources/texml/accounts/recordings/test_json.py b/tests/api_resources/texml/accounts/recordings/test_json.py index 7ceadda5..376204c8 100644 --- a/tests/api_resources/texml/accounts/recordings/test_json.py +++ b/tests/api_resources/texml/accounts/recordings/test_json.py @@ -17,6 +17,7 @@ class TestJson: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete_recording_sid_json(self, client: Telnyx) -> None: json = client.texml.accounts.recordings.json.delete_recording_sid_json( @@ -25,6 +26,7 @@ def test_method_delete_recording_sid_json(self, client: Telnyx) -> None: ) assert json is None + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete_recording_sid_json(self, client: Telnyx) -> None: response = client.texml.accounts.recordings.json.with_raw_response.delete_recording_sid_json( @@ -37,6 +39,7 @@ def test_raw_response_delete_recording_sid_json(self, client: Telnyx) -> None: json = response.parse() assert json is None + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete_recording_sid_json(self, client: Telnyx) -> None: with client.texml.accounts.recordings.json.with_streaming_response.delete_recording_sid_json( @@ -51,6 +54,7 @@ def test_streaming_response_delete_recording_sid_json(self, client: Telnyx) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete_recording_sid_json(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_sid` but received ''"): @@ -65,6 +69,7 @@ def test_path_params_delete_recording_sid_json(self, client: Telnyx) -> None: account_sid="account_sid", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve_recording_sid_json(self, client: Telnyx) -> None: json = client.texml.accounts.recordings.json.retrieve_recording_sid_json( @@ -73,6 +78,7 @@ def test_method_retrieve_recording_sid_json(self, client: Telnyx) -> None: ) assert_matches_type(TexmlGetCallRecordingResponseBody, json, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve_recording_sid_json(self, client: Telnyx) -> None: response = client.texml.accounts.recordings.json.with_raw_response.retrieve_recording_sid_json( @@ -85,6 +91,7 @@ def test_raw_response_retrieve_recording_sid_json(self, client: Telnyx) -> None: json = response.parse() assert_matches_type(TexmlGetCallRecordingResponseBody, json, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve_recording_sid_json(self, client: Telnyx) -> None: with client.texml.accounts.recordings.json.with_streaming_response.retrieve_recording_sid_json( @@ -99,6 +106,7 @@ def test_streaming_response_retrieve_recording_sid_json(self, client: Telnyx) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve_recording_sid_json(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_sid` but received ''"): @@ -119,6 +127,7 @@ class TestAsyncJson: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete_recording_sid_json(self, async_client: AsyncTelnyx) -> None: json = await async_client.texml.accounts.recordings.json.delete_recording_sid_json( @@ -127,6 +136,7 @@ async def test_method_delete_recording_sid_json(self, async_client: AsyncTelnyx) ) assert json is None + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete_recording_sid_json(self, async_client: AsyncTelnyx) -> None: response = await async_client.texml.accounts.recordings.json.with_raw_response.delete_recording_sid_json( @@ -139,6 +149,7 @@ async def test_raw_response_delete_recording_sid_json(self, async_client: AsyncT json = await response.parse() assert json is None + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete_recording_sid_json(self, async_client: AsyncTelnyx) -> None: async with async_client.texml.accounts.recordings.json.with_streaming_response.delete_recording_sid_json( @@ -153,6 +164,7 @@ async def test_streaming_response_delete_recording_sid_json(self, async_client: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete_recording_sid_json(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_sid` but received ''"): @@ -167,6 +179,7 @@ async def test_path_params_delete_recording_sid_json(self, async_client: AsyncTe account_sid="account_sid", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve_recording_sid_json(self, async_client: AsyncTelnyx) -> None: json = await async_client.texml.accounts.recordings.json.retrieve_recording_sid_json( @@ -175,6 +188,7 @@ async def test_method_retrieve_recording_sid_json(self, async_client: AsyncTelny ) assert_matches_type(TexmlGetCallRecordingResponseBody, json, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve_recording_sid_json(self, async_client: AsyncTelnyx) -> None: response = await async_client.texml.accounts.recordings.json.with_raw_response.retrieve_recording_sid_json( @@ -187,6 +201,7 @@ async def test_raw_response_retrieve_recording_sid_json(self, async_client: Asyn json = await response.parse() assert_matches_type(TexmlGetCallRecordingResponseBody, json, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve_recording_sid_json(self, async_client: AsyncTelnyx) -> None: async with async_client.texml.accounts.recordings.json.with_streaming_response.retrieve_recording_sid_json( @@ -201,6 +216,7 @@ async def test_streaming_response_retrieve_recording_sid_json(self, async_client assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve_recording_sid_json(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_sid` but received ''"): diff --git a/tests/api_resources/texml/accounts/test_calls.py b/tests/api_resources/texml/accounts/test_calls.py index d08ac383..a23abb8d 100644 --- a/tests/api_resources/texml/accounts/test_calls.py +++ b/tests/api_resources/texml/accounts/test_calls.py @@ -24,6 +24,7 @@ class TestCalls: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: call = client.texml.accounts.calls.retrieve( @@ -32,6 +33,7 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(CallRetrieveResponse, call, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.texml.accounts.calls.with_raw_response.retrieve( @@ -44,6 +46,7 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: call = response.parse() assert_matches_type(CallRetrieveResponse, call, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.texml.accounts.calls.with_streaming_response.retrieve( @@ -58,6 +61,7 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_sid` but received ''"): @@ -72,6 +76,7 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: account_sid="account_sid", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update(self, client: Telnyx) -> None: call = client.texml.accounts.calls.update( @@ -80,6 +85,7 @@ def test_method_update(self, client: Telnyx) -> None: ) assert_matches_type(CallUpdateResponse, call, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_with_all_params(self, client: Telnyx) -> None: call = client.texml.accounts.calls.update( @@ -96,6 +102,7 @@ def test_method_update_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(CallUpdateResponse, call, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update(self, client: Telnyx) -> None: response = client.texml.accounts.calls.with_raw_response.update( @@ -108,6 +115,7 @@ def test_raw_response_update(self, client: Telnyx) -> None: call = response.parse() assert_matches_type(CallUpdateResponse, call, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update(self, client: Telnyx) -> None: with client.texml.accounts.calls.with_streaming_response.update( @@ -122,6 +130,7 @@ def test_streaming_response_update(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_sid` but received ''"): @@ -136,6 +145,7 @@ def test_path_params_update(self, client: Telnyx) -> None: account_sid="account_sid", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_calls(self, client: Telnyx) -> None: call = client.texml.accounts.calls.calls( @@ -146,6 +156,7 @@ def test_method_calls(self, client: Telnyx) -> None: ) assert_matches_type(CallCallsResponse, call, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_calls_with_all_params(self, client: Telnyx) -> None: call = client.texml.accounts.calls.calls( @@ -186,6 +197,7 @@ def test_method_calls_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(CallCallsResponse, call, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_calls(self, client: Telnyx) -> None: response = client.texml.accounts.calls.with_raw_response.calls( @@ -200,6 +212,7 @@ def test_raw_response_calls(self, client: Telnyx) -> None: call = response.parse() assert_matches_type(CallCallsResponse, call, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_calls(self, client: Telnyx) -> None: with client.texml.accounts.calls.with_streaming_response.calls( @@ -216,6 +229,7 @@ def test_streaming_response_calls(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_calls(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_sid` but received ''"): @@ -226,6 +240,7 @@ def test_path_params_calls(self, client: Telnyx) -> None: to="+13121230000", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve_calls(self, client: Telnyx) -> None: call = client.texml.accounts.calls.retrieve_calls( @@ -233,6 +248,7 @@ def test_method_retrieve_calls(self, client: Telnyx) -> None: ) assert_matches_type(CallRetrieveCallsResponse, call, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve_calls_with_all_params(self, client: Telnyx) -> None: call = client.texml.accounts.calls.retrieve_calls( @@ -252,6 +268,7 @@ def test_method_retrieve_calls_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(CallRetrieveCallsResponse, call, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve_calls(self, client: Telnyx) -> None: response = client.texml.accounts.calls.with_raw_response.retrieve_calls( @@ -263,6 +280,7 @@ def test_raw_response_retrieve_calls(self, client: Telnyx) -> None: call = response.parse() assert_matches_type(CallRetrieveCallsResponse, call, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve_calls(self, client: Telnyx) -> None: with client.texml.accounts.calls.with_streaming_response.retrieve_calls( @@ -276,6 +294,7 @@ def test_streaming_response_retrieve_calls(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve_calls(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_sid` but received ''"): @@ -283,6 +302,7 @@ def test_path_params_retrieve_calls(self, client: Telnyx) -> None: account_sid="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_siprec_json(self, client: Telnyx) -> None: call = client.texml.accounts.calls.siprec_json( @@ -291,6 +311,7 @@ def test_method_siprec_json(self, client: Telnyx) -> None: ) assert_matches_type(CallSiprecJsonResponse, call, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_siprec_json_with_all_params(self, client: Telnyx) -> None: call = client.texml.accounts.calls.siprec_json( @@ -308,6 +329,7 @@ def test_method_siprec_json_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(CallSiprecJsonResponse, call, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_siprec_json(self, client: Telnyx) -> None: response = client.texml.accounts.calls.with_raw_response.siprec_json( @@ -320,6 +342,7 @@ def test_raw_response_siprec_json(self, client: Telnyx) -> None: call = response.parse() assert_matches_type(CallSiprecJsonResponse, call, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_siprec_json(self, client: Telnyx) -> None: with client.texml.accounts.calls.with_streaming_response.siprec_json( @@ -334,6 +357,7 @@ def test_streaming_response_siprec_json(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_siprec_json(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_sid` but received ''"): @@ -348,6 +372,7 @@ def test_path_params_siprec_json(self, client: Telnyx) -> None: account_sid="account_sid", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_streams_json(self, client: Telnyx) -> None: call = client.texml.accounts.calls.streams_json( @@ -356,6 +381,7 @@ def test_method_streams_json(self, client: Telnyx) -> None: ) assert_matches_type(CallStreamsJsonResponse, call, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_streams_json_with_all_params(self, client: Telnyx) -> None: call = client.texml.accounts.calls.streams_json( @@ -371,6 +397,7 @@ def test_method_streams_json_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(CallStreamsJsonResponse, call, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_streams_json(self, client: Telnyx) -> None: response = client.texml.accounts.calls.with_raw_response.streams_json( @@ -383,6 +410,7 @@ def test_raw_response_streams_json(self, client: Telnyx) -> None: call = response.parse() assert_matches_type(CallStreamsJsonResponse, call, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_streams_json(self, client: Telnyx) -> None: with client.texml.accounts.calls.with_streaming_response.streams_json( @@ -397,6 +425,7 @@ def test_streaming_response_streams_json(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_streams_json(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_sid` but received ''"): @@ -417,6 +446,7 @@ class TestAsyncCalls: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: call = await async_client.texml.accounts.calls.retrieve( @@ -425,6 +455,7 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(CallRetrieveResponse, call, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.texml.accounts.calls.with_raw_response.retrieve( @@ -437,6 +468,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: call = await response.parse() assert_matches_type(CallRetrieveResponse, call, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.texml.accounts.calls.with_streaming_response.retrieve( @@ -451,6 +483,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_sid` but received ''"): @@ -465,6 +498,7 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: account_sid="account_sid", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update(self, async_client: AsyncTelnyx) -> None: call = await async_client.texml.accounts.calls.update( @@ -473,6 +507,7 @@ async def test_method_update(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(CallUpdateResponse, call, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> None: call = await async_client.texml.accounts.calls.update( @@ -489,6 +524,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(CallUpdateResponse, call, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: response = await async_client.texml.accounts.calls.with_raw_response.update( @@ -501,6 +537,7 @@ async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: call = await response.parse() assert_matches_type(CallUpdateResponse, call, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> None: async with async_client.texml.accounts.calls.with_streaming_response.update( @@ -515,6 +552,7 @@ async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_sid` but received ''"): @@ -529,6 +567,7 @@ async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: account_sid="account_sid", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_calls(self, async_client: AsyncTelnyx) -> None: call = await async_client.texml.accounts.calls.calls( @@ -539,6 +578,7 @@ async def test_method_calls(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(CallCallsResponse, call, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_calls_with_all_params(self, async_client: AsyncTelnyx) -> None: call = await async_client.texml.accounts.calls.calls( @@ -579,6 +619,7 @@ async def test_method_calls_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(CallCallsResponse, call, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_calls(self, async_client: AsyncTelnyx) -> None: response = await async_client.texml.accounts.calls.with_raw_response.calls( @@ -593,6 +634,7 @@ async def test_raw_response_calls(self, async_client: AsyncTelnyx) -> None: call = await response.parse() assert_matches_type(CallCallsResponse, call, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_calls(self, async_client: AsyncTelnyx) -> None: async with async_client.texml.accounts.calls.with_streaming_response.calls( @@ -609,6 +651,7 @@ async def test_streaming_response_calls(self, async_client: AsyncTelnyx) -> None assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_calls(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_sid` but received ''"): @@ -619,6 +662,7 @@ async def test_path_params_calls(self, async_client: AsyncTelnyx) -> None: to="+13121230000", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve_calls(self, async_client: AsyncTelnyx) -> None: call = await async_client.texml.accounts.calls.retrieve_calls( @@ -626,6 +670,7 @@ async def test_method_retrieve_calls(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(CallRetrieveCallsResponse, call, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve_calls_with_all_params(self, async_client: AsyncTelnyx) -> None: call = await async_client.texml.accounts.calls.retrieve_calls( @@ -645,6 +690,7 @@ async def test_method_retrieve_calls_with_all_params(self, async_client: AsyncTe ) assert_matches_type(CallRetrieveCallsResponse, call, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve_calls(self, async_client: AsyncTelnyx) -> None: response = await async_client.texml.accounts.calls.with_raw_response.retrieve_calls( @@ -656,6 +702,7 @@ async def test_raw_response_retrieve_calls(self, async_client: AsyncTelnyx) -> N call = await response.parse() assert_matches_type(CallRetrieveCallsResponse, call, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve_calls(self, async_client: AsyncTelnyx) -> None: async with async_client.texml.accounts.calls.with_streaming_response.retrieve_calls( @@ -669,6 +716,7 @@ async def test_streaming_response_retrieve_calls(self, async_client: AsyncTelnyx assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve_calls(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_sid` but received ''"): @@ -676,6 +724,7 @@ async def test_path_params_retrieve_calls(self, async_client: AsyncTelnyx) -> No account_sid="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_siprec_json(self, async_client: AsyncTelnyx) -> None: call = await async_client.texml.accounts.calls.siprec_json( @@ -684,6 +733,7 @@ async def test_method_siprec_json(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(CallSiprecJsonResponse, call, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_siprec_json_with_all_params(self, async_client: AsyncTelnyx) -> None: call = await async_client.texml.accounts.calls.siprec_json( @@ -701,6 +751,7 @@ async def test_method_siprec_json_with_all_params(self, async_client: AsyncTelny ) assert_matches_type(CallSiprecJsonResponse, call, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_siprec_json(self, async_client: AsyncTelnyx) -> None: response = await async_client.texml.accounts.calls.with_raw_response.siprec_json( @@ -713,6 +764,7 @@ async def test_raw_response_siprec_json(self, async_client: AsyncTelnyx) -> None call = await response.parse() assert_matches_type(CallSiprecJsonResponse, call, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_siprec_json(self, async_client: AsyncTelnyx) -> None: async with async_client.texml.accounts.calls.with_streaming_response.siprec_json( @@ -727,6 +779,7 @@ async def test_streaming_response_siprec_json(self, async_client: AsyncTelnyx) - assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_siprec_json(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_sid` but received ''"): @@ -741,6 +794,7 @@ async def test_path_params_siprec_json(self, async_client: AsyncTelnyx) -> None: account_sid="account_sid", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_streams_json(self, async_client: AsyncTelnyx) -> None: call = await async_client.texml.accounts.calls.streams_json( @@ -749,6 +803,7 @@ async def test_method_streams_json(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(CallStreamsJsonResponse, call, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_streams_json_with_all_params(self, async_client: AsyncTelnyx) -> None: call = await async_client.texml.accounts.calls.streams_json( @@ -764,6 +819,7 @@ async def test_method_streams_json_with_all_params(self, async_client: AsyncTeln ) assert_matches_type(CallStreamsJsonResponse, call, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_streams_json(self, async_client: AsyncTelnyx) -> None: response = await async_client.texml.accounts.calls.with_raw_response.streams_json( @@ -776,6 +832,7 @@ async def test_raw_response_streams_json(self, async_client: AsyncTelnyx) -> Non call = await response.parse() assert_matches_type(CallStreamsJsonResponse, call, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_streams_json(self, async_client: AsyncTelnyx) -> None: async with async_client.texml.accounts.calls.with_streaming_response.streams_json( @@ -790,6 +847,7 @@ async def test_streaming_response_streams_json(self, async_client: AsyncTelnyx) assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_streams_json(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_sid` but received ''"): diff --git a/tests/api_resources/texml/accounts/test_conferences.py b/tests/api_resources/texml/accounts/test_conferences.py index 234fbd3c..70661df2 100644 --- a/tests/api_resources/texml/accounts/test_conferences.py +++ b/tests/api_resources/texml/accounts/test_conferences.py @@ -23,6 +23,7 @@ class TestConferences: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: conference = client.texml.accounts.conferences.retrieve( @@ -31,6 +32,7 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(ConferenceRetrieveResponse, conference, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.texml.accounts.conferences.with_raw_response.retrieve( @@ -43,6 +45,7 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: conference = response.parse() assert_matches_type(ConferenceRetrieveResponse, conference, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.texml.accounts.conferences.with_streaming_response.retrieve( @@ -57,6 +60,7 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_sid` but received ''"): @@ -71,6 +75,7 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: account_sid="account_sid", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update(self, client: Telnyx) -> None: conference = client.texml.accounts.conferences.update( @@ -79,6 +84,7 @@ def test_method_update(self, client: Telnyx) -> None: ) assert_matches_type(ConferenceUpdateResponse, conference, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_with_all_params(self, client: Telnyx) -> None: conference = client.texml.accounts.conferences.update( @@ -90,6 +96,7 @@ def test_method_update_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(ConferenceUpdateResponse, conference, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update(self, client: Telnyx) -> None: response = client.texml.accounts.conferences.with_raw_response.update( @@ -102,6 +109,7 @@ def test_raw_response_update(self, client: Telnyx) -> None: conference = response.parse() assert_matches_type(ConferenceUpdateResponse, conference, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update(self, client: Telnyx) -> None: with client.texml.accounts.conferences.with_streaming_response.update( @@ -116,6 +124,7 @@ def test_streaming_response_update(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_sid` but received ''"): @@ -130,6 +139,7 @@ def test_path_params_update(self, client: Telnyx) -> None: account_sid="account_sid", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve_conferences(self, client: Telnyx) -> None: conference = client.texml.accounts.conferences.retrieve_conferences( @@ -137,6 +147,7 @@ def test_method_retrieve_conferences(self, client: Telnyx) -> None: ) assert_matches_type(ConferenceRetrieveConferencesResponse, conference, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve_conferences_with_all_params(self, client: Telnyx) -> None: conference = client.texml.accounts.conferences.retrieve_conferences( @@ -151,6 +162,7 @@ def test_method_retrieve_conferences_with_all_params(self, client: Telnyx) -> No ) assert_matches_type(ConferenceRetrieveConferencesResponse, conference, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve_conferences(self, client: Telnyx) -> None: response = client.texml.accounts.conferences.with_raw_response.retrieve_conferences( @@ -162,6 +174,7 @@ def test_raw_response_retrieve_conferences(self, client: Telnyx) -> None: conference = response.parse() assert_matches_type(ConferenceRetrieveConferencesResponse, conference, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve_conferences(self, client: Telnyx) -> None: with client.texml.accounts.conferences.with_streaming_response.retrieve_conferences( @@ -175,6 +188,7 @@ def test_streaming_response_retrieve_conferences(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve_conferences(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_sid` but received ''"): @@ -182,6 +196,7 @@ def test_path_params_retrieve_conferences(self, client: Telnyx) -> None: account_sid="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve_recordings(self, client: Telnyx) -> None: conference = client.texml.accounts.conferences.retrieve_recordings( @@ -190,6 +205,7 @@ def test_method_retrieve_recordings(self, client: Telnyx) -> None: ) assert_matches_type(ConferenceRetrieveRecordingsResponse, conference, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve_recordings(self, client: Telnyx) -> None: response = client.texml.accounts.conferences.with_raw_response.retrieve_recordings( @@ -202,6 +218,7 @@ def test_raw_response_retrieve_recordings(self, client: Telnyx) -> None: conference = response.parse() assert_matches_type(ConferenceRetrieveRecordingsResponse, conference, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve_recordings(self, client: Telnyx) -> None: with client.texml.accounts.conferences.with_streaming_response.retrieve_recordings( @@ -216,6 +233,7 @@ def test_streaming_response_retrieve_recordings(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve_recordings(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_sid` but received ''"): @@ -230,6 +248,7 @@ def test_path_params_retrieve_recordings(self, client: Telnyx) -> None: account_sid="account_sid", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve_recordings_json(self, client: Telnyx) -> None: conference = client.texml.accounts.conferences.retrieve_recordings_json( @@ -238,6 +257,7 @@ def test_method_retrieve_recordings_json(self, client: Telnyx) -> None: ) assert_matches_type(ConferenceRetrieveRecordingsJsonResponse, conference, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve_recordings_json(self, client: Telnyx) -> None: response = client.texml.accounts.conferences.with_raw_response.retrieve_recordings_json( @@ -250,6 +270,7 @@ def test_raw_response_retrieve_recordings_json(self, client: Telnyx) -> None: conference = response.parse() assert_matches_type(ConferenceRetrieveRecordingsJsonResponse, conference, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve_recordings_json(self, client: Telnyx) -> None: with client.texml.accounts.conferences.with_streaming_response.retrieve_recordings_json( @@ -264,6 +285,7 @@ def test_streaming_response_retrieve_recordings_json(self, client: Telnyx) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve_recordings_json(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_sid` but received ''"): @@ -284,6 +306,7 @@ class TestAsyncConferences: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: conference = await async_client.texml.accounts.conferences.retrieve( @@ -292,6 +315,7 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ConferenceRetrieveResponse, conference, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.texml.accounts.conferences.with_raw_response.retrieve( @@ -304,6 +328,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: conference = await response.parse() assert_matches_type(ConferenceRetrieveResponse, conference, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.texml.accounts.conferences.with_streaming_response.retrieve( @@ -318,6 +343,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_sid` but received ''"): @@ -332,6 +358,7 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: account_sid="account_sid", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update(self, async_client: AsyncTelnyx) -> None: conference = await async_client.texml.accounts.conferences.update( @@ -340,6 +367,7 @@ async def test_method_update(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ConferenceUpdateResponse, conference, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> None: conference = await async_client.texml.accounts.conferences.update( @@ -351,6 +379,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(ConferenceUpdateResponse, conference, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: response = await async_client.texml.accounts.conferences.with_raw_response.update( @@ -363,6 +392,7 @@ async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: conference = await response.parse() assert_matches_type(ConferenceUpdateResponse, conference, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> None: async with async_client.texml.accounts.conferences.with_streaming_response.update( @@ -377,6 +407,7 @@ async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_sid` but received ''"): @@ -391,6 +422,7 @@ async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: account_sid="account_sid", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve_conferences(self, async_client: AsyncTelnyx) -> None: conference = await async_client.texml.accounts.conferences.retrieve_conferences( @@ -398,6 +430,7 @@ async def test_method_retrieve_conferences(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(ConferenceRetrieveConferencesResponse, conference, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve_conferences_with_all_params(self, async_client: AsyncTelnyx) -> None: conference = await async_client.texml.accounts.conferences.retrieve_conferences( @@ -412,6 +445,7 @@ async def test_method_retrieve_conferences_with_all_params(self, async_client: A ) assert_matches_type(ConferenceRetrieveConferencesResponse, conference, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve_conferences(self, async_client: AsyncTelnyx) -> None: response = await async_client.texml.accounts.conferences.with_raw_response.retrieve_conferences( @@ -423,6 +457,7 @@ async def test_raw_response_retrieve_conferences(self, async_client: AsyncTelnyx conference = await response.parse() assert_matches_type(ConferenceRetrieveConferencesResponse, conference, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve_conferences(self, async_client: AsyncTelnyx) -> None: async with async_client.texml.accounts.conferences.with_streaming_response.retrieve_conferences( @@ -436,6 +471,7 @@ async def test_streaming_response_retrieve_conferences(self, async_client: Async assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve_conferences(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_sid` but received ''"): @@ -443,6 +479,7 @@ async def test_path_params_retrieve_conferences(self, async_client: AsyncTelnyx) account_sid="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve_recordings(self, async_client: AsyncTelnyx) -> None: conference = await async_client.texml.accounts.conferences.retrieve_recordings( @@ -451,6 +488,7 @@ async def test_method_retrieve_recordings(self, async_client: AsyncTelnyx) -> No ) assert_matches_type(ConferenceRetrieveRecordingsResponse, conference, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve_recordings(self, async_client: AsyncTelnyx) -> None: response = await async_client.texml.accounts.conferences.with_raw_response.retrieve_recordings( @@ -463,6 +501,7 @@ async def test_raw_response_retrieve_recordings(self, async_client: AsyncTelnyx) conference = await response.parse() assert_matches_type(ConferenceRetrieveRecordingsResponse, conference, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve_recordings(self, async_client: AsyncTelnyx) -> None: async with async_client.texml.accounts.conferences.with_streaming_response.retrieve_recordings( @@ -477,6 +516,7 @@ async def test_streaming_response_retrieve_recordings(self, async_client: AsyncT assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve_recordings(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_sid` but received ''"): @@ -491,6 +531,7 @@ async def test_path_params_retrieve_recordings(self, async_client: AsyncTelnyx) account_sid="account_sid", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve_recordings_json(self, async_client: AsyncTelnyx) -> None: conference = await async_client.texml.accounts.conferences.retrieve_recordings_json( @@ -499,6 +540,7 @@ async def test_method_retrieve_recordings_json(self, async_client: AsyncTelnyx) ) assert_matches_type(ConferenceRetrieveRecordingsJsonResponse, conference, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve_recordings_json(self, async_client: AsyncTelnyx) -> None: response = await async_client.texml.accounts.conferences.with_raw_response.retrieve_recordings_json( @@ -511,6 +553,7 @@ async def test_raw_response_retrieve_recordings_json(self, async_client: AsyncTe conference = await response.parse() assert_matches_type(ConferenceRetrieveRecordingsJsonResponse, conference, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve_recordings_json(self, async_client: AsyncTelnyx) -> None: async with async_client.texml.accounts.conferences.with_streaming_response.retrieve_recordings_json( @@ -525,6 +568,7 @@ async def test_streaming_response_retrieve_recordings_json(self, async_client: A assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve_recordings_json(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_sid` but received ''"): diff --git a/tests/api_resources/texml/accounts/transcriptions/test_json.py b/tests/api_resources/texml/accounts/transcriptions/test_json.py index 8324bdad..6638e958 100644 --- a/tests/api_resources/texml/accounts/transcriptions/test_json.py +++ b/tests/api_resources/texml/accounts/transcriptions/test_json.py @@ -17,6 +17,7 @@ class TestJson: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete_recording_transcription_sid_json(self, client: Telnyx) -> None: json = client.texml.accounts.transcriptions.json.delete_recording_transcription_sid_json( @@ -25,6 +26,7 @@ def test_method_delete_recording_transcription_sid_json(self, client: Telnyx) -> ) assert json is None + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete_recording_transcription_sid_json(self, client: Telnyx) -> None: response = client.texml.accounts.transcriptions.json.with_raw_response.delete_recording_transcription_sid_json( @@ -37,6 +39,7 @@ def test_raw_response_delete_recording_transcription_sid_json(self, client: Teln json = response.parse() assert json is None + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete_recording_transcription_sid_json(self, client: Telnyx) -> None: with client.texml.accounts.transcriptions.json.with_streaming_response.delete_recording_transcription_sid_json( @@ -51,6 +54,7 @@ def test_streaming_response_delete_recording_transcription_sid_json(self, client assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete_recording_transcription_sid_json(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_sid` but received ''"): @@ -67,6 +71,7 @@ def test_path_params_delete_recording_transcription_sid_json(self, client: Telny account_sid="account_sid", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve_recording_transcription_sid_json(self, client: Telnyx) -> None: json = client.texml.accounts.transcriptions.json.retrieve_recording_transcription_sid_json( @@ -75,6 +80,7 @@ def test_method_retrieve_recording_transcription_sid_json(self, client: Telnyx) ) assert_matches_type(JsonRetrieveRecordingTranscriptionSidJsonResponse, json, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve_recording_transcription_sid_json(self, client: Telnyx) -> None: response = ( @@ -89,6 +95,7 @@ def test_raw_response_retrieve_recording_transcription_sid_json(self, client: Te json = response.parse() assert_matches_type(JsonRetrieveRecordingTranscriptionSidJsonResponse, json, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve_recording_transcription_sid_json(self, client: Telnyx) -> None: with ( @@ -105,6 +112,7 @@ def test_streaming_response_retrieve_recording_transcription_sid_json(self, clie assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve_recording_transcription_sid_json(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_sid` but received ''"): @@ -127,6 +135,7 @@ class TestAsyncJson: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete_recording_transcription_sid_json(self, async_client: AsyncTelnyx) -> None: json = await async_client.texml.accounts.transcriptions.json.delete_recording_transcription_sid_json( @@ -135,6 +144,7 @@ async def test_method_delete_recording_transcription_sid_json(self, async_client ) assert json is None + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete_recording_transcription_sid_json(self, async_client: AsyncTelnyx) -> None: response = await async_client.texml.accounts.transcriptions.json.with_raw_response.delete_recording_transcription_sid_json( @@ -147,6 +157,7 @@ async def test_raw_response_delete_recording_transcription_sid_json(self, async_ json = await response.parse() assert json is None + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete_recording_transcription_sid_json(self, async_client: AsyncTelnyx) -> None: async with async_client.texml.accounts.transcriptions.json.with_streaming_response.delete_recording_transcription_sid_json( @@ -161,6 +172,7 @@ async def test_streaming_response_delete_recording_transcription_sid_json(self, assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete_recording_transcription_sid_json(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_sid` but received ''"): @@ -177,6 +189,7 @@ async def test_path_params_delete_recording_transcription_sid_json(self, async_c account_sid="account_sid", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve_recording_transcription_sid_json(self, async_client: AsyncTelnyx) -> None: json = await async_client.texml.accounts.transcriptions.json.retrieve_recording_transcription_sid_json( @@ -185,6 +198,7 @@ async def test_method_retrieve_recording_transcription_sid_json(self, async_clie ) assert_matches_type(JsonRetrieveRecordingTranscriptionSidJsonResponse, json, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve_recording_transcription_sid_json(self, async_client: AsyncTelnyx) -> None: response = await async_client.texml.accounts.transcriptions.json.with_raw_response.retrieve_recording_transcription_sid_json( @@ -197,6 +211,7 @@ async def test_raw_response_retrieve_recording_transcription_sid_json(self, asyn json = await response.parse() assert_matches_type(JsonRetrieveRecordingTranscriptionSidJsonResponse, json, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve_recording_transcription_sid_json( self, async_client: AsyncTelnyx @@ -213,6 +228,7 @@ async def test_streaming_response_retrieve_recording_transcription_sid_json( assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve_recording_transcription_sid_json(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_sid` but received ''"): diff --git a/tests/api_resources/texml/test_accounts.py b/tests/api_resources/texml/test_accounts.py index 17630103..e7b73125 100644 --- a/tests/api_resources/texml/test_accounts.py +++ b/tests/api_resources/texml/test_accounts.py @@ -21,6 +21,7 @@ class TestAccounts: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve_recordings_json(self, client: Telnyx) -> None: account = client.texml.accounts.retrieve_recordings_json( @@ -28,6 +29,7 @@ def test_method_retrieve_recordings_json(self, client: Telnyx) -> None: ) assert_matches_type(AccountRetrieveRecordingsJsonResponse, account, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve_recordings_json_with_all_params(self, client: Telnyx) -> None: account = client.texml.accounts.retrieve_recordings_json( @@ -38,6 +40,7 @@ def test_method_retrieve_recordings_json_with_all_params(self, client: Telnyx) - ) assert_matches_type(AccountRetrieveRecordingsJsonResponse, account, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve_recordings_json(self, client: Telnyx) -> None: response = client.texml.accounts.with_raw_response.retrieve_recordings_json( @@ -49,6 +52,7 @@ def test_raw_response_retrieve_recordings_json(self, client: Telnyx) -> None: account = response.parse() assert_matches_type(AccountRetrieveRecordingsJsonResponse, account, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve_recordings_json(self, client: Telnyx) -> None: with client.texml.accounts.with_streaming_response.retrieve_recordings_json( @@ -62,6 +66,7 @@ def test_streaming_response_retrieve_recordings_json(self, client: Telnyx) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve_recordings_json(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_sid` but received ''"): @@ -69,6 +74,7 @@ def test_path_params_retrieve_recordings_json(self, client: Telnyx) -> None: account_sid="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve_transcriptions_json(self, client: Telnyx) -> None: account = client.texml.accounts.retrieve_transcriptions_json( @@ -76,6 +82,7 @@ def test_method_retrieve_transcriptions_json(self, client: Telnyx) -> None: ) assert_matches_type(AccountRetrieveTranscriptionsJsonResponse, account, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve_transcriptions_json_with_all_params(self, client: Telnyx) -> None: account = client.texml.accounts.retrieve_transcriptions_json( @@ -85,6 +92,7 @@ def test_method_retrieve_transcriptions_json_with_all_params(self, client: Telny ) assert_matches_type(AccountRetrieveTranscriptionsJsonResponse, account, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve_transcriptions_json(self, client: Telnyx) -> None: response = client.texml.accounts.with_raw_response.retrieve_transcriptions_json( @@ -96,6 +104,7 @@ def test_raw_response_retrieve_transcriptions_json(self, client: Telnyx) -> None account = response.parse() assert_matches_type(AccountRetrieveTranscriptionsJsonResponse, account, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve_transcriptions_json(self, client: Telnyx) -> None: with client.texml.accounts.with_streaming_response.retrieve_transcriptions_json( @@ -109,6 +118,7 @@ def test_streaming_response_retrieve_transcriptions_json(self, client: Telnyx) - assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve_transcriptions_json(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_sid` but received ''"): @@ -122,6 +132,7 @@ class TestAsyncAccounts: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve_recordings_json(self, async_client: AsyncTelnyx) -> None: account = await async_client.texml.accounts.retrieve_recordings_json( @@ -129,6 +140,7 @@ async def test_method_retrieve_recordings_json(self, async_client: AsyncTelnyx) ) assert_matches_type(AccountRetrieveRecordingsJsonResponse, account, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve_recordings_json_with_all_params(self, async_client: AsyncTelnyx) -> None: account = await async_client.texml.accounts.retrieve_recordings_json( @@ -139,6 +151,7 @@ async def test_method_retrieve_recordings_json_with_all_params(self, async_clien ) assert_matches_type(AccountRetrieveRecordingsJsonResponse, account, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve_recordings_json(self, async_client: AsyncTelnyx) -> None: response = await async_client.texml.accounts.with_raw_response.retrieve_recordings_json( @@ -150,6 +163,7 @@ async def test_raw_response_retrieve_recordings_json(self, async_client: AsyncTe account = await response.parse() assert_matches_type(AccountRetrieveRecordingsJsonResponse, account, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve_recordings_json(self, async_client: AsyncTelnyx) -> None: async with async_client.texml.accounts.with_streaming_response.retrieve_recordings_json( @@ -163,6 +177,7 @@ async def test_streaming_response_retrieve_recordings_json(self, async_client: A assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve_recordings_json(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_sid` but received ''"): @@ -170,6 +185,7 @@ async def test_path_params_retrieve_recordings_json(self, async_client: AsyncTel account_sid="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve_transcriptions_json(self, async_client: AsyncTelnyx) -> None: account = await async_client.texml.accounts.retrieve_transcriptions_json( @@ -177,6 +193,7 @@ async def test_method_retrieve_transcriptions_json(self, async_client: AsyncTeln ) assert_matches_type(AccountRetrieveTranscriptionsJsonResponse, account, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve_transcriptions_json_with_all_params(self, async_client: AsyncTelnyx) -> None: account = await async_client.texml.accounts.retrieve_transcriptions_json( @@ -186,6 +203,7 @@ async def test_method_retrieve_transcriptions_json_with_all_params(self, async_c ) assert_matches_type(AccountRetrieveTranscriptionsJsonResponse, account, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve_transcriptions_json(self, async_client: AsyncTelnyx) -> None: response = await async_client.texml.accounts.with_raw_response.retrieve_transcriptions_json( @@ -197,6 +215,7 @@ async def test_raw_response_retrieve_transcriptions_json(self, async_client: Asy account = await response.parse() assert_matches_type(AccountRetrieveTranscriptionsJsonResponse, account, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve_transcriptions_json(self, async_client: AsyncTelnyx) -> None: async with async_client.texml.accounts.with_streaming_response.retrieve_transcriptions_json( @@ -210,6 +229,7 @@ async def test_streaming_response_retrieve_transcriptions_json(self, async_clien assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve_transcriptions_json(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_sid` but received ''"): diff --git a/tests/api_resources/texml/test_calls.py b/tests/api_resources/texml/test_calls.py index 899c0f5d..1b63f2f0 100644 --- a/tests/api_resources/texml/test_calls.py +++ b/tests/api_resources/texml/test_calls.py @@ -17,6 +17,7 @@ class TestCalls: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update(self, client: Telnyx) -> None: call = client.texml.calls.update( @@ -24,6 +25,7 @@ def test_method_update(self, client: Telnyx) -> None: ) assert_matches_type(CallUpdateResponse, call, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update_with_all_params(self, client: Telnyx) -> None: call = client.texml.calls.update( @@ -39,6 +41,7 @@ def test_method_update_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(CallUpdateResponse, call, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_update(self, client: Telnyx) -> None: response = client.texml.calls.with_raw_response.update( @@ -50,6 +53,7 @@ def test_raw_response_update(self, client: Telnyx) -> None: call = response.parse() assert_matches_type(CallUpdateResponse, call, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_update(self, client: Telnyx) -> None: with client.texml.calls.with_streaming_response.update( @@ -63,6 +67,7 @@ def test_streaming_response_update(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_update(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_sid` but received ''"): @@ -70,6 +75,7 @@ def test_path_params_update(self, client: Telnyx) -> None: call_sid="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_initiate(self, client: Telnyx) -> None: call = client.texml.calls.initiate( @@ -79,6 +85,7 @@ def test_method_initiate(self, client: Telnyx) -> None: ) assert_matches_type(CallInitiateResponse, call, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_initiate_with_all_params(self, client: Telnyx) -> None: call = client.texml.calls.initiate( @@ -117,6 +124,7 @@ def test_method_initiate_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(CallInitiateResponse, call, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_initiate(self, client: Telnyx) -> None: response = client.texml.calls.with_raw_response.initiate( @@ -130,6 +138,7 @@ def test_raw_response_initiate(self, client: Telnyx) -> None: call = response.parse() assert_matches_type(CallInitiateResponse, call, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_initiate(self, client: Telnyx) -> None: with client.texml.calls.with_streaming_response.initiate( @@ -145,6 +154,7 @@ def test_streaming_response_initiate(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_initiate(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `application_id` but received ''"): @@ -160,6 +170,7 @@ class TestAsyncCalls: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update(self, async_client: AsyncTelnyx) -> None: call = await async_client.texml.calls.update( @@ -167,6 +178,7 @@ async def test_method_update(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(CallUpdateResponse, call, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> None: call = await async_client.texml.calls.update( @@ -182,6 +194,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(CallUpdateResponse, call, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: response = await async_client.texml.calls.with_raw_response.update( @@ -193,6 +206,7 @@ async def test_raw_response_update(self, async_client: AsyncTelnyx) -> None: call = await response.parse() assert_matches_type(CallUpdateResponse, call, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> None: async with async_client.texml.calls.with_streaming_response.update( @@ -206,6 +220,7 @@ async def test_streaming_response_update(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `call_sid` but received ''"): @@ -213,6 +228,7 @@ async def test_path_params_update(self, async_client: AsyncTelnyx) -> None: call_sid="", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_initiate(self, async_client: AsyncTelnyx) -> None: call = await async_client.texml.calls.initiate( @@ -222,6 +238,7 @@ async def test_method_initiate(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(CallInitiateResponse, call, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_initiate_with_all_params(self, async_client: AsyncTelnyx) -> None: call = await async_client.texml.calls.initiate( @@ -260,6 +277,7 @@ async def test_method_initiate_with_all_params(self, async_client: AsyncTelnyx) ) assert_matches_type(CallInitiateResponse, call, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_initiate(self, async_client: AsyncTelnyx) -> None: response = await async_client.texml.calls.with_raw_response.initiate( @@ -273,6 +291,7 @@ async def test_raw_response_initiate(self, async_client: AsyncTelnyx) -> None: call = await response.parse() assert_matches_type(CallInitiateResponse, call, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_initiate(self, async_client: AsyncTelnyx) -> None: async with async_client.texml.calls.with_streaming_response.initiate( @@ -288,6 +307,7 @@ async def test_streaming_response_initiate(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_initiate(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `application_id` but received ''"): diff --git a/tests/api_resources/verifications/by_phone_number/test_actions.py b/tests/api_resources/verifications/by_phone_number/test_actions.py index 32c045d4..63bd309f 100644 --- a/tests/api_resources/verifications/by_phone_number/test_actions.py +++ b/tests/api_resources/verifications/by_phone_number/test_actions.py @@ -17,6 +17,7 @@ class TestActions: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_verify(self, client: Telnyx) -> None: action = client.verifications.by_phone_number.actions.verify( @@ -26,6 +27,7 @@ def test_method_verify(self, client: Telnyx) -> None: ) assert_matches_type(VerifyVerificationCodeResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_verify(self, client: Telnyx) -> None: response = client.verifications.by_phone_number.actions.with_raw_response.verify( @@ -39,6 +41,7 @@ def test_raw_response_verify(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(VerifyVerificationCodeResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_verify(self, client: Telnyx) -> None: with client.verifications.by_phone_number.actions.with_streaming_response.verify( @@ -54,6 +57,7 @@ def test_streaming_response_verify(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_verify(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `phone_number` but received ''"): @@ -69,6 +73,7 @@ class TestAsyncActions: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_verify(self, async_client: AsyncTelnyx) -> None: action = await async_client.verifications.by_phone_number.actions.verify( @@ -78,6 +83,7 @@ async def test_method_verify(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(VerifyVerificationCodeResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_verify(self, async_client: AsyncTelnyx) -> None: response = await async_client.verifications.by_phone_number.actions.with_raw_response.verify( @@ -91,6 +97,7 @@ async def test_raw_response_verify(self, async_client: AsyncTelnyx) -> None: action = await response.parse() assert_matches_type(VerifyVerificationCodeResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_verify(self, async_client: AsyncTelnyx) -> None: async with async_client.verifications.by_phone_number.actions.with_streaming_response.verify( @@ -106,6 +113,7 @@ async def test_streaming_response_verify(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_verify(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `phone_number` but received ''"): diff --git a/tests/api_resources/verifications/test_actions.py b/tests/api_resources/verifications/test_actions.py index 5f7bc917..259c83c8 100644 --- a/tests/api_resources/verifications/test_actions.py +++ b/tests/api_resources/verifications/test_actions.py @@ -17,6 +17,7 @@ class TestActions: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_verify(self, client: Telnyx) -> None: action = client.verifications.actions.verify( @@ -24,6 +25,7 @@ def test_method_verify(self, client: Telnyx) -> None: ) assert_matches_type(VerifyVerificationCodeResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_verify_with_all_params(self, client: Telnyx) -> None: action = client.verifications.actions.verify( @@ -33,6 +35,7 @@ def test_method_verify_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(VerifyVerificationCodeResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_verify(self, client: Telnyx) -> None: response = client.verifications.actions.with_raw_response.verify( @@ -44,6 +47,7 @@ def test_raw_response_verify(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(VerifyVerificationCodeResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_verify(self, client: Telnyx) -> None: with client.verifications.actions.with_streaming_response.verify( @@ -57,6 +61,7 @@ def test_streaming_response_verify(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_verify(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `verification_id` but received ''"): @@ -70,6 +75,7 @@ class TestAsyncActions: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_verify(self, async_client: AsyncTelnyx) -> None: action = await async_client.verifications.actions.verify( @@ -77,6 +83,7 @@ async def test_method_verify(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(VerifyVerificationCodeResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_verify_with_all_params(self, async_client: AsyncTelnyx) -> None: action = await async_client.verifications.actions.verify( @@ -86,6 +93,7 @@ async def test_method_verify_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(VerifyVerificationCodeResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_verify(self, async_client: AsyncTelnyx) -> None: response = await async_client.verifications.actions.with_raw_response.verify( @@ -97,6 +105,7 @@ async def test_raw_response_verify(self, async_client: AsyncTelnyx) -> None: action = await response.parse() assert_matches_type(VerifyVerificationCodeResponse, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_verify(self, async_client: AsyncTelnyx) -> None: async with async_client.verifications.actions.with_streaming_response.verify( @@ -110,6 +119,7 @@ async def test_streaming_response_verify(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_verify(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `verification_id` but received ''"): diff --git a/tests/api_resources/verifications/test_by_phone_number.py b/tests/api_resources/verifications/test_by_phone_number.py index f7ce763e..7796001a 100644 --- a/tests/api_resources/verifications/test_by_phone_number.py +++ b/tests/api_resources/verifications/test_by_phone_number.py @@ -17,6 +17,7 @@ class TestByPhoneNumber: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: by_phone_number = client.verifications.by_phone_number.list( @@ -24,6 +25,7 @@ def test_method_list(self, client: Telnyx) -> None: ) assert_matches_type(ByPhoneNumberListResponse, by_phone_number, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.verifications.by_phone_number.with_raw_response.list( @@ -35,6 +37,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: by_phone_number = response.parse() assert_matches_type(ByPhoneNumberListResponse, by_phone_number, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.verifications.by_phone_number.with_streaming_response.list( @@ -48,6 +51,7 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_list(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `phone_number` but received ''"): @@ -61,6 +65,7 @@ class TestAsyncByPhoneNumber: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: by_phone_number = await async_client.verifications.by_phone_number.list( @@ -68,6 +73,7 @@ async def test_method_list(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(ByPhoneNumberListResponse, by_phone_number, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.verifications.by_phone_number.with_raw_response.list( @@ -79,6 +85,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: by_phone_number = await response.parse() assert_matches_type(ByPhoneNumberListResponse, by_phone_number, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.verifications.by_phone_number.with_streaming_response.list( @@ -92,6 +99,7 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_list(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `phone_number` but received ''"): diff --git a/tests/api_resources/verified_numbers/test_actions.py b/tests/api_resources/verified_numbers/test_actions.py index c6499cc6..be7871ef 100644 --- a/tests/api_resources/verified_numbers/test_actions.py +++ b/tests/api_resources/verified_numbers/test_actions.py @@ -17,6 +17,7 @@ class TestActions: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_submit_verification_code(self, client: Telnyx) -> None: action = client.verified_numbers.actions.submit_verification_code( @@ -25,6 +26,7 @@ def test_method_submit_verification_code(self, client: Telnyx) -> None: ) assert_matches_type(VerifiedNumberDataWrapper, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_submit_verification_code(self, client: Telnyx) -> None: response = client.verified_numbers.actions.with_raw_response.submit_verification_code( @@ -37,6 +39,7 @@ def test_raw_response_submit_verification_code(self, client: Telnyx) -> None: action = response.parse() assert_matches_type(VerifiedNumberDataWrapper, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_submit_verification_code(self, client: Telnyx) -> None: with client.verified_numbers.actions.with_streaming_response.submit_verification_code( @@ -51,6 +54,7 @@ def test_streaming_response_submit_verification_code(self, client: Telnyx) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_submit_verification_code(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `phone_number` but received ''"): @@ -65,6 +69,7 @@ class TestAsyncActions: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_submit_verification_code(self, async_client: AsyncTelnyx) -> None: action = await async_client.verified_numbers.actions.submit_verification_code( @@ -73,6 +78,7 @@ async def test_method_submit_verification_code(self, async_client: AsyncTelnyx) ) assert_matches_type(VerifiedNumberDataWrapper, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_submit_verification_code(self, async_client: AsyncTelnyx) -> None: response = await async_client.verified_numbers.actions.with_raw_response.submit_verification_code( @@ -85,6 +91,7 @@ async def test_raw_response_submit_verification_code(self, async_client: AsyncTe action = await response.parse() assert_matches_type(VerifiedNumberDataWrapper, action, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_submit_verification_code(self, async_client: AsyncTelnyx) -> None: async with async_client.verified_numbers.actions.with_streaming_response.submit_verification_code( @@ -99,6 +106,7 @@ async def test_streaming_response_submit_verification_code(self, async_client: A assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_submit_verification_code(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `phone_number` but received ''"): diff --git a/tests/api_resources/wireless/test_detail_records_reports.py b/tests/api_resources/wireless/test_detail_records_reports.py index 61e1ba78..62354dd3 100644 --- a/tests/api_resources/wireless/test_detail_records_reports.py +++ b/tests/api_resources/wireless/test_detail_records_reports.py @@ -22,11 +22,13 @@ class TestDetailRecordsReports: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create(self, client: Telnyx) -> None: detail_records_report = client.wireless.detail_records_reports.create() assert_matches_type(DetailRecordsReportCreateResponse, detail_records_report, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Telnyx) -> None: detail_records_report = client.wireless.detail_records_reports.create( @@ -35,6 +37,7 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(DetailRecordsReportCreateResponse, detail_records_report, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_create(self, client: Telnyx) -> None: response = client.wireless.detail_records_reports.with_raw_response.create() @@ -44,6 +47,7 @@ def test_raw_response_create(self, client: Telnyx) -> None: detail_records_report = response.parse() assert_matches_type(DetailRecordsReportCreateResponse, detail_records_report, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_create(self, client: Telnyx) -> None: with client.wireless.detail_records_reports.with_streaming_response.create() as response: @@ -55,6 +59,7 @@ def test_streaming_response_create(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_retrieve(self, client: Telnyx) -> None: detail_records_report = client.wireless.detail_records_reports.retrieve( @@ -62,6 +67,7 @@ def test_method_retrieve(self, client: Telnyx) -> None: ) assert_matches_type(DetailRecordsReportRetrieveResponse, detail_records_report, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.wireless.detail_records_reports.with_raw_response.retrieve( @@ -73,6 +79,7 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: detail_records_report = response.parse() assert_matches_type(DetailRecordsReportRetrieveResponse, detail_records_report, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.wireless.detail_records_reports.with_streaming_response.retrieve( @@ -86,6 +93,7 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_retrieve(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -93,11 +101,13 @@ def test_path_params_retrieve(self, client: Telnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Telnyx) -> None: detail_records_report = client.wireless.detail_records_reports.list() assert_matches_type(DetailRecordsReportListResponse, detail_records_report, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Telnyx) -> None: detail_records_report = client.wireless.detail_records_reports.list( @@ -106,6 +116,7 @@ def test_method_list_with_all_params(self, client: Telnyx) -> None: ) assert_matches_type(DetailRecordsReportListResponse, detail_records_report, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_list(self, client: Telnyx) -> None: response = client.wireless.detail_records_reports.with_raw_response.list() @@ -115,6 +126,7 @@ def test_raw_response_list(self, client: Telnyx) -> None: detail_records_report = response.parse() assert_matches_type(DetailRecordsReportListResponse, detail_records_report, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_list(self, client: Telnyx) -> None: with client.wireless.detail_records_reports.with_streaming_response.list() as response: @@ -126,6 +138,7 @@ def test_streaming_response_list(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_delete(self, client: Telnyx) -> None: detail_records_report = client.wireless.detail_records_reports.delete( @@ -133,6 +146,7 @@ def test_method_delete(self, client: Telnyx) -> None: ) assert_matches_type(DetailRecordsReportDeleteResponse, detail_records_report, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Telnyx) -> None: response = client.wireless.detail_records_reports.with_raw_response.delete( @@ -144,6 +158,7 @@ def test_raw_response_delete(self, client: Telnyx) -> None: detail_records_report = response.parse() assert_matches_type(DetailRecordsReportDeleteResponse, detail_records_report, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Telnyx) -> None: with client.wireless.detail_records_reports.with_streaming_response.delete( @@ -157,6 +172,7 @@ def test_streaming_response_delete(self, client: Telnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_path_params_delete(self, client: Telnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -170,11 +186,13 @@ class TestAsyncDetailRecordsReports: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncTelnyx) -> None: detail_records_report = await async_client.wireless.detail_records_reports.create() assert_matches_type(DetailRecordsReportCreateResponse, detail_records_report, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> None: detail_records_report = await async_client.wireless.detail_records_reports.create( @@ -183,6 +201,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) -> ) assert_matches_type(DetailRecordsReportCreateResponse, detail_records_report, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: response = await async_client.wireless.detail_records_reports.with_raw_response.create() @@ -192,6 +211,7 @@ async def test_raw_response_create(self, async_client: AsyncTelnyx) -> None: detail_records_report = await response.parse() assert_matches_type(DetailRecordsReportCreateResponse, detail_records_report, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> None: async with async_client.wireless.detail_records_reports.with_streaming_response.create() as response: @@ -203,6 +223,7 @@ async def test_streaming_response_create(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: detail_records_report = await async_client.wireless.detail_records_reports.retrieve( @@ -210,6 +231,7 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(DetailRecordsReportRetrieveResponse, detail_records_report, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.wireless.detail_records_reports.with_raw_response.retrieve( @@ -221,6 +243,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: detail_records_report = await response.parse() assert_matches_type(DetailRecordsReportRetrieveResponse, detail_records_report, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> None: async with async_client.wireless.detail_records_reports.with_streaming_response.retrieve( @@ -234,6 +257,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -241,11 +265,13 @@ async def test_path_params_retrieve(self, async_client: AsyncTelnyx) -> None: "", ) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncTelnyx) -> None: detail_records_report = await async_client.wireless.detail_records_reports.list() assert_matches_type(DetailRecordsReportListResponse, detail_records_report, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> None: detail_records_report = await async_client.wireless.detail_records_reports.list( @@ -254,6 +280,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncTelnyx) -> N ) assert_matches_type(DetailRecordsReportListResponse, detail_records_report, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: response = await async_client.wireless.detail_records_reports.with_raw_response.list() @@ -263,6 +290,7 @@ async def test_raw_response_list(self, async_client: AsyncTelnyx) -> None: detail_records_report = await response.parse() assert_matches_type(DetailRecordsReportListResponse, detail_records_report, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: async with async_client.wireless.detail_records_reports.with_streaming_response.list() as response: @@ -274,6 +302,7 @@ async def test_streaming_response_list(self, async_client: AsyncTelnyx) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncTelnyx) -> None: detail_records_report = await async_client.wireless.detail_records_reports.delete( @@ -281,6 +310,7 @@ async def test_method_delete(self, async_client: AsyncTelnyx) -> None: ) assert_matches_type(DetailRecordsReportDeleteResponse, detail_records_report, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: response = await async_client.wireless.detail_records_reports.with_raw_response.delete( @@ -292,6 +322,7 @@ async def test_raw_response_delete(self, async_client: AsyncTelnyx) -> None: detail_records_report = await response.parse() assert_matches_type(DetailRecordsReportDeleteResponse, detail_records_report, path=["response"]) + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> None: async with async_client.wireless.detail_records_reports.with_streaming_response.delete( @@ -305,6 +336,7 @@ async def test_streaming_response_delete(self, async_client: AsyncTelnyx) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncTelnyx) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): From 1334c755da81fe115f35af23fceb1064fd3c2bc5 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 16 Sep 2025 20:16:29 +0000 Subject: [PATCH 5/8] feat(api): rename enums with problematic characters --- .stats.yml | 4 +- README.md | 73 +++++++++++++++---- .../global_ip_latency_retrieve_response.py | 14 ++-- tests/test_client.py | 42 ++++++----- 4 files changed, 88 insertions(+), 45 deletions(-) diff --git a/.stats.yml b/.stats.yml index 33dfdf6b..3266414b 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 801 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/telnyx%2Ftelnyx-9b2e42d595d8704628cb792563adef970f306e60f81b682f41747f0e44321d2a.yml +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/telnyx%2Ftelnyx-d5da60e6c0a34ecb5e91fc3e232836c75e32cdc1c1f348e6b12d88e8c1d77aea.yml openapi_spec_hash: c78b6c372d7b9a5d8735956b67e724ce -config_hash: b4ce13bcd06e13fa36dc20be41c0998d +config_hash: 04be2e53d6168754ca5406ac195020fe diff --git a/README.md b/README.md index 91f34f57..69be404e 100644 --- a/README.md +++ b/README.md @@ -32,8 +32,13 @@ client = Telnyx( api_key=os.environ.get("TELNYX_API_KEY"), # This is the default and can be omitted ) -response = client.list_buckets() -print(response.buckets) +response = client.calls.dial( + connection_id="conn12345", + from_="+15557654321", + to="+15551234567", + webhook_url="https://your-webhook.url/events", +) +print(response.data) ``` While you can provide an `api_key` keyword argument, @@ -56,8 +61,13 @@ client = AsyncTelnyx( async def main() -> None: - response = await client.list_buckets() - print(response.buckets) + response = await client.calls.dial( + connection_id="conn12345", + from_="+15557654321", + to="+15551234567", + webhook_url="https://your-webhook.url/events", + ) + print(response.data) asyncio.run(main()) @@ -89,8 +99,13 @@ async def main() -> None: api_key="My API Key", http_client=DefaultAioHttpClient(), ) as client: - response = await client.list_buckets() - print(response.buckets) + response = await client.calls.dial( + connection_id="conn12345", + from_="+15557654321", + to="+15551234567", + webhook_url="https://your-webhook.url/events", + ) + print(response.data) asyncio.run(main()) @@ -114,10 +129,24 @@ from telnyx import Telnyx client = Telnyx() -access_ip_addresses = client.access_ip_address.list( - filter={}, +response = client.calls.dial( + connection_id="7267xxxxxxxxxxxxxx", + from_="+18005550101", + to="+18005550100 or sip:username@sip.telnyx.com", + answering_machine_detection_config={ + "after_greeting_silence_millis": 1000, + "between_words_silence_millis": 1000, + "greeting_duration_millis": 1000, + "greeting_silence_duration_millis": 2000, + "greeting_total_analysis_time_millis": 50000, + "initial_silence_millis": 1000, + "maximum_number_of_words": 1000, + "maximum_word_length_millis": 2000, + "silence_threshold": 512, + "total_analysis_time_millis": 5000, + }, ) -print(access_ip_addresses.filter) +print(response.answering_machine_detection_config) ``` ## File uploads @@ -154,7 +183,9 @@ from telnyx import Telnyx client = Telnyx() try: - client.list_buckets() + client.number_orders.create( + phone_numbers=[{"phone_number": "+15558675309"}], + ) except telnyx.APIConnectionError as e: print("The server could not be reached") print(e.__cause__) # an underlying Exception, likely raised within httpx. @@ -197,7 +228,9 @@ client = Telnyx( ) # Or, configure per-request: -client.with_options(max_retries=5).list_buckets() +client.with_options(max_retries=5).number_orders.create( + phone_numbers=[{"phone_number": "+15558675309"}], +) ``` ### Timeouts @@ -220,7 +253,9 @@ client = Telnyx( ) # Override per-request: -client.with_options(timeout=5.0).list_buckets() +client.with_options(timeout=5.0).number_orders.create( + phone_numbers=[{"phone_number": "+15558675309"}], +) ``` On timeout, an `APITimeoutError` is thrown. @@ -261,11 +296,15 @@ The "raw" Response object can be accessed by prefixing `.with_raw_response.` to from telnyx import Telnyx client = Telnyx() -response = client.with_raw_response.list_buckets() +response = client.number_orders.with_raw_response.create( + phone_numbers=[{ + "phone_number": "+15558675309" + }], +) print(response.headers.get('X-My-Header')) -client = response.parse() # get the object that `list_buckets()` would have returned -print(client.buckets) +number_order = response.parse() # get the object that `number_orders.create()` would have returned +print(number_order.data) ``` These methods return an [`APIResponse`](https://github.com/team-telnyx/telnyx-python/tree/master/src/telnyx/_response.py) object. @@ -279,7 +318,9 @@ The above interface eagerly reads the full response body when you make the reque To stream the response body, use `.with_streaming_response` instead, which requires a context manager and only reads the response body once you call `.read()`, `.text()`, `.json()`, `.iter_bytes()`, `.iter_text()`, `.iter_lines()` or `.parse()`. In the async client, these are async methods. ```python -with client.with_streaming_response.list_buckets() as response: +with client.number_orders.with_streaming_response.create( + phone_numbers=[{"phone_number": "+15558675309"}], +) as response: print(response.headers.get("X-My-Header")) for line in response.iter_lines(): diff --git a/src/telnyx/types/global_ip_latency_retrieve_response.py b/src/telnyx/types/global_ip_latency_retrieve_response.py index 0593af5c..d3fcdce7 100644 --- a/src/telnyx/types/global_ip_latency_retrieve_response.py +++ b/src/telnyx/types/global_ip_latency_retrieve_response.py @@ -97,19 +97,19 @@ class DataPercentileLatency_99(BaseModel): class DataPercentileLatency(BaseModel): - api_0: Optional[DataPercentileLatency_0] = FieldInfo(alias="0", default=None) + p0: Optional[DataPercentileLatency_0] = FieldInfo(alias="0", default=None) - api_100: Optional[DataPercentileLatency_100] = FieldInfo(alias="100", default=None) + p100: Optional[DataPercentileLatency_100] = FieldInfo(alias="100", default=None) - api_25: Optional[DataPercentileLatency_25] = FieldInfo(alias="25", default=None) + p25: Optional[DataPercentileLatency_25] = FieldInfo(alias="25", default=None) - api_50: Optional[DataPercentileLatency_50] = FieldInfo(alias="50", default=None) + p50: Optional[DataPercentileLatency_50] = FieldInfo(alias="50", default=None) - api_75: Optional[DataPercentileLatency_75] = FieldInfo(alias="75", default=None) + p75: Optional[DataPercentileLatency_75] = FieldInfo(alias="75", default=None) - api_90: Optional[DataPercentileLatency_90] = FieldInfo(alias="90", default=None) + p90: Optional[DataPercentileLatency_90] = FieldInfo(alias="90", default=None) - api_99: Optional[DataPercentileLatency_99] = FieldInfo(alias="99", default=None) + p99: Optional[DataPercentileLatency_99] = FieldInfo(alias="99", default=None) class DataProberLocation(BaseModel): diff --git a/tests/test_client.py b/tests/test_client.py index 14d7ce2f..3cef272e 100644 --- a/tests/test_client.py +++ b/tests/test_client.py @@ -712,20 +712,20 @@ def test_parse_retry_after_header(self, remaining_retries: int, retry_after: str @mock.patch("telnyx._base_client.BaseClient._calculate_retry_timeout", _low_retry_timeout) @pytest.mark.respx(base_url=base_url) def test_retrying_timeout_errors_doesnt_leak(self, respx_mock: MockRouter, client: Telnyx) -> None: - respx_mock.get("/").mock(side_effect=httpx.TimeoutException("Test timeout error")) + respx_mock.post("/number_orders").mock(side_effect=httpx.TimeoutException("Test timeout error")) with pytest.raises(APITimeoutError): - client.with_streaming_response.list_buckets().__enter__() + client.number_orders.with_streaming_response.create().__enter__() assert _get_open_connections(self.client) == 0 @mock.patch("telnyx._base_client.BaseClient._calculate_retry_timeout", _low_retry_timeout) @pytest.mark.respx(base_url=base_url) def test_retrying_status_errors_doesnt_leak(self, respx_mock: MockRouter, client: Telnyx) -> None: - respx_mock.get("/").mock(return_value=httpx.Response(500)) + respx_mock.post("/number_orders").mock(return_value=httpx.Response(500)) with pytest.raises(APIStatusError): - client.with_streaming_response.list_buckets().__enter__() + client.number_orders.with_streaming_response.create().__enter__() assert _get_open_connections(self.client) == 0 @pytest.mark.parametrize("failures_before_success", [0, 2, 4]) @@ -752,9 +752,9 @@ def retry_handler(_request: httpx.Request) -> httpx.Response: return httpx.Response(500) return httpx.Response(200) - respx_mock.get("/").mock(side_effect=retry_handler) + respx_mock.post("/number_orders").mock(side_effect=retry_handler) - response = client.with_raw_response.list_buckets() + response = client.number_orders.with_raw_response.create() assert response.retries_taken == failures_before_success assert int(response.http_request.headers.get("x-stainless-retry-count")) == failures_before_success @@ -776,9 +776,9 @@ def retry_handler(_request: httpx.Request) -> httpx.Response: return httpx.Response(500) return httpx.Response(200) - respx_mock.get("/").mock(side_effect=retry_handler) + respx_mock.post("/number_orders").mock(side_effect=retry_handler) - response = client.with_raw_response.list_buckets(extra_headers={"x-stainless-retry-count": Omit()}) + response = client.number_orders.with_raw_response.create(extra_headers={"x-stainless-retry-count": Omit()}) assert len(response.http_request.headers.get_list("x-stainless-retry-count")) == 0 @@ -799,9 +799,9 @@ def retry_handler(_request: httpx.Request) -> httpx.Response: return httpx.Response(500) return httpx.Response(200) - respx_mock.get("/").mock(side_effect=retry_handler) + respx_mock.post("/number_orders").mock(side_effect=retry_handler) - response = client.with_raw_response.list_buckets(extra_headers={"x-stainless-retry-count": "42"}) + response = client.number_orders.with_raw_response.create(extra_headers={"x-stainless-retry-count": "42"}) assert response.http_request.headers.get("x-stainless-retry-count") == "42" @@ -1527,20 +1527,20 @@ async def test_parse_retry_after_header(self, remaining_retries: int, retry_afte @mock.patch("telnyx._base_client.BaseClient._calculate_retry_timeout", _low_retry_timeout) @pytest.mark.respx(base_url=base_url) async def test_retrying_timeout_errors_doesnt_leak(self, respx_mock: MockRouter, async_client: AsyncTelnyx) -> None: - respx_mock.get("/").mock(side_effect=httpx.TimeoutException("Test timeout error")) + respx_mock.post("/number_orders").mock(side_effect=httpx.TimeoutException("Test timeout error")) with pytest.raises(APITimeoutError): - await async_client.with_streaming_response.list_buckets().__aenter__() + await async_client.number_orders.with_streaming_response.create().__aenter__() assert _get_open_connections(self.client) == 0 @mock.patch("telnyx._base_client.BaseClient._calculate_retry_timeout", _low_retry_timeout) @pytest.mark.respx(base_url=base_url) async def test_retrying_status_errors_doesnt_leak(self, respx_mock: MockRouter, async_client: AsyncTelnyx) -> None: - respx_mock.get("/").mock(return_value=httpx.Response(500)) + respx_mock.post("/number_orders").mock(return_value=httpx.Response(500)) with pytest.raises(APIStatusError): - await async_client.with_streaming_response.list_buckets().__aenter__() + await async_client.number_orders.with_streaming_response.create().__aenter__() assert _get_open_connections(self.client) == 0 @pytest.mark.parametrize("failures_before_success", [0, 2, 4]) @@ -1568,9 +1568,9 @@ def retry_handler(_request: httpx.Request) -> httpx.Response: return httpx.Response(500) return httpx.Response(200) - respx_mock.get("/").mock(side_effect=retry_handler) + respx_mock.post("/number_orders").mock(side_effect=retry_handler) - response = await client.with_raw_response.list_buckets() + response = await client.number_orders.with_raw_response.create() assert response.retries_taken == failures_before_success assert int(response.http_request.headers.get("x-stainless-retry-count")) == failures_before_success @@ -1593,9 +1593,11 @@ def retry_handler(_request: httpx.Request) -> httpx.Response: return httpx.Response(500) return httpx.Response(200) - respx_mock.get("/").mock(side_effect=retry_handler) + respx_mock.post("/number_orders").mock(side_effect=retry_handler) - response = await client.with_raw_response.list_buckets(extra_headers={"x-stainless-retry-count": Omit()}) + response = await client.number_orders.with_raw_response.create( + extra_headers={"x-stainless-retry-count": Omit()} + ) assert len(response.http_request.headers.get_list("x-stainless-retry-count")) == 0 @@ -1617,9 +1619,9 @@ def retry_handler(_request: httpx.Request) -> httpx.Response: return httpx.Response(500) return httpx.Response(200) - respx_mock.get("/").mock(side_effect=retry_handler) + respx_mock.post("/number_orders").mock(side_effect=retry_handler) - response = await client.with_raw_response.list_buckets(extra_headers={"x-stainless-retry-count": "42"}) + response = await client.number_orders.with_raw_response.create(extra_headers={"x-stainless-retry-count": "42"}) assert response.http_request.headers.get("x-stainless-retry-count") == "42" From b574fed01abd4ddcc485dfc4dcaad0480ef8c70f Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 16 Sep 2025 20:45:26 +0000 Subject: [PATCH 6/8] codegen metadata --- .stats.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.stats.yml b/.stats.yml index 3266414b..baaeb088 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 801 openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/telnyx%2Ftelnyx-d5da60e6c0a34ecb5e91fc3e232836c75e32cdc1c1f348e6b12d88e8c1d77aea.yml openapi_spec_hash: c78b6c372d7b9a5d8735956b67e724ce -config_hash: 04be2e53d6168754ca5406ac195020fe +config_hash: 063a2550de7ae6c1b99a62bbd6a1a6ac From 09a43dc632831b1d7ae2f571a8d426cb57422526 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 17 Sep 2025 02:39:01 +0000 Subject: [PATCH 7/8] chore(internal): update pydantic dependency --- requirements-dev.lock | 7 +++++-- requirements.lock | 7 +++++-- src/telnyx/_models.py | 14 ++++++++++---- 3 files changed, 20 insertions(+), 8 deletions(-) diff --git a/requirements-dev.lock b/requirements-dev.lock index 3e8ff321..b9b4f0d7 100644 --- a/requirements-dev.lock +++ b/requirements-dev.lock @@ -88,9 +88,9 @@ pluggy==1.5.0 propcache==0.3.1 # via aiohttp # via yarl -pydantic==2.10.3 +pydantic==2.11.9 # via telnyx -pydantic-core==2.27.1 +pydantic-core==2.33.2 # via pydantic pygments==2.18.0 # via rich @@ -126,6 +126,9 @@ typing-extensions==4.12.2 # via pydantic-core # via pyright # via telnyx + # via typing-inspection +typing-inspection==0.4.1 + # via pydantic virtualenv==20.24.5 # via nox yarl==1.20.0 diff --git a/requirements.lock b/requirements.lock index e5b822d9..93208037 100644 --- a/requirements.lock +++ b/requirements.lock @@ -55,9 +55,9 @@ multidict==6.4.4 propcache==0.3.1 # via aiohttp # via yarl -pydantic==2.10.3 +pydantic==2.11.9 # via telnyx -pydantic-core==2.27.1 +pydantic-core==2.33.2 # via pydantic sniffio==1.3.0 # via anyio @@ -68,5 +68,8 @@ typing-extensions==4.12.2 # via pydantic # via pydantic-core # via telnyx + # via typing-inspection +typing-inspection==0.4.1 + # via pydantic yarl==1.20.0 # via aiohttp diff --git a/src/telnyx/_models.py b/src/telnyx/_models.py index 3a6017ef..6a3cd1d2 100644 --- a/src/telnyx/_models.py +++ b/src/telnyx/_models.py @@ -256,7 +256,7 @@ def model_dump( mode: Literal["json", "python"] | str = "python", include: IncEx | None = None, exclude: IncEx | None = None, - by_alias: bool = False, + by_alias: bool | None = None, exclude_unset: bool = False, exclude_defaults: bool = False, exclude_none: bool = False, @@ -264,6 +264,7 @@ def model_dump( warnings: bool | Literal["none", "warn", "error"] = True, context: dict[str, Any] | None = None, serialize_as_any: bool = False, + fallback: Callable[[Any], Any] | None = None, ) -> dict[str, Any]: """Usage docs: https://docs.pydantic.dev/2.4/concepts/serialization/#modelmodel_dump @@ -295,10 +296,12 @@ def model_dump( raise ValueError("context is only supported in Pydantic v2") if serialize_as_any != False: raise ValueError("serialize_as_any is only supported in Pydantic v2") + if fallback is not None: + raise ValueError("fallback is only supported in Pydantic v2") dumped = super().dict( # pyright: ignore[reportDeprecated] include=include, exclude=exclude, - by_alias=by_alias, + by_alias=by_alias if by_alias is not None else False, exclude_unset=exclude_unset, exclude_defaults=exclude_defaults, exclude_none=exclude_none, @@ -313,13 +316,14 @@ def model_dump_json( indent: int | None = None, include: IncEx | None = None, exclude: IncEx | None = None, - by_alias: bool = False, + by_alias: bool | None = None, exclude_unset: bool = False, exclude_defaults: bool = False, exclude_none: bool = False, round_trip: bool = False, warnings: bool | Literal["none", "warn", "error"] = True, context: dict[str, Any] | None = None, + fallback: Callable[[Any], Any] | None = None, serialize_as_any: bool = False, ) -> str: """Usage docs: https://docs.pydantic.dev/2.4/concepts/serialization/#modelmodel_dump_json @@ -348,11 +352,13 @@ def model_dump_json( raise ValueError("context is only supported in Pydantic v2") if serialize_as_any != False: raise ValueError("serialize_as_any is only supported in Pydantic v2") + if fallback is not None: + raise ValueError("fallback is only supported in Pydantic v2") return super().json( # type: ignore[reportDeprecated] indent=indent, include=include, exclude=exclude, - by_alias=by_alias, + by_alias=by_alias if by_alias is not None else False, exclude_unset=exclude_unset, exclude_defaults=exclude_defaults, exclude_none=exclude_none, From 47b34069a0180576581be672a5e5375b4a16b31a Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 17 Sep 2025 02:39:24 +0000 Subject: [PATCH 8/8] release: 3.5.0-alpha --- .release-please-manifest.json | 2 +- CHANGELOG.md | 15 +++++++++++++++ pyproject.toml | 2 +- src/telnyx/_version.py | 2 +- 4 files changed, 18 insertions(+), 3 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 999cbd58..6b0fe76f 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "3.4.0-alpha" + ".": "3.5.0-alpha" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index b162fb6f..1f256b1c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,20 @@ # Changelog +## 3.5.0-alpha (2025-09-17) + +Full Changelog: [v3.4.0-alpha...v3.5.0-alpha](https://github.com/team-telnyx/telnyx-python/compare/v3.4.0-alpha...v3.5.0-alpha) + +### Features + +* **api:** manual updates ([d4fd511](https://github.com/team-telnyx/telnyx-python/commit/d4fd5118081b91c12d3bf2a77c0ba1f12a7a04cb)) +* **api:** manual updates ([0eb047b](https://github.com/team-telnyx/telnyx-python/commit/0eb047bc54d338569aa15df91c1ebf7f741f3ec8)) +* **api:** rename enums with problematic characters ([1334c75](https://github.com/team-telnyx/telnyx-python/commit/1334c755da81fe115f35af23fceb1064fd3c2bc5)) + + +### Chores + +* **internal:** update pydantic dependency ([09a43dc](https://github.com/team-telnyx/telnyx-python/commit/09a43dc632831b1d7ae2f571a8d426cb57422526)) + ## 3.4.0-alpha (2025-09-09) Full Changelog: [v3.3.0-alpha...v3.4.0-alpha](https://github.com/team-telnyx/telnyx-python/compare/v3.3.0-alpha...v3.4.0-alpha) diff --git a/pyproject.toml b/pyproject.toml index 78062eb9..1c34ad53 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "telnyx" -version = "3.4.0-alpha" +version = "3.5.0-alpha" description = "The official Python library for the telnyx API" dynamic = ["readme"] license = "MIT" diff --git a/src/telnyx/_version.py b/src/telnyx/_version.py index 3c6577ed..2e2f1bb4 100644 --- a/src/telnyx/_version.py +++ b/src/telnyx/_version.py @@ -1,4 +1,4 @@ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. __title__ = "telnyx" -__version__ = "3.4.0-alpha" # x-release-please-version +__version__ = "3.5.0-alpha" # x-release-please-version